Documentation of SAP default BSP url parameters

Hi,
I'm looking for a documentation on the SAP default BSP url parameters like
- sap-syscmd
- sap-sessioncmd
- sap-params
I already used some of them but am not quite sure whether there aren't any more to help me solving tricky problems.
Is there any list of all parameters including their meaning and examples for usage?
Thanks & regards
Wolfgang

I don't think you have listed the commands for sap-syscmd.  These look like the ones for sap-sessioncmd. 
The following was taken from page 94 of <i>Advanced BSP Programming</i>:
<b>SAP-SYSCMD</b>: The only value supported is nocookie.  This tells the BSP runtime to mangle the session ID into the URL and not use a cookie for handling the session id.  This is especially required when the same stateful application must be run multiple times in situations where session ids in coookies would have resulted in all applications mapping ont the same session.
<b>SAP-SESSIONCMD</b>: The parameter sends actions to the session managemer:
<b>open</b> - starts a new session
<b>close</b> or <b>logoff</b> - ends the current application and redirects the browser to the URL supplied by the parameter SAP-EXITURL.
<b>cancel</b> - is similar to close, but already handled by ICM.
<b>usr_abort</b> and <b>usr_close</b> - is used by the portal to control BSP sessions. 
It is interesting that the posting by Guillaume Garcia matches the text from the BSP book exactly.  I referenced my source, did you?

Similar Messages

  • BSP URL parameters

    Hello,
      I have BSP developed with MVC paradigm. I show multiple tables in BSP page which is something like report output. I have event for line select on each table.
      My problem is, when user select any line, the BSP URL becomes extensive long and it get appending with all values of selection like event, event id etc.
      Is there any way I can control this. I want URL should not change after any event. I know Java Script has option / solution for it but I don't know how to.
    I appreciate yr help.
    Thanks
    Aj

    Hi,
    Explicitely adding the POST method to forms will prevent adding the values in your URL. Check http://www.htmlcodetutorial.com/forms/_FORM_METHOD_POST.html for details.
    Eddy
    Pimp up the S(D)N site and earn points. Check this <a href="/people/eddy.declercq/blog/2007/02/01/pimp-up-the-jam log</a> for details

  • How SAP determins the BSP URL

    When I create  a BSP SAP defaults the URL to http://e10k-d3....:<b>8010</b> but this URL does not work, and in fact it should be http://e10k-d3....:<b>8000</b>.  Can someone tell me how SAP determines what the URL should be and how this is maintained so I can change it to point to 8000 rather than 8010.

    Hi,
    What you are tyring to change is the port number.
    Check transaction <b>SMICM</b> (where you can modify port number until next reboot) and also <b>RZ10/RZ11</b> transaction (but for this, you should rely on your Basis Team !)
    The parameter to change is: <i>icm/server_port_xxx</i>
    Best regards,
    Guillaume
    Message was edited by:
            Guillaume GARCIA

  • BSP URL Logon Parameters

    Hi All,
    I have a BSP application (WAS 640) that I need to logon to by supplying sap-user & sap-password parameters. I did that mupltiple times for other applications, however, this time the application still shows the NT logon prompt. The strange thing is that it actually populates the NT prompt's user and password so all I have to do is click OK.
    I was wondering if it's possible to completely by-pass the NT prompt to minimize the number of clicks.
    Thanks,
    Roman

    No, the option "Logon Required" is not checked. I notice that some BSPs allow the user to login by supplying URL parameters, and other don't. Is there any programming involved to have this functionality?
    I compared the ICF service for my application with the one that allows this, and they look identical.
    Any ideas?
    Thanks!

  • Pass URL parameters from BSP to WDA for ABAP (via Post   )

    Dear Gurus,/ Joerge,
    I am unable to post my Code here, but with the guidance provided by Joerge i am able to solve this
    i Have been through the Below thread
    Pass URL parameters from WD to BSP via Post
    Dear Gurus,
    "Since I am unable to Post new thread i am Continuing this thread, though this Issue has been
    " resolved,i need some more info on the following issue, Kindly guide me,
    I have gone through the below thread but left with no clue
    Pass URL parameters from WD to BSP via Post
    Here i have 2 Issues
    First one is --->
    " After pressing the Button I am calling this URL which is WDA for ABAP
          action="http://company/sap/bc/webdynpro/sap/zuser"> " I am calling WDA for ABAP URL here
    " Kindly guide me how to pass the Value
    Second one is -->
    " This value need to be passed to the URL above and
    " How to capture the Same in WINDOWINIT method of WDA for ABAP
    " And how to Capture this Value in Webdynpro INIT method
    "Here am using Form and method = post , I am removing this as it is causing some problem while posting
          action= my WDA For ABAP URL here " I am calling WDA for ABAP URL here
    " Kindly guide me how to pass the Value
    " This value need to be passed to the URL above and
    " How to capture the Same in WINDOWINIT method of WDA for ABAP
    Thanks and Regards
    Ramchander Rao.K

    Hi,
    let me see if I understand you well.
    BSP -
    You wrote the code for catching the user name in the event OnCreate, which means that you know who´s working with the BSP application when it starts.
    Somewhere you must have a button or something with text like "Call WDA application". When user presses the button, it triggers events OnInputProcessing. Here you must write the code for the cookie that "sends" the parameter(s), something like:
    CALL METHOD cl_bsp_server_side_cookie=>set_server_cookie
      EXPORTING
        name                  = 'MY_COOKIE'
        application_name      = 'ZUSER_NAME_GET'
        application_namespace = 'ZUSER_NAME_GET'
        username              =  sy-uname
        session_id            = 'SAME_FOR_ALL'
        data_value            = PAGE_DATA
        data_name             = 'PAGE_DATA'
        EXPIRY_TIME_REL       = 3600.
    you call then the URL for the WDA application.
    WDA -
    probably in method WDDOINIT of the component controller you´ll write the code for reading the "content" of the cookie:
    CALL METHOD cl_bsp_server_side_cookie=>get_server_cookie
      EXPORTING
        name                  = 'MY_COOKIE'
        application_name      = 'ZUSER_NAME_GET'
        application_namespace = 'ZUSER_NAME_GET'
        username              =  sy-uname
        session_id            = 'SAME_FOR_ALL'
        data_name             = 'PAGE_DATA'
    CHANGING
        data_value            = PAGE_DATA.
    read more about the cookies in SDN, because I am not sure if this is the correct example for transmiting values. I´ve used it in conjunction of instructions IMPORT and EXPORT for transmiting an internal table.
    if this is not working properly, then try with IMPORT TO MEMORY and EXPORT FROM MEMORY.

  • BSP Exception: Das Objekt search.htm in der URL /sap/bc/bsp/sap/webserviceb

    Hi
    I am trying to open web service using outside in approach
    http://host:httpport/sap/bc/bsp/sap/webservicebrowser/search.html
    its giving exception sayin
    BSP Exception: Das Objekt search.htm in der URL /sap/bc/bsp/sap/webservicebrowser/search.htm ist nicht gültig
    any add ones to be applied?
    Regards
    shekar chandra

    Hi,
    Please add the follwing inthe hosts file which is located on ur local desktop
    C:\WINDOWS\system32\drivers\etc\hosts
    open it with notepad and add the following,
    <ip adress of the SAP server><tab><Host Name of SAP server>
    eg:
    192.168.1.1     sapproduction     
    Log off and login in windows.
    regards,
    Arun
    Ps:Reward points are welcome

  • Error BSP Exception: Der Applikationsname sap in der URL

    Dear all.
        I'm executing the URL http://YYYYY.XXXXX.pt:8000/CAP/sap/bc/soap/rfc/ZCOMSDService
    Note: YYYY is the name off the server and XXXX is the domain name.
    To acess the RFC function ZCOMSD when executing the URL i'm getting the following error message:
    BSP Exception: Der Applikationsname sap in der URL /CAP/sap/bc/soap/rfc/ZCOMSDService ist nicht gültig.
    Does any one can help???
    Best Regards
    Thanks in advanced

    We are using an apache server to control the execution off this URL.
    So when you execute the URL  http://YYYYY.XXXXX.pt:8000/CAP/sap/bc/soap/rfc/ZCOMSDService we change it to a internar URL say http://KKKKKK.pt//sap/bc/soap/rfc/ZCOMSDService
    The CAP is for internal use.

  • Report_Prog. - Documentation; SHORT TEXT is it a SAP default sub heading??

    Hi Experts,
    I added the Documentation piece to my_report_program.
    Am getting the the SHORT TEXT sub heading(as very first line in Documentation display), even though I did not provided / mentioned in my Documentation text.
    So,
    1 - Is it a SAP default item /sub heading?
    2 - Is there any way, to avoide(in the very first line) it? I mean, I wanna to see it as 3rd sub heading in my documenation piece!
    thanq.
    Message was edited by:
            Srikhar

    Hi Srikhar,
    You can use system variable sy-title -> it will have short text,
    so you can print where ever you want.
    top-of-page.
    skip 1.
    skip 1.
    write:/ sy-title.
    Thanks
    Seshu

  • Using URL Parameters with HTTP Comms Channel

    Hi,
    I need to build a new interface (HTTP - RFC) which will use several URL parameters. I've created a HTTP communications channel and Sender Service and this works. I'm able to define several URL Parameters by checking 'Adapter-Sepcific Message Attributes' and then 'Apply URL Parameters' then specifying the individual parameters.
    This is straight forward so far but in usual SAP fashion the documentation on HTTP Comms Channels and URL Parameters is non existent. My question is how do I use these parameters once they are passed. I need to use the values as input parameters for the RFC which means I'll need to map these in the Integration Repository I can't find anything on SDN or SAP help that answers the question.
    I know I could include these values in the XML payload but that would mean my 'customer' would need to amend their application and I'd rather keep things as they are.
    Looking forward to your replies.
    Thanks in advance.

    May be this could help you to refference . .
    For each process template, you can define interactive or composite form reference objects that can optionally be executed at runtime.
    To be able to see and execute the reference object at runtime, you must add an appropriate runtime view.
    Prerequisites
    You can only attach standalone interactive forms to a process. For more information, see Interactive Form Types.
    Activities
    To attach an interactive form to a process:
           1.      Open the gallery and select a process template. To open its design time, choose Open…
           2.      To switch to edit mode, choose  (Edit).
           3.      Open the Forms tab page.
           4.      Choose Add and select the type of reference object you want to add. You can choose between Callable Object and Development Object.
    Browse and select the reference object, and choose Add once again.
           5.      Repeat step 4 to add more objects.
           6.      To define parameter mapping, select an entry and choose Map Parameters. Select a parameter from the left-hand table, and then select the parameter you want to map from the right-hand table. This groups the input parameters of the form reference object to the relevant input parameters of the process.
    If the process does not define input parameters, you can set default values.
           7.      When you have defined the required mappings, choose Done.
           8.      Whenever a newer version of the form reference object is available, its status on the Forms tab page changes to  (Deprecated). To update the object, select it from the list and choose Update. The status changes to  (Active).
    Parameter mapping is preserved unless the parameters of the new object version are different. In this case, you need to define mappings again.
           9.      Finally, choose  (Save).

  • Calling Crystal from SAP ABAP / BSP

    Can anybody tell me how to call a Crystal Report (RPT on the BO XI Server) from a BSP?
    How do you access the RPT on the BOBJ XI Server?
    THANKS!

    Hi,
    when you navigate to help.sap.com you can find the product documentation per product and release. Navigate to BusinessObjects enterprise as product and select the version - there you will find information to what is called "OpenDocument" which is a generic application that you can call with URL parameters.
    Ingo

  • How to parse crystal report query prompt value via url parameters

    HI All,
    I am creating a employee detail report in crystal report. The recordset is huge and i have created a parameter prompts in the query and thinking to parse the prompt value via url parameters. Not sure why i still could not make it works.
    for example, in my query panel i have created a prompt called "pwwid"
    and this is how i parse the prompt value via open document url.
    OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AV8U6HlIq4FBl_MhcBwHqGI&lsSpwwid=12345678
    I read the sap documentation, this is how it parse the prompt value via url parameter. but it is not working for me and i am getting prompt to fill in the wwid whenever i run the reports.
    any idea why i am not getting this works?
    Regards,
    KeatAun

    Could you try:
    OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AV8U6HlIq4FBl_MhcBwHqGI&lsSpspwwid=12345678
    -Abhilash

  • FIRST TIME RUNNING THE DEFAULT BSP APPLICATION IN ABAP

    Hi BSP experts,
            I am happy to see many people are solving the problems on BSP in sdn.
    I am running the bsp application for the first time by taking the t-code se80 into consideration and executing the default bsp application given there.But I am getting the error   The URL http://nwrbcs:8000/sap/public/bsp/sap/system/login.htm was not called due to an error.The error is common as to all RABAX_STATE and in addressbar the address displayed is
    http://nwrbcs:8000/sap/public/bsp/sap/system/login.htm?sap-url=%2fsap%2fbc%2fbsp%2fsap%2ftutorial_1%2fdefault%2ehtm&sap-ffield_b64=c2FwLXNlc3Npb25jbWQ9b3Blbg==.
    Mainly my problem is i am not able to goto logon page.I am using the version Netweaver’04 to run this application.Are there any special prerequisites to run a bsp application.I had donwe some settings in t-code SICF all services are activated(subservices also) and in path /default_host/sap/bc/bsp rightclick display service in handler list tab I added CL_HTTP_EXT_BSP. In RZ10 I added the parameter icm\host_name_full (as I am using workgroup instead of domain in my system) for instance profile.In t-code SCICM status is running.
    If not clear with the above details I will send the screenshots of required t-codes and runtime errors to the mail-id immediately.
    But I am not able to retrieve the problem.Is it necessary to check any kernel updates.I don’t know more about that, I will send the required screenshots clearly to know all the details.I will send the trace file also if u need.It is very urgent for me to work on bsp but I can’t.If u r  familiar with particular version I will send that screenshots as I tried it in 4.7ee(R/3),ECC5.0(R/3) AND Netweaver’04(abap).I am getting different errors in all the three versions.pls go through this and help me.
        Helpful answer will be rewarded unfailed.

    you need to configure the FQDN. That is causing the issue in your case.
    the URL shd start something like abc.mycompany.com:port_number...
    Refer below thread & blog:
    /people/durairaj.athavanraja/blog/2005/08/21/running-your-first-bsp-application-in-sap-netweaver-04-abap-edition--nsp
    - step by steby link to configure the FQDN - Re: Unable to run any BSP application
    Raja T

  • Exit plug url parameters without XSS encoding

    Hi,
    I fire an exit plug with POST_PARAMETERS = 'X' and passing a different postParameters='sap-client=101&sap-user=5E224C57E11&sap-password=Asdf1234'. However the special characters are encoded and not passed correctly to the webdynpro app.
    I got this behavior from CREATE_EXTERNAL_WINDOW with USE_POST = abap_true settings. I am trying to hide the sap-user and sap-password from the URL when redirecting to a new WebDynpro app in the same way, but remain in the current window.
    My question is how can I prevent the automatic XSS encoding? I have turned off the login XSRF flag in SICF, but it has no effect on this.
    Another option if somebody can tell me how can I do the same as CREATE_EXTERNAL_WINDOW in the same window, it should also be fine.
    Your help is appreciated.
    Charlie

    >
    Frederic Wood wrote:
    > Thank you Frank!  This accomplished exactly what I asked.  Points awarded!
    >
    > However...
    >
    > What is bugging me now is the fact that the BSP app is processed on the lo_client->send( ) and my POSTed parameters are visible, but the BSP is not displayed.  Then, when I actually Fire my WD outbound plug to display the BSP, the BSP is processed and displayed, but the POSTed parameters have been lost... 
    >
    > Your thoughts?
    That is because there are two very different calls to the BSP application occuring. The solution that you said worked is using the HTTP Client (browser if you will) of the application server.  Therefore it is the ABAP system itself that is calling the BSP application.  That is why nothing is displayed on the client side - because the server itself is making the request and receiving the response.  This approach is really only usable if you need to call a data service (REST based or something like that), not if you actually need to dispaly the response to the user.
    When you fire the navigation plug, it is the browser on the client machine that is making the request to the BSP application. This is completely separate from the request made from the application server in the previous step. 
    If you can't use GET and URL parameters, then you should just consider using Server Cookies.  I don't think that hte HTTP Client class approach is going to get you what you want.

  • Source of URL parameters when launching the hap_document

    Hi,
    I have been working on the 'Status Overview' iView in the Employee Performance Management module. The source of the table in the iView is the MSS_HAP_STATUS data view in OADP. I have been able to edit and shuffle the columns through the 'define columns' options in the OADP data provider. Some of the columns are shown as links since they are associated with Service Keys which map back to Resources in the homepage framework. The resource 'MSS_MBO_DOCUMENT' is associated with the some of the columns of the Status Overview page. When I click on the link it launches the HAP_Document BSP application with some dynamic URL parameters like
    Application=HAP_DOCUMENT
    PageId=document_portal.htm
    DynamicParameter=NEW_APPRAISER_ID......
    I have been trying to debug the proxy class CL_HRWPC_SER_MBO_PARAMS associated with the service MSS_MBO_DOCUMENT to look for the dynamic URL parameters but didnt find them all in there. I did find some of them but not in the form of the parameter string it generates in the URL.
    Please let me know if I am looking in the right direction. Any help would be really appreciated.
    Regards,
    Prathamesh

    Hi,
    Check SAP note 1505832.
    Thanks
    Sunny

  • Session id in BSP Url

    Hi
    I am creating a new iView of type BSP. On executing/previewing the iView the url is generated similar to:
    http://<hostname>:<port>//sap(bD1lbiZjPTEwMCZkPW1pbiZpPTEmcz1TSUQlM2FBTk9OJTNhZHYxZDIxX0QyMV8yMSUzYU5pOXBPcGVTbE9HTVk0ZWdfcU1jUnVkYU04MU5WUUdCTDhrai10cGMtQVRU)/bc/bsp/sap/<application>/<start page>.htm
    Although the BSP url is
    http://<hostname>:<port>//sap
    (bD1lbiZjPTEwMCZkPW1pbg==)/bc/bsp/sap/<application>/<start page>.htm
    So the session parameters generated in the two URLs is different and the latter one works fine but the earlier one gives some issue when trying to save etc and does not work as expected.
    I analysed the session parameters in the URLs and found that the former URL:
    (l)anguage en
    (c)lient 100
    (d)omainRelax min
    (i)info 1
    (s)ession-id SID:ANON:dv1d21_D21_21:Ni9pOpeSlOGMY4eg_qMcRudaM81NVQGBL8kj-tpc-ATT
    and the latter:
    (l)anguage en
    (c)lient 100
    (d)omainRelax min
    Is there any way this parameter be controlled from portal end so that I am able to get the BSP url (latter).
    Appreciate any pointers.
    Thanks,
    Priyanka

    Hi, it is not possible to diasable the url mangling you mentioned. You can call the static method
    cl_o2_helper=>generate_url_for_page to get an url for a specific page.
    Best regards,
    Stefan

Maybe you are looking for

  • ORA-27300 error while initializing a new 8i database

    Sorry if this 8i EE related question doesn't belong in this thread, I didn't find an 8i EE discussion forum. I am trying to create a new database on 8i EE, Solaris 7 on E250 with 512MB of physical memory. After creating a param file, when I try to in

  • DB need too many locks in single threaded application

    Hello, I`m new to BDB, and search for help of gurus. I try to create database importing data from csv files. Import procedure is already written and works fine, but sometimes it starts to need too many locks. Import process read csv file line by line

  • EXCEL APPLICATION - WORK SHEET UPDATION

    Hi All, 1. How to open an excel application which is on the application server ?     If not local file.?? 2. How to look for a particular worksheet ( Worksheet name is fixed here )?     There are 20 worksheet in my excel file. 3. How to update the pa

  • HashMap order in a file

    Hi all Until now in my program i use a HashMap collection to store my objects. The problem i have now is that the objects are too many (over 1.000.000) so keeping them in memory in a hashmap collection is impossible. So the solution (?) is to keep th

  • I get the error message Ajax submit failed: error = 403, Forbidden

    I can't set up a new ePrint account for my mew 7525 printer.  I ge the error message - Ajax submit failed: error = 403, Forbidden