Application Development and Automation 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: 
Read only

BAPI to 'Create Transfer Order'

Former Member
0 Likes
13,987

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

tansaction LT06.

thanks in advacne..

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
5,279

Check with Fm. L_TO_CREATE_TR

Also check this thread for sample code.

11 REPLIES 11
Read only

Former Member
0 Likes
5,279

Hi,

Try using FM WS_LM_TRANSFER_ORDER_CREATE.

Thanks,

Sriram Ponna.

Read only

0 Likes
5,279

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.

Read only

Former Member
0 Likes
5,279

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

Read only

0 Likes
5,279

This message was moderated.

Read only

Former Member
0 Likes
5,279

Hi,

You can use

L_TO_CREATE_MULTIPLE

L_TO_CREATE_SINGLE

To create the TO.

They are RFC Function modules.

Regards

Vijay

Read only

0 Likes
5,279

This message was moderated.

Read only

Former Member
0 Likes
5,279

try.... L_TO_CREATE_DN

Read only

Former Member
0 Likes
5,280

Check with Fm. L_TO_CREATE_TR

Also check this thread for sample code.

Read only

0 Likes
5,279

This message was moderated.

Read only

Former Member
0 Likes
5,279

thank you all..

Read only

0 Likes
5,279

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