Skip to Content

RMDATIND roundings for STPRS

Apr 11, 2017 at 08:42 AM


avatar image

Hi all,

I'm facing with an error on decimals on STPRS field, Standard Price for Material.

When executing a Direct Input in LSMW, using RMDATIND, the values passed via LSMW are stored in MBEW-STPRS without decimals.

I mean that in our input file the value for STPRS has 100,38, the Read Data and then the Converted Data in LSMW are shown properly, but after executing the Direct Input the Standard Price has been created as 100,00.

Is there any rounding profile? Note that ANY decimals are truncated, even if the value is 100,80 the direct input charges a 100,00 value in MBEW-STPRS.

Any help?



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Jürgen L
Apr 11, 2017 at 09:03 AM

You have several check points in LSMW before it even comes to execution, make use of it to know where the issue starts. I doubt that it is in the last step.

Check the details in the step 10 DISPLAY READ data to see if your value is with or already without decimals, which then might have to do with the definition of the source field (step 3) or just with the fact that the source file has a comma while the LSMW expects a dot as decimal separator or vica versa.

Check the details of step 12 DISPLAY CONVERTED data, to see how the value is after the conversion (which is defined in step 5 and run through in step 11)

Show 4 Share
10 |10000 characters needed characters left characters exceeded

Hi Jurgen,

as I've already said in my question, till the last LSMW step it's everything ok: both Display Read Data and Display Converted Data the values are properly shown with all decimals, i.e. 100,38€.


Can you show screenshots from converted data details and accounting view of material master after it was executed, I have never met such issue, RMDATIND will not do any rounding, maybe there are other fields or information that can help to see why this happens.

I hope you are not trying to change an existing material.


Have a look at my other asnwer with the screenshot you requested please.

Meanwhile I've found this Note, which is not exactly what occurs to us, but something similar with roundings.

what do you think?


I don't think that this note has anything to do with your problem. This note deals with renamed fields and truncated content.

Daniele Catalano Apr 11, 2017 at 09:23 AM

Here you have.


After charging the material:

601.png (106.7 kB)
600.png (22.1 kB)
Show 1 Share
10 |10000 characters needed characters left characters exceeded

Did the material accounting view already exist before?

If yes, how is the field shown in MM02? I would expect it is then gray and not changeable, so it can't be changed with the RMDATIND