Reading post parameter

Hello,
could anyone give me a hint how to populate a text field with the content of the post parameter? For get paramters it works very easy with the specifix syntax of the URL (www.apexwebpage/...:paramter_names:parameter_values:..), however there are some severe length limitations (it throws an exception if the url is longer than 1050 characters or so).
Many thanks for your help
Lukasz

I'm not sure what you mean. Are you trying to send a huge text item from page to page? If you can't store it in the database via a page process, then you can look at Collections to store temporary data:
http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/advnc_collections.htm#BABFFJJJ
regards,
Malcolm.

Similar Messages

  • Reading POST-Request-Parameter-Values from WebDynPro now possible?

    Hello,
    in the past I always was disappointed that in WebDynPro there was no way to read POST-request-parameter-values directly after the call of a WebDynPro-Application.
    The only (documented) way to read / transfer request-data into an WebDynPro-application was via "URL query string parameters" in the request URL.
    The last week I forgot this restriction. I called my WebDynPro-application using a POST-Request-Parameter (cookie_guid) instead of an URL-parameter.
    After noticing my mistake, I was really surprised that the WebDynPro could read / shows the the POST-Request-Value.
    I didn't make any changes in the coding of my WebDynPro-Application (zvis_show_sso_cookie).
    After this cognition I built the following simple HTML-formular to analyse the behavior of the WebyDynPro by calling it with an URL-Parameter (cookie_guid=Url-GUID) together with the POST-Parameter (cookie_guid = Post-Value-GUID).
    After calling the WebyDynPro it reads / shows the "POST-Value" of the request !!!
    (Remark: If I made a simple refresh or type directly the URL "http://hg10762.vis-extranet.de:1080/sap/bc/webdynpro/sap/zvis_show_sso_cookie?sap-language=DE&cookie_guid=Url-GUID" in the browser, the same webdynpro reads / shows the URL-Parameter-Value).
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
           "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    </head>
    <body>
    <form method="post" action="http://hg10762.vis-extranet.de:1080/sap/bc/webdynpro/sap/zvis_show_sso_cookie?sap-language=DE&cookie_guid=Url-GUID">
      <table border="0" cellpadding="5" cellspacing="0" bgcolor="#E0E0E0">
        <tr>
          <td align="right">Cookie_GUID:</td>
          <td><input name="cookie_guid" type="text" size="30" maxlength="30" value="Post-Value-GUID"></td>
        </tr>
        <tr>
          <td>
            <input type="submit" value=" Absenden ">
            <input type="reset" value=" Abbrechen">
          </td>
        </tr>
      </table>
    </form>
    </body>
    </html>
    My questions:
    I there any documentation that describes the behavior of  WebDynPro after calling it by using POST-Parameter values?
    I believe in the past it wasn't possible to read POST-request-parameter-values in WD. Has SAP changed the functionality?
    Is the behavior I described in my example above mandatory?
    Regards
    Steffen

    As far as i know in general HTTP request  GET method is standard but in SAP POST is standard.  All the client request is passed as POST to the server in order to avoid the URL parameter length restriction in GET method.

  • How to retrieve Post Parameter

    Hi All,
    I am new to JSF..I need to retrieve Post parameters from plain HTML pages.
    Once i receive the post parameter in JSF then i need to validate one of the parameter and redirect user to diffrent pages based on the parameter value.
    What is the best way doing this scenario..
    The source of the parameters are from HTML pages comes from diffrent locations..
    Any help would be highly appriciated..

    Try the following code snippet to access request parameters:
    FacesContext facesContext = getFacesContext();
    ExternalContext externalContext = facesContext.getExternalContext();
    Map requestMap = externalContext.getRequestMap();Now that you have the request map, you can retrieve any of the request parameters using:
    <ObjectType> parameter = <ObjectType>requestMap.get(<ParameterName>);where <ObjectType> is the data type of the request parameter and <ParameterName> is the name of the request parameter.

  • Passing get or post parameter with getUrl()

    Hello I need to pass get or post parameter with getUrl, the
    help say that:
    firstName = "Gus";
    lastName = "Richardson";
    age = 92;
    getURL("
    http://www.macromedia.com",
    "_blank", "GET");
    but it dosen't work! I dont anderstan where I have to tell to
    getUrl wicht variavle it have to send in the get? Where can I tell
    to the getUrl function, the variables to send are firstName,
    lastName and age, per example?
    Thanks, can you

    I want to send the variables to an html page, but I don't
    know how to do this? Can you help me please?

  • Resume Plug POST Parameter

    Hi,
    Can we read the resumeURL before calling suspend ? If yes how ?
    On application resume, Can we read the POST parameter value immediately on resume, returned by external application and on which method we can read them ?
    Vinit

    Now i understud you.
    To get the post parameters from resume plug... you need to create in this plug a few parameters with the same name of the post parameters.
    regards,
    Angelo

  • Initialization Error: Failed to read POST response

    Guys,
    I need help, I am cloning ,y PROD DB to a test environment, I did first using my test database and it worked, but running with my PROD failed.
    I am using OEMGrid Control, Wind2003, DBOracle9i, I am trying to connect using OEMGC and when start trasnfering "One datafile" via HTTP (I guess is the temp file) fialed with the error: Initialization Error: Failed to read POST response.
    Please does anybody have a little idea what could happen?...please I need some guide...I will appreciate so much....Thanks
    I tried looking for the error I the only I got was the follwoing:...It looks like a patch
    Subject: Oracle Enterprise Manager Management Agent Patch Set Notes for Windows 10g Release 2 (10.2.0.2)
    Doc ID: Note:375161.1 Type: README
    Last Revision Date: 01-AUG-2006 Status: ARCHIVED
    Skip Headers
    Oracle® Enterprise Manager Management Agent Patch Set Notes for Windows
    10g Release 2 (10.2.0.2)
    B31109-01

    What is the size of the data file which fails during transfer? I could find one reference on Metalink where the large file size (6GB) resulted in this error but that is in Oracle 10g.

  • "failed to read POST response"  when adding a standby database

    Hello everybody,
    I've got a problem ...
    I try to create a standby db using the Oracle Grid Manager. When running the job, it is broken in step "httpOneDatafile" with message "failed to read POST response".
    In metalink, I found the one-off patch 6670069. As it is only applicable to Oracle agent 10.2.0.4, I've de-installed the agent 10.2.0.5 and tried to install patch 6670069 to this version, but all I get is this error:
    Prerequisite check "CheckApplicable" failed.
    The details are:
    Patch 6670069: Required component(s) missing : [ oracle.sysman.top.agent, 10.2.0.4.0 ]
    ApplySession failed during prerequisite checks: Prerequisite check "CheckApplicable" failed.
    I tried with different ORACLE_HOMEs (<path_to_db_home> or <agent_home>) and different PATH (<path_to_db_home>/bin or <agent_home>/bin) variables, but anytime, I get the same message when trying to patch the agent.
    Does someone have an idea, what's going wrong?
    Environment:
    Primary Database : 10.2.0.4 on HPUX 64 Itanium
    Standby DB: 10.2.0.4 on HPUX 64 PA-Risc (this combination is ok as we used it in a former config with two 10.2.0.2 DBs for the last 2 years...)
    Oracle agents: 10.2.0.3 up to 10.2.0.5
    As I'm trying for 1 week now, any (ANY!) idea is very welcome...
    Regards,
    Roland

    JVM is probably not the correct forum for this post. JVM is for issues related to the RDBMS resident Oracle proprietary java VM, which isn't involved in what you are doing here.

  • Give me some examples for functions for read POST, write POST, modify POST

    Give me some examples for functions for read POST, write POST, modify POST, create and delete theme in forum. This functions have to be make like Remote Methods

    Give me some examples for functions for read POST, write POST, modify POST, create and delete theme in forum. This functions have to be make like Remote Methods

  • Reading post script files

    Does Adobe offer a program that reads post script files?

    Adobe Acrobat can convert Postscript to PDF and display the PDF.

  • Read URL parameter of my webDynpro application ?

    Hi,
    How to read the URL parameter of my webDynpro application from within the webDynpro Application code ??
    Example : My application URL is : "http://ldai99wdd:50000/webdynpro/dispatcher/local/target/TargetApp?SAPtestId=38
    &sap-wd-resumeurl=http%3A%2F%2Fldai99wdd%3A50000%2Fwebdynpro%2Fdispatcher%2Flocal%2Fplugs%2FTest%3Fsap-wd-cltwndid%3D1c175200265c11ddc21900300571b288%26sap-wd-appwndid%3D1c175201265c11ddaa3a00300571b288%26sap-wd-resume%3Dtrue"
    I want to read the Parameter sap-wd-resumeurl.
    Regards,
    Mahesh

    Hi,
    You can use the following code to get parameters from an URL
    IWDProtocolAdapter protocolAdapter = WDProtocolAdapter.getProtocolAdapter();
    IWDRequest request = protocolAdapter.getRequestObject();
    String paramValue1 = request.getParameter("<URL Parameter name>");
    Re: Web Dynpro URL-Invocation with umlauts (like %FC) in the url
    http://help.sap.com/saphelp_nw2004s/helpdata/en/44/be65751c743959e10000000a1553f6/content.htm
    Thanks n Regards,
    Jhansi Miryala

  • Have read posts re the iOS 6.1 mess up... but how do I fix this? It says 6.1.1 is there to correct this problem but it is not on iTunes to download. I cannot updte apps, download apps and have had to remove apps because they keep crashing! Very angry!

    have read posts re the iOS 6.1 mess up... but how do I fix this? It says 6.1.1 is there to correct this problem but it is not on iTunes to download. I cannot updte apps, download apps and have had to remove apps because they keep crashing! Very angry!

    I cannot update apps, download apps and have had to remove apps because they keep crashing!
    I have turned off, removed apps, tried to reinstall them. iTunes can't download them either, the updates for them won't work.
    Never had problems with iPhones until now and this has really annoyed me... Apps have cost me money have had to go because they won't function
    the error messages say that data cannot be downloaded at this time and it is ot because I do not have free space because I have removed items to make sure there is room!

  • Why can't I read posts?

    Why can't I read posts? Is there an outage on the forum site or is my browzer doing something to block links? I can see topics and lists of posts, but only blank windows open when I click on a post. Of course, I won't be able to read your answer should this problem be at my end and it persists ... if a system thing, somebody should post a notice at the top level of the forum ... thanks.

    I dusted-off my old PB-1400 and now I can read the posts.
    I'm in the process of trouble-shooting a failed G4, so I had signed-in with a Win-PC running 98SE and IE v. 6. I had already tried clearing the cache and made sure cookies cleared, then enabled, etc. Still can't see posts. I downloaded Firefox 1.5 and tried that, still can't see posts. I have no problem with any other sites online that require special cookies, scripts, etc.
    Perhaps the Apple discussion site saw the machine was running Win98 and snubbed me??? If not that, there must be some wierd script or something. Go figure.

  • Reading url parameter  in HANDLEDEFAULT method

    Hi,
    May be I am doing something very silly but I am trying to read URL parameter in my HANDLEDEFAULT method of  MAIN window , and I am trying to define URL paramter as Method parameters but its gives me run time exception every time 'The ASSERT condition was violated.' 
    my simple paramter is like this  HEADER_ID   TYPE  importing  associated type   STRING
    Can any body help me why this error happens.
    Regards,
    Gaurav

    Hello, Gaurav,
    Have you tried something like this:
      DATA: l_url_parameters          TYPE tihttpnvp,
            l_url_parameter           TYPE ihttpnvp.
      wdevent->get_data( EXPORTING name  = if_wd_application=>all_url_parameters
                         IMPORTING value = l_url_parameters ).
      READ TABLE l_url_parameters WITH KEY name = 'parameter_name'
                                  INTO l_url_parameter.
      IF sy-subrc EQ 0.
    *    your value treatment here
      ENDIF.
    There's no need to declare your parameters as method parameters.
    Regards,
    Andre

  • Msprot: cant read profile parameter rdisp/mshost

    Hi
    When I run : msprot -name <SID> -l it returns:
    cant read profile parameter rdisp/mshost
    rdisp/mshost is set in the default profile to : sapms<SID>
    in etc/services  sapms<SID> is assigined to   <port_number>/tcp
    If you change rdisp/mshost to the port number rather than sapms<SID> it works....but we don't want to change the parameter to the port number.
    Thanks
    Jim

    Thanks.....i've being testing the command....it's like it can't read the default profile...
    if i use mshost switch it complain it can't read msserv.....once I use both switch it runs ok....
    I changed default profile to 777 just to test if it was a permissions issue but that didn't make a difference.
    Thanks for the note but that seems to be dealing with windows...i'm working on sun...tried it on linux also and get
    the same problem....
    Cheers
    Jim

  • Read url parameter

    Hi friends,
    I am using some parameters like crm-object-action, crm-object-value etc to launch the order directly.
    while doing this, i want to read the parameter like crm-object-value - which has the guid in the do_init_context of bt115h_slso...
    i am using server->request->get_form_field( name = 'crm-object-value' ), and i tried method get_header_fields too... but ai am not able to get the parameter value, this is getting blank value..
    how to read these parameters...
    kindly provide some inputs on this..
    thanks in advance.
    RD

    Hi Hermiz,
    thanks for replying
    I did the same way
    value type string,
    value = request->get_form_field( name = 'crm-object-value' ).
    but value has getting nothing.. its blank...
    my url has
    http://host:port/sap/bc/bsp/sap/crm_ui_frame/default.htm?crm-object-type=BT115_SLSO&crm-object-action=C&sap-client=020&sap-language=EN&crm-object-value=4D240235B73F8143E1008000116CCC
    but value is getting nothing..
    could you tell me how can i get these values
    thanks
    RD

Maybe you are looking for