cancel
Showing results for 
Search instead for 
Did you mean: 

LSMW: Ensure field sequence is correct for data for multiple source structures

Former Member
0 Kudos

Hi,

I want to carry some changes to the PO (ME22N) via a LSMW (BAPI). A simplified example of the source fields:

HEADERDATA

       IDENTIFIER: H

        EBELN: po number

ITEMDATA (lower level)

          IDENTIFIER: I

          EBELP: item number

          ELIKZ: delivery completed

When the system try to read the file, there is an error message: Ensure field sequence is correct for data for multiple source structures.

  Message no.
/SAPDMC/LSMW_OBJ_060026

Please provide me how to structure the file using the identifiers and the fields to upload the data via LSMW ?

thanks

View Entire Topic
JL23
Active Contributor
0 Kudos

I think this warning is based on your definition in step 7 of LSMW, there is a section with a box called " field order matches source structure definition"

If you post a screenshot of your source file, step 2, 3 and 7 of LSMW then I think I am able to check if the setup is correct.

Former Member
0 Kudos

as requested:

I think it is more how the file is structured.

thanks

Former Member
0 Kudos

Hi Jurgen,

I am still waiting for your help regarding LSMW and BAPI

please help

JL23
Active Contributor
0 Kudos

You are pretty patient.

Why did I not answer? Probably because you did not deliver what I asked for.

0 Kudos

I share my experience.

I needed to create materials via LSMW using RMDATIND.

I used the nested structure to load the tax codes for the sales views.I had four countries, two tax classifications and three tax types.

My structure in Maintain Source Structures:

MATERIAL_HEAD (I used MATERIAL_41_2)

---METERIAL_ITEM. (I used MATERIAL_41_2_ITEM)

Structure in "Maintain Source Fields":

MATERIAL_HEAD.

Field 1

Field 2

...

Field N

---METERIAL_ITEM

Field 1

Field 2

...

Field N

Field ALAND

Field TATY1

Field TAXM1

In other words, METERIAL_ITEM should have the same fields as MATERIAL_HEAD plus unique fields, in my case those are fields for taxes.

Step Maintain Structure Relations:

In the Maintain Field Mapping and Conversion Rules step in the BMMH2 structure referenced the METERIAL_ITEM fields (ALAND, TATY1, TAXM1).

The differences are in the excel file:

HEAD_OR_ITEM FIELD 1 FIELD 2 FIELD N ALAND TATY1 TAXM1

HEAD V 1 500,30

ITEM V 1 500,30 DE MWST 1

ITEM V 1 500,30 GB MWST 1

ITEM V 1 500,30 PL MWST 1

ITEM V 1 500,30 RU MW01 1

This article can help with nested structures.

https://sappro.sapland.ru/blogs/tranzaktsiya-lsmw-instruktsiya-po-primeneniu/18102