2012 Feb 15 9:40 AM
Hello experts!
Is there any FM/BAPI that could be used to modify table LTAP?
The thing is, before confirming the SU, I had to modify its Batch, Quantity and Storage unit.
2012 Feb 15 10:50 AM
Hi,
Try these :
L_TO_CREATE_DN
&
L_TO_UPDATE_PREPARE
Thanks & regards.
2012 Feb 15 1:34 PM
Hi Anusha
Thanks for the reply.
If I'm not mistaken, FM L_TO_CREATE_DN is for creating a TO while FM L_TO_UPDATE_PREPARE is used by the standard program to update the TO when it is confirmed.
What I'm looking for is a stand alone FM/BAPI that updates the details of an uncomfirmed TO (LTAP).
2012 Feb 16 5:54 PM
Is it safe to update table LTAP directly thru UPDATE command?
I was planning to change the SU directly of an unconfirmed TO if ever I don't find any FM/BAPI to do the job.
Other possible updates are the batch (CHARG) and the source target quantity (VSOLA) before I confirm the TO.
Here is the actual plan.
1. Update TO (table LTAP) with the details of the new SU such as:
a. Replace LTAP-VLENR with new SU.
b. Replace LTAP-VSOLA with Pallet full quantity (LQUA-VERME) if field VOLLE of table T331 is u201CActiveu201D.
c. Replace LTAP-CHARG with the Batch of the new SU (LQUA-CHARG) if it is different.
2. Update Transfer Requirement Item batch number (LTBP-CHARG) if ever the batch of the TO (LTAP-CHARG) is updated as well.
3. Confirm TO.