‎2014 Aug 12 8:13 AM
Hi All,
I am having an issues on posting good movement documents via FM above.
Attached are my sample codes and would appreciate anyone can guide me through if there any missed out or wrong parameters entered.
By using attached codes, I've assumed it can posted with 1 material document with 2 line items (movement type 101, and 261). However, its currently on can posted with 2 different material documents for 101 and 261. Thanks.
‎2014 Aug 13 2:59 AM
Anyone can advise on this? Could you provide some sample codes on how to using this FM and what are the mandatory parameters should use?
‎2014 Aug 13 4:11 AM
Hi Blue Sky,
What's your issue when you are running this bapi and getting the error information from return internal table?
Thanks
Yawa
‎2014 Aug 13 7:20 AM
Hi Yawa,
Thanks for your reply.
There is no error returned from RETURN internal table. It managed to posted with 2 material documents. What I've expected is only single material document get posted.
Current Results:
Material document 1: Movement type 101 (with material 200001)
Material Document 2: Movement type 261 (with material 200002 and material 200003(This is not specify in coding but unsure why its get posted here).
Expected results:
Single material document: Line Item 1: Movement type 101 (With material 200001)
Line Item 2: Movement type 261 (with material 200002)