‎2006 Jul 28 7:11 AM
Hi!
Do u know an FM which is similar to transaction lt06 (or BAPI)?
THX
Message was edited by: Peter Szabo
‎2006 Jul 28 7:19 AM
Hi,
Check with FM WS_LM_TRANSFER_ORDER_CREATE, this might help,
Rgds,
‎2006 Jul 28 7:26 AM
I think it's something other. Because I have only material beleg nummer and a year.
‎2006 Jul 28 7:44 AM
check Business Objects BUS2015/17 in SWO1 or
try BAPI <b>BAPI_GOODSMVT_CREATE</b>and see the Documentation for More Info.
Regards
Prabhu
‎2006 Jul 28 8:39 AM
I tried it out, but it only create the material document (i can create material document with MB_CREATE_GOODS_MOVEMENT also), i cant make the bapi to create transfer order.
‎2006 Jul 28 8:49 AM
Peter,
You should menttion the movement code for tranfer order creation - Filed <b>GMCODE = '04'</b>.
See the example http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm
cheers,
TM
‎2009 Jan 22 7:16 PM
Peter,
Did you find a solution to your problem. I would also like to do a transfer order via a function or BAPI.
Thanks,
Deanna
‎2009 Mar 24 4:44 AM
Hi,
About creating TO there are bunch of Function Modules you can look into:
1. L_TO_CREATE_SINGLE ( LT01)
2. L_TO_CREATE_MULTIPLE (LT01)
3. L_TO_CREATE_TR
4. L_TO_CREATE_POSTING_CHANGE
Usually MB1B creates a Transfer Requirement automatically in that case you need to use L_TO_CREATE_TR. The TR# can be found in LTBK table search on MBLNR from MB1B and you will get the TR#.
For some movement types MB1B Creates a Posting Change and then you need to use L_TO_CREATE_POSTING_CHANGE FM to create a Transfer Order. The FM requires Posting Change Number which can be found in LUBU table.
For Material Document Creation have a look at BAPI_GOODSMVT_CREATE.
Thanks,
‎2009 May 31 2:43 AM