on 08-25-2015 4:16 PM
Hi Gurus ,
I am new to FPM . I am facing a situation here in SRM shopping cart display . In my POWL query when I select a Shopping cart and click display it navigate me to a window and I need to hide the edit button in that window .
I have checked the component configuration of the component and try to configure the edit button by disabling the button properties , but it does happening for all the shopping cart but I need to enable the EDIT button if the cart status is SAVED for rest I want the button not to appear in screen.
Any input will be appreciate . Many Thanks in advance
FPM_GAF_COMPONENT | |
/SAPSRM/WDCC_FPM_GAF_SC | |
/SAPSRM/WDCC_FPM_GAF_SC | |
/SAPSRM/WDCC_FPM_GAF_SC | |
FPM_WINDOW | |
CNR_VIEW | |
BC-WD-CMP-FPM |
Thanks & Regards
Anshuman
HI Anushuman
You ideally should not work on FPM since SAP has provided the way to hide the button in the config
Itself Go tot he " Configure Control of actions on Header level " and
then create a new entry there with Action : Edit for Object type BUS2121 and define your own class and method with the logic of reading the status and making the property CS_METADATA-VISIBLE as abap_true or ABAP_FALSE while will do the trick for you
Regards
Vinita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anshuman,
You can use GET_DEFINATION method of List UIBB.
Parameter ET_ACTION_DEFINITION-VISIBLE can be used to display and hide button.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.