cancel
Showing results for 
Search instead for 
Did you mean: 

Message Mapping

Former Member
0 Kudos

Hi Gurus,

I am trying to do a message mapping as below, is there anything wrong to do it this way, since the source Message don't have Header.


Thanks in advance

Blue

Accepted Solutions (1)

Accepted Solutions (1)

engswee
Active Contributor
0 Kudos

Hi Blue

It depends on what is your mapping requirement. If your target structure does not need any Header fields to be mapped or all of them can be mapped with constants, then that is fine.

Your source and target structure has RecordSet node. Are you performing FCC on both sender and receiver side?

If you need further help, sharing further what you are trying to achieve would be useful for us to understand the requirement.

Rgds

Eng Swee

Former Member
0 Kudos

Hi Eng,


Thank you very much for your reply!

The target data structure is used by other interfaces as well, it has header. My source data is very simple, no header, I don't even need the RecordSet node, I tried without RecordSet, just Record, it didn't work. Main part I am not sure is how do I map Header node for target structure since there is no corresponding Header node in source data structure? For all the fields under Header in target, I used constants.

I can't activate the mapping, there must be something not right, but I don't know which part is wrong

Blue

engswee
Active Contributor
0 Kudos

Can you provide screenshot of your message mapping logic?

Can you also run a check on your message mapping object (F7), it would reveal errors which are causing your object from failing activation. If you can't resolve the error, please paste a screenshot of the error.

Former Member
0 Kudos

Hi Eng,

Thank you so very much!

F7 check help found the errors. I have few UDF, errors all in the UDF, it is fixed and the MM is activated.

Thanks again, really appreciate your help !!!!!

Blue

Answers (1)

Answers (1)

former_member182412
Active Contributor
0 Kudos

Hi Blue,

If your record set structure is Record,* then your source structure is right.

Regards,

Praveen.

Former Member
0 Kudos

Hi Praveen,

Thank you for the response.

But I can't get the mapping activated and I am not sure how to map Header node in target, I used Constant for Header node, not only the fields under Header node. It could be a problem here, but I don't know how to map the Header

Blue