Skip to Content
0
Feb 16, 2009 at 01:23 PM

Linenumber in IDocToFile-Scenario

16 Views

Hello,

we are using XI 3.0 and I have to create an IDocToFile-Scenario with the following structure in the result file:

000001AAA...

000002BBB...

000003CCC...

000004DDD...

000005EEE...

000006DDD...

000007EEE...

000008ZZZ...

So there are several different segments (AAA,BBB,...) and some of them can occure more than one time.

The first 6 characters of each line have to display the current linenumber (with leading zeros).

Is there a way, to reset a global variable during the mapping, which can be increased for every segment and set at the beginning of each line?

Thanks in advance!

Regards,

Juergen