on 08-24-2011 6:25 PM
Experts,
We are in the process of upgrading SRM5.0 to 7.0, we got the below logic to access the global data of shopping cart in DOC_CHANGE badi, after the upgradation, we are trying to find similar structures in SRM7.0, trying to figure out with - SAPLBBP_SC_APP but couldnt find GS_GLOBAL or similar structure.
could you pls help me out on this.
CONSTANTS: c_globalname TYPE string VALUE '(SAPLBBP_SC_UI_ITS)GS_GLOBAL'.
CONSTANTS: c_scname TYPE string VALUE '(SAPLBBP_SC_UI_ITS)GS_SC'.
FIELD-SYMBOLS: <lf_global> TYPE bbps_sc_app_global,
<lf_sc> TYPE bbps_sc_app_document.
ASSIGN (c_globalname) TO <lf_global>.
ASSIGN (c_scname) TO <lf_sc>.
Thanks
SR
Hi,
You should retrieve it using the BORF buffer which contains the latest SC data. The following logic would help:
data lo_pd_model type ref to /sapsrm/if_pdo_model_access
lo_pd_model = /sapsrm/cl_pdo_model_factory=>get_instance()
lo_pd_model-> get_detail
Regards,
Prasanna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.