on 09-11-2007 2:58 AM
Hi,
Is it possible to Gray out or Disable the Change Icon in the 'Process Contract' page via BADI? The only way I know how to gray out or disable it is by customizing the Template.
Hi Disha,
I tried using the code from the thread that you posted, but it isn't working. The objective is to gray out the pencil icon after searching for a contract. Directly editing the bsp template isn't an option because disabling the button is conditional.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The sample code in the link is just an example.The Fieldnames/Icon names for PROCESS CONTRACT screen will be diffrent which you need to find out at runtime and use the same in the BADI.
Other way of finding the fieldnames is go the corresponding ITS service for the PURCHASE CONTRACT transaction and see the field names in the HTML template which corresponds to that screen.
BR,
Disha.
Pls reward points for useful answers.
Hi,
You can use the BADI "BBP_UI_CONTROL_BADI" to change the screen appearance in SRM e.g Enabling/disabling icons /buttons,graying out/hiding fields etc.Also,Checking documentation on the badi, it is avaible for:
<b>Purchase contract and global outline agreement</b>(Filter value BUS2000113)
Bid invitation (Filter value BUS2200)
Bid (Filterwert BUS2202)
Auction (Filter value BUS2208)
Purchase order (Filter value BUS2201)
Purchaser's Sourcing application
Confirmation (Filter value BUS2203)
Invoice (Filter value BUS2205)
Vendor list
To use this BADI,you just need to know the name of the field/icon in the screen and acc set its display propery parameter in the BADI.
For sample code of this BADI,refer the foll link:
HTH.
BR,
Disha.
<b>Pls reward points for useful answers.</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.