Quantcast
Viewing all articles
Browse latest Browse all 750

Problem with Unit Of Measure field in OData Service


Hi,

 

I am working with material creation application in SAPUI5. In that i am facing following problem,

 

i have a field that "Base Unit of measure" in general material information. i have declare this field with SAP data type "MEINS" in OData service project in SEGW as below,


Image may be NSFW.
Clik here to view.
img1.jpg


when i pass UOM value as "PAL" (Pallet) from UI5 application as below with odata request,

Image may be NSFW.
Clik here to view.
img2.jpg



and deep create method will receive as "PA" in Odata service after executing the below line , (i am using deep create method for my requirement)


io_data_provider->read_entry_data( IMPORTING es_data = ls_sales_deep ).


Image may be NSFW.
Clik here to view.
img3.jpg


even the conversion for PAL unit is same as PAL. this issue occurs only with Pallet unit PAL.And its working fine with other UOM values.

can any one please help me to find out the problem?


Thanks,

Ranjani Sekar.



Viewing all articles
Browse latest Browse all 750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>