‎2008 Dec 16 8:01 AM
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
‎2008 Dec 16 8:26 AM
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
‎2008 Dec 16 8:35 AM
‎2008 Dec 16 8:40 AM
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
‎2008 Dec 16 8:47 AM
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
‎2008 Dec 16 8:54 AM
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