<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ABAP general and Forms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120271#M444272</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the Program..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write it as...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : p_value type i value 234.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use OPEN_FORM &amp;amp; CLOSE_FORM to call a script !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check these links..&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.thespot4sap.com/Articles/SAPscript_Introduction.asp" target="test_blank"&gt;http://www.thespot4sap.com/Articles/SAPscript_Introduction.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_crm40/helpdata/en/16/c832857cc111d686e0000086568e5f/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_crm40/helpdata/en/16/c832857cc111d686e0000086568e5f/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the program looks like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZPSAPSCRIPT.&lt;/P&gt;&lt;P&gt;TABLES : EKKO,                        &lt;/P&gt;&lt;P&gt;         EKPO,                        &lt;/P&gt;&lt;P&gt;         KNA1,                        &lt;/P&gt;&lt;P&gt;         USR01,                       &lt;/P&gt;&lt;P&gt;         MARA,                        &lt;/P&gt;&lt;P&gt;         MAKT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF ZOPTION.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE ITCPO.&lt;/P&gt;&lt;P&gt;DATA : END OF ZOPTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: P_EBELN LIKE EKKO-EBELN,&lt;/P&gt;&lt;P&gt;            P_EBELP LIKE EKPO-EBELP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR EKPO.&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM EKPO&lt;/P&gt;&lt;P&gt;       WHERE EBELN = P_EBELN AND&lt;/P&gt;&lt;P&gt;             EBELP = P_EBELP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR KNA1.&lt;/P&gt;&lt;P&gt;SELECT SINGLE NAME1 FROM KNA1&lt;/P&gt;&lt;P&gt;              INTO KNA1-NAME1&lt;/P&gt;&lt;P&gt;              WHERE KUNNR = EKPO-KUNNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR MAKT.&lt;/P&gt;&lt;P&gt;SELECT SINGLE MAKTX FROM MAKT&lt;/P&gt;&lt;P&gt;              INTO MAKT-MAKTX&lt;/P&gt;&lt;P&gt;              WHERE MATNR = EKPO-MATNR AND&lt;/P&gt;&lt;P&gt;                    SPRAS = SY-LANGU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR USR01.&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM USR01 WHERE BNAME = SY-UNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZOPTION-TDDEST    = USR01-SPLD.        "Output device (printer)&lt;/P&gt;&lt;P&gt;ZOPTION-TDIMMED   = 'X'.               "Print immediately&lt;/P&gt;&lt;P&gt;ZOPTION-TDDELETE  = 'X'.               "Delete after printing&lt;/P&gt;&lt;P&gt;ZOPTION-TDPROGRAM = 'ZPQRPRNT'.        "Program Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'OPEN_FORM'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;         APPLICATION        = 'TX'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        ARCHIVE_INDEX      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        ARCHIVE_PARAMS     = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         DEVICE             = 'PRINTER'&lt;/P&gt;&lt;P&gt;         DIALOG             = ' '&lt;/P&gt;&lt;P&gt;         FORM               = 'Z_TESTSCRIPT'&lt;/P&gt;&lt;P&gt;         LANGUAGE           = SY-LANGU&lt;/P&gt;&lt;P&gt;         OPTIONS            = ZOPTION&lt;/P&gt;&lt;P&gt;     IMPORTING&lt;/P&gt;&lt;P&gt;          LANGUAGE           = SY-LANGU&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;         OTHERS     = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'WRITE_FORM'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;         ELEMENT       = 'HEADER'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        FUNCTION      = 'SET'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        TYPE          = 'BODY'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         WINDOW        = 'HEADER'&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;          ELEMENT       = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'WRITE_FORM'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;         ELEMENT       = 'MAIN'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        FUNCTION      = 'SET'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        TYPE          = 'BODY'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         WINDOW        = 'MAIN'&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;          ELEMENT       = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'WRITE_FORM'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;         ELEMENT       = 'FOOTER'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        FUNCTION      = 'SET'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        TYPE          = 'BODY'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         WINDOW        = 'FOOTER'&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;          ELEMENT       = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CLOSE_FORM'&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;          UNOPENED = 1&lt;/P&gt;&lt;P&gt;          OTHERS   = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sai ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Apr 2007 14:53:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-16T14:53:44Z</dc:date>
    <item>
      <title>ABAP general and Forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120265#M444266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on the report which calling the Form from SAP Script and displaying the form.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I wanted a selection screen in which if the user enters some value it should automatically preview in the form. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am really new to the ABAP Pls some help on this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any code is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every answers will be rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls peers help on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 14:36:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120265#M444266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T14:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP general and Forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120266#M444267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;plz clearly specify your requirement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 14:40:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120266#M444267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T14:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP general and Forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120267#M444268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Create a Parameters in the Report, so in the start-of-seelction the field value will be available, so the same value will be avialable in the Script also, just write that field in Script like &amp;amp;P_Field&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 14:41:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120267#M444268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T14:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP general and Forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120268#M444269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Seema,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can pass the selection screen variables to the SapScript using the FM write_form through some Text element.&lt;/P&gt;&lt;P&gt;From SAPScript using this Text Element, you can display the selection screen input values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srinivasa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 14:43:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120268#M444269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T14:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP general and Forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120269#M444270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sudheer / Srinivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I know that but actually needed some example so that it will more clearify how to write.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to tis domain and at learning stage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 14:45:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120269#M444270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T14:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP general and Forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120270#M444271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kannan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I have to provide a input value on the page and it should also display on the form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls any example is appriciate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 14:47:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120270#M444271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T14:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP general and Forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120271#M444272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the Program..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write it as...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : p_value type i value 234.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use OPEN_FORM &amp;amp; CLOSE_FORM to call a script !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check these links..&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.thespot4sap.com/Articles/SAPscript_Introduction.asp" target="test_blank"&gt;http://www.thespot4sap.com/Articles/SAPscript_Introduction.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_crm40/helpdata/en/16/c832857cc111d686e0000086568e5f/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_crm40/helpdata/en/16/c832857cc111d686e0000086568e5f/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the program looks like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZPSAPSCRIPT.&lt;/P&gt;&lt;P&gt;TABLES : EKKO,                        &lt;/P&gt;&lt;P&gt;         EKPO,                        &lt;/P&gt;&lt;P&gt;         KNA1,                        &lt;/P&gt;&lt;P&gt;         USR01,                       &lt;/P&gt;&lt;P&gt;         MARA,                        &lt;/P&gt;&lt;P&gt;         MAKT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF ZOPTION.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE ITCPO.&lt;/P&gt;&lt;P&gt;DATA : END OF ZOPTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: P_EBELN LIKE EKKO-EBELN,&lt;/P&gt;&lt;P&gt;            P_EBELP LIKE EKPO-EBELP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR EKPO.&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM EKPO&lt;/P&gt;&lt;P&gt;       WHERE EBELN = P_EBELN AND&lt;/P&gt;&lt;P&gt;             EBELP = P_EBELP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR KNA1.&lt;/P&gt;&lt;P&gt;SELECT SINGLE NAME1 FROM KNA1&lt;/P&gt;&lt;P&gt;              INTO KNA1-NAME1&lt;/P&gt;&lt;P&gt;              WHERE KUNNR = EKPO-KUNNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR MAKT.&lt;/P&gt;&lt;P&gt;SELECT SINGLE MAKTX FROM MAKT&lt;/P&gt;&lt;P&gt;              INTO MAKT-MAKTX&lt;/P&gt;&lt;P&gt;              WHERE MATNR = EKPO-MATNR AND&lt;/P&gt;&lt;P&gt;                    SPRAS = SY-LANGU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR USR01.&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM USR01 WHERE BNAME = SY-UNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZOPTION-TDDEST    = USR01-SPLD.        "Output device (printer)&lt;/P&gt;&lt;P&gt;ZOPTION-TDIMMED   = 'X'.               "Print immediately&lt;/P&gt;&lt;P&gt;ZOPTION-TDDELETE  = 'X'.               "Delete after printing&lt;/P&gt;&lt;P&gt;ZOPTION-TDPROGRAM = 'ZPQRPRNT'.        "Program Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'OPEN_FORM'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;         APPLICATION        = 'TX'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        ARCHIVE_INDEX      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        ARCHIVE_PARAMS     = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         DEVICE             = 'PRINTER'&lt;/P&gt;&lt;P&gt;         DIALOG             = ' '&lt;/P&gt;&lt;P&gt;         FORM               = 'Z_TESTSCRIPT'&lt;/P&gt;&lt;P&gt;         LANGUAGE           = SY-LANGU&lt;/P&gt;&lt;P&gt;         OPTIONS            = ZOPTION&lt;/P&gt;&lt;P&gt;     IMPORTING&lt;/P&gt;&lt;P&gt;          LANGUAGE           = SY-LANGU&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;         OTHERS     = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'WRITE_FORM'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;         ELEMENT       = 'HEADER'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        FUNCTION      = 'SET'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        TYPE          = 'BODY'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         WINDOW        = 'HEADER'&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;          ELEMENT       = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'WRITE_FORM'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;         ELEMENT       = 'MAIN'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        FUNCTION      = 'SET'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        TYPE          = 'BODY'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         WINDOW        = 'MAIN'&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;          ELEMENT       = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'WRITE_FORM'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;         ELEMENT       = 'FOOTER'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        FUNCTION      = 'SET'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        TYPE          = 'BODY'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;         WINDOW        = 'FOOTER'&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;          ELEMENT       = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CLOSE_FORM'&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;          UNOPENED = 1&lt;/P&gt;&lt;P&gt;          OTHERS   = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sai ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 14:53:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120271#M444272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T14:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP general and Forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120272#M444273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Seema,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt; w_func(40) type c.&lt;/P&gt;&lt;P&gt;parameters:&lt;/P&gt;&lt;P&gt;  p_value(10) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*****************&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      formname                = 'ZYH642_TEST_2'   " ur form name&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  VARIANT                  = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DIRECT_CALL              = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     fm_name                  = w_func.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;call functio w_func&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;  exporting &lt;/P&gt;&lt;P&gt;     value = p_value.&lt;/P&gt;&lt;P&gt;**********************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in ur form..&lt;/P&gt;&lt;P&gt;take ....  in ur form interface.. value type c.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 14:56:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120272#M444273</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T14:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP general and Forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120273#M444274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All Peers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The code seems good but i have the field like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;name ________    Signature _________&lt;/P&gt;&lt;P&gt;Designation_______&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose i am giving in the first page of the report name = abc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then this abc should display in the form also as ABC .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 14:56:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120273#M444274</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T14:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP general and Forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120274#M444275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 15:08:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120274#M444275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T15:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP general and Forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120275#M444276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do i have to specify any variable in the form also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 15:10:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120275#M444276</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T15:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP general and Forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120276#M444277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Seema,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please use the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Print Program:&lt;/P&gt;&lt;P&gt;Report zprg no standard page heading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block b1.    &lt;/P&gt;&lt;P&gt;parameters : name(20) type c,          &lt;/P&gt;&lt;P&gt;             designa(20) type c,       &lt;/P&gt;&lt;P&gt;             signatu(20) type c.       &lt;/P&gt;&lt;P&gt;selection-screen end of block b1.      &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;call function 'OPEN_FORM'                                 &lt;/P&gt;&lt;P&gt;       exporting                                          &lt;/P&gt;&lt;P&gt;            form                        = 'Z_TESTING1'    &lt;/P&gt;&lt;P&gt;            language                    = sy-langu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; call function 'START_FORM'                &lt;/P&gt;&lt;P&gt;      exporting                            &lt;/P&gt;&lt;P&gt;           form        = 'Z_TESTING1'      &lt;/P&gt;&lt;P&gt;           language    = 'E'               &lt;/P&gt;&lt;P&gt;           startpage   = 'PAGE1' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'WRITE_FORM'                         &lt;/P&gt;&lt;P&gt;         exporting                                 &lt;/P&gt;&lt;P&gt;              element                  = 'MAIN'    &lt;/P&gt;&lt;P&gt;              type                     = 'BODY'    &lt;/P&gt;&lt;P&gt;              window                   = 'MAIN' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'END_FORM' .&lt;/P&gt;&lt;P&gt;call function 'CLOSE_FORM'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAPScript:&lt;/P&gt;&lt;P&gt;Create a Main Window, a Paragraph as 'A' and Page as 'PAGE1' and use the below code in the text element of the Main Window.&lt;/P&gt;&lt;P&gt;/E   MAIN     &lt;/P&gt;&lt;P&gt;A   &amp;amp;NAME&amp;amp;   &lt;/P&gt;&lt;P&gt;A   &amp;amp;DESIGNA&amp;amp;   &lt;/P&gt;&lt;P&gt;A   &amp;amp;SIGNATU&amp;amp;   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srinivasa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 15:26:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120276#M444277</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T15:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP general and Forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120277#M444278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srini,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try this and let you know .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankyou very very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 04:13:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120277#M444278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-17T04:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP general and Forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120278#M444279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define  Parameters ,   in  start-of-selection , put the same in the Script , write that field in Script like &amp;amp;name&amp;amp;, &amp;amp;signatur&amp;amp; etc.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is very simple .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take care.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manoj Shakya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 07:16:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120278#M444279</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-17T07:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP general and Forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120279#M444280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you tried it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manoj Shakya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Apr 2007 11:44:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general-and-forms/m-p/2120279#M444280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-17T11:44:51Z</dc:date>
    </item>
  </channel>
</rss>

