cancel
Showing results for 
Search instead for 
Did you mean: 

strange behaviour with Message mapping

Former Member
0 Kudos

Hi, all.

I have designed simple message mapping:

Source Message

mt_1

-field1 ...... 1--1

-


subfield2 .... 1..1

-


subfield3 ..... 0..1

-field4...... 0..1

Target Message

Z_TEST (imported RFC function description)

-field1 string.......0..1.....

-ID string.......0..1

So mapping looks like that:

mt_test/field1/subfield2 -> Z_TEST/field1

mt_test/field4 -> Z_TEST/ID

When I test this mapping manually (enter values in test XML instance) mapping works properly.

But when i load XML-instance from XML file after mapping target tag Z_TEST/field1 is not produced however tag Z_TEST/ID is produced properly.

Where am I incorrect?

Best regards.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Check if your tag names are spelled correct.

Compare the xml source of the test xml with the source of the file xml. All tag names and the namespace have to be identical.

Thanks

Swarup

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Make sure that you have mapped the source segment field1 to the correct target segment of correct occurence

Regards

Seshagiri