Spend Management Blogs by Members
Check out community member blog posts about spend management and SAP Ariba, SAP Fieldglass, and SAP Concur solutions. Post or comment about your experiences.
cancel
Showing results for 
Search instead for 
Did you mean: 
konstantin_anikeev
Active Contributor
0 Kudos
1,077

Idea

Add catalog links to the header area.

Enhancing header component.

first you need to determine, which component to enhance. Right mouse click, select "More field help". 

So WDC is /SAPSRM/WDC_UI_SC_DOFC_HD, WDCC is /SAPSRM/WDCC_FPM_SC_HD_PR.

Go to transaction SE80, open WebDynpro component /SAPSRM/WDC_UI_SC_DOFC_HD and click on "Enhance".

Create new enhancement

Enter Enhancement name and choose a package for developments

 

Enter following values.

Now a new reference to catalog list WebDynpro is created. Navigate to View V_SC_BOFC_HD, and enter enhancement mode, if needed.

Right click on Root element container and select "Insert element"

Enter following properties.

Now right click on TCO_CATALOGS -> "Insert element"

Enter view container name.

save and activate the changes.

Embedding view

Navigate to window IV_L_FPC_CA_HDR, enter enhancement mode (if neccessary).

Right click on view container and select "Embed View"

Select view to embed via search help.

Save and activate changes.

Enhancment for WD configuration

Goto Repository information system and search for WebDynpro Component Configuration /SAPSRM/WDCC_FPM_SC_HD_PR.

Start configurator

Click on "Create enhancement" in the opened window.

Enter Enhancement Name and Package

Change created enhancement.

Add new usage definition.

Add component /SAPSRM/WDC_UI_SC_DODC_CC for created usage ZSRM_CATALOG_LIST and save the changes.

Enhance Initialization

Go to Component controller properties of /SAPSRM/WDC_UI_SC_DOFC_HD,  enter enhancement mode and add a component usage.

Double click on interface controller.

Save and activate the changes.

Go to Component Controller methods and enter enhancement mode. Then add post exit for method L_FPC_GENERAL__INIT.

Click on "WD Wizard"

Select Component use via Wizard.

Adopt code as following.

Save and activate the changes.

Result

You have catalog links under your header data

P.S.:  English language is not my native language, and any person is not insured from mistakes and typing errors. If you have found an error in the text, please let me know - I'll correct the post.

P.P.S.: If you have some ideas, how to correct/improve this post - please don't hesitate to leave a comment.

Top kudoed authors