cancel
Showing results for 
Search instead for 
Did you mean: 

LSMW Recording with multiple lines

Former Member
0 Kudos

I am creating a recording in LSMW for VA02 - Change Sales Order. My source file contains several lines from the same sales order, the sales order number is maintained in one of the columns. The order originates from an IDOC LSMW I will run ahead of the recording. When running batch input the recording only seem to apply to one line.

Is there any way to make the recording take the rows and item number into consideration and give me input for all line items?

/Erik

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member201275
Active Contributor
0 Kudos

When you do your recording select line one in the item tab and then insert your record.

Sorry only a one line answer but i think it is as simple as that, i.e. change your recording.

Former Member
0 Kudos

Thank you for your respons.

I am doing my recording at item level, so the item is already selected. I know I can enter each of the lines and enter values, but then it will enter the same input for both lines. Also, as a part of sales order migration my source file will be big and it is hard to say how many lines a sales order can have.

JL23
Active Contributor
0 Kudos

A recording is static, if you record maintenance of 1 line, you get only one line per order.

If you record 2 lines then you get only 2 lines, and in case you have only 1 line in the source you even get a problem in loading.

For a flexible requirement you cannot use a static recording.

Use the SAP given methods to be flexible.

They provided a direct input, Object 0090 Method 0000 program RVINVB10

and there is also a IDoc with message type SALESORDER_CREATEFROMDAT2

and a BAPI BUS2032