cancel
Showing results for 
Search instead for 
Did you mean: 

is I have to call write_form more than 1 time for multiple records .

Former Member
0 Kudos

Hi All,

I have to pass 10 records into my main window of script form driver prgrame having internal table itab.

is I have to call write_form more than 1 time or single write form inside itab loop is suffisient.Please help.

Regards,

Ranu

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Ranu,

Yes, it is enough to call the write_form with in the loop.

FYI, when you call the write_form in the loop it will append the current loop record to the layout.

Regards,

Selva K.

Former Member
0 Kudos

Hi Ranu,

Just loop the write_form in your print program ..

If you will loop a internal table and pass the write_form in it, then at each loop iteration it will call that ELEMENT ,, so you can print ur line items on Layout..

Let me know if you are facing any problem ..

Edited by: Lokesh Tarey on Jul 21, 2010 11:29 AM

Former Member
0 Kudos

Hi lokesh,

Every thing is fine but my data id not getting displayed in main widow..its coming blank.

Regards,

Ranu.

Edited by: ranu sharma on Jul 21, 2010 12:59 PM

Former Member
0 Kudos

hi,

debug and check if your internal table has records.

have u passed the element of the main window in write_form

Former Member
0 Kudos

Hi jain,

Data is there in internal table and also coming in script but not getting displayed in ouput window.

regards

Former Member
0 Kudos

Hi Ranu,

Pls debug your Script form as well, try to find out where the control is failing to reach. Check the ELEMENT components in the Script debugger ..

First thing, check the size of window as well .. try to increase it ..

Pls also check the Language of the Script that you are calling.. Sometime it happens that we changes a EN script but the concern is about DE script.. (It happened with me)