Skip to Content
avatar image
Former Member

mapping requirement for spilting payload

Hello ALL,

I have five fields empid,company,designation,city and country. i want to spilt the data based on the city at message mapping level.

How can i do mapping at message mapping level.

Thanks,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Nov 14, 2016 at 01:47 PM

    Hello Prabhakar,

    Is it for each city the target root node need to be generated?

    You can try something like below

    City---->Splitbyvalue----->Root Node.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 14, 2016 at 02:14 PM

    Try the below logic

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 14, 2016 at 11:59 PM

    Hi Prabhakar!

    Actually, it's a simple message mapping in your case as your message structure isn't much complicated. You can use mapping of your source message to the same structure with occurence 0..unbounded (split mapping).

    In my case all of my source fields are in context of MT_Emp_Data.

    Reagrds, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Evgeniy Kolmakov

      Hello Evgeniy,

      your previously posted mapping working fine.

      message monitoring level i got this error " values missing in queue context cannot create target elemnt.

      so i got one blog on scn they siad put source structure as 0.1 i did like that also, But still same error.How can i used map with default value between source and target fields.

      Thanks,