Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

write_form

Former Member
0 Likes
952

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

9 REPLIES 9
Read only

FredericGirod
Active Contributor
0 Likes
920

STOP CREATE MESSAGE WITH SAME TOPIC !!!

Read only

Former Member
0 Likes
920

Hi Kiran,

Is the window capable of holding multiple records?

Regards,

ravi

Read only

0 Likes
920

hi ravi,

it is a variable window and dint understand holding multiple records,

thanks ina advance

kiran kumar

Read only

0 Likes
920

Hi Kiran,

Create the window as a MAIN window and see if it comes.

REgards,

ravi

Read only

0 Likes
920

hi ravi, one maain window is already there

can i keep as main1

thanks in advace

kiran kumar

Read only

0 Likes
920

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.

Read only

0 Likes
920

thanks anurag

now iam able to get the entry list

Read only

Former Member
0 Likes
920

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

Read only

Former Member
0 Likes
920

Hi Kiran, try with "APPEND" rather than using "SET"