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
350

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
oliver_wurm
Active Participant
0 Likes

Hi,

if you use SRM Release up to 5.50 you can check the Transactioncode which is BBPSOCO01. From SRM 7 on you can use:

  DATA: lo_tr_context TYPE REF TO /sapsrm/if_transaction_context,

              lv_tr_group   TYPE /sapsrm/transaction_group.

...

  lo_tr_context = /sapsrm/cl_transaction_context=>/sapsrm/if_transaction_context~get_instance( ) .

  lv_tr_group = lo_tr_context->get_transaction_group( ).

  IF lv_tr_group EQ lo_transaction_context->gc_ta_group_soco.

    ...

Regards

Oliver

Former Member
0 Likes

Hi Oliver ,

Thanks for the reply and sorry for later response .

We are using SRM 713 Server , so cant use the approach which you suggested.

thanks

CB