2006 Aug 27 11:58 AM
Hello all,
I have a scenario where ther are two Input files and are to be mapped to a single structure. How do I map two files to one using the LSMW tool. I finished the following
Maintain object attributes
Maintain source structures
Maintain source fields
Maintain structure relations ?????? Two files to one struc
Maintain field mapping and conversion rul ????? Two files to one struc
Thanks in Advance
Satish
Hello all,
I have a scenario where ther are two Input files and are to be mapped to a single structure. How do I map two files to one using the LSMW tool. I finished the following
Maintain object attributes
Maintain source structures
Maintain source fields
Maintain structure relations ?????? Two files to one struc
Maintain field mapping and conversion rul ????? Two files to one struc
Thanks in Advance
Satish
2006 Aug 27 7:44 PM
Hi,
I am not sure how to map two files to one structure..
But I can suggest another solution..
In the FILE1 create the fields for the values in
file 2.
Then you can write code in the "FIELD MAPPING and conversion Rules" to upload the file and move the values to the fields that are part of file2..
Hope this works..
Thanks,
Naren
2006 Aug 27 7:58 PM
hi,
you can easily map it.
while assigning files assign it to the respective structures..
Cheers,
Abdul Hakim
2006 Aug 28 4:00 AM
You cannot use 2 flat files in case of LSMW, Probably you face difficulty in 7th or 8th step, i dont think you can use 2 files in case of normal LSMW.
2006 Aug 28 4:39 AM
hi
good
 If the file consists of two or more different record layouts but in a fixed pattern (e.g. header then two details, header then two details, etc.), you must create a different source structure for each record type. The definition must include the structure name, the field names, and the technical field attributes.
 If the file consists of two or more different record layouts with a random pattern, then the first position in each row must contain information describing the record type. This is called the ID field.
 The definition must include the structure name, the field names, and the technical field attributes. In addition, when defining the fields, the ID field must be identified as such.
thanks
mrutyun
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |