<?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: To add fields to std script form in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-add-fields-to-std-script-form/m-p/3323116#M796004</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;x = INPUT-VALUE .&lt;/P&gt;&lt;P&gt;before this statement u need to read the input table otherwise in debug u can check input-value will be null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Madhavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Feb 2008 11:34:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-05T11:34:27Z</dc:date>
    <item>
      <title>To add fields to std script form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-add-fields-to-std-script-form/m-p/3323115#M796003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using ITCSy structure , when i try to add fields its not picking up the data .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please can any body help in this ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if any body have any sample program please send it to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here my requirement is to add two new fields (bkpf-bktxt,bseg-sgtxt) in main window of script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;im declaring my perform like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform &amp;lt;formname&amp;gt;  in program &amp;lt;prog name&amp;gt;&lt;/P&gt;&lt;P&gt;using  &amp;amp;bsik-blnr&amp;amp;&lt;/P&gt;&lt;P&gt;changing &amp;amp;v_y&amp;amp;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my report form look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Report  ZFI_VENDOR&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZFI_VENDOR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES : bsik,bkpf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:v_y type bkpf-bktxt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   v_z  type bseg-sgtxt,&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     x(20) type c .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Form Z_HEADER tables INPUT    STRUCTURE ITCSY&lt;/P&gt;&lt;P&gt;              tables  OUTPUT STRUCTURE ITCSY .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              break-point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR : v_y,&lt;/P&gt;&lt;P&gt;          x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at input WHERE NAME = 'BELNR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  x = INPUT-VALUE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select single bktxt from bkpf into v_y where belnr = x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; select single sgtxt from bseg into v_z where belnr = x.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;output-name = 'bktxt'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;output-value = v_y.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*output-name = 'sgtxt'.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*output-value = v_z.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*append output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please cany body can guide me in abvoe what is problem...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its very urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good solutions will get good reward points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vamsi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 11:30:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-add-fields-to-std-script-form/m-p/3323115#M796003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-05T11:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: To add fields to std script form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-add-fields-to-std-script-form/m-p/3323116#M796004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;x = INPUT-VALUE .&lt;/P&gt;&lt;P&gt;before this statement u need to read the input table otherwise in debug u can check input-value will be null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Madhavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 11:34:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-add-fields-to-std-script-form/m-p/3323116#M796004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-05T11:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: To add fields to std script form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-add-fields-to-std-script-form/m-p/3323117#M796005</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 dont have any sample code with me, but i can suggest you the tips. &lt;/P&gt;&lt;P&gt;1.In your code there was no END PERFORM statement, it should be there. It won't give any syntax error in the script. The control goes into the program once the control reached to END PERFORM in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.And do not append values to your output table, as your output table has the entries(If our perform statement contains 2 changing parameters then the output table has already 3 entries), you just modify the value in the output table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.And you said you want to add 2 new fields based on one field, then your perform statement should be 2 changing parameters and one using parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Do not use small letters in the ' ' like (output-name = 'bktxt'), use always capital letters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Bujji&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Bujji on Feb 5, 2008 12:42 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 11:40:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-add-fields-to-std-script-form/m-p/3323117#M796005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-05T11:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: To add fields to std script form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-add-fields-to-std-script-form/m-p/3323118#M796006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can u give clear idea with any example..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 12:56:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-add-fields-to-std-script-form/m-p/3323118#M796006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-05T12:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: To add fields to std script form</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/to-add-fields-to-std-script-form/m-p/3323119#M796007</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;  Refer to this link for clear idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/9f/db977635c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/9f/db977635c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Veeresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2008 13:03:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/to-add-fields-to-std-script-form/m-p/3323119#M796007</guid>
      <dc:creator>former_member673464</dc:creator>
      <dc:date>2008-02-05T13:03:51Z</dc:date>
    </item>
  </channel>
</rss>

