Call a Transaction iView with parameters

Hello,
can anyone help me with the following problem:
I'll just tried to call the transaction RECN with a transaction iView. When I test the iView it works but not with any parameters in the URL.
I'll tried the parameters fix in the iView properties but without any result.
Can someone tell me the correct syntax? I'll tried everything I can find in the SAP help and here in the forum.
Have someone a how to for calling transaction iView with dynamical parameters?
Thanks for help!
Best regards
Martin

Martin,
Have you had a look at these yet?
http://wiki.sdn.sap.com/wiki/display/EP/StartanSAPtransactionfromaURL
How to launch SAP transaction & pass parameters via URL
Cheers!
Sandeep Tudumu

Similar Messages

  • PR05 Transaction Iview with parameters

    Hi,
    I have one abap webdynpro appn in which after a button is clicked, it has to go to PR05 transaction with necessary parameters like employee number, trip number.
    So i have used the NAVIGATION_ABSOLUTE method in dynpro, and in the business_parameters i have passed the values.
    But the iview is opened and still in the same first screen of PR05 with out passing the parameters with the pop up message "Choose a valid trip".
    In my case, the business parameter is not working fine, as i can see that it still shows the first screen and also the employee number is the login user employee number and not the one which i gave.
    In the iview, i have already given the "Parameters forwarded to Transaction" = PER,TNO.
    And also "OK Code Field" = 'MOD', "Process First screen" = Yes.
    Any other thing need to be given?
    Thanks.

    Martin,
    Have you had a look at these yet?
    http://wiki.sdn.sap.com/wiki/display/EP/StartanSAPtransactionfromaURL
    How to launch SAP transaction & pass parameters via URL
    Cheers!
    Sandeep Tudumu

  • Starting R/3 Transaction iView with dynamic parameters

    Hi,
    I looked around here for a while searching an answer but couldn't find one. Excuse me if I overlooked something about this rather simple question (I guess).
    I have a BW query iView which displays a list of items, lets say order numbers. I would like to click on this number and open a specific R/3 transaction iView with the given order number processed.
    I succesfully implement this iView with the property "application parameters" in the form "XYZ=0012345" and it works. But of course, the order number should be dynamically set. I tried to call the iview via the "NavigationTarget=ROLES:/.../iViewID?XYZ=0012345" etc. which starts the transaction, but the parameter is not recognized.
    Thanks for any useful hints.
    Uwe

    Hi Uwe,
    perhaps the Guide:
    <a href="http://service.sap.com/~form/sapnet?_SCENARIO=01100035870000000112&_SHORTKEY=00200797470000065927&_OBJECT=011000358700000384062005E&">How To Enable Portal Navigation From BW to PCUI Applications</a>
    Gives you some hints.
    Regards
    Gregor

  • Calling an Transaction iView by URL

    Hello All,
    I have sucessfully created an transaction iView (which calls some t-code from R/3).
    The iView is working fine when I preview it.I have used user mapping for it.
    Now I want to call this iView from my website on click of a hyper-link (normal HTML).
    So please let me know how do I do this? possible ways for it?
    Can i create an URL iView for this iView?
    Any Help Appreciated.
    Regards,
    Yogesh Varma
    Pune.

    Hello Michael / Jyoti / Anagha / Srinivas / ,
    thanks for all your replies and knowledge sharing, with the help of it I was able to solve the problem.
    here is the solution:
    URL is:
    http://<server-name>:<port-no>/irj/servlet/prt/portal/prtroot/com.sap.portal.pagebuilder.IviewModeProxy?iview_id=<pcd-id>
    this is the URL of an URL iview in portal. The authscheme is set to "anonymous" here.
    I have passed the actual URL of an transaction iview to this iview with parameters for user-id and password.
    Also fetch mode property is set to as "server side" and Method is "post" (to hide id/password).
    Once again thanks to all of you.
    Regards,
    Yogesh Varma
    Pune.

  • Hideing menu in Transaction iview with GUI for HTML

    hi,
    I have created a transaction iview with ITS
    now the requirement is that user should not see any menu
    i have googled and found some abstract information like
    ~singletransaction.
    ~webgui = 1
    ~generatedynpro = 1
    not clear with how and where to do it
    please let me know if it is possible to hide the menu from IView it self by passing some parameters
    Thanks,
    Pavan

    Hi Pavan,
    Refer to this
    http://wiki.sdn.sap.com/wiki/display/HOME/Article-EmploySAPGUIforHTMLinsteadofanInternet+service
    You need to modify the WEBGUI service for this.
    In transaction SICF, Navigate to dafault_host->sap->bc->gui->sap->its->webgui.
    Thanks
    Prashant

  • How to call a AM method with parameters from Managed Bean?

    Hi Everyone,
    I have a situation where I need to call AM method (setDefaultSubInv) from Managed bean, under Value change Listner method. Here is what I am doing, I have added AM method on to the page bindings, then in bean calling this
    Class[] paramTypes = { };
    Object[] params = { } ;
    invokeEL("#{bindings.setDefaultSubInv.execute}", paramTypes, params);
    This works and able to call this method if there are no parameters. Say I have to pass a parameter to AM method setDefaultSubInv(String a), i tried calling this from the bean but throws an error
    String aVal = "test";
    Class[] paramTypes = {String.class };
    Object[] params = {aVal } ;
    invokeEL("#{bindings.setDefaultSubInv.execute}", paramTypes, params);
    I am not sure this is the right way to call the method with parameters. Can anyone tell how to call a AM method with parameters from Manage bean
    Thanks,
    San.

    Simply do the following
    1- Make your Method in Client Interface.
    2- Add it to Page Def.
    3- Customize your Script Like the below one to Achieve your goal.
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding("GetUserRoles");
    operationBinding.getParamsMap().put("username", "oracle");
    operationBinding.getParamsMap().put("role", "F1211");
    operationBinding.getParamsMap().put("Connection", "JDBC");
    Object result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
    return null;
    return null;
    i hope it help you
    thanks

  • T-sql 2008 r2 place results from calling a stored procedure with parameters into a temp table

    I would like to know if the following sql can be used to obtain specific columns from calling a stored procedure with parameters:
    /* Create TempTable */
    CREATE TABLE #tempTable
    (MyDate SMALLDATETIME,
    IntValue INT)
    GO
    /* Run SP and Insert Value in TempTable */
    INSERT INTO #tempTable
    (MyDate,
    IntValue)
    EXEC TestSP @parm1, @parm2
    If the above does not work or there is a better way to accomplish this goal, please let me know how to change the sql?

    declare @result varchar(100), @dSQL nvarchar(MAX)
    set @dSQL = 'exec @res = TestSP '''+@parm1+''','' '''+@parm2+' '' '
    print @dSQL
      EXECUTE sp_executesql @dSQL, N'@res varchar(100) OUTPUT', @res = @result OUTPUT
    select @result
    A complicated way of saying
    EXEC @ret = TestSP @parm1, @parm2
    SELECT @ret
    And not only compliacated, it introduces a window for SQL injection.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Best practice for calling an AM method with parameters

    Which will be the best way to call an AM method with parameters from a backing bean.
    I usually use the BindingContainer to get the operation binding and then call execute function. But when the method have parameters, how to do it?
    Thanks

    Hi,
    same:
    operationBinding.getParamMap().put("argument1Name", argument1Value);
    operationBinding.getParamMap().put("argument2Name", argument2Value);
    operationBinding.execute();
    Frank

  • ABAP WebDynpro app calling Transaction iview with Dynamic Parameters..?

    Good day!
    I need to code a call to a transaction (with dynamic parameters) from an Abap WD application.  It appears that to achieve this, the app needs to call a new portal transaction iview, passing the parameters in the call..? 
    This should ideally be via a Sapgui for Windows, but Html also an option (does it matter with regards to the method used?). 
    Kindly assist with advise/instructions, idealy with sample code extract to illustrate (new to Abap WD)...
    Kind regards
    j

    Hi
    this will help you doing so
    http://help.sap.com/saphelp_nw04s/helpdata/en/18/f96f4132f15c58e10000000a1550b0/frameset.htm
    Use BUSINESS_PARAMETERS to pass the data
    Abhi

  • How to call BSP based iview using Parameters

    Hi,
       i developed one BSP application which takes 2 input parameters 1. Document No 2. Item No.
       I created a iView based on this BSP Application. I would like to call this iView by hardcoding input parameters.
       Input: Document No, Item and Submit button. output displays some text based on input. which is working fine, No issues.
    Now, i developed a iViews using these BSP application. If i call iViews, again no Issues. Which works great, we need to enter input manally.
    I would like to call my iViews with document no = '0004000000' , Item No = '000001' and Submit = 'SET'.  Which directly should display the data for above document item.
    that means iView URL + Document = '0000400000' & Item = '000001' & submit = 'SET'.
    how to call Parametrized iViews???
    I'm talking about Application Parameters in documentation (http://help.sap.com/saphelp_nw04/Helpdata/EN/88/266a3e54a2e946e10000000a114084/content.htm).
    ApplicationParameter
    You can enter parameter values for certain screen fields for displaying a SAP transaction here.
    This field is optional.
    The parameter values are specified with the following syntax:
    <Screen_field1>=<Parameter1>
    &<Screen_field2>=<Parameter2>
    &<...>=<...>,...
    Thanks,
    Ben.
    Edited by: Nagesh Ganisetti on Jan 29, 2009 9:18 AM

    I want to pass values dynamically? How to pass values dynamically using URL???
    assume my BSP URL wiht parameters:
    http://nwd2bw1.corp.analog.com:8001/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sap/zzsdpra123/start.htm?gv_doc=0040013811&gv_item=000001  WORKING GREAT!!!
    Developed an iView using ZZPRA123 BSP application in portal without APPLICATION PARAMETERS.
    http://nwd2bw1.corp.analog.com:50100/irj/servlet/prt/portal/prtmode/preview/prtroot/pcd!3aportalcontent!2fcom.analog.analog!2fcom.analog.SD_BI_REPORTS!2fcom.analog.SD_iviews!2fcom.analog.z_quote_text?sap-config-mode=true&_gv_doc%3d0040013811&gv_item%3d000001 NOT WORKING.
    Simple BSP application: ON INITIALIZATION Method
    event handler for data retrieval
    data: gv_name type thead-tdname.
    data: lt_line1 type standard table of tline,
          lt_line2 type standard table of tline,
          lt_line3 type standard table of tline,
          lt_line4 type standard table of tline.
    data: l_rfcwa type rfcdest.
    data: event type ref to cl_htmlb_event,
          url type string,
          parameter type string,
          url_page type ref to if_bsp_page.
    l_rfcwa = 'PRD_CLI002'.
    if gv_doc is initial.
    CALL METHOD request->get_form_field
      EXPORTING
        name               = 'gv_doc'
       formfield_encoding = 0
      receiving
        value              = gv_doc.
      endif.
      concatenate gv_doc gv_item into gv_name.
      call function 'ZBI_STNDARD_TEXT'
        destination l_rfcwa
        exporting
          name   = gv_name
        tables
          lines1 = lt_line1
          lines2 = lt_line2
          lines3 = lt_line3
          lines4 = lt_line4.
      gt_line1[] = lt_line1[]. "Internal Header Text
      gt_line2[] = lt_line2[].
      gt_line3[] = lt_line3[].
      gt_line4[] = lt_line4[].
    Layout:
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003" >
      <htmlb:page title="Quote Texts " >
        <htmlb:form>
          <htmlb:inputField id            = "gv_sid"
                            value         = "<%= gv_doc %>"
                            visible       = "FALSE"
                            submitOnEnter = "TRUE" />
          <htmlb:inputField
                            id            = "gv_itm"
                            value         = "<%= gv_item %>"
                            visible       = "FALSE"
                            submitOnEnter = "TRUE" />
          <htmlb:textView text      = "Quote Texts for <%= gv_doc %> "
                          design    = "HEADER1"
                          layout    = "BLOCK"
                          textColor = "dark blue" />
          <%   if gt_line1 is INITIAL.       %>
          <htmlb:textView text   = "No Internal Header Text Found"
                          design = "HEADER2" />
          <% else. %>
          <htmlb:textView text   = "Internal Header Text"
                          design = "HEADER2" />
          <%   loop at gt_line1 into gs_line.    %>
          <htmlb:textView id     = "textEdit"
                          layout = "BLOCK"
                          text   = "<%= gs_line-tdline %>" />
          <%   endloop.       %>
          <%   ENDIF.       %>
    <%--* External Header text      --%>
          <%   if gt_line2 is INITIAL.       %>
          <htmlb:textView text   = "No External Header Text Found"
                          layout = "BLOCK"
                          design = "HEADER2" />
          <%   else.       %>
          <htmlb:textView text   = "External Header Text"
                          layout = "BLOCK"
                          design = "HEADER2" />
          <%   clear gs_line.       %>
          <%   loop at gt_line2 into gs_line.       %>
          <htmlb:textView id     = "textEdit"
                          layout = "BLOCK"
                          text   = "<%= gs_line-tdline %>" />
          <%   endloop.       %>
          <%   ENDIF.       %>
    <%Internal Item text%>
          <%   if gt_line3 is INITIAL.       %>
          <htmlb:textView text   = "No Internal Item Text Found"
                          layout = "BLOCK"
                          design = "HEADER2" />
          <%   else.       %>
          <htmlb:textView text   = "Internal Item Text"
                          layout = "BLOCK"
                          design = "HEADER2" />
          <%   clear gs_line.       %>
          <%   loop at gt_line3 into gs_line.       %>
          <htmlb:textView id     = "textEdit"
                          layout = "BLOCK"
                          text   = "<%= gs_line-tdline %>" />
          <%   endloop.       %>
          <%   ENDIF.       %>
    <%External Item text%>
          <%   if gt_line4 is INITIAL.       %>
          <htmlb:textView text   = "No External Item Text Found"
                          layout = "BLOCK"
                          design = "HEADER2" />
          <%   else.       %>
          <htmlb:textView text   = "External Item Text"
                          layout = "BLOCK"
                          design = "HEADER2" />
          <%   clear gs_line.       %>
          <%   loop at gt_line4 into gs_line.       %>
          <htmlb:textView id     = "textEdit"
                          layout = "BLOCK"
                          text   = "<%= gs_line-tdline %>" />
          <%   endloop.       %>
          <%   ENDIF.       %>
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    Please guide me to call iview using dynamic parameters.
    Thanks,
    Ben.
    Edited by: Nagesh Ganisetti on Feb 2, 2009 8:47 AM
    Edited by: Nagesh Ganisetti on Feb 2, 2009 8:48 AM
    Edited by: Nagesh Ganisetti on Feb 2, 2009 8:49 AM

  • Transaction iView - pass parameters to non-default tab

    Hi Experts,
    I have a requirement to call transaction iView from  Webdynpro ABAP application by passing some default values.
    I am able to call the iView and also able to pass parameters. My requirement is to pass values to the tab in iView which is not the default tab when I execute the TCode.
    Is this possible using absolute navigation...??
    If yes please let me know how can that be achieved...
    Thanks in Advance....!!!!
    Regards,
    Shruti Shah

    Hi,
    Do you  already know a  way to reach this transaction to a desired tab with out using webdynpro ?. Is it possible at all in any way to start this transaction and position to a particular TAB.
    If you do not know that then i am afraid that no one could help you out in forum.
    Good luck

  • Calling portal v2 pages with parameters in a jsp

         Hello everybody,
         I'm currently trying to create, in a jsp, a link to a portal-v2 page with parameters.
    Practically :
    [JSP / Portlet 1]
         - a 1st jsp generates some links, all to the same page but each sets a different value to a parameter (for example a productId in a list).
    [JSP / Portlet 2]
         - a 2nd jsp gets this parameter and use it (for example it displays the details of the chosen product).
    So the 1st portlet would be jsp (coded by a portlet designer) and clicking a link would lead to another page (chosen by a page designer) which would hold the 2nd portlet (= 2nd jsp, coded by the same portlet designer).
         Writing the second jsp is easy : getting parameters is described in many examples and pdk articles.
         But I can't find the java methods to use to generate the link. More precisely I don't know how to call the portal page (which would then be a jsp1's parameter). Adding the parameter is well described in the jpdk API-Doc.
         I've tried to use portal events but they seem to work only in an html form. So I supposed it was a wrong way.
    As I've lost myself so many times in the API-Doc and I didn't find any jpdk sample about that, I would be really thankfull if someone has an idea (may I hope for a sample code ? :-)
    Thanks.
    Jean-Roch

    I'm having a similar problem!
    I have a JSP page which I have published as a portlet to Portal. The JSP portlet is placed on Portal a page. I need to call this Portal page with some parameters in the URL, which should get passed to the JSP portlet.
    In the JSP portlet I used this syntax in release 1 to retrieve the URL parameters:
    String p_itemID = request.getParameter("item_id");
    That worked great in release 1, but not in release 2.... I think the problem is that you need to define which parameters a portlet has, then map those portlet parameters to page parameters in the page properties. In dynamic page - portlets you define bind variables to accomplish this. But how do you do in JSP portlets? When you try to map Page Parameters to the JSP portlet you'll find that Portal doesn't think that the JSP portlet has any parameters. Hence the page parameters does not get passed to the portlet.
    (More info: JDBC----getImportedKeys() )
    I've looked at the Multipage example and the forminput example. But I don't see how pass a parameter in the URL to the very first JSP portlet from looking at those examples. I do see how you can pass parameters to the next JSP portlet, but that's not my problem. Maybe I'm missing something obvious...
    Any ideas?

  • Call Labview generated EXE with Parameters

    Hi
    I have generated an exe  in a Lab project(bcos of the no of VIs = 300) 
    I want  to call this EXE in   Teststand  with  Parameters
    how to achive this
    mytry1)   as  executable  but  the cluster outs cant be exported to teststand 
    mytry2)  as a dll   called in Teststand  ->  I cant see  the outs (it just provides one return value)
    Attachments:
    sapouterror.PNG ‏190 KB

    Dear aparab,
    does the following article help with the DLL call?
    http://digital.ni.com/public.nsf/allkb/22BF02003B4​588808625717F003ECD67
    Kind regards

  • Problem in Transactional iView with SAP GUI Type

    Hi,
    I've one Transactional iView in which I'm opening one SAP report. This report can be downloaded using option Local File. Once I click on this option, one popup appear where format can be selected and afterward file can be downloaded.
    Problem: Once I choose SAP GUI Type in Transactional iView is SAP GUI for HTML then it wouldn't allow me to download file and just hanged, once I click on popup download.
    But same is working once I choose SAP GUI Type = SAP GUI for Windows.
    Can someone suggest me, what is the problem exactly?
    Thanks,
    Vikas

    Yeah Michael, you are absolutely right, it seems same problem, I'm getting some applet loading exception.
    But, I already have JVM installed version j2se1.6, same as colleague have.
    I couldn't understand solution properly suggested in Note, can you brief me, would be really great.
    The error I'm getting is..
    load: class Query.class not found.
    java.lang.ClassNotFoundException: Query.class
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.net.SocketException: Network is unreachable: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.SocksSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.<init>(Unknown Source)
         at sun.net.www.http.HttpClient.New(Unknown Source)
         at sun.net.www.http.HttpClient.New(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at java.net.HttpURLConnection.getResponseCode(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 7 more
    Exception: java.lang.ClassNotFoundException: Query.class
    Please suggest.
    Thanks,
    Vikas

  • Calling ORACLE Store Procedure with parameters in user define function

    Hi everybody,
    We have a scenario connecting Oracle DB thru JDBC adapter.
    We have to call store procedure with input parameter and output parameter to retrieve data from DB. The implementation was made using JDBC adapter by building the correct XML message with EXECUTE action, and it works fine.
    Now we need to use DB lookup within mapping. I wrote users define function with SELECT statement (using the JDBC adapter) and it works fine but I need to call store procedure in ORACLE instead of SELECT statement.
    I found lot of examples concerning DB lookup but none of them explained how to write UDF calling store procedure in ORACLE with input and output parameters.
    I am looking for an example.
    Thanks in advance,
    Gigi

    I agree with you, but issue is we have lots of existing store procedure, which we need to call where damn required. I am sure those will be few but still i need to find out.
    If you think you are going to get existing MS Stored Procedures  or Oracle Packages that had nothing to do with the ORM previously to work that are not geared to do simple CRUD operations with the ORM and the database tables, you have a rude awakening
    coming that's for sure. You had better look into using ADO.NET and Oracle Command objects and call those Oracle Packages by those means and use a datareader.
    You could use the EF backdoor, call Oracle Command object and use the Packages,  if that's even possible, just like you can use MS SQL Server Stored Procedures or in-line T-SQL via the EF backdoor.
    That's about your best shot.
    http://blogs.msdn.com/b/alexj/archive/2009/11/07/tip-41-how-to-execute-t-sql-directly-against-the-database.aspx

Maybe you are looking for

  • Payroll Remuneration Statements - Print Entire History for one employee?

    Has anyone found a way to print an employee's complete historical list of remuneration statments as a group rather than selecting them one at a time and printing them individually? Our payroll manager gets two or three court subpoenas per month to pr

  • Volume & Back Button Bug Lumia 820

    Hi all, I bought my wife a Nokia Lumia 820 about 2 months ago and up until now she's been extremely pleased and impressed with it. However yesterday she encountered a weird bug which we cannot fix. Am not sure how she managed it, but the volume displ

  • Automator Find Finder Items

    I have created an automator workflow to batch import photos into a document from within Word. The workflow works fine and has two processes: Find Finder Items Import Contents into Word Document The problem is when i run this workflow from within Word

  • EDI change in production possible?

    Hi I need a help to understand the proceedure involved when we upgrade our b2b (webmethods), what changes required to be done at SAP and how, when and EDI is involved. For e.g output types uses EDI to send some files to webmethods. Since new version

  • An Error Has Occurred when downloading OS X Mountain Lion

    It has repeatedly occured over the past month, the download gets to around 51MB says calculating and after a while returns in red writing 'an error has occured' Any suggestions as to a solution..?