2 weeks ago
Hi, experts.
Is it possible to do 'BAPI_GOODSMVT_CREATE' with ENTRY_QNT < 0.001?
2 weeks ago
Hi @shiz0frenik
No, it is not - MM manages quantity with 3 decimal points.
Best regards
Dominik Tylczynski
2 weeks ago
2 weeks ago
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.
a week ago
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
a week ago
a week ago
I want to post a material with 'BAPI_GOODSMVT_CREATE' with ENTRY_QNT = 0.000
a week ago
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