2005 Oct 24 12:59 PM
Hi.
I am trying to upload assets from a flat file into the standard table using LSMW with BAPI.
I could upload the assets by calling the BAPI from an ABAP report. But when I use the same BAPI in LSMW it gives an error while maintaining structure relationships.
I created different source structures for header segment, general data and for depreciation areas on same level. While assigning these structures to target structures it asked for maintaining hierarchy between them. After I created that hierarchy I could maintain the relationships properly. But the read program was not generated.
Please help me in this.
Thank you.
Hi.
I am trying to upload assets from a flat file into the standard table using LSMW with BAPI.
I could upload the assets by calling the BAPI from an ABAP report. But when I use the same BAPI in LSMW it gives an error while maintaining structure relationships.
I created different source structures for header segment, general data and for depreciation areas on same level. While assigning these structures to target structures it asked for maintaining hierarchy between them. After I created that hierarchy I could maintain the relationships properly. But the read program was not generated.
Please help me in this.
Thank you.
2005 Oct 24 1:50 PM
Hi Vaishali,
If u r using more than one source structure, for identify the structures differently we need to create one identification field addition to the required fields.Assign different values to the same field in different structures.
<b>HEADERSEGMENT</b>
IDENTIFICATION ---value 1
INVZU
<b>GENERAL DATA</b>
IDENTIFICATION ---value 2
AND OTHER FIELDS
Hope this meets ur requirement
2005 Oct 25 5:38 AM
Hi Savitha.
Thanks for the reply.
The identification field need to be defined in case of data maintained for several source structures in one file. I am maintaining the data for each source structure in a separate file.
Still it is giving me the same problem that is not generating the read program.
If I dont maintain the hierarchy in source structures then it is generating the read program but then gives error while converting the data.
Don't know how to proceed.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |