Hi,
in my print program i´ve got something like:
LOOP AT itab.
l_counter = l_counter + 1.
IF l_counter <= 13.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'SMALLFRAME'
WINDOW = 'MAIN'
EXCEPTIONS
OTHERS = 1.
ELSE.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'BIGFRAME'
WINDOW = 'MAIN'
EXCEPTIONS
OTHERS = 1.
ENDIF.
ENDLOOP.
and in my sapscript i´ve got:
/E BIGFRAME
/: POSITION WINDOW
/: POSITION XORIGIN '-0.5' CH YORIGIN '-0.25' LN
/: SIZE WIDTH '+0.4' CH HEIGHT +1 LN
/: BOX WIDTH '71.50' CH
HEIGHT '40.87' LN
FRAME 20 TWHEIGHT '27.40' LN
FRAME 20 TWwhy is it not working?
is it not possible within the loop of itab (position´s values) to decide wich frame i want (big or small)?
is it only possible to define the frame dimensions before processing the lines of the main window and not within the loop?
Best regards.