cancel
Showing results for 
Search instead for 
Did you mean: 

Uplaoding header and line item from a flat file in LSMW using IDoc

Former Member
0 Kudos

Hi Experts,

I want to create sale orders with multiple line items by uploading header and item data from single flat file using LSMW - IDoc.

It's generating transaction for each line item of a sale order in .conv file.

How to create single transaction for a sale order with multiple line items.

Do I need to write code for this?

Kindly help me to solve this issue.

Format of input file with header and item data:

Contract #Item#Sales OrgDCDivisionCustomerShip to ConsigneeMark forCPO#MaterialPlantSizeOrder QuantityTOP QtyRetail PriceRequestd delivery dateAdditonal DateMaterial Pricing GroupOver delivery tolerance

xxxx              10    xyz

xxxx              20    xyz

yyyy              10    xyz

yyyy              20    xyz 

With Regards,

Gurulakshmi

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Gurulakshmi,

You can do the above with the use of Batch Input Recording feature of LSMW.

When you go to LSMW T-Code, you can see 14 steps of LSMW. Select the first step as shown below.

Then select on the option Batch Input Recording and give a name for your recording

Then give Description and T-Code for Recording (In this case VA01). Add any number of line items you want in order and save

Then do all the steps of LSMW.

Note: This works if number of line items are same in all orders

Thanks,

Dattatreya N R

Former Member
0 Kudos

Hi Dattatreya,

I want to use IDoc in LSMW.

Please give suggestion for this.

With Regards,

Gurulakshmi