Quantcast
Channel: SCN : Discussion List - SAP Master Data Governance
Viewing all articles
Browse latest Browse all 2047

Get UIBB Config-ID in CL_MDG_BS_MAT_FEEDER_LIST_BASE GET_DATA()

$
0
0

We want to set the visibility of the toolbar elements of the UIBB MDG_BS_MAT_PLANT_LIST_ATS UIBB at runtime.

The thread http://scn.sap.com/thread/3607766 provides a couple of good information how to do to that.

 

 

The problem we still have is to set a good if-condition to hit the appropriate point of time.

The method IF_FPM_GUIBB_LIST~GET_DATA() in the implementing class /PLMU/CL_FRW_G_FEEDER_LIST is passed a couple of times when opening the material master UI. We do not want to run our enhancement 20 times or more.

 

When debugging the method the ME-Object provides an attribute MS_UIBB_INSTANCE_KEY with the field CONFIG_ID which contains the ID of the UIBB we want to enhance.

 

But the line of code: "IF me->ms_uibb_instance_key-config_id = 'MDG_BS_MAT_...' throws an syntay error.

Probably because the attribute MS_UIBB_INSTANCE_KEY of the class /PLMU/CL_FRW_G_FEEDER is protected.

 

Any idea how to get the MS_UIBB_INSTANCE_KEY attribute or how to get the Config-ID of the current UIBB else?

 

 

Kind regards, Matthias


Viewing all articles
Browse latest Browse all 2047

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>