cancel
Showing results for 
Search instead for 
Did you mean: 

My Quotation App

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

lynn_lin
Active Participant
0 Kudos

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

Former Member
0 Kudos

Lynn

Could you plz explain bit in detail.