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

LSMW - Maintaining structure relations

Former Member
0 Likes
1,403

I am trying to upload customer records using LSMW. There are two source structures (one for customer header and the other for customer-contactingperson which is item level). I completed first three steps. I am stuck at 'Maintain structure relations' step. How do we assign the structures here?

There are lot of things like BKNA1, BKNB1, BKNBK..so on but I am kind of clueless to which source structures I have to assign these target structures. Can you please help with this or are there any general rules here to go through this step with out any errors?

Thank you very much.

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
948

Assign the Header data to all required structures like BGR00, BKN00, and BKNA1. You can include others as you need to. Not sure what fields you need to upload. Also I don't see a structure for contacts.

Now I see the contacts. Assign your contact structure to the BKNVK structure.

Regards,

Rich Heilman

Assign the Header data to all required structures like BGR00, BKN00, and BKNA1. You can include others as you need to. Not sure what fields you need to upload. Also I don't see a structure for contacts.

Now I see the contacts. Assign your contact structure to the BKNVK structure.

Regards,

Rich Heilman

3 REPLIES 3
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
949

Assign the Header data to all required structures like BGR00, BKN00, and BKNA1. You can include others as you need to. Not sure what fields you need to upload. Also I don't see a structure for contacts.

Now I see the contacts. Assign your contact structure to the BKNVK structure.

Regards,

Rich Heilman

Read only

0 Likes
948

In my header structure, I have following fields:

Customer Number Name Street City Zipcode Country Language TelephoneNumber

In my contact structure (which is item level), I have the following fields:

CustomerNumber LastName FirstName FormofAddress Department Position TelephoneNumberContact

From 'Migrating your SAP data' (book from SAP press), I see that they

- assigned source header structure to BGR00, BKN00, BKNA1 and BKNB1.

- assigned souce contact structure to BKNVK.

It is clear to me that we have to assign the header data to all required structures (which came up as BGR00, BKN00 and BKNA1 in my example). But how do I know that I also have to assign it to BKNB1?

If you can help with this question, my problem is solved.

Thanks a lot!

Read only

0 Likes
948

If you need to populate a field in that structure from your source structure, then you need to assign it so that it is available when doing the field mappings in the next step. Take a look at that structure, do you have any fields that need to be populated when creating your customer? If so, then you need to assign it.

Regards,

Rich Heilman