cancel
Showing results for 
Search instead for 
Did you mean: 

Add a line item to a TO

Former Member
0 Kudos

Hi Experts,

I would like to know if it's possible to add a line item to an already existing, unconfirmed TO using the function modules -  L_TO_PREPARE_ITEM_INT and  L_TO_ADD_ITEM_INT. My requirement is basically to propose to the picker the bin and the batch of the material to perform picking. However, when the user actually does the picking, there should be an ability to enter actual batch picked. I was looking at attaining this via ABAP. What other options do I have?

Thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member208149
Participant
0 Kudos

Hi Kevin,

Yes, you can use FM L_TO_PREPARE_ITEM_INT to add a new line item to the TO.

But do pass appropriate values to the parameter I_RL03A of this FM.

Regards,
Sapeksh

Former Member
0 Kudos

Sapeksh,

Thanks for your reply!

I have been trying to use the two function modules in sequence, however, no line is added to the TO. I am passing ANFME and ANFML to I_RL03A. I am calling L_TO_PREPARE_ITEM_INT followed by L_TO_ADD_ITEM_INT. However, I am not sure how do I carry out an actual update of the TO.

Any suggestions as to what I could be doing wrong? Basically, what I am trying to do is say a TO has two line items. Now in standard SAP its not possible to add a line item to a TO -> No standard T-Codes exist. Is it possible using function modules?