on 2009 Sep 07 1:06 PM
Dear experts,
I have task to open window with shopping cart detail information for known sc number.
How to to this in ABAP?
Request clarification before answering.
Hi,
Which version are you on? From where , which page do you want to open the new window?
Please explain in more detail
You can use the FM BBP_PD_SC_GETDETAIL to fetch the SC details, but displaying it in a new window depends on where and how you want to do that..
Regards,
Anubhav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
At first I have created the new link to the shopping cart detail
in transaction ldp_cust.
Then I call link in ABAP:
lo_COMPONENTCONTROLLER = wd_this->get_componentcontroller_ctr( ).
lo_navigate_to = lo_COMPONENTCONTROLLER->mo_fpm->get_navigate_to( ).
ls_navigate_key-key1 = 'SAPSRM'.
ls_navigate_key-key2 = 'NAVIGATION'.
lo_navigate = lo_COMPONENTCONTROLLER->mo_fpm->get_navigation( ls_navigate_key ).
ls_parameter-key = /sapsrm/if_url_service_c=>gc_url_param-botype.
ls_parameter-value = /sapsrm/if_pdo_obj_types_c=>GC_PDO_SHOP.
insert ls_parameter into table lt_parameters.
ls_parameter-key = /sapsrm/if_url_service_c=>gc_url_param-mode.
ls_parameter-value = /sapsrm/if_pdo_constants_gen_c=>gc_mode_display.
insert ls_parameter into table lt_parameters.
ls_parameter-key = /sapsrm/if_url_service_c=>gc_url_param-boid.
ls_parameter-value = IV_DOC_ID.
insert ls_parameter into table lt_parameters.
lv_target_key = lo_navigate->get_key_from_alias( 'SAP_SRM/SC/DISPLAYPROF' ).
lo_navigate->navigate(
iv_target_key = lv_target_key
it_business_parameters = lt_parameters
).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.