<?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 ELEMENT in SAp script in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/element-in-sap-script/m-p/2784957#M649267</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;Can anyone explain me the benifits and functionality of ELEMENTS we use in SAP Scripts..?&lt;/P&gt;&lt;P&gt;In what situations we can set these ELEMENTS and how to deal when we set the elements kind of things.&lt;/P&gt;&lt;P&gt;And can we use multiple ELEMENTS in one window..? If so, please explain me how to write the code and deal in such cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Paddu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Aug 2007 23:03:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-31T23:03:11Z</dc:date>
    <item>
      <title>ELEMENT in SAp script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/element-in-sap-script/m-p/2784957#M649267</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;Can anyone explain me the benifits and functionality of ELEMENTS we use in SAP Scripts..?&lt;/P&gt;&lt;P&gt;In what situations we can set these ELEMENTS and how to deal when we set the elements kind of things.&lt;/P&gt;&lt;P&gt;And can we use multiple ELEMENTS in one window..? If so, please explain me how to write the code and deal in such cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Paddu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2007 23:03:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/element-in-sap-script/m-p/2784957#M649267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-31T23:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: ELEMENT in SAp script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/element-in-sap-script/m-p/2784958#M649268</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;   Elements are used to group a related information to print in the script.. You can use as many elements as you want in one window.. for example let us say i want to print &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Item              Material            quantity &lt;/P&gt;&lt;P&gt; 10                  ADB                 10&lt;/P&gt;&lt;P&gt; 20                  DEF                  20&lt;/P&gt;&lt;P&gt; 30                  SDF                  30&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------" /&gt;&lt;P&gt; Total                                      60&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------" /&gt;&lt;P&gt;Here we would be using the main window to print this data.. as we are not sure how many line items exist.&lt;/P&gt;&lt;P&gt;In this main window i would delcare 3 elements header, details, total elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when calling from program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the WRITE_FORM AND pass the window name and element name to call the resepective window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2007 23:12:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/element-in-sap-script/m-p/2784958#M649268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-31T23:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: ELEMENT in SAp script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/element-in-sap-script/m-p/2784959#M649269</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;In print program you can specify when a certain element should be printed, it gives you a control on the sap script processing and therefore sap script form is more flexible and general. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAPscript calls the individual text components of a form text elements. To achieve good structuring and readability, you assign a fixed name to each text element in the form. The print program then uses these names to access the elements. This name applies also for translated versions of a text element, while the contents of the text elements depend on the language.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Text elements are related to a window, that is, a print program can call for each window only those text elements that exist in this window. They are used in main and other windows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variables used within '&amp;amp;...&amp;amp;' are replaced by the system at output time &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/E    &amp;lt;element name&amp;gt;&lt;/P&gt;&lt;P&gt;UL    &amp;amp;fieldnam&amp;amp; text text &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Named element are written when driver program use&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 = 'BOOKING'&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;Unnamed element are written once in MAIN windows, and each time in other windows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can use use multiple ELEMENTS in one window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;KK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2007 23:34:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/element-in-sap-script/m-p/2784959#M649269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-31T23:34:00Z</dc:date>
    </item>
  </channel>
</rss>

