cancel
Showing results for 
Search instead for 
Did you mean: 

edit description item in shoppingcart

former_member186143
Active Contributor
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

former_member186143
Active Contributor
0 Kudos

I will look into it,, found the badi but still waiting for release of new development system

If I try to create a screen variant in shd0 , which transaction do I have to enter ?

kind regards

arthur

Edited by: A. de Smidt on Jan 7, 2011 4:14 PM

Edited by: A. de Smidt on Jan 7, 2011 4:44 PM

robin_janke
Contributor
0 Kudos

Another option:

in badi BBP_PD_SC_TRANSFER delete the CATALOGID for that particular catalog in the item structure. The item will be regarded as a free-text item.

Regards,

Robin

Answers (0)