Passing Parameter to SAP Transaction via AppIntegrator

Hi,
I created an AppIntegrator iView that calls a R/3 Transaction. The iView is running correctly.
Now I want to pass a dynamic parameter to the Transaction so that it skips the first screen of the transaction.
For this purpose there is the iView Parameter "AutoStart" that has to be set to true in SAP Transaction iView. Furthermore I have to set parameter "ApplicationParameter" in the follwing manner "<Screen_field1>=<Parameter1>" according to help.sap.com.
Lets assume that the transaction I want to call is <b>SU01</b> and the screen field is <b>USR02-BNAME</b>.
So the iView parameter "ApplicationParameter" has the value "USR02-BNAME=MyName".
This works fine but is not dynamic.
I then called my iView using the follwing URL:
http://.../irj/../portal_content/.../R3_iView?param=MyName
and changed the value of "ApplicationParameter" to ""USR02-BNAME=<Request.param>".
This does not work. The input field of the R/3 Transaction contains "<Request.param>" instead of "MyName".
My Question:
Does the Template Processor of AppIntegrator not work for the Parameter "ApplicationParameter"?
Help is most welcome
Helmut

Me actually,
Hi Helmut!
Im using a very similar technique heavily in a customer project for jumping into several transactions from an iView.  Instead of expicitely creating an iView i directly call the respective master iView
"com.sap.portal.appintegrator.sap.Transaction"
Then I append the required parameters as GET parameters:
?System=<system alias>&Technique=[SSF|SSD]&TCode=<exec first screen?>SU01 param=value;param=vaue;param=value&GuiType=[WinGUI|WebGUI|JavaGUI]
GuiType should be clear, technique defines the startup behaviour of Wingui (being either as an activeX control (SSD) or using SAP shortcuts (SSF) ). If you want to submit the first selection screen, simply add a "*" to the Tcode. Also note that there is a space between the tcode and the param list.
This should resolve the issue. Good luck with it,
(and see you somewhen again in "real life"
Dominik

Similar Messages

  • Pass PO Num parameter to SAP transaction iview

    Hi,
    I have a table column in my WDJ application that contain PO number.
    I have created an SAP Transaction Iview for TCode me23n (display po).
    When user clicks on the PO number in the table column, it should dynamically pass the PO number to the transaction iview and display ME23N for that particular PO.   How can I pass the PO to this SAP transaction Iview?

    Hi,
       You cannot do it with ME23N because the PO number field is not editable for this transaction. You have to navigate via the top-level menu to enter a new PO number. But you can do it for ME23, the older version of PO display.
       You will need to know the screen field name as well as the ok code that's fired when the user hits enter on the entry screen for ME23. Assuming you have the string for the PO number already from the table, you could use this code:
    WDPortalNavigation.navigateAbsolute(
    "ROLES://<pcd path of the SAP transaction iview>",
    WDPortalNavigationMode.SHOW_INPLACE,
    WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
    "RM06E-BSTNR=<PO string here>&OkCode=AB"
    true,
    true);
    Regards,
    Satyajit

  • Passing parameters to SAP Transaction iView

    Hi,
    We have a SAP Transaction iView (for ERP transaction SWK3) which works fine in our 7.0 portal using the following Application Parameters value:
    P_CATID=BO&P_TYPEID=BUS2089&P_INSTID=<Request.P_INSTID>
    At runtime, the parameters set with constant values are passed (i.e. P_CATID and P_TYPEID) successfully from the iView, while the url invoking the iView contains parameter P_INSTID which is dynamic (called from another iView).
    For example, this may look as follows:
    ?P_INSTID=000614330000120800
    Since we have upgraded to portal 7.4, the NWA log shows the following error for this process suggesting this is not a valid method of passing parameters any more.
    om.sapportals.portal.appintegrator.ApplicationIntegratorException: Unable to process template 'P_CATID=BO&P_TYPEID=BUS2089&P_INSTID=<Request.P_INSTID>', because 'P_INSTID' is an invalid terminal property of context 'Request.'.
    Please can you advise how to overcome this error for the dynamic parameter.
    Thanks,
    Alan

    Hi Alexander,
    Apologies for the late reply, I've been on an extended period of annual leave.
    I've checked back on my notes and we retained the Application Parameters iView setting exactly as I state above but I had to ask our Java developer to explicitly add the static parameters P_CATID and P_TYPEID to the dynamic URL call to launch the iView.
    So for example, an example URL would be:
    ... ivu.view_trip?sap-config-mode=true?P_CATID=BO&P_TYPEID=BUS2089&P_INSTID=000614330000120800
    This cured the problem though I'm unsure whether it is still essential that the static parameters need to exist in the iView configuration. We had many issues at that moment in time I was just pleased to find a solution.
    Good luck!
    Alan

  • Passing parameter to EA60 transaction from FM

    Hi,
    I have a requirement that i need to call EA60 transaction using CALL TRANSACTION and pass all the required invoice details, print parameters and Re-print invoice automatically using the FM which i have created after execution. Could anyone help me in passing the parameters and executing the transaction?

    Me actually,
    Hi Helmut!
    Im using a very similar technique heavily in a customer project for jumping into several transactions from an iView.  Instead of expicitely creating an iView i directly call the respective master iView
    "com.sap.portal.appintegrator.sap.Transaction"
    Then I append the required parameters as GET parameters:
    ?System=<system alias>&Technique=[SSF|SSD]&TCode=<exec first screen?>SU01 param=value;param=vaue;param=value&GuiType=[WinGUI|WebGUI|JavaGUI]
    GuiType should be clear, technique defines the startup behaviour of Wingui (being either as an activeX control (SSD) or using SAP shortcuts (SSF) ). If you want to submit the first selection screen, simply add a "*" to the Tcode. Also note that there is a space between the tcode and the param list.
    This should resolve the issue. Good luck with it,
    (and see you somewhen again in "real life"
    Dominik

  • Missing permission when calling sap transaction via composer

    Hello,
    we have created a complex model. in this model some sap transaction are called.
    With Administrator rules everything is working fine.
    but when portal role is assigned to a normal user, only real composer parts are working and all url ivew calling an sap transaction are failing.
    where do I have to adjust permission ?
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    Access denied (Object(s): portal_content/com.sap.pct/templates/iviews/com.sap.portal.sap_transaction_iview).
    Exception id: 11:20_14/02/08_0022_6998651
    See the details for the exception ID in the log file
    Thanks

    Hi Uwe,
    i guess you're calling the "pcd:portal_content/com.sap.portal.migrated/ep_5.0/templates/com.sap.portal.appintegrator.sap.bwc.TransactioniView" with some parameters (system, tcode, etc.). You have to add this iview to your models role (our change the permissions of the iview). To hide in the navigation, edit the iview preference: com.sap.portal.navigation.Invisible (German: Unsichtbar in Navigationsbereichen) -> change it only in the role->iview, do not change it in the iview itself.
    Hope that helps!
    Benny

  • SAP Transaction via WinGUI

    Hi,
    we have got the following issues with the build in SAP Transaction iView:
    If you create a SAP Transaction iView using the iView Wizard the WinGUI is displayed within the portal frameset. The "Create a new session" button is disabled.
    - Is it possible to display the WinGUI as common as a separate window?
    - Is it possible to enable the "Create a new session" button?
    Best Regards
    Mike

    Hi,
      You can display the Page in another Window by setting "Launch in New Window" to the value 'Display in Separated Window' but <b>it will still be embedded in a browser window</b> !
       As far as I know, even doing this, it won't enable the "Create a new session" button.
      What you would need is to launch the SAP GUI rich client from the Portal in a separated process... Does someone know how to do that out there ?
    Best regards,
    Guillaume

  • Pass XML to MII transaction via HTTPService in FLEX

    Hi folks,
    I have a problem with a HTTPService call of a MII transaction in Flex3. It always worked fine, when I only had to pass simple parameters like strings etc. But now I have a transaction that expects 3 String parameters (they are received) and two XML parameters. I already tried several possibilities:
    1.) I put the XML data into an object in Flex and passed this object for the XML parameters - the XML is empty on MII side
    2.) I change the content-type of the HTTPService to application/xml and passed the XML parameters as XML - the XML is still empty on MII side.
    So my question is: Is it possible to send such a combined HTTPService call with Strings AND XML? Did anybody already do that? The XMLs have the typical MII-structure with Rowsets/Rowset/Row, but without the column-description at the beginning - could that be a point, that MII cannot deal without this column description? But I already tried to send an XML in an other structure and it was also empty on MII side.
    Would be great if anybody has any suggestion!
    Thanks,
    Anika
    EDIT: I now realized, that if I pass only one XML parameter, it works. As soon as I pass both XML parameters, it does not work and shows up a HTTP request error. Don't know why... Maybe it's limited to a certain string length in the transaction call, that is exceeded when I pass both parameters?
    Edited by: Anika Delzeit on Nov 25, 2009 5:54 PM

    If you think you're encountering URL length issues make sure you are using POST and not GET, although it looks like there may be additional issues:  http://www.javaworld.com/community/node/2307

  • Pass Parameter to a Transaction Using Transaction Iview Portal

    Dear Experts.
    I have the following doubt:
    The developer ABAP created a program Z_PROGRAM_ABAP
    and a T.Code Z_CODE_PROGRAM for this program.
    I have created a Transaction Iview in the portal for this transaction, but I need pass a value in the Iview  to a variable in the program that call this transaction.
    How can pass a paramete to a variable in the program that is called with the transaction Z_CODE_PROGRAM?
    Thank In advance for your help.
    Best Regards
    Carmen G.

    Hi .
    I have the following code:
    REPORT Z_PROGRAM_ABAP.
       parameters: XYZ type Char no-display.
    if XYZ = 1.
    Write 'ABC'.
    else.
    Write 'MNO'.
    endif.
    And in the portal:
    Application Parmeter    :  XYZ = 1
    Parameters Forwarded: 1
    The problem is that i not want that the user can see the parameter XYZ in the Sreen. When I delete the NO-DISPLAY of the sentence    parameters: XYZ type Char no-display, the parameter is passed.
    How can solve this issue?
    Best Regards
    Carmen

  • Pass parameter to Bex Query via Query String

    Hello,
    I am trying to pass a parameter into a Bex Query from a 7.0 portal. I created a Bex query iView and I have tried various permutations with the Bex Query String property of the iview but nothing seems to work. The query runs but the parameter is not passed in.
    For example I have tried: cmd=ldoc&TEMPLATE=Z_TEMPLATE&QUERY=Z_QUERY&Z_QUERY_VARIABLE=12345678 and several other variations of doing this.
    Thanks,
    Bert

    Hi Satish,
    I had already tried that but it did not work.
    Thanks,
    Bert

  • Pass parameter to apex page via the URL

    Hi, I need to pass a parameter into a page that will be used in a query inside a report region,
    e.g report region query is
    select link_id, page_id, menu_parent_id, link_text, link_url
    from portal_pages
    where page_id = :page_id
    So the page will display different links depending on what value is passed to the page in the variable.
    I know with normal URL syntax it would be something like
    http://www.domain.com/page.html&page_id=1 (where page_id is a hidden variable in apex)
    but how do I do this with an apex page like :-
    http://host:port/pls/apex/f?p=123:9 <what goes here ? and what goes in the page for it to work>
    Any help appreciated - noob to Apex
    Thanks
    Phil.

    If your item to be used in the url is P1_Page_Id, the
    url should be something like:<br>
    http://host:port/pls/apex/f?p=123:9:page_id:&P1_Page_I
    d.
    Thanks for comments, understand the syntax of the apex URLs now, got the item sorted in the page now, all working.

  • Calling SAP transaction from Webi report?

    Hi experts,
    With BI/BW query, we can retrieve data from R/3 source system via report-to-report interface. For instance, from a Purchasing query with data aggregated by Vendor, the user can trigger the R/3 transaction ME2L by clicking on a row.
    Is there a similar feature in BOBJ Webi report? For instance, can we use hyperlink or some other means to do this?
    Any idea will be much appreciated.
    Thanks and regards,
    Linda

    Hi Stratos,
    Really appreciate your advice. Following your suggestion of using blank cell, the server is determined dynamically for the hyperlink.
    However, there're still some issues with defining a hyperlink for table columns. For instance, I have 2 columns in the table - Cost Centre and Cost Element. SAP transactions KS03 and KA03 are to be launched respectively for these 2 columns. The value of the clicked column (Cost Centre, Cost Element) is to be passed to the SAP transaction.
    I've created the following hyperlink for the Cost Centre column:
    http://[[MyServer]]?sap-client=([Client])&sap-language=EN&~transaction=KS03
    with Tool Tip = [[L01 Cost Center Key]]
    The link is not working immediately, so I adjusted the formula as follows via the formula editor (by adding double quotes for <MyServer>):
    ="<a href=\""[[MyServer]]"?sap-client="URLEncode(""[[Client]])"&sap-language=EN&%7Etransaction=KS03\" title=\"\" target=\"_self\" nav=\"web\">"[[L01 Cost Center Key]]+"</a>"
    Clicking the <tick> button does not return any error.
    When I click on the Cost Center column, the SAP transaction is launched successfully. However, there're still a few issues:
    1) The Cost Center Key is not passed to the SAP transaction. Is Tool Tip the way to go?
    2) When checking the hyperlink (via right-click > Hyperlinks > Edit Hyperlink), I found the Tool Tip (L01 Cost Center Key) has disappeared
    3) After I've clicked <OK> to exit the Edit Hyperlink window, I got the error message 'Invalid character '[[MyServer]]' at position 14. (Error: WIS10080)'.
    -- It seems correct syntax in the formula editor is considered invalid in the hyperlink editor.
    Do you mind commenting on what could have caused the above issues?
    Thanks again for your time.
    Linda

  • Call SAP Transaction Variant from Iview

    Hello,
    I know we can pass parameters into a SAP transaction via the 'Application Parameters', but this does not always work especially for complicated selection screen options.
    Can the actual transaction variant ID be passed instead?
    Regards
    Mr.T

    Hi,
    You may refer this
    Passing Variant's value to a transaction iview
    Thanks
    Prashant

  • Open a transaction via url, passing a parameter/value and SEND THE OK CODE

    Hello Guys,
    I'm trying to open a transaction via a hyperlink (System Action). That works so far, but my problem is that there is no button on the dynpro which triggers the going on. I have to press ENTER or the green hook in the corner of the gui. The transaction I'm opening is IE02 with an equipmentno. The value is in the destination field and the only thing what has to happen know is to trigger the next step (namely opening the "change equipment" dialog). Is there a standard OK-Code for the ENTER-Key or green hook ?
    Greetings,
    Jochen

    hi...
    I can't find that parameter in my Visual Composer environment. I tried to put it in my calling URL but it didn't work either. My URL looks like this:
    '/irj/servlet/prt/portal/prtroot/com.sap.portal.appintegrator.sap.bwc.Transaction?System=' & STORE@systemalias & '&TCode=ie02&GuiType=' & STORE@guitype & '&DynamicParameter=RM63E-EQUNR%3D' & @EQUIPMENT & '&PROCESS_FIRST_SCREEN%3D' & 'YES'
    Instead of the last parameter "PROCESS_FIRST_SCREEN" i could use a ok-code, but in transaction ie02 there is no ok-code to commit the screen, because there is no button...
    Any ideas?
    Greets,
    Jochen

  • Appintegrator or URL iView for SAP Transaction launching Problem

    I am using the following methods
    1). created portal sap transaction iview  ,for different transactions, I am not able to pass a parameter with #
    a) passed application parameter =1234#56
    b) paassed as 1234%2356
    in both the cases the value is not passed.
    2)Created an iview using appintegrator and even this not passed the above value with #..
    3) I used: webgui URL:
    /sap/bc/gui/sap/its/webgui?sap-client=<client>&transaction=ME53&EBAN-BANFN=0001277601&okcode=AB
    even this is not accepting # in the value for EBAN-BANFN parameter.
    could any one help me.

    Hello Kiran,
    Special characters, like "#", should be encoded when in the URL.  For # it is %23.  This is why the value 1234#56 becomes 1234%2356.  If it is not working then it because the receiving program is not decoding the value back to 1234#56.  You can find more information on this by searching SAP notes for "URL encode". 
    As for this issue, what is the error when the value is 1234%2356?  Thanks.
    Edgar

  • Passing multiple values for a single field in URL to call sap Transaction

    Hi All,
    I need to pass multiple values for a single field to SAP transaction .
    means if i have say a field "Date" which can contain more than one value, <b>but its not a range which has two fields</b> . How is it possible.
    Let me know pls.
    Regards,
    Sirisha.R.S.

    Hi Satyajit,
    I need to call a transaction with multiple values which gives me the report based on those values.
    So I need to pass multiple values for a single parameter.
    I hope u got it.
    Regards,
    Sirisha.R.S.

Maybe you are looking for

  • Unknown grouping

    Hi All PLease see below a query which used to return the result in ascending order of date in Oracle 9i. After an upgrade from Oracle 9i to Oracel10g, the result returned ,is as shown below where date is not in order. Is this a bug in oracle 10g? Can

  • How to make Lion Server serve NTP

    Is there a simple way to turn on NTP serving in Lion Server? In 10.4 it was just a check box, now it's invisible. Command line only now?

  • Pressing ENTER key on a page

    In an ADF Faces application is there a setting that allows a user to respond to a button by pressing the ENTER key instead of usering the mouse? Is this a browser function or an application function? Dev env: JDeveloper 10.1.3.3.0. TIA, Dave

  • Can a licence be used on several computers?

    If I buy a licence key to my trial version of Elements, will I then be able to download the program as trial version both on my desktop computer, and on my laptop - and activate it with the same licence key on both computers? Are there a restriction

  • Wierd error when I run the script..

    HI all, I am running a script one script which should insert data in some tables. We are in Merging process from one application to another. The code that I run in one environment works fine and creates data, how ever if I run it in next it does not