on 10-13-2022 3:38 PM
I have an RFC in SAP which has 3 import parameters:
Person number
Street
City
I have a URL which is something like:
https //development.addresses.xyz.net/rest/person/1234
(where 1234 is the person number)
The request body of the PUT service has street and city:
{ “street”: “string”,
“city”: “string” }
I would like to be able to enter the person number i.e. 1234 automatically into the URL at run time, and not have to hard code it.
The problem is, when the person number is part of the PUT request it doesn’t of course work because Person number is not in the PUT request.
Is there a way to do this?
I have other RFC scenarios where I send the person number in the Request, and then use a GET service to return information in the RESPONSE body, and that is pretty easy i.e. something like this:
https //development.addresses.xyz.net/rest/person/{nPersonnumber}
And this works fine.
How to do this for a PUT service where there is more than just the Person Number field?
Any help is greatly appreciated.
User | Count |
---|---|
68 | |
8 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.