Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI to 'Create Transfer Order'

Former Member
0 Kudos

Is there any BAPI available to Create Transfer Order ???

tansaction LT06.

thanks in advacne..

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Check with Fm. L_TO_CREATE_TR

Also check this thread for sample code.

11 REPLIES 11

Former Member
0 Kudos

Hi,

Try using FM WS_LM_TRANSFER_ORDER_CREATE.

Thanks,

Sriram Ponna.

0 Kudos

Sorry ..Sriram..it's not right one I'm looking for..

Actually I've to create TO based on Material Document...

above FM is creating TO based on Delivery.

Former Member
0 Kudos

Try with Function Module L_TO_CREATE_TR

also try

Use this function module to create TO (transaction LT01) L_TO_CREATE_SINGLE

CALL FUNCTION 'L_TO_CREATE_SINGLE'
EXPORTING
i_lgnum = ti_lqua-lgnum
i_bwlvs = l_bwlvs
i_matnr = zwwmugeori-matnr
i_werks = ti_lqua-werks
i_lgort = ti_lqua-lgort
i_bestq = l_bestq
i_letyp = l_letyp
i_anfme = l_anfme
i_altme = l_altme
i_vlpla = l_vlpla
i_vlenr = l_vlenr
i_nlpla = l_nlpla
i_nlenr = l_nlenr
i_commit_work = space
IMPORTING
e_tanum = l_tanum.

<REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Feb 13, 2008 11:33 AM

0 Kudos

This message was moderated.

former_member188685
Active Contributor
0 Kudos

Hi,

You can use

L_TO_CREATE_MULTIPLE

L_TO_CREATE_SINGLE

To create the TO.

They are RFC Function modules.

Regards

Vijay

0 Kudos

This message was moderated.

Former Member
0 Kudos

try.... L_TO_CREATE_DN

Former Member
0 Kudos

Check with Fm. L_TO_CREATE_TR

Also check this thread for sample code.

0 Kudos

This message was moderated.

Former Member
0 Kudos

thank you all..

0 Kudos

Dear Perez,

I don't undertand which one of these function actually allowed you to create a transfer order with out loosing your conection to the Material Document?

Thanks,

Deanna