Application Development and Automation 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: 
Read only

Creating Material using LSMW

former_member204025
Participant
0 Likes
324

Hi Guys!

I have a LSMW in which I have to upload 7 files, one per tab (MM01, CREATING MATERIALS), and I decided tu use a direct input, but how can I build the structures of my files? One of the tabs should be header (All the 7 files have 7 fields in common between them) and the rest as items? Should i have to create one structure per file?

Could you please help me on that?

Best Regards,

Gabriela.

1 ACCEPTED SOLUTION
Read only

Sandra_Rossi
Active Contributor
0 Likes
292

> but how can I build the structures of my files? One of the tabs should be header (All the 7 files have 7 fields in common between them) and the rest as items?

First, I guess that each file has only one structure (it means all lines have exactly the same fields at the same positions).

When you create the source structures (one per file in your case), you can define a hierarchy (create one as the child of another one, by simply positioning your cursor). The relationship between structures (files) is made implicitly by using the same field names, that must be positioned at the beginning of the structure. Note: you can link 2 structures with several fields.

> Should i have to create one structure per file?

That's mandatory, otherwise you can't process the files!

1 REPLY 1
Read only

Sandra_Rossi
Active Contributor
0 Likes
293

> but how can I build the structures of my files? One of the tabs should be header (All the 7 files have 7 fields in common between them) and the rest as items?

First, I guess that each file has only one structure (it means all lines have exactly the same fields at the same positions).

When you create the source structures (one per file in your case), you can define a hierarchy (create one as the child of another one, by simply positioning your cursor). The relationship between structures (files) is made implicitly by using the same field names, that must be positioned at the beginning of the structure. Note: you can link 2 structures with several fields.

> Should i have to create one structure per file?

That's mandatory, otherwise you can't process the files!