2008 Apr 04 11:55 AM
what is the meaning of this???
FORM horizontal_line.
CLEAR x_lines_printed.
PERFORM position_frame CHANGING psfc_frame.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'HORIZ_LINE'
window = 'MAIN'.
ENDFORM.
what is the meaning of this???
FORM horizontal_line.
CLEAR x_lines_printed.
PERFORM position_frame CHANGING psfc_frame.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'HORIZ_LINE'
window = 'MAIN'.
ENDFORM.
2008 Apr 04 11:59 AM
Hi,
FORM horizontal_line. --> This is the start of the subroutine
CLEAR x_lines_printed. --> This clears the variable called x_lines_printed
PERFORM position_frame CHANGING psfc_frame. --> This calls a subroutine called position_frame that probably changes a variable called psfc_frame
CALL FUNCTION 'WRITE_FORM' --> This function module adds the element HORIZ_LINE of the MAIN window to the SAPscript output
EXPORTING
element = 'HORIZ_LINE'
window = 'MAIN'.
ENDFORM.
Presumably prior to this code a SAPscript is started.
Regards,
Nick
2008 Apr 04 12:13 PM
Hi,
And in the Function Module Exporting Element is there that is for loop to run the loop in layout and type is BODY and window is Main.
Thanks
Ganesh
2008 Apr 04 12:09 PM
Hi,
This is a drivier program code, i.e. for form/script layout we have to write a program in se38 , write_form Function Module is for to write the values in output.
Thanks
Ganesh
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |