2011 Jul 18 11:31 AM
Hello All,
I am using the function module 'L_TO_CREATE_MULTIPLE' to craete transfer orders for both the inbound and the outbound process:-
I am facing two issues :-
1.) Transfer Order no is generated but all the required fields are not updated in all the tables like LTAP , LTAK, LTBK , LTBP.
2.) In the Out bound Process , there is a check in the F.M ' L_TO_CONFIRM' for movement type '000'. The structure LTAK does not have the values and check from table T333 fails.
' PERFORM T333_LESEN(SAPML03T) USING LTAK-LGNUM LTAK-BWLVS.'
LTAk has the values when it is inside the perform and no values are passed to perform parameters due to which error is returned.
Please suggest.
Thanks
Edited by: neha jindal on Jul 18, 2011 12:31 PM
Hello All,
I am using the function module 'L_TO_CREATE_MULTIPLE' to craete transfer orders for both the inbound and the outbound process:-
I am facing two issues :-
1.) Transfer Order no is generated but all the required fields are not updated in all the tables like LTAP , LTAK, LTBK , LTBP.
2.) In the Out bound Process , there is a check in the F.M ' L_TO_CONFIRM' for movement type '000'. The structure LTAK does not have the values and check from table T333 fails.
' PERFORM T333_LESEN(SAPML03T) USING LTAK-LGNUM LTAK-BWLVS.'
LTAk has the values when it is inside the perform and no values are passed to perform parameters due to which error is returned.
Please suggest.
Thanks
Edited by: neha jindal on Jul 18, 2011 12:31 PM
2011 Jul 19 5:26 AM
Please suggest if there is some other function module to create the transfer orders from material documents and confirm them if the stock quantity is zero
2011 Jul 19 5:31 AM
Hi,
Try using L_TO_CREATE_SINGLE and L_TO_CONFIRM.
Thanks,
Venkatesh.
2011 Jul 19 6:00 AM
The 2nd issue is resolved.
2.) In the Out bound Process , there is a check in the F.M ' L_TO_CONFIRM' for movement type '000'. The structure LTAK does not have the values and check from table T333 fails.
' PERFORM T333_LESEN(SAPML03T) USING LTAK-LGNUM LTAK-BWLVS.'
LTAk has the values when it is inside the perform and no values are passed to perform parameters due to which error is returned.
The error was due to some chanegs to copy of 'L_TO_CREATE_MULTIPLE' which I was using.
Please suggest something for the 1st issue :- 'Data in all the tables not getting updated on the creation of TO'.
Thanks
2011 Jul 21 8:03 AM
Hello All,
Does anybody has any idea why the all the fields of tables ltak, ltap, ltbk, ltbp are not updated through 'L_TO_CREATE_MULTIPLE'.
Thanks
2016 Aug 29 4:45 AM
Hi ,
I Found the answer may be its too late to update , but for the help of others i'm posting.
LTAK will update only these fields as mentioned below . If you pass as a table its clearing all the remaining fields .
*........Bewegen Lagereinheit..........................................
CLEAR: LTAK, LTAK1.
LTAK-LGNUM = LEIN-LGNUM.
LTAK-BWLVS = T333-BWLVS.
LTAK-TBPRI = T333-TBPRI.
LTAK-BNAME = I_BNAME.
LTAK-LZNUM = I_LZNUM.
LTAK-PERNR = I_PERNR.
LTAK-SOLEX = I_SOLEX.
LTAK1-NIDRU = I_NIDRU.
LTAK-BETYP = I_BETYP.
LTAK-BENUM = I_BENUM.
IF NOT I_DRUKZ IS INITIAL.
T333-DRUKZ = I_DRUKZ.
ENDIF.
Regards,
Amit
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |