Skip to Content
author's profile photo Former Member
Former Member

URL navigate directly to Shopping Cart screen in SRM 7.0 in IE.

Hello guys

Now I develop one application to show shopping cart infomation. when user click SC number, open new window to show SC detail.

I find shopping cart web dynpro component and build url like this

HTTP://xxxxx:8000/sap/bc/webdynpro/sapsrm/wda_l_fpm_oif?sap-wd-configId=/SAPSRM/WDAC_I_FPM_OIF_SC_PROF&sap-system-login-basic_auth=X&sap-client=710&sap-language=EN&SAPSRM_BOID=E0619361269FF9F1B237000C2967EB12&SAPSRM_BOTYPE=BUS2121&SAPSRM_MODE=DISPLAY

I get error "Application was terminated; you can close the window".

Why it happened? I set CONFIGURATION ID and needed application parameters.

Any one colud provide solution?

Thks.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 21, 2011 at 05:24 AM

    Hi , Try below code to get the URL for shopping cart

    CALL METHOD /sapsrm/cl_url_service=>insert_boid_url_parameter

    EXPORTING

    iv_boid = lv_guid_str

    CHANGING

    ct_url_params = lt_params.

    CALL METHOD /sapsrm/cl_url_service=>get_url

    EXPORTING

    iv_bo_type = 'BUS2121'

    iv_url_scope = 'INT' "#EC NOTEXT

    it_url_params = lt_params

    RECEIVING

    rv_url = ev_url.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 20, 2011 at 07:28 PM

    Hi,

    I do not know how your application being constructed. This error suggest me that the current application is exited. Is that possible that you have fired a exit plug ?.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.