Parameter to Parameter - between 2 BSP-Application

Hello,
we have a problem between transfer Parameters from a BSP-Application-Site to a another BSP-Application Site.
How can we realizing this matter?
Thank you in advanced
Alexander

Hi
Please use this below method,
DATA: URL TYPE STRING.
CALL METHOD RUNTIME->GET_URL_SAME_SESSION
  EXPORTING
   APPLICATION_URL
= '/sap/bc/bsp/sap/<BSP Application>/<page.htm>'
   RECEIVING
   URL             = URL.
   CONCATENATE URL '?<variable>=' <CLASS_NAME>->Variable> INTO URL.
    CONDENSE URL.
    CALL METHOD NAVIGATION->GOTO_PAGE
      EXPORTING
        URL = URL.
Here, <variable> is parameter which you have to pass the next BSP application.
OR user Server side cookies.
Example.
Set the cookie use this below method,
CALL METHOD CL_BSP_SERVER_SIDE_COOKIE=>SET_SERVER_COOKIE
Get the cookis,
CALL METHOD CL_BSP_SERVER_SIDE_COOKIE=>GET_SERVER_COOKIE
Hopeful it will work.
Thanks
Suriya.

Similar Messages

  • Regarding T Raja weblog Navigation between BSP Applications part I

    Hi sdns,
    This question is regarding weblog T.Raja Navigation between BSP Applications part I.My doubt is i have done it its  working but i am not able to get the o/p data in the table here. I have revised the code twice & thrice not able to find the table which he used. In this code is there any table he used.Or else he provided data directly from the program.
    I am getting the table but no data in it .I have checked p0006 it is an internal table.
    If there is no data in the table how to enter data and in which table we have to enter the data.
    And other thing i have noticed is .In the blog there are only few fields in tthe o/p.But in my program i got a lot of o/p fields.Please help me in this regard.
    Thanks & Regards,
    Lokesh@EDS.

    Lokesh,
    I hope you are talking about the table:model_id->I_detail. This table is declared in Model Class-ZCL_MVC_PERNR_DETAIL in Class attributes. Look at the screen shots in the blog. it will solve the issue.
    @ Viji:
    Lokesh mentioned abt blog /people/raja.thangamani/blog/2006/12/26/bsphow-to-navigation-between-bsp-applications-part-i
    Raja T
    Message was edited by:
            Raja Thangamani

  • Question on passing parameters between 2 pages in a BSP application

    Hi Group,
    I have defined a page attribute "zcid" in both the pages where I need this attribute value. And in one page I calculated a value and assigned it to this attribute. And also I checked the attribute as "Auto" in both pages.
    And I used navigation->set_parameter( name = 'zcid' and value = zcid ), I was getting an error saying, use "." after name and not proceeding any further.
    Please let me know the procedure for accessing a value of an attribute in Multiple pages within a BSP application.
    Thanks in advance.
    Regards,
    Vishnu.

    Hi Vishnu
    To pass the parameter,
    Firstly the name of attributes should be same of both pages and the check of AUTO should be checked on target page.
    I am giving you small example to pass the Firstname parameter from Default.htm to Result.htm .
    the Parameter name in Default.htm is --> fname type string.
    --> Auto should not check
    the Parameter name in Result.htm is --> fname type string.
    --> Auto should be checked.
    in Default.htm inputprocessing use the code
    navigation->set_parameter( 'fname' ).
    navigation->next_page( 'TORESULTS' ).
    or
    For more detail you may also go through the following links
    /people/raja.thangamani/blog/2006/12/26/bsphow-to-navigation-between-bsp-applications-part-i
    /people/raja.thangamani/blog/2007/01/05/bsphow-to-navigation-between-bsp-applications-part-ii
    If this will helpful please reward the points
    Kuldeep Verma

  • How to reload a BSP Application ?

    Hi,
       I have a button in a BSP page, onclick of that button i need the application to be reloaded. how can this be acheived?
    Thanks
    Bharath Mohan B

    Hi,
    just completing with urls to the blogs:
    BSP/How-To: Navigation between BSP Applications: Part-I:
    /people/raja.thangamani/blog/2006/12/26/bsphow-to-navigation-between-bsp-applications-part-i
    BSP/How-To: Navigation between BSP Applications: Part-II
    /people/raja.thangamani/blog/2007/01/05/bsphow-to-navigation-between-bsp-applications-part-ii
    Regards, Mikael

  • How to pass date parameter from one page to other in BSP application

    Hello gurus,
    In my BSP application i have taken an input field and made its type "date" and its value also of type date and have set showhelp .
    Now once a particular date is given as an input i want to pass its value to next page. And in next page i have to fire a query based on the date entered in previous page...
    Now my prb is that my date value is not getting passed to the next page.
    I have used
    navigation->set_parameter( name = 'BEGDA' value = BEGDA ).
    to pass date parameter.....still parameter is not getting passed.
    plz help me with this.....
    thankx.....

    Hi Eddy,
    By truncation i mean the entire date becomes 10 char including the ' . ' eg(06.12.2006).
    so with begda being 8chars it takes my date as 06.12.200
    as a result my query is not getting executed.
    now i have tried to use a FM  'CONVERT_DATE_TO_INTERN_FORMAT'.
    in my 1st page but still in 2nd page its giving me following error.
    <b>The data that was read could not be written to the specified target field during a SELECT access. Either the conversion is not supported for the type of the target field, or the target field is too short to accept the value, or the data is not in the appropriateformat for the target field.
    </b>
    Regards
    Swati

  • BSP Application - Looking For A Parameter

    Hello,
    I have the following (rather annoying) problem:
    We are working with a BSP-Application in which directly in the Beginning (in the "OnCreate"-Method of the entry page) an SAP Memory Parameter is read through a "GET PARAMETER" Statement. The Problem is: Where is it set?
    Is there a defined place where such parameters are stored? Or how is this handled normally? After searching the whole BSP-Code there was no "SET PARAMETER" call anywhere, so we have to assume that this happens somewhere outside the BSP-App. Perhaps it's hardcoded somewhere??
    Does any of you have an idea, how I should go about this problem?
    Thanks in advance,
    Lukas

    Well the parameter im looking for changes depending on the user that is currently logged in. so it can't be in the urls I think.
    This is the snippet of code that checks the parameter:
    DATA: lv_parameter(2) TYPE c.
    GET PARAMETER ID '/BIC/OMSGLVARPO' FIELD lv_parameter.
    its almost at beginning of the bsp app flow.

  • How to get workitem ID parameter in BSP application in UWL?

    Hello All,
    okay, it's been a long day and i stuck with this seemingly simple problem - how to get a workitem id in my BSP application when calling from UWL.
    Points are guaranteed to all who post an answer.
    i got MVC BSP iview is configured to be called for my task in SWFVISU, all re-registered and seem fine. Correct BSP is being called when i execute the workitem from UWL, but wi_id is not passed there.
    What am i missing?
    Thanks!

    Hi Serge
    How you solved it .I have same issue  please let me know.
    Thanks

  • Getting value from portal or bsp application to selection screen parameter

    Daer SDNer's.
                           Is there any possibility of getting value from bsp application and that value to be passed to selection paramater of bw query varaiable.
    concept as follows.
                                    report is based on vendor related information. particular vendor having user id in bsp or portal for accessing reports. if he selects bw query in portal or bsp dash board. that same vendor name or id shoukd be pass to default vendor selection entry in bi... so only that particular vendor details should display.....
    Harikrishna

    Dear Arun,
                      thanks for the reply. can i dynamically get the values to selection parmaters from bsp or else i need to mantain those user ids(vendor name) in bw. could you explain on it. if possible provide some sample code on it.
    Thanks
    Harikrishna N

  • Passing parameter from workitem to bsp page

    Hi,
    is it possible to pass parameter from workitem to bsp page and also vice versa?

    SAP_WAPI_READ_CONTAINER function works well.but i need to pass a parameter to workitem container.
    what i am trying to do is;
    1-get data by using sap_wapi_read_container
    2-change data
    3-send changed data back to workitem
    my problem is in third step.I am using SAP_WAPI_WRITE_CONTAINER. but it doesnt work.After execution the FM return_code set to 1.
    Do u know how to set a variable in workitem?

  • Difference between BSP_WD_CMPWB  and SE80/BSP Application

    Hi Guys,
    This is related to SAP CRM Module.
    Can somebody tell the difference between BSP_WD_CMPWB and SE80 / BSP Applications.
    Also can somebody give the tutorial for BSP_WD_CMPWB.
    Thanks,

    post this in CRM web forum at
    SAP CRM: Interaction Center

  • How to handle data between 2 bsp applications

    Hello Experts,
    i´ve got 2 BSP applications, users enter in application 1, do serveral actions there, and then jump into application no 2.
    But, they need some data from application one for getting startet in application 2.
    Whats the best bay to pass the data?
    I don´t want to write them into a db table, also i don´t want to pass it via url (?field1=value).
    Are there other possibilities?

    Please search this forum, you will find many threads on the same...
    Raja

  • Eventing between team viewer and BSP application

    Hi Everyone,
    Basically, I have a standard BSP application (HCM_LEARNING) on ECC5.0. I need to make it communicate with MSS team viewer.
    HCm_learning is a big BSP application from SAP which enables self booking for course, training history data, courses attended, can view courses offered, prebooking, participation history, qualifications achieved, qualifications missing etc.  It is a master piece BSP from SAP.  It brings the data from the backend system through pernr.
    in portal, a manager should see the qualifications of an employee and book courses for him if he misses particular qualifications. hcm_learning is a self booking application; if it communicates with team viewer: that is great. manager can pick a person (name) from team viewer and from there he can take of all the activities 'hcm_learning' does for an employee.
    I have spend lot of time watching all the blogs, threads.. searching for this scenario. can not get right information.
    is this scenario possible.
    could any body tell me where i should look at for documentation. could you give me suggestions on this.
    THanks!
    Siribabu

    Hi Siribabu,
    Did you ever find an answer to this?
    Thanks
    Jane

  • Calling BSP application in same session

    Hi,
    I am trying to arrange a few BSP pages into some sort of "BSP pool" so I can call them from different applications. Means: I want to create something like a few base objects to re-use in other BSP applications. My BSP applications have to be stateful - so when I embed those pool pages (using iframe or similar technology) I do get a new session and cannot share the model data. :-((
    Is there any way of avoiding this session problem? Can I force a call to a new URL (on the same server) to re-use my previous session?
    Interface method "IF_BSP_NAVIGATION->goto_page" sports a parameter "session", but this parameter does not what I would have expected when fed with the current session ID.
    I could not find any documentation on the session handling in the WAS either. All I learnt is that a new session seems to be created whenever a URL with a different ICF path is called - even on the same server. If this is the case I will definitely have problems pooling BSP pages into a "toolbox" BSP application.
    Sharing the model data via server-side cookies could be a way, but fails for object references (like class instances or data references).
    Any experience with writing the model data (and references!) into ABAP memory to be re-used in the same GUI session (e.g. CIC)? That might be a workaround (?).
    Any hint greatly appreciated.
    TIA
    Peter

    I can tell you what I have used in the pass to acomplish this: BSP Extension Elements or Reusable Controller classes. 
    BSP Extensions are really designed for just this kind of reusability.  You have static interface into and out of the extensions.  All the rendering is encosed in the extension, yet will be befored in-line in the rendering of the main page.  You don't have to worry about separate sessions, or the overhead of iFrames.
    Another very similar approach is to create reusable controller classes.  Rendering logic can actually be placed in the controller as well (instead of calling a view). Brian McKellar has an SDN Weblog on how to use a controller class to build a pattern engine.
    If you are really trying to create a reusable toolbox - then I highly suggest the Extension approach.  However I have done the sharing of model data between two applications.  I have an example here:
    /people/thomas.jung3/blog/2005/05/27/custom-bsp-extension-element-for-field-level-help
    Basically I serialize the model class and write it into a server cookie.  Then I pass a unquie ID for that model instance to the second application.  It can then retrieve and deserialize the model.

  • BSP Application Timing Out

    Hello all, I have a BSP application that runs successfully when processed all at once.  But if you take more than a couple minutes between clicks, it times out.  I found many ICM parameters for this but I am not sure how they all work together. The "icm/keep_alive_timeout" is set to a system default of 60 seconds.  I'm not sure if this is causing the issue or not.  Does anyone have any advice or know of a blog or something that talks about time outs and BSP processing?
    I tried to code for this by writing all pertinent information to cookies but I can't read the cookies after the r/3 session is terminated.  I have the expire date set to one day in the future so it should be there.  I see it in table SSCOOKIE but I cannot read it.  My session id remains the same so I am not sure of the problem.
    Any help is appreciated, Troy

    Hi,
    You can decide how long the session can last if you double click on the app node within SICF. Under the service options, you can define a session timeout.
    the profile parameter rdisp/plugin_auto_logout will otherwise clear things after 30 minutes.
    Eddy
    PS.
    Put yourself on the SDN world map (http://sdn.idizaai.be/sdn_world/sdn_world.html) and earn 25 points.
    Spread the wor(l)d!

  • Javascript error calling a bi 7.0 webapplication from a bsp application

    Hi everyone,
    This is the scenario we're facing a javascript error :
    Enterprise Portal is calling a custom bsp application ( via an iview in the enterprise portal ) in the bi system with a parameter "template_id" and a value, which is the technical name of a bi web application.
    The bsp application is evaluating the parameter by some custom code and creating a html page with a redirect or a maintenance message to the bi web application passed with the parameter "template_id".
    The html link to the bi web application is created according to this documentation :
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/46/03d4ac801467e6e10000000a1553f6/content.htm
    Purpose of the bsp application :
    in the bi system there is a database table to maintain a flag for each webtemplate and infocube, which should not be called via the enterprise portal for a certain time ( some kind of maintenance switch ). The bsp application then decides to show a maintenance page for the called webtemplate or to send the redirect page to the client.
    The process described above is :
    working with the bi 7.01 sp7 in the bi ( enterprise portal sp22 ) in the productive system.
    working in the Q&A system bi 7.01 sp8 with bi 3.5 web applications.
    not working in the Q&A system bi 7.01 sp8 with bi 7.0 web applications.
    The javascript error calling bi 7.0 web applications is :
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET4.0C; .NET4.0E)
    Timestamp: Mon, 6 Jun 2011 09:11:04 UTC
    Message: Object doesn't support this property or method
    Line: 96
    Char: 11
    Code: 0
    URI: https://mlptb1.mlp-ag.com:58001/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=B_221_002_KUNDEN_POSTEN_AD
    We've opened a message. Support center is saying that this method isn't supported by sap. We should ommit the bsp application and the used functionality.
    Is there any way to find out, what is causing this object is missing ?
    Is there another way than a bsp application to use this custom maintenance function in the described system setup ?
    system components :
    production system
    SAP NetWeaver 7.0 Portal SP22
    SAP BI 7.01 SP 7
    q&a system
    SAP NetWeaver 7.0 Portal SP22
    SAP BI 7.01 SP 8
    Kind regards.
    Dirk

    Hello everyone,
    we did some further analysis on this problem und we think we found the problem.
    The error occurs while trying to execute the standard url for web templates inside a Enterprise Portal Frame, for example
    https://XXX:XXX/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=XXX
    While executing the URL a HTML-Page with some embeded Javascript-code is sent back to the browser.
    In this Javascrip-Code, the method-call "dsmObj.registerAll" leads to a script error in Internet Explorer.
    dsmObj.registerAll("pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/iViews/com.sap.ip.bi.bex", "GUSID:6FC9SuhGDPIMMLwOdeHEIg--_7WQud13yeLJDz2kYoQFSg--", "1307605928212");
    In SP7, the method "dsmObj.registerFullKey" is called instead of "dsmObj.registerAll". This has changed in SP8.
    dsmObj.registerFullKey("GUSID:iBPvyska9*xE_JBalkQG2g--YyKv2C3NToP0I79Mw7EO8w--", "1307606479963");
    The object "dsmObj" seems to reference the parent frame of the Enterprise Portal.
    Has anyone seen this before? Any ideas how we can fix this?
    Kind regards,
    Matthias
    Edited by: Matthias Keller on Jun 9, 2011 2:07 PM

Maybe you are looking for

  • Can't Install CISCO Fabric manager in Windows 7 32 Bit.

    Hello Folks, Can some one let me know how to launch the Fabric manager installer in IE 8, I am using Windows 7 32 bit OS with IE 8. I can't launch the Fabric manager installer in IE 8, your help much appriciated. thanks in advance.

  • Where is my New Folder option?

    I bought and dowloaded Lion, but I noticed that I can no longer select New Folder in the Finder File Menu.  The only option I can select is New Smart Folder.  Does anyone know why this change occurred and how I can create a New Folder that is not a S

  • I want to create new tags.

    I often access science sites. Today I tried to bookmark such a site and wanted to tag it with a tag called "Science" and was unable to find that tag so now I want to create a tag called Science. How do I do that? Firefox is supposed to be personaliza

  • Adobe fonts not showing up in Photoshop

    HI, I am running Windows 7 and I noticed that many open type fonts that show up in the font list in Word do not appear in Photoshop CC, specifically the Adobe fonts like Adobe Fan Heiti and Adobe Gothic.  How can I get these fonts into Photoshop CC. 

  • Remove Duplicate Rows in Numbers 09

    Is there a way to remove duplicate rows in Numbers 09? For example I have 2 Tables and the values of Column A are mainly the same, but there are definitely a few dozen unique values in 1 table which are not in table 2 and visa versa. I'd like to make