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

Function module L_TO_CREATE_SINGLE

Former Member
0 Likes
1,279

While using the function module L_TO_CREATE_SINGLE to create a transfer order ,I keep getting the message material 'material number' does not exist or is not activated,even though the material exists in the table MARA .Can anyone tell me how to overcome this problem

5 REPLIES 5
Read only

Former Member
0 Likes
898

While using the function module L_TO_CREATE_SINGLE to create a transfer order ,I keep getting the message material 'material number' does not exist or is not activated,even though the material exists in the table MARA .Can anyone tell me how to overcome this problem.I have added DESTINATION 'NONE' to the function module ,but still it raises the exception 'MATERIAL NOT FOUND' ,even though the material exists

Read only

Former Member
0 Likes
898

Hi

Check material in LTAP and enter the same

Regards

Shiva

Read only

Former Member
0 Likes
898

hi

you can try to call this function module L_TO_CREATE_SINGLE with the extra exception error_message.

EXCEPTIONS

error_message = 01

Using this exception will only show error messages to your user and subsequentely all the warnings and other information will be ignored.

hope it helps

regards

Aakash Banga

Read only

Former Member
0 Likes
898

Hi,

Can you please try with FM l_to_create_int

call function 'L_TO_CREATE_INT'

exporting

i_rl03a = rl03a

i_vblkk = vblkk

importing

e_tanum = ltak-tanum

tables

t_ltak = iltak

t_ltbl = iltbl

t_lqals = ilqals

it_vblkk = gt_vblkk

it_vbeln_sam = lt_vbeln_sam

t_vblkp = ivblkp.

Regadrs,

Sreeja

Read only

Former Member
0 Likes
898

hi,

actually the MATNR field which You are using in this function module is coming from LTAP not from Mara.so the error is coming.

hope it helps.

Regards,

Rahul