cancel
Showing results for 
Search instead for 
Did you mean: 

In Mian window,why first line prints twice.

Former Member
0 Kudos

Hai Experts,

Am working with SAP SCRIPTS,so in Main window we need to maintain text element otherwise the first record will be printed twice.I didn't understand that why it happens.I want to know the reason for this issue.

Thanks In advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

There are different possibilities:

1, The main window has Text-Elements (coloured in red with paragraph (/E).

Is the line printed twice the only line in the element?

2, Is there a second line like this one in another text element? (The text elements will not printed in the order they are entered).

3. Print Program: have a look at the source code (CALL FUNCTION and a parameter with the text element (maybe in a loop triggered twice).

4. Have you debuged the sapscript itself?

Regards,

Christian

Former Member
0 Kudos

Yes,its first possibility.So am asking why it happened?

Answers (1)

Answers (1)

Former Member
0 Kudos

probably because the program sends the line twice?

Former Member
0 Kudos

Thanks for your response,

But the thing is that am asking you why it is happening?

Former Member
0 Kudos

Hi,

Each Sapscript is controlled by a printing program.

The line printed is under a text element which might be inside a loop in the printing program that loops 2 times and therefore prints the same line twice.

Regards,

Ernesto