Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

question on LSMW..

Former Member
0 Kudos

Hi,

I am trying LSMW. I want to upload data from tab delimited flat file to a master table. Say vendor master. I understand the overall concept of LSMW. I create a BDC recording say on the vendor master screen and that i use as the Business object in my LSMW project.

Then I see the step "Maintaining source structures"...What is that ? Do I need to technically know the names of the source struture or what ?? I fail to understand this part, how to create this, is this already taken into acct when i use the BDC recording in LSMW or what ??

A simple and clear explanation will do. I am already referring the documents at various sites.

thanks in advance

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Rad,

The source structures refer to the structure of your flat file. Normally it happens that there will be header structures which may have child structures. Also you use single file for uploading data for both Parent and Child or use 2 separate files for each structure.

During import of data, the data is transferred to anothe file *.read in the application server, the data is placed in this file in the data structure as mentioned in the source structure. Then during conversion *.read file which has data arranged in the way source structure is defined is used to transfer to another file *.conv by applying conversion rules etc etc.

If you have done recording then it is good if you have source structure same as the target structures.

Reward points if useful....

Thanks...

Preetham S

4 REPLIES 4

Former Member
0 Kudos

Hi Rad,

The source structures refer to the structure of your flat file. Normally it happens that there will be header structures which may have child structures. Also you use single file for uploading data for both Parent and Child or use 2 separate files for each structure.

During import of data, the data is transferred to anothe file *.read in the application server, the data is placed in this file in the data structure as mentioned in the source structure. Then during conversion *.read file which has data arranged in the way source structure is defined is used to transfer to another file *.conv by applying conversion rules etc etc.

If you have done recording then it is good if you have source structure same as the target structures.

Reward points if useful....

Thanks...

Preetham S

0 Kudos

Thanks Preetham. From your explanation I understood the concept of structures.

Can you please do me another favour ? Can you give me a sample flat file for any master data, let me know the master data transaction too, the fields of the structure, so that i can try out that as an example for LSMW ?? For example, like for Customer master.

Also I want to know is there any documentation available on the mandatory fields for all master transactions so that I incorporate all those required fields in my struture. Are there any ready made structures for all these masters which will save my time of creating a structure ?? If yes then I can have my data rearranged in the data file according to the structure.

Hope I am clear.

thanks

0 Kudos

Hi Rad Sha,

I will not be able to provide any files since in our organisation we donot use the LSMW. It is only in implementation people use LSMW but not in product development which I am currently working on.

I know its tedious to create structures manually. There is a quick way of creating structures :). You need to type these structure details in text file and upload them in the structure creation screen. This will automatically create source structures. There are three columns that needs to be maintained, the first columen name of the field, second data type with length and third description.

I am not aware of any document which speaks of mandatory fields that is required by the standard objects. But you get to know only by experience and have some functional inputs from the functional people on your team.

Reward if useful.....

Thanks...

Preetham S

0 Kudos

Thanks Preetham. I am satisfied with what u say. I will try to work it out as u said.

thanks a lot.