on 10-09-2006 12:02 PM
I'm trying to implement BADI BBP_UI_CONTROL_BADI, but my code isn't working... does anyone have a sample implementation (e.g. making price non-modifiable etc...) of this BADI?
I tried the code below but the price field is still displayed.
IF IV_FIELDNAME = 'PRICE'.
CV_INVISIBLE = 'X'.
ENDIF.
Thanks!
I had the same problem. But through debugging I found out that the following coding is required:
IF IV_FIELDNAME = 'PRICE'.
CV_INVISIBLE = '1'.
ENDIF.
Actually if CV_INVISIBLE is '0' then the Button is displayed. If the value is '1' then the button disappears.
It worked for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Use better the complete field name for your test, like:
IF IV_FIELDNAME = 'GT_SCR_ITMOVR_I-PRICE'.
CV_INVISIBLE = 'X'.
ENDIF.
Rgds,
Pierre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Your're right for the shopping cart. For wich object you wish to use this badi ?
Checking documentation on the badi, it is only avaible for:
Purchase contract and global outline agreement
(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
If you're on SRM5 you could use screen variant for the shopping cart.
Rgds,
Pierre
hello,
did you try with table-field combination or CCM name.
The best soulution will be to debug web interface and found out how the filed name is represented.
HTH
Gordan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.