‎2006 Mar 21 2:44 PM
Hi All,
1. What is the functionality of <b>WRITE_FORM_LINES</b> & <b>WRITE_LINE</b> in SAP Scripts.
2. What is the main usage of <b>CONTROL_FORM</b>.
3. Using which <b>TCODE</b> we can move changes made in one Layout[SAP SCRIPT] from one CLIENT[100] to CLIENT[900]!
Thanks in advance.
Thanks & Regards,
Rayeez.
‎2006 Mar 21 2:54 PM
For WRITE_FORM_LINES
http://help.sap.com/saphelp_46c/helpdata/en/d6/0dc169494511d182b70000e829fbfe/frameset.htm
For WRITE_FORM
http://help.sap.com/saphelp_46c/helpdata/en/d6/0dc169494511d182b70000e829fbfe/frameset.htm
For CONTROL_FORM
http://help.sap.com/saphelp_46c/helpdata/en/d6/0dc169494511d182b70000e829fbfe/frameset.htm
‎2006 Mar 21 2:47 PM
Hi Shaik,
1) WRITE_FORM_LINES..Output text lines in form window.
The text lines contained in table LINES are output in the specified layout set window.There is no FM WRITE_LINE.
2)Control_form is used to control the flow of the pages.Suppose you want to trigger any page explicitly then you use control_form.
3) There is no separate Tcode for moving the script.There is an option in SE71,<b>Utilities-->Copy from client</b> ,thru which you can copy script between two clients.
‎2006 Mar 21 2:54 PM
For WRITE_FORM_LINES
http://help.sap.com/saphelp_46c/helpdata/en/d6/0dc169494511d182b70000e829fbfe/frameset.htm
For WRITE_FORM
http://help.sap.com/saphelp_46c/helpdata/en/d6/0dc169494511d182b70000e829fbfe/frameset.htm
For CONTROL_FORM
http://help.sap.com/saphelp_46c/helpdata/en/d6/0dc169494511d182b70000e829fbfe/frameset.htm
‎2006 Mar 22 11:59 AM
Hi
WRITE_FORM_LINES -The function module outputs the text lines in table LINES into the specified form window. The text lines must have the SAPscript ITF format. From the data in the text header, the system uses only the field TDSTYLE to apply the formatting attributes defined in the specified style for this text. If the field is empty, the system uses the identically named formatting attributes (character and paragraph formats) of the form.
Use parameter WINDOW to specify into which of the windows defined in the form you want to output the text. You can specify any window used in the form. The parameter FUNCTION determines how to merge the text lines to be output with any existing contents in the window. There are differences between the different window types or areas.
CONTROL_FORM->
This function module is used to insert SAPScript control commands like NEW-PAGE etc from whithin the ABAP program.
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
COMMAND =
EXCEPTIONS
UNOPENED = 1
OTHERS = 3
.
IF SY-SUBRC NE 0.
MESSAGE ...
ENDIF.
I have little bit confusion with your other question so i didnt posted them here.I hope this will help u to clarify your doubts.
Thanks
Mrutyunjaya Tripathy