on 2015 Aug 04 3:48 AM
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
Request clarification before answering.
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
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.