on 10-15-2009 12:53 PM
Hello,
When I create an Order with itens to be consumed via 261 and itens co-product via movement 531, the same reservation is created.
In MIGO if a place the reservation number I'm able to confirm both movements (261 and 531).
Via BAPI I can not do this the same way, for BAPI_GOODSMVT_CREATE usinf WA_GOODSMVT_CODE = 03 (transaction MB1A) I can not do both, is there any way via BAPI that I can do this by submiting only one time the BAPI, or I really have to do it twice.
Thanks,
BMO
It's done separate in the BAPI
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But I've in RESB my reservation with the Order Number, what I can't do is to have both movements in the same document if this is done via BAPI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If u pass the order number in resb table, you will get the list of line items. In this we will have both 261 and 531 movement types also. Now take all the material, quantity, storage location, movement types from resb table and populate in the BAPI internal table GOODSMVT_ITEM. If you do like this one material document will be generated in which you will find both 261 and 531 movement types in the line items. i.e both will happen in this one call of BAPI_GOODSMVT_CREATE.
we did the same in 'BAPI_PRODORDCONF_GET_TT' it is working fine.
Hi
Pass order number in RESB and get all 261 and 531 movement type materials and qty to BAPI * BAPI_GOODSMVT_CREATE *
so that all 261 and 531 will be posted in one document.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.