cancel
Showing results for 
Search instead for 
Did you mean: 

Integration Advisor MAGs mapping issue at Runtime - Fields with Attributes

10-24-2024 4:50 AM
693 views 1 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hello Experts,

We used the Mapping Guidelines (MAGs) of the SAP Integration Advisor to build the mapping for Purchase Order cXML to ASC X12 850.

Everything works well during Simulation in MAGs. However, when we finally deploy and run the map in SAP Integration Suite Runtime, we noticed that some fields in the Target Structure are not getting generated.

Issue is specifically happening for Target Fields that are mapped to Source Fields with Attribute and CONTENT.

Here is an example Source Field called Description with an Attribute called xml__lang

clementecarloaborjajr_1-1729737128650.png

In MIGs and MAGs, SAP generates the child fields for the Attribute xml_lang and the CONTENT of the field Description.

clementecarloaborjajr_3-1729737314419.png

In MAGS, we directly mapped the source field CONTENT to target field 352.

Mapping works as expected during Simulation Test in MAGs.

As you can see, the target field 352 is populated with value "AP 006-4524HG GREENSTAR CABLE".

clementecarloaborjajr_0-1729736992960.png

However, when we deployed and run the same map and test data in Cloud Integration Runtime, the target field 352 is not generated in the output payload.

clementecarloaborjajr_4-1729737678657.png

Any idea why we are getting different result between Simulation Test in MAGs and in Runtime?

Thanks,

Carlo

0 Likes

Accepted Solutions (1)

Accepted Solutions (1)

0 Likes

Hello All,

Issue is resolved.

Solution is to use all the XSLT maps generated and injected by MAGs to your Integration Flow.

  1. Pre-Processing (preproc) XSLT
  2. Main XSLT
  3. Post-Processing (postproc) XSLT

We only used the Main XSLT map earlier hence the reason for the issue.

Thanks,

Carlo

Answers (0)