cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to know if the SC triggered from SOCO

Former Member
0 Likes
354

Hi All,

Need a help on below requirement.

Scenario :  Buyer editing the Shopping Cart custom field  'X' from SOCO.

Requirement : The custom field 'X' should be editable on the Shopping Cart ,only if its Shopping Cart is triggered from SOCO by Buyer .

Issue : To achieve above requirement , we are using Dynamic Class and Method concept of SRM MDF , but we are not able to differentiate between when buyer open the Shopping Cart from SOCO and when the Buyer open the Shopping Cart from other places.

    So basically we are not able to get how to identify if the Shopping Cart is triggered from SOCO ? . Can anyone help us on this.

Thanks

Channa

View Entire Topic
Former Member
0 Likes

Hi Channappa

Please note that if you need to update the field which I think you will do in DOC_CHNAGE place the code as below :

From the SOCO screen where the buyer is editing : Go to the webdynpro component  /SAPSRM/WDC_DO_SOCO_GAF_3  or maybe its some other screen for you .. check the component name in the method WDDOMODIFY . Export to memory ID any lv_value as  X ..

Then , import it back to DOC_CHANGE badi .. so only if the value is changed from the SOCO the value of the Local variable lv_value  it will get the value as X .. else it will get the value Blank ..

Hence using this you would eb able to identify from where it gets modified

Hope this work ..Let me know the result

Regards

Vinita