3 weeks ago - last edited 3 weeks ago
Hello all,
I am trying to post a 501 movement type using BAPI_GOODSMVT_CREATE and I am getting the error
"No stock posting possible for this material". I have tried updating the settings in OMS2, and that doesn't seem to work. The screenshot shows where the message is issued. KZBEW in MSEG is Movement Indicator and has values in the table below. Since blank is a valid value, I don't understand why this checks if the field is initial.
The error message is in Include LMBMVF0B, Form mengenstring_finden , which is the only form in that include.
These are the values I'm sending to the BAPI:
gs_header-pstng_date = p_date. " Posting date
gs_header-doc_date = p_date. " Document Date
gs_header-header_txt = p_text.
gs_code-gm_code = '05'. "MB1C
gs_item-plant = p_werks.
gs_item-move_type = '501'.
gs_item-move_mat = matnr. "Receiving/Issuing Material
gs_item-move_plant = p_werks.
gs_item-move_stloc = p_lgortn. "Receiving/Issuing Storage Location
gs_item-entry_qnt = a quantity .
gs_item-move_reas = 0016.
Any help is appreciated.
***Update: I mapped the material, plant, and storage location to the other fields in the item table instead of the Receiving fields and now it works. Thank you for your response!
Request clarification before answering.
Hi, Can you check and confirm if the ML check box for the material master is active in Accounting 1 view of the material master?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
125 | |
10 | |
8 | |
5 | |
4 | |
4 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.