cancel
Showing results for 
Search instead for 
Did you mean: 

getting error in printing several forms in 1 print request.

Madhurivs23
Participant
0 Kudos

Hi,

I am printing several forms in one print request by using logic

1st call: NO_OPEN = SPACE.

NO_CLOSE = 'X'.

nth call: NO_OPEN = 'X'.

NO_CLOSE = 'X'.

last call: NO_OPEN = 'X'.

NO_CLOSE = SPACE .

For the first time its printing correctly.

But facing one problem that when I again try to print in the same session, its giving error while printing.

But, when I go out from the program and execute once again, then it prints properly.

Please help.

Thanks in advance,

Rgds,

Madhuri

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

HI Madhuri,

Refer my post in the below link for the sample code..

Regards,

Sravanthi

Former Member
0 Kudos

Hi Madhuri

IF w_flag NE '1'.
        w_control-no_open  = 'X'.
        w_control-no_close = ' '.
        w_flag = 1.
call function fm_name..
endif..

Regards,

Sravanthi

Madhurivs23
Participant
0 Kudos

I am getting error

"previous output request was not finished"

Thansk in advance,

Rgds,

Madhuri

former_member205763
Active Contributor
0 Kudos

Before the first call ensure to give this parameter,

TDNEWID = 'X'