Application Development and Automation 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: 
Read only

Is it possible to do 'BAPI_GOODSMVT_CREATE' with ENTRY_QNT < 0.001

Former Member
0 Kudos
1,226

Hi, experts.
Is it possible to do 'BAPI_GOODSMVT_CREATE' with ENTRY_QNT < 0.001?

7 REPLIES 7
Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
0 Kudos
1,205

Hi @Former Member 

No, it is not - MM manages quantity with 3 decimal points.

Best regards

Dominik Tylczynski

Read only

0 Kudos
1,178

And 0.000 impossible too?

Read only

0 Kudos
1,152

0.000 is still three decimal points, is it not? I guess you could post a material movement with 0 quantity for value only managed materials.

Read only

0 Kudos
1,025

I'm hetting an 'E' type message at 'MB_CHECK_INPUT' inside.

      IF i_mseg-erfmg IS INITIAL AND i_mseg-kzear IS INITIAL AND
         i_mseg-exvkw IS INITIAL AND xcanc IS INITIAL.          "1296492
        IF NOT i_mseg-rsnum IS INITIAL AND                      "1424150
           NOT i_mseg-rspos IS INITIAL.                         "1424150
          SELECT SINGLE kzear FROM resb INTO rs_kzear           "1417681
            WHERE rsnum = i_mseg-rsnum AND rspos = i_mseg-rspos "1417681
            AND   rsart = i_mseg-rsart.                         "1417681
          IF sy-subrc = 0 AND rs_kzear = i_mseg-kzear.          "1417681
            MESSAGE e264.
          ENDIF.                                                "1417681
        ELSE.                                                   "1424150
          MESSAGE e264.                                         "1424150
        ENDIF.                                                  "1424150
      ENDIF.

I think i should fill   AMOUNT_SV  at goodsmvt_item  which lately assignes to 

I_MSEG-EXVKW, but don't understand which value i need to put here

Read only

0 Kudos
1,014

What is that what you really want to achieve?

Read only

0 Kudos
1,002

I want to post a material with 'BAPI_GOODSMVT_CREATE' with  ENTRY_QNT = 0.000

Read only

0 Kudos
993

You can't do that for quantity valued materials. Is your material value managed only?

If you need to update only the value of a quantity and value managed material, use BAPI_MATVAL_DEBIT_CREDIT