Forward Parameter to WDA

We are using WD iView for ABAP.
http://help.sap.com/saphelp_nw04s/helpdata/en/1d/e4a34273f60b31e10000000a1550b0/frameset.htm
How to transfer parameters in the caused application?
This syntax correct: param1=USER.userid&param2=USER.username?
Specify, please, an example of a code of processing of these parameters on ABAP side.

Maximum length of URL is practically 2K.
Apparently you can go to 2083 bytes on IE.
Never tested it as it is not nice way to send data.
Use the HTTP body to pass the data. (HTTP POST not get)
eg
CALL HTTP service  xyz on ABAP stack.
Your custom service.
very simple to code.
That can have as much data as you like.
The data can be persisted, under a custom key.
Then redirect to a Service that is your WDA URL.
Passing only the KEY eg a GUID.
The WDA just reads the data.
That way you are not limited to the URL
Cheers
Phil.

Similar Messages

  • URL parameter to WDA context

    Hello all,
    I'd like to call a WDA application with passing parameters to the URL. Application would have no connection to the backend (no function calls etc.), with context only filled by parameters in the URL.
    1. Is there, as in WD Java (WebContextAdapter), a method to read the data from the URL to send it to the context? Any code example would be welcome!
    2. Is there a limitation on the number of parameters, and/or on the length of the URL string?
    Thanks in advance,
    Francois

    Maximum length of URL is practically 2K.
    Apparently you can go to 2083 bytes on IE.
    Never tested it as it is not nice way to send data.
    Use the HTTP body to pass the data. (HTTP POST not get)
    eg
    CALL HTTP service  xyz on ABAP stack.
    Your custom service.
    very simple to code.
    That can have as much data as you like.
    The data can be persisted, under a custom key.
    Then redirect to a Service that is your WDA URL.
    Passing only the KEY eg a GUID.
    The WDA just reads the data.
    That way you are not limited to the URL
    Cheers
    Phil.

  • Forwarding mail from Appleshare IP to Xserve.

    I'm doing some eperiments and I'm using an old Appleshare IP mail server on an external network to forward emails to a a Xserve running 10.4.2.
    I can send emails between users on the internal network.
    And I can send emails to users on the internet.
    But I cannot read emails on the internal server if they arrive from the internet to the external server and are forwarded from there to the Xserve.
    Does anyone have a suggestion on what to place in the forward parameter on the AShare IP server and what parameter on the Xserve may be wrongly configured or missing?
    TIA
    Hans

    Hans,
    unfortunately I am not up-to-date with pre-10.3.x mail services.
    Having said that, I assume you are using an external and an internal server for security reasons. In that case I strongly suggest you have a 10.3.x or 10.4.x server with all it's advanced filtering capabilities on the outside.
    Also, if I understand correctly, your outside server is not supposed to store any mail whatsoever, but to forward it to the internal server. This means that setting up the external server is a piece of cake and one more reason to switch it to a newer OS.
    However, these are all assumptions. You may have different reasons.
    Alex

  • Jsp:foward

    Can one get a parameter from a jsp forward?
    For example, if in one jsp I have the following statement:
    <jsp:forward page="History.jsp?action=showAll" />
    and in History.jsp I have:
    <% String value = request.getParameter("action")
    System.out.println("Action is " + value);
    %>
    Should this work? 'cause for some reason I'm getting a null pointer exception. Any help will be appreciated.

    Use the <jsp:param> tag to forward parameter value.
    <jsp:forward page="relativeURL" >     
    <jsp:param name="parameterName"     
    value="parameterValue" />      
    </jsp:forward>

  • How to transfer Internal table to a Adobe form? ....urgent...

    Hi Experts,
    I am not able to get the data in the adobe form from an internal table.
    I need to put the data in individual fields in the adobe form.
    I'm working on Adobe Interactive form developed in WDP ABAP.( I have successfully config the ADS in my server.)
    Action:
    1. There are 1 table in the Adobe Interactive form((Adobeform)created by the 'sfp' t-code.
    a) create a interface with a structure(A_STRU).
    b) create a form with the interface.
    c) In the layout of the form, drag a table to the form.
    d) Binding the table to the A_STRU.
    e) Binding the fields of the table to the fields of the structure.
    2. Create a view -
    first_view in the WDP ABAP.
    3. In the first_view, there is a Interactiveform ( named "adobe_form" ) to be binding the Adobe Interactive form (Adobeform).
    4. Type the code in the wddoinit of the first_view for bindding the internal table to context of the adobe interface.
    DATA lo_nd_z_php_form_pay TYPE REF TO if_wd_context_node.
    DATA lo_nd_g_context TYPE REF TO if_wd_context_node.
    DATA lo_el_g_context TYPE REF TO if_wd_context_element.
    DATA ls_g_context TYPE wd_this->element_g_context.
    navigate from <CONTEXT> to <Z_PHP_FORM_PAY> via lead selection
    lo_nd_z_php_form_pay = wd_context->get_child_node( name = wd_this->wdctx_z_php_form_pay ).
    g_context is the context interface of the adobe form.
    navigate from <Z_PHP_FORM_PAY> to <G_CONTAIN> via lead selection
    lo_nd_g_context = lo_nd_z_php_form_pay->get_child_node( name = wd_this->wdctx_g_context ).
    binding the g_context to the form context.
    lo_nd_g_context->bind_table( result_payslip ).
    through the debug the program, I found 50 records in the result_payslip internal * * table .
    5. run the wda, I find the nothing data to be displayed in the adobe form.
    6. But I can transfer a string parameter from wda to adobe form. I don't know how to transfer data in the table?
    I don't know how to config the table in the adobe form?
    I hope to get the guide for step by step to solve the problem. Thanks a lot .
    I hope to get some hints. Thanks a lot .
    Pls help me out.
    Thanks & Regards,
    Tao

    hi ,
    I have similar difficulty.....
    I Am putting data from internal table into Adobe form using ABAP web dynapro.
    I am not able to see data in Adobe form though inernal table contains 14 records.
    Also, i have been thr' WDR_TEST_ADOBE
    but still not able to solve problem .
    Can you help me?

  • How to redirect to a page without retaining VO cache

    Hi Guru,
    Not sure if I name the right tiltle. In ADF VO Cache retains within multiple pages by default. For example, you conducted a search on one page and when you navigated back to the same page from another page, the search results stay. My Question is how could you navigate back to the page without the VO cache like you navigated to the page at the first time?
    In OAF you can easily use API like pageContext.sendForwardURL() and put null in the forward parameter and no parameter will send to the directed page and it behaves like you navigate to the page at the first time.
    thanks very much for any suggestions.
    regards,
    Jay

    You can set the iterator of your VO to be refresh always although this could be a costly operation. Another option is to programmatically execute a executeQuery with a null input parameter which will cause all of the records to be shown again.
    -Juan Camilo

  • Cannot invoke servlet from JSP

    I am trying to invoke a servlet from my JSP file. At present I am getting the error:
    500 Internal Server Error
    java.lang.IllegalArgumentException: Resource /servlet/CreateSPSS not found
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindPageContext.forward
    I understand that my JSP cannot find my servlet but I cannot identify what the correct path or amendment is.
    My JSP file is located in:
    default-web-app/examples/jsp/com.xml2spss.jsp
    In the JSP my forward parameter is :
    <jsp:forward page="/servlet/CreateSPSS" />
    and my servlet (.java & .class) is located in
    default-web-app/WEB-INF/classes/com/pmstation/spss/site/servlet.CreateSPSS.java
    I have added the following line to Web.XML:
    <servlet-mapping>
    <servlet-name>CreateSPSS</servlet-name>
    <url-pattern>/servlet/CreateSPSS</url-pattern>
    </servlet-mapping>
    Where am I going wrong??
    Thankyou for any help at all on this one.

    Shaun,
    Nice to know that you find a way that works. However, what Zsolt suggests should work; otherwise, it is a bug. That is, put the servlet definition and servlet mapping in your web.xml and then you should be able to access http://host:port/myWebContext/servlet/CreateSPSS?myParmName=myParm without seeing a response like "No resource found". Please make sure that your servlet definition come before the corresponding servlet mapping.

  • Interactive Forms - Context error

    Friends,
    I am working on an Adobe Interactive form using ABAP Web Dynpro (WDA).
    I am encountering errors in the display. I have created a form of ZCI layout type. I have set the displayType to "native" and checked the "enabled" property in the InteractiveForm property in the WDA view.
    When i execute the Web Dynpro application in the browser, the fields are in display only mode and are not interactive.
    I have not created any attributes in the context.
    My question is - does Context creation got to do anything with this error. If not, what else could be the reason.
    I am new to Adobe Interactive Forms using ABAP Dynpro.
    Please help.
    Thanks and Regards.

    Hi
    Could you send me screenshots of your stuff. Also could you check whether the ADSSAP SP level = J2EE Engine SP level. I dont think that cardinality would affect whether a form is interactive or not. The screenshot with the context node that i sent you was the default cardinality you get when creating a node. Also if you have Active Components Framework installed on your pc then try deleting it. How are you creating the form? are you going into SFP first and then in WDA calling the form or are you using forward navigation in WDA to do it. I used forward navigation for the example screenshots.
    Regards
    Thashin

  • Portal theme not picked for SAP Web Dynpro Iview

    Hi,
    We have used light framework page for our portal and all the iviews display the content within the iviews in the same set of colors (blue for buttons). However, for a WD java content, I have created an SAP Web Dynpro iView and the contents displayed here appear in the SAP colors without picking those set for the portal.
    The same application parameters display the portal colors when we use the Web Dynpro Proxy iview.
    Any idea how I can make the SAP Web Dynpro iView appear like the other portal iviews?
    Note: The stylesheet property for the iview is already entered (ur), and I have also set the 'Supply Portal stylesheet' property to 'Yes'.
    Please provide your inputs.
    Thanks,
    Vinay

    Hi ,
    In ABAP Webdynpro for similar problem we used WDFORCEEXTERNAL Sheet property of WDA.
    The Web Dynpro framework automatically compares the versions of the portal and Web Dynpro
    for ABAP style sheets. If the Web Dynpro for ABAP has a newer version, the WDA style sheet is used. This avoids unattractive rendering and JavaScript errors.You can deactivate this behavior again using the WDFORCEEXTERNALSTYLESHEET application parameter of WDA.See also SAP Notes 1033496 .
    If you use the stylesheet of the portal to display the application, the rendering may not appear correctly and Javascript errors can occur(If portal style sheet is lower than WD).
    Though Iam not familiar with WD java , the property force portal style sheet in WD java application should be enough to make WD accept portal theme.
    Regards
    Karthiheyan M

  • Pass user roles in headers.

    Access Manager has to set the role as an Header variable. Application has to retrieve the header variable for authorization purpose.

    Yes, use nsroledn attribute in Header forwarding parameter.
    But you should be aware of these things:
    1. nsroledn can only show you the ldap role "explicitly" assigned to this user. If you have nested role setting,
    you have to use nsrole (instead of nsroledn) to get all "implied" roles.
    2. What you get from nsroledn/nsrole attribute is a list of DNs, not a list of the friendly role names, usually the RDN part (cn=myrolename,...) is the friendly names. So your applications have to recognize this format.

  • OUTLOOK rejecting Verizon password

    Up until Sunday, my Outlook and Verizon were working just fine. Then suddenly Outlook starts rejecting my Verizon password and won't allow receiving or sending. I still receive Verizon email on my Ipad and Iphone and online just fine so the password and outlook setup are not the problem.
    I've tried resetting the password completely, turning off firewalls, restoring to previous system in case an update was causing the problem, rebooting in safe networking mode, turning off all firewalls, Verizon in-home agent (which said everything was fine when clearly it isn't) and nothing fixes the problem.
    I see this type of thread all over the internet going back many years but have yet to find a workable solution.  Call to Verizon was not helpful at all. I know I'm not the only one with this problem and am hopeful someone has a workable solution to try.
    I don't need help setting up Outlook. I need help finding out why Outlook and Verizon aren't communicating.  
    My settings are:
    incoming.yahoo.verizon.net
    outgoing.yahoo.verizon.net
    Incoming 110
    Outgoing 587
    I'm out of ideas.  Any suggestions?
    Solved!
    Go to Solution.

    So I thought I'd share that I found out my own solution. I have always had the Yahoo! portal on my Verizon account.  Since I couldn't get it working in Outlook, I thought I'd just have my email forward to another account. So I logged into verizon.net and set the forwarding parameter.  It then prompted me to verify my account by having me log into the Yahoo page. Yahoo is where the password is getting rejected and I couldn't access via Yahoo.  So I contacted Verizon and had them remove the Yahoo portal from my account.  Bingo!  All better now.  I did lose my emails on Yahoo and contacts, but since most everything had downloaded to Outlook until recently, that was okay with me.
    Absolutely baffled that no one in Tech support could figure out how to get Verizon and Yahoo talking again.  Surely I'm not the only one with this problem...
    Hope it helps someone else...

  • How to add a new parameter to a forwarded request?

    Hi all,
    I have a RequestDispatcher that forwards my request into a servlet. However, if some processing error happens I would like to include another parameter (an error message) in my request being forwarded. Oh, yes, I don't want it to be via GET, but via POST.
    So, this
    getServletContext().getRequestDispatcher("/ProcServlet?message=nonononononon").forward(request, response);will not serve for my purposes. Also, I don't want to go into directly writing my new parameter into the outputstream... is there another way to do that via the Servlet/JSP API?
    Thank you all in advance,
    Filipe Fedalto

    ???

  • Pass dynamic parameter to Struts' forward

    In my application, when a user modifies a particular record from the database, after they edit it and save it, I want to show them the modified record.
    I'm using struts, however, I don't know how to pass the recordID to the struts forward after it has been saved.
    Here is my struts-config.xml
    <action path="/saveEquipmentTemplate"
             type="cafe.struts.actions.SaveEquipmentTemplateAction"
             name="equipmentTemplateForm"
             input="saveequipmenttemplate.input"
             scope="request">
             <forward name="saveequipmenttemplate.success"
             redirect="true"
             path="/showEquipmentTemplate.do" />
    </action>What I would like is something like this:
    <forward name="saveequipmenttemplate.success"
             redirect="true"
             path="/showEquipmentTemplate.do?recordID=XXX" />Where XXX is the recordID that was just modified.
    To recap, how do I pass a dynamic parameter to an action forward in struts?

    The following kludge works for me:
    public ActionForward execute(ActionMapping mapping, ActionForm actionForm,
        HttpServletRequest request, HttpServletResponse response )
        throws IOException, ServletException {
        // select the view
        ActionForward actionForward = mapping.findForward("foo.bar");
        ActionForward newActionForward = new ActionForward(actionForward);
        newActionForward.setPath(actionForward.getPath() + "?id=" + id);
        return newActionForward;
      }

  • Parameter WDA - Workflow

    Hi All.
    I seen couples thread in this forum talking about WDA and WF. Especially related with SWFVISU transaction where WF can sent work item id to WDA.
    Is there any way for us to send some data back to caller (workflow task) thru one of WDA parameter ?
    The example scenario is, user launch WDA view where contains Approve and Reject button. I'd like to pass the value from this button to workflow task.
    Thanks

    you can alwasy write the container of your task
    use FM SAP_WAPI_WRITE_CONTAINER
    Abhi

  • Report parameter startdate has a defaultvalue or a valid value that depends on the report parameter startdate forward dependencies are not valid

    Hi,
    Am trying to develop a report the parameter has an issue, it gives me an error.
    There are 2 parameter (1st is Date range like start and end date and 2nd is Loan number)
    When ever I select date range the Loan number parameter should go blank. If I input a loan number then date range should go blank. 
    What should I do. Please help
    ERROR --report parameter startdate has a defaultvalue or a valid value that depends on the report parameter startdate forward dependencies are not valid

    Hi Kay_MD,
    If there are only two parameters, we can use first parameter charge the second one, but the second one cannot charge the first one in turn. Because parameter forward dependencies are not valid. To achieve your requirement, we can create another parameter
    to control Date_range and Loan_number parameters. For more details, please see:
    Add a parameter named ReportParameter1 with two available values: Date_range and Loan_number.
    Use the following expression as the default value in Date_range parameter:
    =iif(Parameters!ReportParameter.Value="Date_range",1,"") (1 means a useless value)
    Use the following expression as the default value in Loan_number parameter:
    =iif(Parameters!ReportParameter.Value="Loan_number",1,"") (1 means a useless value)
    Please note that the Date_range and Loan_number parameters should enable Allow blank value (“”), and the blank values should also be contained in available values.
    If there are any other questions, please feel free to let me know.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

Maybe you are looking for