‎2007 Aug 27 7:48 AM
Hi All,
I need to uplaod the data for PO using LSMW, m confused abt the file stucture in order to diffirenciate between header data and item details data, how thy both are linke while desining the file.
Pls help me...........
rgrds
shazia
‎2007 Aug 27 10:22 AM
Hi Shazia,
In Step :7, while Uploading the legacy file you need to select "Data For Multiple Source Structures " instead of one Source structure.
i think this is the exact solutioon to your Problem..
Reward if useful.
Regards,
Shobha.
‎2007 Aug 27 8:46 AM
Hi khan,
LSMW will have a Indicator for headr and itam, i do not remember the correct field, but it will have an indicator, check the fields, there will be a single charecter lenght field, that should be the indicator, and using that we can write the logic.
check that single charecter field, if that is X that means the header record is processed, and do the items.
and, this is another way, try this out also
YOu can do this in "Define Source Structures" step,
the HEADER is defined first,
then the DETAIL below the HEADER.
add the fields to the structures.
Both should have some common key field
Please take care that the name of the common field is the same.
Once you do this it is linked. Then you have a header and item corresponding to that header. then run the LSMW as you would.
Reward points if helpful.
Thanks
Naveen khan
‎2007 Aug 27 10:16 AM
Hi Naveen,
Do you have any idea how to assign same file in step 8 of LSMW,
I need to assign same file to both Header and Item. when i am trying to assign it give the following error
"File 'C:\Documents and
Settings\shazia_khan\Desktop\test' can only be
assigned to one source structure."
thnx & rgrds
shazia
‎2007 Aug 27 10:22 AM
Hi Shazia,
In Step :7, while Uploading the legacy file you need to select "Data For Multiple Source Structures " instead of one Source structure.
i think this is the exact solutioon to your Problem..
Reward if useful.
Regards,
Shobha.
‎2007 Aug 27 10:26 AM