Add EP-userid to BSP app as (URL) parameter

Hi,
I've created a default BSP-iView (via com.sap.portal.appintegrator.sap.BSP) and try to pass the EP-userid as an extra parameter, without any result so far. I've checked several SDN posts, but didn't help (or I didn't understand them).
In the properties of the iView I've tried to edit the following:
Application Parameters : user=<User.UserID>  or
Parameters to Pass from Page Request (for URL isolation) : user=<User.UserID>
I need to pass the EP-userid, because the BSP app. is called with one user (user mapping for a specific Group/Role for the backend system) and is not able to distinguish the logged on EP-user.
Where did I go wrong?
Any suggestions how to solve this issue?
Best regards,
Mark

in the application parameter of the BSP iview pass
userid=<User.LogonUid> or
userid=<User.UserId>
and in the BSP application have a page attribute called userid with auto check box checked.
within BSP application now the variable userid will have portal logged on user id.
also check this thread
Disable Variable Screen issue
Regards
Raja

Similar Messages

  • BSP App URL

    I have one bsp application. the app consists of one initial page(entry point) and any other pages.
    I wanna know the initial page's url as like 'http://xxx.xxx.xxxx:50000/sap/bc/bsp/sap/zhr_hap_018/index.htm' to call it from abap report program.
    I can't code the fixed url on the report.
    as you know the url(domain and port etc) is diffrent where the bsp app runs on(DEV, QAS and PRD).
    how can i get the information(domain and port etc)?
    i think there are function modules or util classes...
    plz. help..

    use the following method to build the url
    DATA: url1 TYPE string .
         page TYPE string .
        DATA:  params TYPE tihttpnvp.
    page = '<targetpage>.htm' .
    cl_http_ext_webapp=>create_url_for_bsp_application
          EXPORTING
            bsp_application      = '<BSP application name>'
            bsp_start_page       = page
            bsp_start_parameters = params
          IMPORTING
            local_url            = url1.
    params can be filled with any parameter you want to pass to that page.
    Hope this helps.
    Regards
    Raja

  • Trouble changing a class attribute in a STATEFULL bsp app - PLEASE HELP!!!!

    hello, i have some trouble changing the value of a class attribute, in certain point of the execution of a statefull bsp app. The scenario is: the bsp app is on a url iview in a portal; i have some link in the portal, that do a window.open (pop up) of that app. the question is: how can i change the class attribute of the bsp app when i close that pop up?, if when i first click the link that show me the pop up, its doesn't create another instance of the class...i mean it continuing working with the same instance of the url iview in the portal. ANY help it will well received. Thanx in advance

    hello Durairaj...yes indeed in the other thread thats the issue with the portal_version attribute, the person who create the iview dont want to change it...so i try to solve it with something else....thats bring me to another problem (posted in this thread). Now i have a question...in the url iview it calls a template that start the bsp app...i mean is not the url iview who calls the bsp app is a middle template...with this scenario can i pass the parameter sap-sessioncmd=open to the url iview or i have to pass it to the bsp app directly when in the middle template i call it??? another question when i pass that parameter via url, it create another instances (apart) of the class or restart the same instance that the app work with until that moment....tell me more about that parameter coz' i am new in bsp and i need help....i will give a lots of rewards point who help me!!! i promise....i am kind of desperade for sure....  thanx in advance

  • URL parameter in a stateless BSP - 2004s

    We are on 2004s release (SP6) and have a custom BSP stateless application using MVC approach. A URL parameter is passed to the BSP as follows:
    http://<host.domain.com>:8000/sap/bc/bsp/sap/<BSP App>/start.htm?sap-client=151&sap-sessioncmd=open&param=555
    The Do_Init method of the main controller has the following code:
      DATA: t_url_fields TYPE tihttpnvp.
      CALL METHOD request->get_form_fields
        CHANGING
          fields = t_url_fields.
    The internal table t_url_fields is not getting the parameter (It is empty).
    I tried various other things and looked at previous SDN posts and could not find any other pointers. Everywhere the recommendation is to use the "get_form_fields" method. Also this used to work on the WAS 620 box earlier. Am I missing something fundamental here? This is a very old subject and I myself used it successfully earlier. Maybe the 2004s release wants something else? Checked OSS also.
    Your help in this would be appreciated. Please let me know about how to troubleshoot this, because I tried everything from my side.
    P.S: Points will be awarded..

    Hi,
    Yes, I think Dispatch_input() has to be put in Do_request event.
    There is another alternative to using Get_form_fields method. In Do_Handle_Data event you can read the table form_fields and get the value of the input on the page.
    read table form_fields into <workarea> with key name = '<url inputfield name>'.
    get the value.
    Hope this helps.
    Thanks,
    Rashmi.

  • How do I add image upload to web app edit template?

    How do I add image upload to web app edit template. When creating fields I am selecting image from the field type. But the only way to upload and image is when I create the web app item within the admin. The option to upload an image is not available when the user submit web form opens.
    Wont send any of these questions through this email anymore but really needed assistance.
    Thanks,
    Gordon

    On the Details tab of the Web App setup, under Web App Item Options; have you ticked "Allow File Upload" and specified a Default Upload Folder?

  • I am using Windows XP on my laptop. Had to format the C drive. I have reinstalled iTunes but I am unable to add anything other than music, TV shows and movies to the iTunes library. It is not showing any option to add podcasts, books, photos or apps.

    I had to format the C drive recently. I have reinstalled iTunes but I am unable to add anything other than music, TV shows and movies to the iTunes library. It is not showing any option to add podcasts, books, photos or apps. These things are available on my iPhone but are no longer there in the iTunes library. Please help.

    In iTunes go to general preferences and check the boxes for those you wish to see in the library.

  • I need to save an online file to my ipad and then email it as an attachment from my school email? It is my college gmail account and I can't add it to my mail app.

    I need to save an online file to my ipad and then email it as an attachment from my school email? It is my college gmail account and I can't add it to my mail app. This was an assignment for class to make sure we could use the BB email system.

    You can use your gmail account within the native Mail app using IMAP
    Make sure you've enabled IMAP in your main Gmail settings
    Open the Settings app on your device
    Tap Mail, Contacts, Calendars
    Tap Add Account...
    Tap Gmail
    Enter your account information, being sure to use your full Gmail address, including '@gmail.com'
    Tap Next
    Tap Save

  • [svn:osmf:] 15865: FM-505: Add text to link instead of displaying URL

    Revision: 15865
    Revision: 15865
    Author:   [email protected]
    Date:     2010-05-02 19:22:20 -0700 (Sun, 02 May 2010)
    Log Message:
    FM-505: Add text to link instead of displaying URL
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-505
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/F4MElement.as

    Hi,
    Solution is very simple:
    <af:column headerText="company">
    <af:commandLink text="#{row.Company}">
    <af:setActionListener from="#{row.rowKeyStr}"
    to="#{requestScope.currentRowKey}"/>
    </af:commandLink>
    </af:column>
    On the detail page in PageDef.xml add action (for the same iterator)setCurrentRowWithKey - as argument set #{requestScope.currentRowKey}. Don't forget invoke this action when page is loading setting Refresh Condition= #{adfFacesContext.postback == false}
    Kuba

  • [svn:osmf:] 15864: FM-505: Add text to link instead of displaying URL

    Revision: 15864
    Revision: 15864
    Author:   [email protected]
    Date:     2010-05-02 19:21:01 -0700 (Sun, 02 May 2010)
    Log Message:
    FM-505: Add text to link instead of displaying URL
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-505
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/StreamingURLResource.as

    Hi,
    Solution is very simple:
    <af:column headerText="company">
    <af:commandLink text="#{row.Company}">
    <af:setActionListener from="#{row.rowKeyStr}"
    to="#{requestScope.currentRowKey}"/>
    </af:commandLink>
    </af:column>
    On the detail page in PageDef.xml add action (for the same iterator)setCurrentRowWithKey - as argument set #{requestScope.currentRowKey}. Don't forget invoke this action when page is loading setting Refresh Condition= #{adfFacesContext.postback == false}
    Kuba

  • Can't add funds or purchase in app store?!?!

    Trying to buy angry birds in space and I can't add funds or purchase the app. Says your request cannot be performed at this time please try again later... Anyone else having problems? Starting to get annoyed with apple's software issues. Bring Jobs back to life!

    Post in the App Store forum.

  • ***How to call BSP App when custom button event fired from toolbar group***

    Dear PCUI Experts,
       I have created one custom button for the transaction CRMD_BUS2000116.
    And my urgnet requirement is , I need to call BSP application which is used to   take data from custom fields and stores into BP table.
    How to call the BSP App. when i clicks on the button.
    Please help me..
    I will reward with great points.
    Regards,
    Stella.

    Hi Purushothaman,
                                 I have created a button in CRRM_ACCOUNT application.
    Now i want to call  a custom bsp application by clicking on that button.I have followed step given in this blog
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1646. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    But the event is not triggered.Do I have to create an iview for my bsp application?
    How to do that?Plz help.
    Regards,
    Ruby.

  • Passing URL parameters to WD app in URL IView

    Hi experts,
    I'm using EP 7.2 and as I found out this version doesn't support Web Dynpro Java iview template so I'm using URL iview template for my Web Dynpro Java application. My requirement is to somehow pass some URL parameter (which is id for something in my app) to the WD app in the URL iview. So in this scenario setting the URL parameters and their values during design time for the iview is not suitable. I tried DynamicParameter=id%3D154 for example but it doesn't work. Do someone has any ideas to solve this problem? Any help will be appreciated.
    Regards,
    Martin
    Edited by: musaka on Oct 27, 2009 1:12 PM

    Hi Musaka,
    If i am not mistaken, your requirement is to display a URL iView to user with some parameters (contained within the Address Bar of the Browser) to be passed to the iView. Initially as no parameter value can be defined on previewing the iView or opening the iView, no value is passed to iView. But in case, when you directly enter the Parameter Values against Parameter Names in Address Bar and then say go, the page should reload and pick the parameter values from URL in Address Bar instead.
    Steps to follow:
    1. Put     CustomerId=0&RequestId=0            in the Application Parameter property of the URL iView.
    2. Put the following lines of code in the wdDoInit() in the implementation tab of the View Controller to retrieve and use the passed parameter value in the View of the application and then say Organize Imports from the context menu.
    int customerId = WDProtocolAdapter().getProtocolAdapter().getRequestObject().getParameter("CustomerId");
    int requestId = WDProtocolAdapter().getProtocolAdapter().getRequestObject().getParameter("RequestId");
    Please revert in case of any issue.
    Regards,
    Tushar Sinha,
    Infosys Technologies Limited,
    Hyderabad,
    India
    Edited by: tushar sinha on Oct 29, 2009 10:51 PM

  • Why cant i add my own sound to apps like facebook e mail and twitter

    why cant i add my own sounds to apps like facebook e mail twitter

    "add my own sounds to" - do you mean notification sounds??  If so, they are set by the App developer and can't be changed (other than disable).
    "Why" - this is a user-to-user support forum.  No one here can answer "why" Apple does or doesn't do anything.

  • Loosing application attribute in a statefull bsp app

    Hello guys,
    i have a little problem. I got a statefull bsp app that contain an application attribute that is loose between the oninit and the oninput...any ideas that could solve my problem? Thanx in advance

    Hi Mariana,
    I got (perhaps ?) a very similar problem just few minutes ago.
    In my OnInitialization event handler, I have :
    DATA: ta_usr01  TYPE TABLE OF usr01.
    SELECT * FROM usr01 UP TO 100 ROWS
             INTO TABLE ta_usr01.
    GET REFERENCE OF ta_usr01 INTO ta_data.
    where
    ta_data is declared as a page attribute TYPE REF TO DATA. 
    When I tried to dislay the data in the Layout, I observed in Debud that ta_data was like this :
    FREED STACK:{A:2*TYPE=%_T00004S00000072O0000002784}
    And then "Eurêka !" 
    It is because
    ta_data is pointing on a local variable (ta_usr01) which has long gone (since the end of OnInitialization event handler) 
    Everything went fine once I had declared ta_usr01 as a Page attribute (which means declared globally)
    I guess you experience the same kind of problem.
    Best regards,
    Guillaume

  • Add URL Parameter to Validator

    Hi, my problem is this. I have a jsp page that uses a url parameter passed to it by the link, i.e <a href="userInfo.jsp?id=nav">. The id value is then used to conditionally populate the jsp drop-downs etc.
    On a validation error the page is redisplayed, but the id parameter is not present and it gnarls the jsp output. Is there a way of giving the redisplayed page the id value that was originally present?
    Thanks for any help.

    I would add a hidden input to the page with the expected name and value. In this case it might be best to use straight HTML instead of the inputHidden component.

Maybe you are looking for

  • MacBook Pro won't connect wirelessly after 10.5.8 update

    I have a MacBook Pro laptop, which was acquired in 2006. I have used it with my Linksys WRT54G router successfully for years but since I recently updated to 10.5.8, it was able to connect one time, which lasted for a day or so. Now it no longer can c

  • How to update files in jar?

    Is there any way that I can update a file stored in a jar?

  • Mailman - trouble creating a second list at an existing virtual host

    I have a Virtual Alias error problem ... I have a Mailman list working (for months) ... *discuss at lists.MLDfamily.org*. I've just created a new list ... *discuss-adults at lists.MLDfamily.org*. The web interface works fine for the new list and it s

  • SOA 11g Tutorial/Hello World application

    Dear All, I am very much new to SOA Pls let me know Tutorials or How to build Hello world or where to start the building the applications. Best regards, Raj

  • Poor, Poor, Poor Customer Service

    December 18, 2012 Lowell C. McAdam {edited for privacy} Annual Account Value: Approximately $6,000.00 annually Dear Mr. McAdam: I am a Verizon FIOS customer with a bundle (landline, wireless, cable, Internet) who has been with your organization for a