cancel
Showing results for 
Search instead for 
Did you mean: 

Linenumber in IDocToFile-Scenario

former_member191531
Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member181955
Contributor
0 Kudos

Hi

It can be done using Global Container.

http://help.sap.com/saphelp_nw04/helpdata/en/75/8e0f8f3b0c2e4ea5f8d8f9faa9461a/content.htm

Thanks

Prasad Nemalikanti

Answers (2)

Answers (2)

former_member191531
Participant
0 Kudos

The "Global Variables" are the solution I was looking for

With this I have also found an blog which solved the issue easily:

/people/sap.user72/blog/2005/10/01/xi-new-features-in-sp14

Thanks a lot!

Juergen

Former Member
0 Kudos

Yes can be done by declaring variable as GlobalContainer

its scope is across mapping

Rajesh