cancel
Showing results for 
Search instead for 
Did you mean: 

Filter Idoc segment using createif issue

Former Member
0 Kudos

Hi Expert,

we are using the standard Material Idoc to JDBC secerial. and want to filter some plant in MARCM sgement. and one idoc may have several MARCM segment.

we using like this

werks = x --> removecontext --> createIF -->JDBC Statement.

now it is working fine and we can block those MARCM segment for werks not what we want.

but now we change the standard idoc's Occurrence maxoccurs = "unbounded". And we use collect idoc when sendout IDoc. So we weill received severial IDOC in one message. now the filter is not working. It seems they will not do the right filter. they will only choose the right number of sgement from the begging and delete all others. no matter if they are right.

Could anybody give me a light on how to fix this?

thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Xiang,

Try changing the context of WERKS to the root node and change the mapping accordingly . This might work.

Thanks,

Swetha.

zameerf
Contributor
0 Kudos

Hi,

Try doing this,

right click werks and set context at IDOC level.

delete the remove context.

if this doesn't help, share the display queue output of working mapping for JDBC statement.

Regards,

Zameer