cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC to FILE(xml) graphical mapping using node function createIf

Former Member
0 Kudos

Greetings All,

My Scenario is Idoc to File(XML)

Target Structure is

MO_MAT_LAN....................(0: unbound)

LAN_KEY.......................(0 :1)

DESCRIPTION.................(0 : 1)

Source MATMAS Idoc

E1MAKTM.........................(0 : 99)

SPRAS_ISO..................(0 :1)

MAKTX..........................(0 :1)

initially i had mapped E1MAKTM----->MO_MAT_LAN but i dont want target node MO_MAT_LAN to be created when the SPRAS_ISO is equal to EN

I have tried using node function createIf but the node is geting created only once although the input stucture is having occurance more than 5.

Can anyone please help me to achive this.

Many thanks,

Rohit

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

U have to use:-

SPRAS_ISO mak the context to E1MAKTM compare (Use equals) it with Constant function EN out put to be given to If without else and in then Give E1MAKTM and map out put of If node to MO_MAT_LAN.

chirag

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks,

I had mapped the Target node to the parent node structure of the source.. This solved the issue.

Regards,

Rohit