Skip to Content
avatar image
Former Member

RMDATIND roundings for STPRS

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • 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)

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 11, 2017 at 09:23 AM

    Here you have.

    Converted:

    After charging the material:

    Add comment
    10|10000 characters needed 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