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: 

Weird situation with MOVE-CORRESPONDING in standard SAP include!!

former_member202077
Participant
0 Kudos

Hello Experts,

We have a standard_SAP_field_1 (attached to a standard_SAP_data_element_1) in standard_SAP_structure_1, but unfortunately its NOT there in KOMP structure!! Hence I added this standard_SAP_field_1 with in customer name space as 'ZZ_standard_SAP_field_1' by attaching the same standard_SAP_data_element_1.

The standard_SAP_data_element_1 attributes are as CHAR, 2.

Now, in one of the standard SAP include of VA42.....we have a statement as below,

 MOVE-CORRESPONDING standard_SAP_structure_1 TO komp. 

Then the value (say, AA) should transfer from standard_SAP_field_1 of standard_SAP_structure_1 to ZZ_standard_SAP_field_1 of KOMP, right? but, its not happening!! pls. let me know the reason and how to fix it?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Okay...

Field one is called: FIELD1

Your own created field two is called ZZ_FIELD1.

And now... MOVE-CORRESPONDING. Do a F1 on that and tell me: do the two fieldnames correspond?

1 REPLY 1

Former Member
0 Kudos

Okay...

Field one is called: FIELD1

Your own created field two is called ZZ_FIELD1.

And now... MOVE-CORRESPONDING. Do a F1 on that and tell me: do the two fieldnames correspond?