‎2006 Oct 24 11:29 AM
hi to all,
help me in this issue,
LOOP AT IT_ZFI_NEW.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = '502'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'INSALL'.
ENDLOOP.
i had looped as above and the window is variable window,
i am getting only last value of the the form,
in the output,
thanks in advance
kiran kumar
‎2006 Oct 24 11:30 AM
‎2006 Oct 24 11:32 AM
Hi Kiran,
Is the window capable of holding multiple records?
Regards,
ravi
‎2006 Oct 24 11:35 AM
hi ravi,
it is a variable window and dint understand holding multiple records,
thanks ina advance
kiran kumar
‎2006 Oct 24 11:36 AM
Hi Kiran,
Create the window as a MAIN window and see if it comes.
REgards,
ravi
‎2006 Oct 24 11:50 AM
hi ravi, one maain window is already there
can i keep as main1
thanks in advace
kiran kumar
‎2006 Oct 24 11:54 AM
Kiran,
Check the reply in your other post also....
Just try to use the function as APPEND and make sure that the window lenght is able to print all the records.
LOOP AT IT_ZFI_NEW.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = '502'
<b>FUNCTION = 'APPEND'</b>
TYPE = 'BODY'
WINDOW = 'INSALL'.
ENDLOOP.
‎2006 Oct 24 12:18 PM
‎2006 Oct 24 11:42 AM
Hi,
activate debugger in se71 and check out
also check window name
LOOP AT IT_ZFI_NEW.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = '502'
<b>FUNCTION = 'SET'
TYPE = 'BODY'</b>WINDOW = 'INSALL'.
ENDLOOP.
Regards
amole
‎2006 Nov 06 9:35 AM