on 09-11-2017 5:04 PM
Hi,
I have created OData service on top of the BAPI
BAPI_GOODSMVT_CREATE in TCode SEGW. I have my entityType with these fields - GMCode,Plant, Material(Key) , Stge_loc, Docdate, GM_Code and other fields. I have one entity set using that entity type. Under service implementation node, i have done mapping for Create where I will pass the value of Material as input(rest of the values are defaulted as of now) while calling the service and in return I am expecting the service to provide me MaterialDocNumber as output. I have activated and registered my service successfully. But I have two questions here -
1. If I am doing anything wrong here to post using the service, please let me know the recommended way to achieve this.
2. I do not have any idea how to call the service from HANA XS/JS so that I can pass the material number (rest of the mandatory values are defaulted) to create the Goods Movement and in return I will get the Material doc number.
Please note , I was successful when I was reading values using getEntitySet,getEntity to fetch records using BAPI_DELIVERY_GETLIST but here I dont have any idea how to use the 'Create' for posting using BAPI_GOODSMVT_Create.
Thanks for helping!
Regards,
Sunit.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
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.