cancel
Showing results for 
Search instead for 
Did you mean: 

need to create two nodes based on one condition in message mapping.

Former Member
0 Kudos

Hi Experts,

In my mapping I have two different nodes. If my condition is true then only one node should be created otherwise both the nodes should be created.

requirement is I need to print. one header before first item record and after every 200 item records.

i.e I need to create header node if (item recordno) is 1 or (item recordno % 200) is 1. I have tried using this condition. But Iam getting all the header records( 3 headers for 600 items) in sequece and then all item records (600).

i want 1 header then 200 items , then again header followed by 200 items. so on.

Can any body help.

Thanks&Regards,

REYAZ HUSSAIN

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi REYAZ HUSSAIN,

as graphical mapping is "target field mapping" this is not possible. The parser for graphical mapping traverses the taget message from the first element to the last!

You need another kind (ABAP, XSLT, JAVA) of mapping.

Regards Mario

Former Member
0 Kudos

Hi Muller,

Thanks for your information.

Regards,

Reyaz

Answers (0)