Pass parameters via POST in WDPortalNavigation.navigateAbsolute method

Hi,
how can i pass parameters via POST method from WD Application using WDPortalNavigation.navigateAbsolute method
Should i pass the parameters as part of the NavigationTarget URL or they should be passed via different parameter?
Thanks,
Yuly Roberman

What is the procedure to pass parameters via POST using WebDynpro ?
I am required to pass XML Data via POST.
I have gone through the following :
a) http://help.sap.com/saphelp_nw04/helpdata/en/9e/a073001903c9419592b14c2aa63669/content.htm
b) Inter Navigation Application in Web Dynpro
However, I could not find any reference to do the same via POST.
Can anyone throw light on the same ?
Best Regards,
Subramanian V.

Similar Messages

  • 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

  • How I can pass parameters by POST method?

    How I can pass parameters by POST method?
    I use URL Template iView. I checked Requested Method - POST, but when I started the iView the program says:"It's a GET method!"
    I use httpServletRequest.getMethod()in the program.
    Environment: EP6 SP2
    Thank's! 

    Hi Kremena,
    the OSS stands for "Online Service System" - service.sap.com - messages or directly: service.sap.com/message.
    Hope it helps
    Detlev

  • Calling a new browser window with WD Abap and passing data via POST

    Hi there,
    does anybody know whether passing data via POST method is possible when opening a new browser window from within a Web Dynpro Component? In my case I use method IF_WD_WINDOW_MANAGER->CREATE_EXTERNAL_WINDOW for opening a new browser window. Now I want to pass a big amount of data which is only possible via POST method. How can I achieve that or is it not considered inside the Web Dynpro Framework?
    Kind regards,
    Albert

    Hi Priya,
    can you please explain a little bit more what you mean? I didn't get it..
    Kind regards,
    Albert

  • Parameters via POST using WebDynpro ?

    Hi all,
    I need to pass parameters between two web dynpro applications of length bigger than the limit that HTTP GET method allows.
    I'm thinking to use HTTP POST method or HTTP Session to share data.
    Anybody knows if web dynpro provides a way to handle this?
    Thanks in advance,
    Diego.

    Hello Diego,
    From where are you getting startup parameters initialy? Or are they hardcoded?
    More information about "transient attributes" https://media.sdn.sap.com/javadocs/NW04/SP9/ume/com/sap/security/api/IUser.html (methods getTransientAttribute and setTransientAttribute). The main feature of transient attributes is non-persistance. They are not stored.
    Best regards, Maksim Rashchynski.

  • Long parameters via POST

    Is there any way to pass long text parameters with POST method instead of sending it part of url ..
    Either by using f? format url ..something like this ..
    <form name="input" action="http://ApexServerName:Port/apex/f" method="POST">
    <input type="hidden" name="app" value="118"/>
    <input type="hidden" name="page" value="1"/>
    Long text : <input type="hidden" name="F1_MYLONGTEXT" value="My long text"/>
    Long text2 : <input type="hidden" name="F2_MYLONGTEXT" value="Another long text"/>
    <input type="submit" value="Submit" />
    </form>
    OR by using wwv_flow.accept directly -
    <form name="input" action="http://ApexServerName:Port/apex/wwv_flow.accept" method="POST">
    <input type="hidden" name="p_flow_id" value="118"/>
    <input type="hidden" name="p_flow_step_id" value="1"/>
    <input type="hidden" name="p_request" value="CREATE"/>
    Long text : <input type="hidden" name="F1_MYLONGTEXT" value="My long text"/>
    Long text2 : <input type="hidden" name="F2_MYLONGTEXT" value="Another long text"/>
    <input type="submit" value="Submit" />
    </form>
    (Problem with this approach is that wwv_flow.accept procedure accepts only internal name of the items like p_t01 etc and not item name F1_MYLONGTEXT defined on the page).
    Will any of these work ? Is there anyway to do this ?
    I have a html form with some text area.. when user clicks on submit I want it to send that to an apex page(form).
    Please advise.

    hi,
    You can use that item value directly to other page. Just set the save session state to be checked for that page which pages item you used.
    Thanks,
    Kartik Patel
    http://patelkartik.blogspot.com
    Edited by: Kartik Patel on Jun 21, 2011 12:15 AM

  • Calling a function and passing parameters via Variables

    I've got an XML file that is loading in data and is calling functions.
    I've figured out how to call the methods from classes with variables set from the XML file:
    var functionToCall:String = xml.functions.func[0].to_fire.toString();
    myClass[functionToCall]();
    This calls the function perfectly.
    I was wondering if there is anyway to pass parameters into the function as well through variables.  Some functions may have no parameters, some functions could have 5... so the xml could be like this:
    <functions>
       <func>
        <to_fire>function1</to_fire>
        <param>
         <value>true</value>
         <type>Boolean</type> <!-- Must be set to Boolean, String or Number -->
        </param>
       </func>
       <func>
        <to_fire>function2</to_fire>
        <param/>
       </func>
       <func>
        <to_fire>function3</to_fire>
        <param>
         <value>false</value>
         <type>Boolean</type> <!-- Must be set to Boolean, String or Number -->
        </param>
        <param>
         <value>My String Value</value>
         <type>String</type> <!-- Must be set to Boolean, String or Number -->
        </param>
        <param>
         <value>10</value>
         <type>Number</type> <!-- Must be set to Boolean, String or Number -->
        </param>
       </func>
    </functions>
    whats the best way to set something like this up?

    how would I set something like that up?
    in the class:
    public function myFunction(_param1:String, _param2:Number):void {
    then to call it, would ParamTypes be cast as an array or object or something?
    var functionVariable:String = "myFunction";
    myClass[functionVariable](??);
    Or do I structure the XML file in some way to pass in the information?

  • Passing Parameters via OpenDocument URL to OLAP Analysis .amw

    Hello together,
    did anyone ever manage to successfully create an OpenDocument URL which passes parameters to an existing analysis workspace .amw?
    We already linked to other .crp and BEx reports, but maybe .amw needs some special syntax..
    I appreciate every hint
    Thanks
    CR Enterprise 4.0 SP2 in usage

    Hi,
    I can confirm: The situation for A-OLAP is the same as it was for Voyager.
    Analysis, like voyager, supports outbound opendoc params (ie pass context to WebI/CR) but not inbound params. The only exception is that you can specify which Voyager workspace to open.
    Voyager/analysis supports SAP connection parameters on opendoc, but this is a manual selection in prompts. You cannot programmatically set connection variables.
    Today we also support "Jumplinks"... a feature in both Voyager and A-OLAP that allows contextual information to be passed to a pre-defined Crystal Report.
    For BI4.1 (end 2012) SAP plans to make A-OLAP more open. This includes supporting SAP's Report-Report-Interface (RRI) and extending the OpenDocument parameters beyond just the workspace name that is supported today.
    Regards,
    H

  • How to pass parameters through POST

    Hi,
        Can any one help me how to pass the parameters and read it using POST method in webdynpro java.

    Use the following code to read URL parameters inside WDJ
    //     Check for URL parameters
           IWDProtocolAdapter protocolAdapter = WDProtocolAdapter.getProtocolAdapter();
           IWDRequest request = protocolAdapter.getRequestObject();
           String text = request.getParameter("url_parameter");
    Hope this helps.

  • Passing Parameters via HREF link

    Hello All,
    I would like to pass a parameter to
    a portlet using an:
    <a href="portlet ?id=somevalue"></a>
    I have searched the support groups and
    found no answer except the often repeated
    "Look at the Parameter passing Guidelines".
    I have read the guidelines, looked through
    the sample code and it still makes no
    sense.
    Seems like this would be an easy method
    in the JPDK but I cannot get anything to
    work that I have tried.
    Thanks in advance for any help!

    Could you install the sample portlets?
    Besides the Parameter Passing Guidilenes article there's another one that might help you: "Understanding the Parameter Passing JSP Sample".
    In the Training Center on the Community Home tab on Portal Studio, you find several online eClasses. The Building Java Portlets covers among others the parameter passing services. You can also download the example portlet.
    If you're more specific what your problem is, we could provide you more help.
    Regards,
    Peter

  • Passing Parameters via a button to a form

    I have a form on a page based on a simple table with with the following fields
    Code, Name and Address
    I would like to put a button on this form which will then open a separate page which contains a form based on a different table which has the following fields
    Code, Notes
    When I click on the button I would like it to open the second form in edit mode if a record already exists.
    So I need to pass the value of the code field in form 1 to query in the record in form 2.
    I am very new to Apex and not sure how to do help much appreciated.

    Hi,
    As far as I know the default behavior is that if you pass the primary key to another form the record is opened in 'edit' mode, if you pass other fields than the PK to another form the form is opened in 'add new record' mode and the PK is generated when you save the record.
    So if you can do a lookup of the PK before you go to the second form and call the form with this PK you should be able to edit.
    Not sure if that answered your question though... :)
    Ciao
    Bas

  • Passing parameters via command line

    I've been asked to write a routine in LabVIEW that will control an
    instrument. The only problem is that this routine will be called by a
    different piece of software (3rd party software that we've bought)and
    we need to pass a parameter. The source application will allow
    switches in the command line, but that is the only way. Is there a way
    Labview can accept this ??

    Hi,
    I'll mail you a vi to do this. Note that it will only work if you have an
    application. (If not, you'll get the command line from labview...)
    Regards,
    Wiebe.
    "Robert Barker" wrote in message
    news:[email protected]..
    > I've been asked to write a routine in LabVIEW that will control an
    > instrument. The only problem is that this routine will be called by a
    > different piece of software (3rd party software that we've bought)and
    > we need to pass a parameter. The source application will allow
    > switches in the command line, but that is the only way. Is there a way
    > Labview can accept this ??

  • Passing parameters between views in different Web Dynpro applications

    Hi everyone,
    I would like to pass the value of one parameter between one view in a webdynpro application and another view that is in other webdynpro application. How can I do this in a secure way?

    Hi,
    Check below links for passing parameters between two applications:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b083f76a-708c-2b10-559b-e07c36dc5440
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/91b6ad90-0201-0010-efa3-9626d2685b6e
    Re: Pass parameters via POST in WDPortalNavigation.navigateAbsolute method
    Regards,
    Anagha

  • How does customization form pass parameters?

    I need to create my own customization form so it can include linked LOVs and was wondering how the default customization form passed the LOV values back to the calling component.
    I put two copies of the same report on a page and called the customization form for each report selecting different LOV values. Since each report displays the correct results based on the LOV, I assume page parameters are not being used and neither is p_arg_values/p_arg_values.
    Can anyone tell me how this information is being passed to the individual reports?
    Thanks, Larry

    Sharmila,
    I guess I'm confused, the parameters that are selected on the Customization screen are persistent across different login sessions.
    Is is my understanding that passing parameters via p_arg_names/p_arg_values on the URL would not carry over from one logon to another or even allow me to navigate to another page and then back to the "customized" screen and still have the customizated values applicable?
    Are you saying that once I call a page and pass a name/value parameter pair to the page, that the paramter values remain in affect for subsequent calls to the same page where the name/value pair isn't being passed?
    Doesn't the customization screen use the wwpre_api_name and wwpre_api_value methods to pass parameters to components located on a page via the user preference storage?
    When I look at the URL associated with the customization link on my portlets I see the preference_path being passed to the customization form.
    Larry

  • Passing parameters in jsp

    Hi friends,
    I am very new to oracle pdk. But unfortunately i was assigned to a small pdk development using jsp.
    How can i send parameters in the Oracle jpdk multipage sample portlet .
    The first.jsp says ,
    <%
    PortletRenderRequest prr = (PortletRenderRequest) request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    NameValuePair[] linkParams = new NameValuePair[1];
    linkParams[0] = new NameValuePair(HttpPortletRendererUtil.portletParameter(request, "next_page"), "/htdocs/multipage/second.jsp");
    %>
    <center>
    Hello, this is the first page<p>
    <%=UrlUtils.constructHTMLLink(prr, UrlUtils.PAGE_LINK, "second page", "", linkParams, true, true)%>
    </center>
    Now where should i add the parameter which i have to send to the second page named second.jsp.
    In the same way how to receive the parameter values in the second.jsp file, the second.jsp is listed here as below.
    <%
    PortletRenderRequest prr = (PortletRenderRequest) request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    NameValuePair[] linkParams = new NameValuePair[1];
    linkParams[0] = new NameValuePair(HttpPortletRendererUtil.portletParameter(request, "next_page"), "/htdocs/multipage/first.jsp");
    linkParams[1] ="a=hello";
    %>
    <center>
    Hello, this is the second page<p>
    <%=UrlUtils.constructHTMLLink(prr, UrlUtils.PAGE_LINK,
    "first page", "", linkParams, true, true)%>
    </center>
    Please write to me an example in detail.
    Matter is very urgent.

    I just recently put a set of helper classes on my knowledge exchange site specifically to help with passing parameters via the url.
    http://portalstudio.oracle.com/servlet/page?_pageid=2106&_dad=ops&_schema=OPSTUDIO&_type=site&_fsiteid=233&_fid=433232&_fnavbarid=180376&_fnavbarsiteid=233&_fedit=0&_fmode=2&_fdisplaymode=1&_fcalledfrom=1&_fdisplayurl=
    I called it Portal Tools. It includes usage documentation.
    but, to stick with the code example you provided,
    Technically, you can pass parameters at least three different ways:
    -Using portal's parameter-event processing (portlets interact with portal for parameters)
    -Using qualified parameter names (portlets only see "their" parameters)
    -Using unqualified parameter names (portlets are responsible for unique names, name collisions, etc)
    I would generally shy away from the unqualified parameter method; it was put in to support older versions of portal.
    The example you provided currently uses qualified parameters, so I will answer with that method.
    To add a parameter "a" with a value of "hello",
    change the setup of the link parameters in first.jsp to this:
    NameValuePair[] linkParams = new NameValuePair[2];
    linkParams[0] = new NameValuePair(HttpPortletRendererUtil.portletParameter(request, "next_page"), "/htdocs/multipage/second.jsp");
    linkParams[1] = new NameValuePair(HttpPortletRendererUtil.portletParameter(request, "a"), "hello");
    note that in the definition line, you must allocate space for EXACTLY how many parameters you are using (2 now, rather than 1). Then in the assignment lines, it is using java standard ZERO based indexing, so the new second parameter is at index 1.
    to get (and display) the parameter in the second.jsp page, you would include something such as this:
    Parameter "A" contains a value of <%= prr.getParameter("a") %>.
    note how you just ask the PRR for the parameter with the unqualified name.
    The "next_page" parameter is defined (in the provider.xml) to be used by portal to manage page flow and display. That is why you only have to set the "next_page" parameter.
    I hope this helps.
    Craig

Maybe you are looking for

  • Tcode SLG1 doubt

    hi all. i cant understand how to use this TC. im traying to log my different interface using this TC. the errors must be clasificated into two groups ZTECHNICAL and ZFUNTIONAL. ZTECHNICAL should have errors related with communication problems like: R

  • Black screen with exclamation point when trying to view photos

    In iphoto 8, when I try to make some pics bigger by clicking on it, the screen changes to a black screen with a white exclamation point in it. This does not happen to all the photos, only some of them. Can someone tell me what happened and how do I f

  • SET_CUSTOM_PROPERTY calling JavaBean failing silently

    Hello, I have a custom Oracle Form installed into Oracle eBusiness Suite where this form contains a Bean Area referencing a PJC (Pluggable Java Component). The PJC extends oracle.forms.ui.VBean. The PJC was being called successfully via the SET_CUSTO

  • Help--Struts-action-mappings

    Hello forums, i have a problem i have small structs app. and i have made a small jsp that called it, but when I call the jsp I get the error saying that jsp-compile error,the actions mappings can not be found. any suggestion ? Thanks a lot for your t

  • Interupt in button control

    hi i have a vi.. which one of my my contol button A(mouse down event)will requesting for 10 stations ...what i want to do is if i press another button B this function in A must stop requesting and continue the event in mouse down B ... i dont knw how