cancel
Showing results for 
Search instead for 
Did you mean: 

print form

Former Member
0 Kudos

Hi,

i am creating form for softex. it should show the form for each order.in my selection screen i will give the date. So for that date how many orders are there that much form should display. But i am getting only one order

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi,

Do this

in print program

call function 'OPEN_FORM'

sort itab by erdat.

loop at itab.

at new erdat.

call function 'START_FORM'

Exporting

Page = 'ONE'.

endat.

Call functionj 'WRITE_FORM'.

element = 'ELE1'.

at end of erdat.

Call function 'END_FORM'.

endat.

endloop.

Call function 'CLOSE_FORM'.

in script in the main window da as follows.

/: Ele1

  • &ekko-ebeln&

Thanks,

Nethaji.

Former Member
0 Kudos

Hi,

1.Check in the Respective table,for that date has only one order or multiple.

2.If that date has multiple orders,In driver program,they are collecting in the internal table or variable.

3.If that is internal table ,put a loop ion it and display it.

4.Check in the debug mode also.

Regards,

SHiva

Former Member
0 Kudos

Hi Skumar,

i have debug the program & i am getting the multiple rows. But while displaying only last record is displaying.