on 02-25-2008 10:58 PM
I am trying to create an LSMW recording that simulates transaction O3I7.
The thing is that we have different line items. This is similar to a sales order where we have header details and items details.
I created a recording. Then I created two structures. One header Structure and one Item structure. I define the specific header fields under the header structure and the item fields under the item structure.
However LSMW gives me an error. Because in LSMW each recording is considered as one target structure. I can't have more source structures than Target structures. Since I have One recording LSMW gives me an error.
I tried to create two recordings but this does not work since LSMW will read each one as a different transaction.
Does anyone know how to create LSMW recording with multiple line items so he/she can help?
Thx
no possible
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Not sure about the transaction that you have mentioned. However, in LSMW recording, you can load the items along with the header in 2 steps using 2 data files.
Step1: Create the header along with the first line item. Here you use a file which contains the header data along with the first line item data.
Step2. Add subsequent line items to the header. In this case you need to enter the transaction in change mode. The data file may contain items data only. Please be sure to have an identifier at header level to add the items in that specific document.
Hope this helps.
Best Regards, Murugesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thank you for your response. However, I can not go on with this solution. What I am doing is creating Formula IDs. The Formula IDs are auto generated. So I can't use Change mode since I won't know what ID to use in my file.
Is there any other way that does not require change mode or two recordings?
User | Count |
---|---|
98 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.