cancel
Showing results for 
Search instead for 
Did you mean: 

Passing parameters thru "Post"

Former Member
0 Kudos

Hi All

The requirement is as follows:

We need to develop a form in java webdynpro with the below fields

1) dropdown with 2 options RFC call / Data pass to an URL using post method

2) Input field for URL

3) input field for Name

4) input field for Comments.

There should be a submit button. Required functionality of this button.

i) If user chooses RFC call from the drop down, then a RFC call should be made to a system. The RFC expects the name and comments as input.

ii) If user selects the option "Data pass to an URL using post method" then whatever the user has filled in name and comments field should be posted to the URL which he fills in the input field for URL and it should navigate to that URL.

We have already coded for the functionality of making the RFC call. But please suggest how to code for the URL post in the same button ?

Regards,

Manas.

Accepted Solutions (0)

Answers (1)

Answers (1)

nikhil_bose
Active Contributor
0 Kudos

if ( PassthrouURL)

access/generate URL using [WDURLGenerator|http://help.sap.com/javadocs/NW04/current/wd/com/sap/tc/webdynpro/services/sal/url/api/IWDURLGenerator.html]

Add parameters to the current URL

Refer [similar thread|]

Nikhil