on 07-31-2016 9:01 AM
Hi Gateway Gurus
After adding up the service "LORD_MY_QUOTATION_SRV" into my gateway system via Tcode : /n/IWFND/MAINT_SERVICE , i got the BEP: ZLORD_MY_QUOTATION_SRV service .
On executing the Service via Gateway Client , its working okay for the below query where it properly return the ODATA metadata
/sap/opu/odata/sap/LORD_MY_QUOTATION_SRV/$metadata -- ( Works )
But on executing the with any of the EntitySet ( Ex: QuotationSet ) , its throw the error msg
/sap/opu/odata/sap/LORD_MY_QUOTATION_SRV/QuotationSet/?$format=xml - (Error: 400 ) - Attached the snapshot of the error msg.
I checked the /n/iwfnd/error_log and su53 -- no logs are errors found.
Appreicate your response
Thanks
Ramesh
Hi Ramesh,
The respective entity "QuotationSet" assigned with which service implementation ?
If its mapped to data source using GetEntitySet (Query) then on gateway client you can directly select entity & fetch the data using GET Http method.
If entity mapped to data source using GetEntitySet (Read) then on gateway client you required to select entity as well as need to give input to fetch data. like
In your case, assume you took component_id as input then your string will be:
/sap/opu/odata/sap/LORD_MY_QUOTATION_SRV/QuotationSet/component_id='<some unique value>'
so only for that component_id data will be fetch.
Please check this on SAP gateway client.
Thanks!
Ketan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ramesh,
Error 'no personnel number found' means your R/3 user is not assigned to any Sales Representative. Find your Sales Representative (t-code PAL2) and assign your R/3 user.
Regards,
Lynn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.