BIApplicationFrame - passing variable values

Hallo Expoerts,
I'm calling from WD in BIApplicationFrame a Web Template from BI. I would like to pass from WD the values for selection variables and avoid to show the selection screen of the web template. Is there any possibility to do it ?
Greetings
Wojciech

I managed to pass the selection variables to the query through BIApplicationFrame. This is how I did it.
1) Added the BIApplicationFrame UI element to the View of the Webdynpro application and named it ZBIQUERY with the following  properties relevant to my system.
   - dataProviderStateName property is set to my query name which is 'ZPUR_M02_Q08'
   - dataProviderStateType is set to 'Query'.
   - server is set to 'housapdbw.noble.cc:8000'
   - templateId is set to 'ZPUR_M02_W02'
  - variableScreen is Unchecked.
2) Added two attributes to the view under the attributes tab. They are
    M_APPL_FRAME            RefTo       CL_WD_BIAPPLICATION_FRAME
    M_METHOD_HANDLER  RefTo       IF_WD_BI_APPLFRAME_METHOD_HNDL
3) Then add the following code in the method WDDOMODIFYVIEW.
  data:
       lt_parameters type if_wd_bi_applframe_method_hndl=>tt_name_value,
       ls_parameters type if_wd_bi_applframe_method_hndl=>t_name_value.
  define add_parameter.
    clear ls_parameters.
    ls_parameters-name = &1.
    ls_parameters-value = &2.
    append ls_parameters to lt_parameters.
  end-of-definition.
  if first_time = abap_true.
    wd_this->m_appl_frame ?= view->get_element( 'ZBIQUERY' ).
    wd_this->m_method_handler ?= wd_this->m_appl_frame->_method_handler.
  endif.
Please note that the selection screen on my query has Select-options and its name is
XREF_NUM0001. I am passing a value of '11111'  to it as shown below.
     refresh lt_parameters.
    add_parameter 'CMD' 'PROCESS_VARIABLES'.              " This is for Execute button
    add_parameter 'SUBCMD' 'VAR_SUBMIT'.                      " This one also for Execute Button
    add_parameter 'VAR_NAME_1' 'XREF_NUM0001'.         " Name of my select-option
    add_parameter 'VAR_OPERATOR_1' 'EQ'.                   
    add_parameter 'VAR_SIGN_1' 'I'.
    add_parameter 'VAR_VALUE_LOW_EXT_1' '11111'.     " Value for my select-option
  wd_this->m_method_handler->execute_command( lt_parameters ).
  endif.
The above code needs to be added before the view is called in th is method.
Hope this helps.
Krishna Muppavarapu
Edited by: Krishna Muppavarapu on Jan 5, 2010 4:34 PM

Similar Messages

  • Passing variable values to the navigation block

    Hi WAD Experts,
      I have a requirement regarding passing variable values to the navigation block. User requirement is first give the selections on the selection screen and then after executign output should display in browser. In the output page we have a navigation block. So when user gives selections those selections should also populate in the navigation block. Your help will be appreciated.
    Prasad.

    Hi,
    if your variable is 'Changeable at Query Navigation' the chosen values will appear in the Navigationblock.
    Variables which are 'Not Changeable at Query Navigation'
    will not appear.
    You can set this Property when you create a Variable.
    Kind Regards,
    Alican Polat

  • Application inside an application and using URL parameter to pass variable  values

    hello
    My requirement is to create a design studio dashboard that will have 2 applications and I should be able to pass variable values from application 1 to application 2. All this should happen in 1 dashboard application.  I have tried using open document functionality
    Application1.openNewWindow(URL link to application 2) . It doesn't meet my requirement as I am required to login to the other application in a new window.
    Is it possible to add 2 applications in one dashboard.
    thanks,
    Bhat

    Hi Bhat,
    I don't know if it is possible to open it in the same Page. But you can try using the Opendoc Parameter which allows you to enable you to pass the credentials you have used in the current Dashboard.
    A useful link,
    https://help.sap.com/businessobject/product_guides/boexir4/en/xi4_opendocument_en.pdf
    Regards,
    Fazith Ali Z

  • Pass variable value to different Web Templates??

    Hi BI gurus,
    The scenario is: we have 2 web templates, and at the top of template A, there is Menu Item for the users to switch to template B. Time Variable: Fiscal_Qtr (a custom exit variable which by default set the value as Current Quarter) is being used in both templates. And, there is drop down box of Fiscal_Qtr in the layouts for the users to change when they do the planning.
    The requirement is to keep the last value of the Fiscal Quarter when the users switch to different templates.
    The difficulty is how to read the fiscal quarter from the buffer and pass the value when launch another template, because it is a totally new session. The new session always set to the default value.
    Please share your thoughts if you have any experience about similar case.
    Thanks a lot!
    Eunice

    I dont think you an read from the buffer when you use javascript. The value is shown as request_1 in the url or something like that. This is with reference to WAD 3.x... you could customize the context menu and see if you can do an RRI instead...

  • Acrobat pro Extended | Passing variable value with Querystring

    Hi,
    We are facing issue with opening a web link with passing a variable value as query string parameter. We have added a form button on the pdf page, on click of it we have opened a web page and we want to pass a variable value in the query string. We can not give the hard code value in querystring, as the value keeps on changing.
    Please refer to the images below.
    here the data will be my variable name, which contains some value. When i execute it, it passes data as a string, i want to pass its value in the query string parameter. How i can do this?
    I had found one more way, is to call a function on the form button click, and in that pass the query string parameter as a variable, it works. But the problem in this case i am faceing is, in the app.launchURL command i have to provide a http path, means something like http://www.google.com, then only it works. I have that page on my local (no server), so i want to add the path as onlu page.html
    //Reference code, this fun will be called on a button click
    function LaunchPage()
        app.launchURL("http://www.aptara.com/page.html?value="+data+""); //this works
        app.launchURL("page.html?value="+data+""); //this dosent works
    Please do let me know, how i should proceed. To repeat, i want to invoke a page, which is on my local system with a querystring, in which i sud pass a variable value.
    Thanks,
    Ajit danve
    Sr. Developer
    Aptara, Pune.

    re: George Johnson
    Thank you for the response. This process that we are looking to do is necessary. We have 400+ OLD PDF forms that currently are printed by our print shop and then manually filled out and scanned into our system. The current process requires a clinician to log into our scanning system, identify a patient chart, and then identify the type of report they are scanning in. This process is time consuming with possibility of errors (wrong chart selected, wrong form, etc.). Plus, we have to stock up to 400 forms at each location.
    We don’t have the funds to convert 400+ complex forms into electronic submissions where the form fields are discrete and file accordingly. So, what we have come up with to save costs of a new system and reduce potential errors is to add a barcode to each existing form.
    Basically, each form will get a barcode and a javascript function in the onload event to process and parse passed in link parameters.
    So when a clinician clicks on a form link in our EMR system the form will load passing in the patient acct. number and form name into the link parameters (all on our local intranet) so it will get embedded into the barcode on the form. They will then print the form fill out the data (or have the patient fill it out) and then drop it in the scanner. Our scanning system will automatically see the barcode and file the form under the correct patient and form folder based on the barcode info. (A scanned image of the form will save to the patient profile).
    Ultimately we would like to convert all of these forms to electronic signature/submission but we do not have the funds or the time to do this.

  • Passing variable value as a prompt

    Hi All,
    I have one problem related to passing variable through prompt. let's discuss whole situation. Suppose I have 5 interface having variable say user_id in each interface. And 5 packages for each interface. Now I have generated scenario for these packages. I am using these scenario to create one master package. Also I have created scenario for master package. Now I want to do something like this. When I execute scenario of this master package there should be one prompt asking value for user_Id value and that value should pass to all packages and interface and same value should be inserted in target table. I can bring prompt but can not insert that value in database.
    Request you to help me out in this case.
    Thanks and Regards
    -Pallav

    Hi Pallav,
    Not sure how are you trying to insert the variable value in the database but you can create an ODI variable to capture the user entered data from the scenario UI and you can pass the same variable to the underlined package/interfaces.
    Could you elaborate a bit more on the inserting the variable value in the database.
    Thanks

  • Passing variable value from main template to sub templates in BIP

    Hi Gurus,
    i am developing BI publisher report by calling different templates from the main template.
    for example:
    I have main template which calls three templates. my Main template code is like this
    <?import:file:///C:/Temp/P1.rtf?> <?import:file:///C:/Temp/P2.rtf?>
    <?import:file:///C:/Temp/P3.rtf?>
    <?CALL: O1?>
    <?CALL: O11?>
    <?CALL: O111?>
    <?CALL: O1111?>
    <?CALL: O11111?>
    <?CALL: P1FOOTER?>
    PageBreak
    <?CALL: O2?>
    <?CALL: O22?>
    <?CALL: O222?>
    <?CALL: O2222?>
    <?CALL: O22222?>
    <?CALL: P2FOOTER?>
    PageBreak
    <?CALL: SUM1?>
    <?CALL: SUM2?>
    <?CALL: SUM3?>
    <?CALL: SUMFOOTER?>
    Now i am passing some parameter value to the main template, but i have to pass that variable value in all other templates.
    I am getting parameter value in main template but not getting in other templates. Getting error BI generation failed
    Please advise me.
    Thanks,
    Jag

    Yes i have declared my variable at main template but if i do the same declaration at subtemplates, then report not generating. So that i am thinking better to capture that value in variable from the main template then to sub templates.
    I dont know is it works or not? Please see below
    <?import:file:///C:/Temp/P1.rtf?> <?import:file:///C:/Temp/P2.rtf?>
    <?import:file:///C:/Temp/P3.rtf?>
    <?param@begin: Test;'default_value';'string'?>
    <?$Test?>
    <?CALL: O1?>
    <?CALL: O11?>
    <?CALL: O111?>
    <?CALL: O1111?>
    <?CALL: O11111?>
    <?CALL: P1FOOTER?>
    PageBreak
    <?CALL: O2?>
    <?CALL: O22?>
    <?CALL: O222?>
    <?CALL: O2222?>
    <?CALL: O22222?>
    <?CALL: P2FOOTER?>
    PageBreak
    <?CALL: SUM1?>
    <?CALL: SUM2?>
    <?CALL: SUM3?>
    <?CALL: SUMFOOTER?>
    Now i am passing some parameter value to the main template, but i have to pass that variable value in all other templates.
    I am getting parameter value in main template but not getting in other templates. Getting error BI generation failed
    Please advise me.
    Thanks,
    Jag
    Edited by: user7498756 on Aug 16, 2012 9:59 AM

  • How to pass Variable value to SWF file in Eclipse development

    We are creating Widget file in Eclipse by using SAP Widget Foundation .
    We included one SWF file in Widget & it is working fine.
    But we are not able to pass the values to SWF file variables.?
    How to pass variables to SWF file let us know.
    Thanks & regards

    We are creating Widget file in Eclipse by using SAP Widget Foundation .
    We included one SWF file in Widget & it is working fine.
    But we are not able to pass the values to SWF file variables.?
    How to pass variables to SWF file let us know.
    Thanks & regards

  • How to pass variable value to field of standard sap transaction.

    Hi Experts,
       i want to pass the value of variable to field of standard sap transaction. but that field is not having the parameter ID. so please tell me how i pass the value to field.
    thanks in advance.

    You might like to provide a few more details of which field and transaction you are trying to interact with... typical solutions involve user exits / BAdIs / Enhancements, or transaction variants, or building a BDC to part fill the screens of the Tcode you are calling.
    Jonathan

  • Passing variable values to a webtemplate using url

    Hi all,
    Is it possible to pass a variable value with a sign other than equal (i.e. variable value should exclude the entered value) via url.
    thanks,
    Tomer.

    Hi Yvanlathem,
    Per my understanding that you want to use the expression above to conditional add the hyperlink to pass the value to the parameter of anpother rreport via the URL in the SharePoint integrated mode report server, right?
    I have check the expression you have provided and the issue can be caused by the wrong way you have write the expression to pass the parameter, please check detais information below to make sure you have pass parameter in the URL correctly:
    Please modify the expression to below structure :
     =Iif( Parameters!PAR_LinksEnabled.Value="Enabled", "URL",Nothing)
    I saw you have use expression like "&POS_ID=" & Parameters!CONNECTION_ID.Value & "" which is incorrect, we need to set a report parameter within a URL, use the following syntax:
     parameter=value(not Value=Parameter)
    If you are using the following syntax like "Parameter1=Parameter2", both parameters and from different report, if you have add the "Go to URL" action from  report2 to Report1, please make sure Parameter1 is from the Report1
    and Parameter2 is from Report2, change the order will not work
    More detail information:
    Pass a Report Parameter Within a URL
    So, In your scenario, please make sure the value is from one report's field (POS_ID) and the the parameter(CONNECTION_ID) is from another report (e.g:"&CONNECTION_ID=" &Fields!POS_ID.Value &"")
    Similar thread for your reference:
    SSRS 2012 Drill Through report cascading Parameters not refreshing
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Passing variable value with button or MC, that acts like a button

    Hi,
    I have a system.swf, that coordinates which MC should be
    loaded into container. I'm trying with IF statement...
    if (scene == "VALUE")) {
    load ...
    My question is, how can I pass a variable value from loaded
    swf to the system swf, where this value is read?
    THX

    once loading is complete all variables in all times are
    available everywhere. you just need to use the correct path to
    reference variables in one timeline from another timeline.
    so, if your container movieclip is on system.swf's _root
    timeline and has instance name containerMC, from anywhere you can
    use:

  • Pass variable value form one Operational mapping to other

    Hi,
    Can a variable value be passed form one Operational mapping to other in Interface determination?
    So that a Condition check to excute the second operational mapping depending on variable value obtained form first operational mapping.
    Can globalContainer could be used in UDF?
    Thankx
    Edited by: kevindass on Aug 25, 2011 9:13 AM

    Hi,
    You can try these two options:
    1) Create a key in Dynamic Configuration and use it to store the value and retrieve the value back in second operation from Dynamic Configuration.
    OR
    2) Use Export and send the value to BPM, then in BPM using the value decide on if to execute the second operation.
    Regards,
    Aravind

  • Pass variable value from one dashboard to another dashboard

    Hello,
    I have one main dashboard which have "year" prompt with drop down and variaous links & also some reports.
    And we have same year prompt on another dashboards only difference is, this prompt is editable not drop down.
    The requirement is, when I navigate from main dashboard to another dashboard through reports, that time selected prompt value
    comes in navigated dashboard prompt.
    But When I navigate from main dashboard to another dashboard using Link or using <A Href> tag, now selected prompt value can not come in navigated dashboard prompt.
    How can we pass selected prompt value from one dashboard to another dashboard? OR Is there any other technique?
    Thanks,
    Pradip

    Hi,
    You need to make the scope of the prompt as 'Dashboard' and if this doesnt work.
    Then use presentation variable in the first prompt and pass it to the second prompt.
    So this will surely pass the values across pages.
    Regards
    MuRam
    NOTE: Please mention if this resolved your problem/still facing and close the thread.

  • Pass variable value to Nested I-view

    Hi All,
    Short question:
    In a nested I-view, how can i refer back to variable value (selected value in dropdown box) located in main I-view?
    Detailed situation:
    In VC i have quite a large table presenting x/customer over a variable fiscal year. If a customer is selected in that table another query is triggered and will show a chart with some specific info regarding that customer over that same fiscal year.
    Thus: var. fiscal year --> first query --> table: x/customer --> action: customer selected --> second query --> chart: detailed customer info / var. fiscal year.
    In the connection between the table and the second query i can configure the input field (fiscal year) and assigned value easily by select the input form concering the variable fiscal year.
    However this construction works when i keep everything in one I-view. Regarding performance i've to split up my model into several nested i-views.
    Therefore the dropdown box where the fiscal year can be selected and submitted is detached. So now, in my main I-view i've various dropdown boxes and some nested i-views.And In one of those i-views i've a 'signal in' (containing var. fiscal year) and the continuation of the ealier mentioned construction.
    Now, when i'm trying to filter the connection between the table and the second  query i'm not able to refer back to the input form containing the var. fiscal year (because its not in that Nested I-view, but in the main I-View). Also i'm not able to refer to the input signal.
    Any suggestions?
    Kind regards,
    Bart

    Hi Bart,
    short answer
    You have to pass your value with a signal in into your nested iView.
    Best Regards,
    Marcel

  • Passing variable values from WAD to BEx

    Hi Experts,
    I am working with a query which is included in a web template. At the top of this template, I have several variables included in drop down boxes for the user to navigate through the data.
    With clicking at "open in Excel" a BEx-Query is started.
    My question: How can I pass the variable values from those drop down boxes to my Query in BEx?
    The current HTML code for starting the Excel BEx-Query looks like this:
    http://sapserver:port/x/x/x/rsr_bex_launch/bexanalyzerportalwrapper.htm?QUERY=Queryname
    Thanks in advance
    Marco

    If you export your report after selecting required drop down values, your report will be saved to Excel as it was filtered. You do not need any HTML code for this.
    My question: How can I pass the variable values from those drop down boxes to my Query in BEx?
    Why do you want to re-execute your query when you have already ouptut in the first screen shot?

Maybe you are looking for