CBTA for SAP CRM – one way to configure transaction to launch CRM WebUI
You can create CBTA test cases for SAP CRM for test automation.
I had trouble with the configuration, couldn’t find any documentation about it and found a way to do so.
One way to launch the CRM WebUI is described below.
*prerequisite: maintain process structure of your project
(tcode Solar02, select process step and the tab `Transactions`)
In a process step; add transaction of the type WebClient Application and select a configured logical component.
Next, the object should be maintained like saprole=Z_BO_OIMKLIC&crm-logical-link=IC_BPIDENT. Notice that it has both the user role (1) as the default screen after login (2).
Both can be determined by the following:
1 how to determine user role
a) within webUI click on the link on the lower right corner for system details. You will find the role.
b) tcode SU01, enter user name, F7, Check Parameter CRM_UI_PROFILE. the value is your user name. If it´s `*´, it means you´ll get all roles and after login you have to choose a role
c) check your org.model object and it´s configuration for the assigned user role.
2 how to determine default screen after login
a) after logon, use F2 to determine the component object name
b) check customizing-tables based on the profile name of the user role
tcode SE16, table CRMC_UI_PROFILE, enter profile name, F8
determine the CRMUI_NAVBAR value. This is your navigation bar profile.
tcode SE16, tableCRMC_UI_NB_A_WC.
enter profile ID, F8. note that these are the technical names. For the description, check the SPRO customizing of the navigation bar profiles.
Note down the linkID field.
First time blogger, any feedback is welcome.
Thanks and with kind regards,