cancel
Showing results for 
Search instead for 
Did you mean: 

RMDATIND roundings for STPRS

Former Member
0 Kudos

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?


Thanks,

Daniele

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Here you have.

Converted:

After charging the material:

JL23
Active Contributor
0 Kudos

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

JL23
Active Contributor
0 Kudos

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)

Former Member
0 Kudos

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€.

JL23
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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.

https://launchpad.support.sap.com/#/notes/351557/E

what do you think?

JL23
Active Contributor
0 Kudos

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