on 06-30-2014 3:11 PM
Hi All,
We are trying one POC with NW Gateway service to test with get and set method.
We could achieve get_entity and get_entity_set to retrieve all material no to a given entity.
Now to the same entity we need to update which is not happening . Please guide us how to do update the material attributes which are searched from get_entity set above.
We tried implementing get_entity and get_entityset for search material
To update we tried implementing update_entity and tested with PUT method but it did not work.
Please suggest to update which method to be implemented and how we need to test the same.
Also please suggest how to create test data for http request.
Regards
Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Peter,
Thanks for the quick response. I have below doubts on please suggest,
1) I have created class Z_POC1_DATA using /IWBEP/CL_MGW_ABS_DATA as a super class which is not having methods USERCOLLECTION_UPDATE_ENTITY etc, So please guide me which class to be inhert to use these methods.
2) If I got this classes from where it should be called, Please provide some light on the flow of the program.
Thanks
Vijay
Hi Vijay,
you should redefine methods from extension data provider class (DPC_EXT).
see more info here https://help.sap.com/saphelp_gateway20sp05/helpdata/en/14/4444fb5b984be28ad1d5aca4edad5b/content.htm
Regards,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.