ABAP Reports on Web UI
- Through a Direct Link
- Creating a new Work center
1.0 Logical System Mapping:
- Go to TCode: CRMS_IC_CROSS_SYS
- Enter Mapping & Logical System Name
- Logical System Name – System in which the GUI transactions have to be executed on Web UI
- Please check if the authorization to change the entries in Production is existing. Else,
- the entries has to be made for Production System and transported
- Configure Transaction Launcher in Quality & Production environment (not recommended)
- Set ‘Local ITS’ checkbox
Create BOR Object (SE80)
- Copy Standard BOR Object TSTC
- Under Method EXECUTE: Set ‘Synchronous’
Transaction Launcher
SAP IMG > Customer Relationship Management>UI Framework>Technical Role definition>Transaction Launcher>Configure Transaction Launcher
- The new Class will be created
4. Select the values
- Transaction type : BOR
- Logical System
- BOR Object Type: BOR object copied from TSTC
- Method Name: EXECUTE
Direct Link on the Screen
1. Go to Navigation Bar:
SAP IMG>Customer Relationship Management>UI Framework>Technical Role definition>Define Navigation Bar Profile
OR
Go Tcode: CRMC_UI_NBLINKS
2. Define Logical Links:
- Type: Launch Transaction
- Target ID: EXECLTX
- Parameter: Transaction Launcher ID
- Parameter Class: CL_CRM_UI_LTX_NAVBAR_PARAM
- Title: Title of the Link
- Description
3. Create Direct Link Group
- Group Type: Reports
- Title
- Description
4. Assign the new Logical Link to the Direct Link Group created
5. Assign the new Direct Link Group to the Navigation Bar Profile
6. Use the below path to go to ‘Define Business Role’
SAP IMG>Customer Reslationship Management>UI Framework>Business Roles>Define Business Role
7. Select the Business Role and double click on ‘Adjust Direct Link Group’
8. Select the Direct Link Group created in the previous step and double click on ‘Adjust Direct Links’
- Set the ‘Visible’ checkbox and Save.
9. The link will be visible on the Navigation Part in the Web UI Screen.
Report Links in New Work Center
To create a new custom work center, a new Z* Component has to be created and modified.
1. Create a new BSP Component
- Create a new Z* Component (TCODE: BSP_WD_CMPWB) or copy from a standard component.
2. Create an Overview Page
3. Go to Runtime repository Editor
- Add View under the Window
- Select the Overview Page created in the previous step
- Create an Inbound Plug ‘DEFAULT’
4. Right click on Component Interface & Add Interface View
- Select the MainWindow (Inbound plug created & View added in the previous step) as the Interface View
5. Add Component Usage and give a name (e.g. Reports)
6. Add Interface View to the Component usage created
- Used Component: CRMCMP_GS_WC
- Interface View: IFVGroupLinks
7. Right-Click on ViewSets and add View Set
- Select the Overview Page created
7. Right-click on the viewset and add the View Area
8. Right-click on the View Area and select the Component Usage added in the previous step (Reports.IFVGroupLInks).
9. Component Controller Method: WD_USAGE_INITIALIZE
- Enhance / Modify the code in the Component Controller method WD_USAGE_INITIALIZE as follows:
10. Go to the Configuration tab of the Overview Page created
- Select the Component & move it to the required columns & give a appropriate name:
11. To get the Header on the Web UI screen after navigating to the Work Center created
- Enhance the following method
- Populate the value into the variable ‘DESCRIPTION’:
Now we have a new component which will hold our custom Work Center. All we need now is to create the Work Center and assign the Logical links.
12. Go to the following path & add the new Component created
SAP IMG>Customer Relationship Management>UI Framework>Technical Role Definition>Define Work Area Component Repository
- Go to ‘New Entries’ & Add the new Component and the Window Name
- Select the new entry & click on ‘Inbound Plug Definition’
- Enter a name for Target ID & the Inbound Plug ‘DEFAULT’ created under the Interface view in the Component
13. Go to the Navigation Bar Profile (TCODE: CRMC_UI_NBLINKS)
14. Create a new Logical Link:
- LogLink ID
- Type: Work center
- Target ID: Created in the previous steps
15. Define Work center Link Groups
16. Select the Work Center link group & click on ‘Assign Links to Work Center Link Group’
- The Links created (using Transaction Launcher) for each Reports will be available under this Work Center Group
- Assign the Logical Links (of type Launch Transaction) defined in the previous steps
17. Define Work Center
18. Assign the Work Center Link Groups to the Work Center:
19. Assign the Work Center to the Navigation Bar Profile as required:
20. Go to ‘Define Business Role
21. Adjust the Links for the Business Role:
- Select the Business Role and Click on ‘Adjust Work Centers’
- Ensure that the work center created is not ‘Inactive’
22. Go to ‘Adjust Work Center group Links’ and ensure that the ‘Visible’ is checked
- If the requirement includes to provide a menu list on the Work center, check ‘Menu’:
23. CRM Home Page
- Go to the CRM Home Page & select the Business Role to which the links have been assigned
- New Work Center ‘Reports’ will be available with the ‘Menu’ option
- Go to ‘Reports’ work center
- The links to the ABAP Reports will be available
Picture: Pic_final (Attachment)
Thanks & Regards,
Prasanna
Please fix the formatting. Otherwise, I'll need to reject! 😯
Hi Matthew,
I am actually not done with the document and I havent submitted it for approval. Not sure why it was sent to you.
I will complete the document and let you know about the same.
Very sorry for the inconvenience caused and Thanks so much for your time.
Thanks & Best Regards,
Prasanna
I think another moderator may have notified me. Moderators can see draft documents... but we can't see that they're draft!
So, please fix it soon, so I can approve it!
Hi Matthew,
I am having issues inserting pictures in the document. 🙁 The 'Insert Image' button is greyed out 😕
Can you please let me know if there is any size limit for the document?
Thanks!
Prasanna
No idea. You can ask in scn support.
Dear Matthew,
Can you please review the document and approve the same.
Due to some technical issues, I am not able to upload any images for some of the steps though.
Please let me know in case of any issues.
Thanks!
Prasanna
Not in my area anymore.
Hello Prasanna,
Thanks for you contribution, but I'm afraid this topic has been covered lots of times:
CRM 2007 How to --2 A( Transaction Launcher)
Almost Everything About Transaction Launcher - Part I
Almost Everything About Transaction Launcher - Part II
Maybe you can twist the topic a little 😉
Cheers!
Luis
Dear Luis,
Thanks for letting me know 🙁 . I had checked the links that you have provided. The documents does not explain how to create a new Work center something that is new in my document 😉 .
Will update the document by EoD and let you know. Thanks so much for your time
Thanks & Warm Regards,
Prasanna
Should this be rather posted in the CRM space? I'm a bit confused how is this relevant to the 'plain' ABAP...
Web UI was included in the ABAP application server from ECC ehp4 or ehp5. Web UI vs WDA can be a very good question 🙂
Maybe this link clarifies a little:
CRM Web Client UI Framework is available in ERP 6.0 and NetWeaver ABAP
Dear Jelena,
You are right.
I will post it in the CRM space.
Thanks so much!
Prasanna
Well, I guess my explanation didn't convince anyone... 🙁