on 04-07-2010 5:54 PM
Dear Experts,
We are on SRM 4.0 and need to make the Vendor Product Number (PARTNER_PROD) stabdard field of shopping cart as editable that is read only by default.
In SRM 5.0 we have the BADI BBP_UI_CONTROL_BADI Method BBP_SC_UI_CONTROL for controling standard fields but in SRM 4.0 the Method BBP_SC_UI_CONTROL is not there.
How to do this in SRM 4.0?
Thanks,
Anubhav
Hello,
Please kindly check the note 773085 .
Thanks,
Melina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anubhav,
If you wish to hide or show fields, proceed as follows(through screen variants):
1. Determine the screen variant, for example, BBP_SC(For shopping cart), using the list in documentation of BADI BBP_SCREENVARIANT.
2. Copy this screen variant, for example, in Zbbp_SC, in Transaction SHD0.
3. Change the new screen variant as required. Note that you can only change the display properties for fields
4. Implement the appropriate method .
Fill the export parameter EV_SCVARIANT with the new screen variant.
You can create multiple screen variants for a screen and then select these in the BAdI depending on the user or on other criteria.
here is sample code in BADI BBP_SCREENVARIANT implementation after creating Z screen variant.
Method IF_EX_BBP_SCREENVARIANT~GET_SCREENVARIANT_SC.
IF iv_progname EQ 'SAPLBBP_SC_UI_ITS'
AND iv_dynnr EQ '0120'
AND flt_val EQ c_fltval.
IF iv_scvariant EQ 'BBP_SC'.
ev_scvariant = 'Zvariant'.
ENDIF.
ENDIF.
ENDMETHOD.
regards,
Neelima
Edited by: S Neelima on Apr 8, 2010 8:33 AM
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.