Pass parameters to transaction iview from WDA

Hi
I have looked at a lot of posts on this subject but haven't come across a definitive answer. 
Currently I am passing values as below to navigate to transaction RECN.  The navigation is fine but the parameters are having no effect at the moment.
Can anyone enlighten me?
Cheers
Ian
ls_launcher_parameters-key = 'BDC_CURSOR'.
  ls_launcher_parameters-value = 'RECN_CONTRACT_X-RECNNR'.
  APPEND ls_launcher_parameters TO lt_launcher_parameters.
  ls_launcher_parameters-key = 'BDC_OKCODE'.
  ls_launcher_parameters-value = '/00'.
  APPEND ls_launcher_parameters TO lt_launcher_parameters.
  ls_business_parameters-key = 'RECN_CONTRACT_X-RECNNR'.
  ls_business_parameters-value = lv_recnnr.
  APPEND ls_business_parameters TO lt_business_parameters.
  lo_api_component = wd_comp_controller->wd_get_api( ).
  lo_portal_manager = lo_api_component->get_portal_manager( ).
  CALL METHOD lo_portal_manager->navigate_absolute
    EXPORTING
      navigation_target   = 'ROLES://portal_content/(blahblah)'
       navigation_mode     = if_wd_portal_integration=>co_show_inplace
     window_features     =
       window_name         = 'Real Estate Contract'
       post_parameters     = abap_true
      use_sap_launcher    = abap_true
      business_parameters = lt_business_parameters
      launcher_parameters = lt_launcher_parameters

Hi,
Try to set param1 value to English (even 'a' would be OK) and see if it works.
If yes, you need to encode your parameters by using URLEncode.encode.
Regards,
Omri

Similar Messages

  • How to pass parameter into transaction iview ?

    Hi experts,
    I want to know "how to pass parameter into transaction iview ".
    Regards,
    Krishna Balaji T

    Hi Krishna,
    Not sure if this can help you.
    1) Passing a parameter to a transaction iview (I saw a resolved suggestion)
    Passing a parameter to a transaction iview
    2) Passing a parameter from the portal to R3 (helpful info for you)
    Passing a parameter from the portal to R3
    3) Create SAP Transaction iView using SAPGUI for Windows (Great Blog and info about TA Iview)
    Create SAP Transaction iView using SAPGUI for Windows
    Please check the following link for Transaction Iviews
    http://help.sap.com/saphelp_nw2004s/helpdata/en/02/f9e1ac7da0ee4587d79e8de7584966/frameset.htm
    Just some info: Portal is basically what the end user can see. What he can do, is still maintain in the backend system. If there are parameters setup already for the user in the backend system (in SU01), then those parameters should still valid for the transaction that the parameters are linked to.
    Hope that helps and award points for helpful suggestions.
    Ray

  • Passing parameters to RFC iview

    Hi
    Can anyone let me know how to pass parameters to RFC iview ?
    i want to pass the parameter through URL to the RFC iview (funtion_params_name1)
    thanks

    Hi Thanks for your reply. I have a RFC function module that accepts two input parameters, queries R3 database and returns table output. Need to create a Portal page for the end users out of those returned data. Your help is much appreciated!.
    Hi
    Well it is possible
    try this....
    Create a abap webdynpro application, here you can call the RFC function module as a supply function
    get the data from the function module and display it on the webdynpro view
    convert this webdynpro to a iview and attach this iview to the portal page.( this is just a few steps process)
    thanks

  • How to pass dynamic params to Transaction iView from webdynpro java app

    Hi Experts,
    I am trying to call a transaction iview in PCD from my Dynpro application with a dynamic param.
    Can somebody help me generating the URL for transaction iView and passing the dynamic params???
    Thanks in advance
    biroj...

    Hi,
    Generating the URL:
    StringBuffer strBuff = new StringBuffer("/webdynpro/dispatcher/xyz.com/xx~xxxx~xxxxx/xxxxxApp");
              strBuff.append("?");
              strBuff.append("TCODE=");
    strBuff.append("" + WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("TCODE"));
    IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(strBuff.toString(), "TCODEWindow");
    window.show();
    Please try the above code snippet helps you to create a TCode iView in a new window.
    or
    We can include URL parameters in a portal URL that calls a Web Dynpro page and these parameters can be forwarded to the otehr iVIews on the page.
    Example:
    http://xxxxxxxxx.com/irj/servlet/prt/portal/prtroot/com.sap.portal.appintegrator.sap.WebDynpro?System=SAP_XXXXXXXX&WebDynproNamespace=xxxxx.com&WebDynproApplication=xx~xxxx~xxxx/xxxxApp&DynamicParameter=u201DTCODE=VA02u201D
    For more information Please go through this:
    http://help.sap.com/saphelp_nw04s/helpdata/en/c3/235a428a1e9041e10000000a1550b0/frameset.htm
    Thanks
    Krishna

  • Passing parameters to Transactions from Web dynpro Application through ITS

    Hi,
    i need to call a transaction from Web dynpro through ITS. On action from web dynpro application, i am concatenating the respective parameters mentioned below along with URL. The problem is one parameter(VARIANT) is being passed to the t-code CAT3 correctly. The next mandatory parameter(PERNR) is not passed to the respective field.Here is the URL Code:
    CONCATENATE 'http'
    '://' host ':' port
    '/sap/bc/gui/sap/its/webgui/?sap-client=&~transaction=' 'CAT3'
    '%20TCATST-VARIANT=' lv_name2 '&CATSFIELDS-PERNR=' lv_name1 INTO url.
    Called T-Code CAT3
    Passing Parameters are:
    Data Profile TCATST-VARIANT
    Pernr: CATSFIELDS-PERNR

    Pradeep,
    iam trying to pass values from webdynpro application to SAP GUI Transaction
    here is the sample code which iam using
    CONCATENATE  'http://s0164dep01.adta.uae:50000/irj/portal/interop?NavigationTarget=pcd:portal_content/Testing/trn_iw33?'
    '%20CAUFVD-AUFNR='
                 'ApplicationParameter=CAUFVD-AUFNR='
                  lv_workorder';'
              'DYNP_OKCODE=SHOW'
             INTO lv_url.
    i could'nt able to succed as its displaying page not found exception.
    Help me on this to proceed further
    Regards
    Jaipal.E

  • Trying to opn SAP Transaction IView from Webdynpro

    Hi Friends,
    I need to open a SAP Trancation Iview from Webdynpro (on click of some button) and pass some values to the screen fields,
    I am using the code below(which I found in many threads):
    WDPortalNavigation.navigateAbsolute("ROLES://<Iview ID excluding pcd>",
    WDPortalNavigationMode.SHOW_INPLACE,
    (String)null,
    (String)null,
    WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,
    (String)null,
    (String)null,
    (String)null);
    The problem is nothin happened on account of execution of this code,
    I mean not even a blank screen gets opened.
    I am not even getting any error/exception.
    Please advice what could be the possible cause.
    Regards
    Deepak
    Edited by: Deepak Gupta on Mar 17, 2008 12:15 PM

    I wrote the code like below:
    WDPortalNavigation.navigateAbsolute("ROLES://<IViewPath>", WDPortalNavigationMode.SHOW_EXTERNAL,
    (String)null,
    (String)null,
    WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,
    (String)null,
    (String)null,
    "number=123456");
    In IView application property, I wrote:
    CRMT_SEARCH_LOC-CARD_NO=<Request.number>
    (L.H.S is the screen field name)
    then I got following exception at portal:
    An exception occurred while processing a request for :
    iView : pcd:portal_content/<Iview path>
    Component Name : com.sap.portal.appintegrator.sap.Transaction
    Exception in SAP Application Integrator occured: Unable to process template 'CRMT_SEARCH_LOC-CARD_NO=<Request.number>', because 'number' is an invalid terminal property of context 'Request.'..
    what went wrong????

  • Passing parameters in FQDN URL of WDA component

    hai my dear WDAers,
    how can
    we pass the parameters from URL and how can we access that paremeter into another view.
    regards,
    rk

    I am not sure what you mean by passing parameters in FQDN URL.
    Is this application called from Portal ? Then you can define parameters in the iView application Parameters.
    If you call the application using navigation api then there is a importing parameter lt_business_parameter.
    You can define also parameters in the application , open the application and right side pane you can define the parameters.
    You can read the parameters in on default plug  of the window and save it in component controller attribute, you can read them back from any view in your component.
    data lt_all_url_param TYPE tihttpnvp.
    wdevent->get_data( EXPORTING name = '_ALL_URL_PARAMETERS'
    IMPORTING value = lt_all_url_param ).
    wd_comp_controller->gt_all_url_param = lt_all_url_param.
    Note: Please read the forum rules once, search the forum before starting your post.

  • Passing Parameters via Post Method from Webdynpro Java to a web application

    Hello Experts,
    I want to pass few parameters from a web dynpro application to an external web application.
    In order to achieve this, I am referring to the below thread:
    HTTP Post
    As mentioned in the thread, I am trying to create an additional Suspend Plug parameter (besides 'Url' of type String) with name 'postParams' and of type Map.
    But when I build my DC, I am getting the same error which most of the people in the thread have mentioned:
    Controller XXXCompInterfaceView [Suspend]: Outbound plug (of type 'Suspend') 'Suspend' may have at most two parameters: 'Url' of type 'string' and 'postParams' of type 'Map'.
    I am using SAP NetWeaver Developer Studio Version: 7.01.00
    Kindly suggest if this is the NWDS version issue or is it something else that I am missing out.
    Also, if it is the NWDS version issue please let me know the NWDS version that I can use to avoid this error.
    Any other suggestion/alternative approach to pass the parameters via POST method from webdynpro java to an external web application apart from the one which is mentioned in the above thread is most welcome.
    Thanks & Regards,
    Anurag

    Hi,
    This is purely a java approach, even you can try this for your requirement.
    There are two types of http calls synchronous call or Asynchronous call. So you have to choose the way to pass parameters in post method based on the http call.
    if it is synchronous means, collect all the values from users/parameters using UI element eg: form and pass all the values via form to the next page is nothing but your web application url.
    If it is Asynchronous  means, write a http client in java and integrate the same with your custom code and you can find an option for sending parameters in post method.
    here you go and find the way to implement Asynchronous  scenario,
    http://www.theserverside.com/news/1365153/HttpClient-and-FileUpload
    http://download.oracle.com/javase/tutorial/networking/urls/readingWriting.html
    http://digiassn.blogspot.com/2008/10/java-simple-httpurlconnection-example.html
    Thanks & Regards
    Rajesh A

  • Passing parameters to oracle rports from oracle forms

    Dear all,
    Can anyone tell me how to pass parameters from oracle forms 10g to oracle reports 10g ,i want to hide my connection string and parameteres while open the report through web
    can anyone plese help me out to solve this problem.

    Hi,
    I had trail as advised, but anticipated results were not observed.
    Here is the named configuration in formsweb.cfg
    [NMPT]
    form=D:\NMPT\FORMS\FHOPENFORM.fmx
    userid=hmsprod/hmsprod@hindalco
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    imageBase=CodeBase
    separateFrame=True
    lookandfeel=oracle
    logo=none
    splashScreen=no
    pageTitle =Test Application
    background=no
    colorScheme=blue
    archive_jini=f90all_jinit.jar,icons.jar,frmwebutil.jar,jacob.jar
    archive=f90all.jar
    height=768
    width=1024
    envFile=nmpt.env
    otherparams=useSDI=yesLOCATIONID=NMPT # new parameter which I want to access in my form
    the URL is as follows:
    http://MyPC:8888/forms90/f90servlet?config=NMPT
    But I am unable to open the login page

  • Printing SAP Reports (Transactional iviews) from Portal

    I am having problem in printing the SAP Transactional I views (SAP Reports Output) from the Portal page. On selecting the Print Option under Menu from the SAP transactional iview page, it shows the list of the printers in the backend system. On selecting the printer configured in backend abap system and issuing a print command, it only creates a spool request in the backend system and nothing is sent to the printer itself.
    I have also tried to use "PDF1" device type by creating a new output device and it does bring the contents of the report on a web embedded PDF page, hoever the characters are too small and to read and the ALV Report is no longer aligned. The line separating the rows and columns are not aligned.
    Can anyone help in suggesting the best way to print contents of SAP Reports (created as Transactional i views) from the SAP Portal.
    Thanks!

    Hi Margie,
    It is not necessary for a developer to have access to that area, and certainly not in a production system.
    Ideally, there should be developer, test, QA and production systems, and the developer can have access to the developer system. The UI you are talking about gives access to all WD applications deployed to the AS Java, and the ability to run them as well as change some settings. But this is the domain of the administrator.
    Hope this helps.
    Daniel

  • How to pass parameters/atrributes to Servlet from ALBPM

    HI Friends,
    I am invoking servlet from bpm using server configuration, i am able to invoke servlet, but not able to pass parameters dynamically,
    Also I like to receive response parameters/attributes from servlets?
    Can any body help me on this?
    Look forward for response.
    Cheers

    Some helpful Docs on the WebServer component for you:
    The WebServer component is used to send HTTP requests to an HTTP server and capture the responses. It supports HTTP methods GET and POST.
    The body of the HTTP response is available in the WebServer.response attribute (String).
    Note: This component is superseded by the Fuego.NetX.AdvancedWebServer component, which provides better performance and more functionality like support for proxies and for more HTTP methods (like PUT and DELETE).
    Example: Get Oracle's website home page and save it to a file.
    getFrom(WebServer, url : "http://oracle.com", args : null)
    binaryResponse = Binary(text: WebServer.response,
    encoding: "UTF8")
    BinaryFile.writeFromBinaryTo(data : binaryResponse,
    name : "/tmp/oracle_index.html",
    append : false)

  • How to run and pass parameters to exe file from the .txt file

    hi,
     i am facing problem with passing parameters to the .exe file which is run by labview.firstly i have  .txt script with parameters which i have to pass to .exe file. This .exe file is also a software and that script is written for it.And now i have to create  programm in labview which should fullfill following points.
      1. I have to use one knob named 'Run script'.If i pressed the knob ,it should open the Browser where i can choose .txt script file.
      2. .exe application should open(Path already chossen).
      3. after passing the parameters .exe application should closed.
      4.And labview now should update his parameter
    I can just open .exe file using Exce.vi but i dont getting any idea to do more than this.can somebody please help me?
    Solved!
    Go to Solution.

    This depends on the exe file. Does it retrieve the information as standard input or does it require the information as command line arguments?
    Depending on this, you can read the txt-file in LV (using the file functions) and pass the content to the System Exec.vi.
    Norbert 
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Error when Closing BW transaction iView from Portal

    Hi guys,
    I have several Transaction iViews pointing to different BW / ECC systems that are working fine when they are executed.
    Problem is when the user clicks on any other folder within portal after running any of these iViews, the following error is displayed:
    "Required resource not available".
    Then Portal gets frozen and only solution is to close the browser tab and reload portal. Looks like whenever the iView is closed, portal tries to log on again as it is calling the SAP GUI.
    Any ideas ?
    Thanks in advance !!

    Hi,
    It looks like a permission issue. You should check the permissions of the folder containing the system in the portal. (System Administration > System Configuration then Open Permissions on the system object). Every user who is supposed to have access to the iView should be there as End User (for instance : Everyone (group), Administrator = none, End User = checked).
    Regards,
    Pierre

  • PR05 Transaction Iview from Abap Webdynpro

    Hi,
    From abap webdynpro, on action of one button, i'm calling PR05(Travel Expense Manager) screen by passing the parameters as follows and calling NAVIGATION_ABSOLUTE method:
    BUS_PARAMETER-KEY = 'PTP00-PERNR'.
      BUS_PARAMETER-VALUE = LS_EMPLOYEE_NODE-PERNR.
      Insert BUS_PARAMETER into table BUS_PARAMETER_LIST.
      CLEAR BUS_PARAMETER.
      BUS_PARAMETER-KEY = 'PTP1000-REINR'.
      BUS_PARAMETER-VALUE = LS_HEADER_NODE-REINR.
      Insert BUS_PARAMETER into table BUS_PARAMETER_LIST.
    It opens PR05 screen, with the correct employee list, but it does not populate the tripnumber and also it should skip the first screen.
    In the IView, i have already given OKCODE='MOD' for change of the trip and also PROCESS_FIRST_SCREEN=YES.
    In the business parameter i try to add for selecting the particular line in the table control of the PR05 screen, but that doesn't work.
      BUS_PARAMETER-KEY = 'PTP1000-MARKER(01)'.
      BUS_PARAMETER-VALUE = 'X'.
      Insert BUS_PARAMETER into table BUS_PARAMETER_LIST.
      CLEAR BUS_PARAMETER.
      BUS_PARAMETER-KEY = 'TRIPCHANGEINTERACTIV'.
      BUS_PARAMETER-VALUE = 'X'.
      Insert BUS_PARAMETER into table BUS_PARAMETER_LIST.
    So any inputs on how to auto select the line based on the trip number and go directly to particular change trip.

    Hi Alex,
    is there no possibility to open the transaction by calling a link? For example like this way:
    host, port, system, mandant, user, password, tcode (e.g.: 192.168.100.2:6000:xi?mand=300&user=xyz&passwd=xxx&tcode=se16).
    Do anybody other know if there is a possibility doing like this?
    Greetings, Alexander

  • Calling a Report/Transaction iview from Webdynpro..

    Hi all,
              Our first issue is we have a scenareio, where we need to execute reports(ABAP Program) from webdynpro. Is it possibile to execute a standard report from webdynpro? using JCO. Also tell me how to pass the input/output parameters.I am not allowed to create RFC.I can use only standard BAPI.
              Our second issue is we created one transaction type callable object, and we want to call this transaction callable object from webdynpro, in another callable object in GP. Is this Possibile in webdynpro. We tried using portal navigation, but it is working for normal webdynpro iviews only, not for url iviews also.
              Does any body know the answer for the above issues. please let us know.
             Thanks in advance.

    hi,
    1) it is not possible in web dynpro to call abap reports, what you can do is creating wrapper of Remote enabled FM around the report. But you dont have authorisation to create BAPI, so gotta take use of standard BAPIs.
    ABAP Report in WebDynpro
    this link will help you out for that(calling standard bapi in WD)
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/f0b0e990-0201-0010-cc96-d7ecd2e51715 [original link is broken]
    2) go thru this links
    WebDynpro Application as callable object in GP?
    Webdynpro callable object - RFC model
    implenting webdynpro as a Calable Object with GP Interface
    hope it helps
    regards

Maybe you are looking for

  • Oracle session Hangs while calling one package function

    Hi all, We are a facing a interesting scenario in our code. Consider that you have 2 pakcages(A,B). Ecah packages is having more than 5 functions in it. 1. A.function1() makes a call to B.function1() - is working fine 2 .B.function1() calls B.functio

  • Question about displaying an image among columns in a report

    Hi folks, I've looked at examples that I've come across, but I guess I'm missing something. I have a PL/SQL procedure which returns a sql statement for a report. I want to display an image between two of the columns. I already have the images stored

  • Turn off marking email as read?

    I'm using Mail 3.5. How do I stop emails being automatically marked as 'READ' once I've scrolled onto it? I want to be able to leave it as 'UNREAD' until i double click on the email so it opens in another window, the same way the Outlook does. I know

  • Creating Actions - Interaction Center WebClient - SAP Library

    To add a comment, please log in or register on the top of this page and choose Reply. Please write your comment in English. You can also go back to the SAP help page.

  • EBS BUrsting Problem

    Has anyone implemented the Bursting Solution, because I am still getting this error when I run my bursting class Current system time is 07-MAY-2007 17:42:14 Exception in thread "main" java.lang.ClassCastException      at oracle.apps.fnd.cp.request.Ru