<?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 How does Write_Form work? How to sent the value to SAP Script Variable in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-does-write-form-work-how-to-sent-the-value-to-sap-script-variable/m-p/10165777#M1821689</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello guys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use Write_Form in a report. But I am not understanding how it works. But the problem is that It doesn't show me anything in SAP Script!! In the Write_Form I can't give the Variable name that I use in SAP Script, I am giving just the Element, the WIndow and the Type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How does the Write Form, give the value of the variable &amp;amp;NOTE&amp;amp; in SAP Script? I created an variable DATA: Note TYPE string, in the report, and I fill it before the Write_Form, but in the end in SAP Script, it isn't showing me the Value!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody have any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.s. please don't sent me the links with that shows me OPEN_FORM, WRITE_FORM, CLOSE_FORM, START_FORM, etc etc.... I have read them, and I am using them but the problem is I can't figure it out, how the value is passed to SAP Script when I don't give the variable name!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Mar 2014 13:29:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-03-18T13:29:33Z</dc:date>
    <item>
      <title>How does Write_Form work? How to sent the value to SAP Script Variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-does-write-form-work-how-to-sent-the-value-to-sap-script-variable/m-p/10165777#M1821689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello guys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use Write_Form in a report. But I am not understanding how it works. But the problem is that It doesn't show me anything in SAP Script!! In the Write_Form I can't give the Variable name that I use in SAP Script, I am giving just the Element, the WIndow and the Type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How does the Write Form, give the value of the variable &amp;amp;NOTE&amp;amp; in SAP Script? I created an variable DATA: Note TYPE string, in the report, and I fill it before the Write_Form, but in the end in SAP Script, it isn't showing me the Value!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody have any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.s. please don't sent me the links with that shows me OPEN_FORM, WRITE_FORM, CLOSE_FORM, START_FORM, etc etc.... I have read them, and I am using them but the problem is I can't figure it out, how the value is passed to SAP Script when I don't give the variable name!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 13:29:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-does-write-form-work-how-to-sent-the-value-to-sap-script-variable/m-p/10165777#M1821689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-18T13:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: How does Write_Form work? How to sent the value to SAP Script Variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-does-write-form-work-how-to-sent-the-value-to-sap-script-variable/m-p/10165778#M1821690</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;I'm not sure if and how SapScript processes strings - see if you get some output with data: note(255) type c... &lt;A href="https://help.sap.com/saphelp_erp60_sp/helpdata/en/d1/8033c3454211d189710000e8322d00/content.htm?frameset=/en/d1/802e77454211d189710000e8322d00/frameset.htm"&gt;The value of a program symbol is limited up to a maximum of 255 characters&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Janis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 17:06:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-does-write-form-work-how-to-sent-the-value-to-sap-script-variable/m-p/10165778#M1821690</guid>
      <dc:creator>Private_Member_7726</dc:creator>
      <dc:date>2014-03-18T17:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: How does Write_Form work? How to sent the value to SAP Script Variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-does-write-form-work-how-to-sent-the-value-to-sap-script-variable/m-p/10165779#M1821691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your print program (the program where you call the write_form), all variables that are defined are passed to the sapscript program.&amp;nbsp; They are however passed as their text equivalent.&amp;nbsp; They have the value that the had at the moment that you called write_form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 17:24:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-does-write-form-work-how-to-sent-the-value-to-sap-script-variable/m-p/10165779#M1821691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-18T17:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: How does Write_Form work? How to sent the value to SAP Script Variable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-does-write-form-work-how-to-sent-the-value-to-sap-script-variable/m-p/10165780#M1821692</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;From the SAP online help; "At runtime of the print program, SAPscript can automatically access data that is defined in the controlling program. Technically speaking: SAPscript retrieves the values directly from the data fields of this program".&amp;nbsp; So, the variables are not passed to the form, the form more accurately fetches them from the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if your variable is not appearing on your form output there must be some other problem, Janis' suggestion would be a good place to start.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To verify if the SAPscript will find the variable it can be inserted into the text element using the menu option Goto -&amp;gt; Print Program -&amp;gt; Symbol definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 17:30:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-does-write-form-work-how-to-sent-the-value-to-sap-script-variable/m-p/10165780#M1821692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-03-18T17:30:10Z</dc:date>
    </item>
  </channel>
</rss>

