on 01-13-2016 11:46 AM
Dear Friends,
How to test (post) create functionality in sap odata for rfc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashok,
You need an XML payload in order to execute POST Operation.
Simple steps to do the same are as below,
1. Implement *_GET_ENTITY method for the same entityset for which you wish to do the POST operation provided that output structure in GET_ENTITY Method and input structure in CREATE_ENTITY Method are same.
2. Execute http URI for GET operation in gateway client and generate the response XML payload as output.
3. Click on use as request tab and use the XML structure as input in HTTP Request section.
4. Change the values of the entity properties as per your choice unaltering the XML payload format
5. execute URI with POST operation and observe the new record creation in database.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.