cancel
Showing results for 
Search instead for 
Did you mean: 

FORM not moving in loop for multiple entries

Former Member
0 Kudos

Hey Frnds

I am hav developed a SF for printing d o/p to PDF format by selecting the invoice numbers ,whenever i select a single invoice it shows me the o/p ,but selecting it for multiple inoices it posts an error msg .

By applying the loop it can be solved but ,applying the loop at the header leve;l it doesnt shows the o/p also .

Help needed urgently

Regards

Swapnil

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Figured out myself and some help from forum members

Former Member
0 Kudos

Hi,

Put loop in Driver program...Like

data : wa_ssfctrlop TYPE SSFCTRLOP.

Loop at IT.

WA_SSFCTRLOP-NO_DIALOG = 'X'.

Call Function 'xxxxxxxxxx' "Smart From Generated Function module

Exporting

xxxxxx= xxxxxxx

tables

xxxxxx = xxxxx

Exceptions

xxxxxxx = xxxx.

Endloop.

Former Member
0 Kudos

I had populated the data thru an internal table .

Former Member
0 Kudos

Hi Swapnil,

How are you applying the loop?

Are you creating any tables? or wrote the code in program lines?