cancel
Showing results for 
Search instead for 
Did you mean: 

Record Count validation - BPM v.s. Message Mapping

former_member196064
Active Participant
0 Kudos

Greetings,

I've got a file of sales orders coming in from File -> RFC -> File.

In my incoming file, the final record contains my record count.

In my outbound file are, of course, the messages from my RFC to create orders.

In my BPM I receive the inbound file, then use a transformation to count the number of orders and split them into separate messages so I can loop through them in a block & call the RFC.

I want to validate my order count against the number of orders listed in my trailer record. Should I use a switch step in my BPM... or should I use a UDF in my message split? All I want to do... I think... is supress everything coming in and pass a message stating the error... in my outbound file.

Please advise...

Doug -

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member189558
Contributor
0 Kudos

Hi Doug,

As pointed by Prabhu, u need to validate it within Mapping...

However , I am of the opinion that the source system should ensure to send correct record count before passing on to XI....

Thanks,

Himadri

prabhu_s2
Active Contributor
0 Kudos

try to validate in the mapping itself. BPM normally catches up with the performance of the nterface and having too many nodes in it might have some performance issues.