Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

IDOCS!

Former Member
0 Kudos

All,

Middleware is sending a price to the segment field in the idoc of message type MATERIALVALUATION_PRICECHANGE.

The field is of type char(25).

But when I go to transaction we05 to check for the published idocs, the price is right aligned and only the first 2 digits are shown in that field. Rest of the digits in the price field are truncated.

For example an amount of 389.29 from middleware will interface to SAP field as 38 (right aligned). Why it is truncating other digits.

Please suggest.

Thanks,

1 REPLY 1

ferry_lianto
Active Contributor
0 Kudos

Hi Somen,

Segment E1BP_MATVAL_PRICES-PRICE is defined as DEC (data type) with length 23 and decimal places 4. Please check data element BAPI_PRICE.

Try to map 389.2900 to above segment.

Regards,

Ferry Lianto