Skip to Content
author's profile photo Former Member
Former Member

HTTP Post

Hi

How to use http post to pass parameters to url.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

8 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 04, 2008 at 01:33 PM

    Hi,

    Have a look at this thread,

    how-to-send-parameters-to-url-

    Kind Regards

    Saravanan K

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2008 at 09:08 AM

    Any suggestions on this.....

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Bertram,

      I am also trying this concept.

      But getting the same error. I tried to add a postParams plug of type java.util.Map. but it is giving me a error as

      "Controller XXXInterfaceView [out]: Outbound plug (of type 'Suspend') 'out' may have at most two parameters: 'Url' of type 'string' and 'postParams' of type 'Map'. XXXInterfaceView.wdcontroller"

      What will be the reason?

      I am in NWDS7.0.14.

      Regards

      SM Nizamudeen

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2008 at 10:06 AM

    Hi,

    maybe you can use Suspend & Resume Plugs? Have a look here: [Suspend and Resume Plug|http://help.sap.com/saphelp_nw70/helpdata/en/68/3aee42c4257176e10000000a1550b0/frameset.htm]

    kind regards

    Stefanie

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 13, 2008 at 10:04 AM

    Hi Bertram,

    I tried to add a PostParams parameter to a Suspend Plug, as you said, but Developer Studio give me an error when I add new parameter to plug. Do you know why?

    Thanks,

    Raffaele

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Bertram Ganz

      As other people have said before, I get the same error as they do; ei

      "Controller PersonMasterInterfaceView : Outbound plug (of type 'Suspend') 'redirectToJSP' may have at most two parameters: 'Url' of type 'string' and 'postParams' of type 'Map'."

      They do rigth now have Url of type string (love the non-capital letter s of String btw), and postParams of type java.util.Map . I have tried to change the Url to url, postParams to PostParams but still get the same error.

      I'm running 7.0 SP17.

      Any help would be appreciated.

      /Björn Bergenheim

  • author's profile photo Former Member
    Former Member
    Posted on Feb 13, 2008 at 10:50 AM

    Does the parameter type must be java.util.Map?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 13, 2008 at 12:02 PM

    Sorry Bertram,

    but I added a postParams parameter of java.utils.Map and I have still the error.

    If I write only Map in the type of parameter, I can't create the parameter to plug.

    Maybe have I add any library to UsedDC Component?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 13, 2008 at 03:39 PM

    Hi Ayyapparaj KV,

    I just did what you said, but I have always the error which I wrote before.

    When I create the suspend plug Developer Studio add automatically the Url (type String) parameter.

    But when I add the postParams parameter (type java.util.Map), developer Studio shows me the error.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 13, 2009 at 07:56 AM

    Hi,

    I have the same error as Raffaele. After adding the postParams parameter of type java.util.Map to the Suspend-plug the WebDynpro gives the following error during build:

    Outbound plug (of type 'Suspend') 'suspend_plug' may have at most two parameters: 'url' of type 'string' and 'postParams' of type 'Map'.

    I use SAP NetWeaver Developer Studio version 7.0.16. (If this does not work in this version in which version does it work?)

    Does someone know a solution? I would highly appreciate it.

    Thanks in advance.

    Eric

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.