cancel
Showing results for 
Search instead for 
Did you mean: 

count of number of record

Former Member
0 Kudos

hi friends,

my task was one file to one idoc the file has large no of records Condition is that if the number of items in the idoc after conversion crosses 999 it should report as error.

i did some work for usual file to idoc procdure,ie. normal mapping and stuff,now what changes do i make.

does the idoc field document item number help in this regard.

for a trial i mapped one of the item number as index.

can any one help me please.

thanks in advance

Accepted Solutions (0)

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>is that if the number of items in the idoc after conversion crosses 999 it should report as error.

if this means that you need to stop processing

the message then you can create a user

advanced function that will check if the index is >= 999

and if so it can start an exception

how to call exception:

/people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping

Regards,

michal