Quantcast
Channel: SCN: Message List - ABAP Switching, Enhancing, and Adapting Standard Programs
Viewing all articles
Browse latest Browse all 2464

LSMW with object type BAPI

$
0
0

Hello All,

 

I'm creating LSMW using BAPI BAPI_STSRVAPS_SAVEMULTI2 in APO.

I have completed till step #8 but getting below error on step #9 - Read Data.

 

Before posting, I searched forum but could not find any post that i'm needing.

 

Please suugest/help/guide.

 

Thanks in Advance.

 

Generation canceled: No field with this name

 

Message no. /SAPDMC/LSMW_OBJ_070032

 

Diagnosis

 

You are working with at least one subordinate source structure. However, the source fields of the dependent structures you have entered are not compatible with the other definitions within your LSMW object.

 

Procedure

 

Correct your source field definitions in the step 'Maintain Source Fields'. In the case of dependent structures, the key is given the same name across all fields, meaning that in the subordinate structure, at least one source field must have the name of a field of the superordinate structure. During the import, this field is then used as a key for the relationship between the two dependent structures. This method ensures that the hierarchical source structure you defined can be read correctly by the LSMW.

 

If you do not require a relational key relationship such as this, delete the dependencies of the structures in the step 'Maintain Source Structures'. In the case of flat structures, no fields of the same name are required.

 

Below is how i have maintained the steps.

 

Deatails below;

1.jpg

Source field structures

2.jpg

 

Source field fields maintained

3.jpg

 

Sttucture relationship

4.jpg

 

Field mapping & conversion rule

 

5.jpg10.jpg

11.jpg

6.jpg


Viewing all articles
Browse latest Browse all 2464


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>