Skip to Content
author's profile photo Former Member
Former Member


Hey Experts,

I'm having an issue with a 321 movement for a special stock 'E'.
when I use the mb1b with the same data the movement do not fail, but when I try in in my report I do have the message: msgid m7 msgno 073 type E asking to add the client order (kdauf).
I'm calling the bapI like this:

i_goodsmvt_item-stge_loc = v_lgort. " recuperare dal l'ordine
i_goodsmvt_item-vendor = wa_zqu14_tabconflmi-codforn.
i_goodsmvt_item-move_type = '321'.
i_goodsmvt_item-po_number = wa_zqu14_tabconflmi-testolib3.
i_goodsmvt_item-po_item = wa_zqu14_tabconflmi-testolib4.
i_goodsmvt_item-entry_qnt = wa_zqu14_tabconflmi-qtacons.
* i_goodsmvt_item-entry_uom = 'ST'.
IF wa_zqu14_tabconflmi-testolib5 <> ' '.
i_goodsmvt_item-spec_stock = 'E'.
i_goodsmvt_item-sales_ord = wa_zqu14_tabconflmi-testolib5.
i_goodsmvt_item-s_ord_item = wa_zqu14_tabconflmi-kdpos.

APPEND i_goodsmvt_item.
goodsmvt_header = l_goodsmvt_header
goodsmvt_code = l_goodsmvt_code
goodsmvt_headret = l_goodsmvt_headret
materialdocument = l_materialdocument
matdocumentyear = l_matdocumentyear
goodsmvt_item = i_goodsmvt_item
goodsmvt_serialnumber = i_gm_serialnumber
return = i_return.
IF i_return IS INITIAL.
wait = 'X'
return = i_return2.
what do I miss?
in debug the i_goodsmvt_item-sales_ord is filled.
Any ideas?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 06, 2012 at 09:37 PM

    no pb problem, i've my issue filling also

    i_goodsmvt_item-val_sales_ord = wa_zqu14_tabconflmi-testolib5.
    i_goodsmvt_item-val_s_ord_item = wa_zqu14_tabconflmi-kdpos.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.