cancel
Showing results for 
Search instead for 
Did you mean: 

Sort a file before mapping in XI Repository

Former Member
0 Kudos

Hello,

I have a incoming file in XI but it is not sorted.

How this file creates IDOC FI, I have to sort it before to do the mapping.

Anyone has a solution?

Is it possible to do it in the Directory part?

Thanks for advance to help me.

Bye.

Accepted Solutions (0)

Answers (3)

Answers (3)

udo_martens
Active Contributor
0 Kudos

Hi Leroy,

Adding a addtional XSLT using <xsl:sort> in front of the main mapping is assumedly the easiest way.

Regards,

Udo

Former Member
0 Kudos

Well in my opinion you can sort it only in IR while doing mapping. Because sorting will be done only after data is picked up. And in ID if it is possible then it will be done by using x-path.

Unfortunately I don't know if we can sort it in ID by some way.

I guess you want to pick the file based on some kind of number range or some specific condition in your Receiver Determination to route the data to different Recevers.

Regards,

Sarvesh

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

yes you can easily sort it inside an adapter module

it's like sorting in a java mapping - the same amount of work I'd say

Regards,

Michal Krawczyk