on 12-23-2010 3:12 PM
We work with srm 5.5 and have build a screen for free text purchase orders.
but after it is submitted to a shoppingcart item the user can change the long text but not anymore the shorttext description of the item.
is it possible to customize that for a certain catalog or other field value the item description becomes editable ?
kind regards
arthur
hello ,
check out this it might help you,
Try implementing it in BBP_SCREENVARIANT BADI
*Making Quanity and purchase group non editable if
*it is catalog item
DATA : it_item TYPE BBP_PDT_SC_ITEM_D,
ls_item TYPE BBP_PDS_SC_ITEM_D.
*Getting item details
CALL FUNCTION 'BBP_PD_SC_GETDETAIL'
EXPORTING
I_GUID = iv_guid
TABLES
E_ITEM = it_item.
CLEAR : ls_item.
LOOP AT it_item INTO ls_item.
Checking item is a catalog item and changing the screen using variant
IF NOT ls_item-CATALOGID is INITIAL.
IF iv_progname EQ 'SAPLBBP_SC_UI_ITS'
AND iv_dynnr EQ '0120'.
IF iv_scvariant EQ 'BBP_SC'.
ev_scvariant = 'Z_SC_CAT'.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
Regards,
Neelima
Edited by: S Neelima on Dec 27, 2010 9:32 AM
Edited by: S Neelima on Dec 27, 2010 9: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.