<?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 issue in script in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-script/m-p/2160229#M456872</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;have 1 issue in script&lt;/P&gt;&lt;P&gt;i have the code in my script:&lt;/P&gt;&lt;P&gt;/:   PERFORM F_SO_DATA IN PROGRAM ZZZFR0021F USING &amp;amp;P_BUKRS&amp;amp;      &lt;/P&gt;&lt;P&gt;/:   CHANGING &amp;amp;L_VAR&amp;amp;                                             &lt;/P&gt;&lt;P&gt;/:   ENDPERFORM                 &lt;/P&gt;&lt;P&gt;and then in the prog........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form F_SO_DATA tables intab structure itcsy&lt;/P&gt;&lt;P&gt;                  outtab structure itcsy.&lt;/P&gt;&lt;P&gt;data: l_var like adrc-addrnumber,&lt;/P&gt;&lt;P&gt;      bukrs like t001-bukrs.&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;      land1 like t001-land1,&lt;/P&gt;&lt;P&gt;      adrnr like adrc-addrnumber,&lt;/P&gt;&lt;P&gt;      name1 like adrc-name1,&lt;/P&gt;&lt;P&gt;      end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     read table intab with key name = P_BUKRS.     &lt;/P&gt;&lt;P&gt;     if sy-subrc eq 0.     &lt;/P&gt;&lt;P&gt;      bukrs = intab-value.&lt;/P&gt;&lt;P&gt;                                  &lt;/P&gt;&lt;P&gt;while debugging, strangely the control is not getting in to the subroutine.&lt;/P&gt;&lt;P&gt;i'm running the script from the sel-screen and  i'm able to see the value entered in parameter p_bukrs in the script...Plz let me know friends where i'm going wrong.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Apr 2007 06:52:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-20T06:52:53Z</dc:date>
    <item>
      <title>issue in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-script/m-p/2160229#M456872</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;have 1 issue in script&lt;/P&gt;&lt;P&gt;i have the code in my script:&lt;/P&gt;&lt;P&gt;/:   PERFORM F_SO_DATA IN PROGRAM ZZZFR0021F USING &amp;amp;P_BUKRS&amp;amp;      &lt;/P&gt;&lt;P&gt;/:   CHANGING &amp;amp;L_VAR&amp;amp;                                             &lt;/P&gt;&lt;P&gt;/:   ENDPERFORM                 &lt;/P&gt;&lt;P&gt;and then in the prog........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form F_SO_DATA tables intab structure itcsy&lt;/P&gt;&lt;P&gt;                  outtab structure itcsy.&lt;/P&gt;&lt;P&gt;data: l_var like adrc-addrnumber,&lt;/P&gt;&lt;P&gt;      bukrs like t001-bukrs.&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;      land1 like t001-land1,&lt;/P&gt;&lt;P&gt;      adrnr like adrc-addrnumber,&lt;/P&gt;&lt;P&gt;      name1 like adrc-name1,&lt;/P&gt;&lt;P&gt;      end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     read table intab with key name = P_BUKRS.     &lt;/P&gt;&lt;P&gt;     if sy-subrc eq 0.     &lt;/P&gt;&lt;P&gt;      bukrs = intab-value.&lt;/P&gt;&lt;P&gt;                                  &lt;/P&gt;&lt;P&gt;while debugging, strangely the control is not getting in to the subroutine.&lt;/P&gt;&lt;P&gt;i'm running the script from the sel-screen and  i'm able to see the value entered in parameter p_bukrs in the script...Plz let me know friends where i'm going wrong.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2007 06:52:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-script/m-p/2160229#M456872</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-20T06:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: issue in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-script/m-p/2160230#M456873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The Subroutine must be defined exactly similar to what is being used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM F_SO_DATA IN PROGRAM ZZZFR0021F USING &amp;amp;P_BUKRS&amp;amp; &lt;/P&gt;&lt;P&gt;CHANGING &amp;amp;L_VAR&amp;amp; &lt;/P&gt;&lt;P&gt;U r using in Perform one Using variable and Changing variable.&lt;/P&gt;&lt;P&gt;But in the subroutine definition&lt;/P&gt;&lt;P&gt;form F_SO_DATA tables intab structure itcsy.&lt;/P&gt;&lt;P&gt;No Using and Changing Parameters have been used.&lt;/P&gt;&lt;P&gt;This might be causing problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2007 06:57:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-script/m-p/2160230#M456873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-20T06:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: issue in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-script/m-p/2160231#M456874</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;check the form name in script and the program whethere they are equal or not !!.. and also check the program name in the PERFORM statement !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Heay .. &amp;lt;u&amp;gt;&amp;lt;u&amp;gt;USING should also be in a new line !! this may be the problem&amp;lt;/u&amp;gt;...&lt;/P&gt;&lt;P&gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;/: PERFORM F_SO_DATA IN PROGRAM ZZZFR0021F &lt;/P&gt;&lt;P&gt;/: USING &amp;amp;P_BUKRS&amp;amp;&lt;/P&gt;&lt;P&gt;/: CHANGING &amp;amp;L_VAR&amp;amp;&lt;/P&gt;&lt;P&gt;/: ENDPERFORM &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward all helpful answers,&lt;/P&gt;&lt;P&gt;sai ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2007 07:08:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-script/m-p/2160231#M456874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-20T07:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: issue in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-script/m-p/2160232#M456875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Activate the program ZZZFR0021F.&lt;/P&gt;&lt;P&gt;Activate the debugger of the script from SE71 Menu Utilities -&amp;gt; activate debugger&lt;/P&gt;&lt;P&gt;then execute the program , it will stop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the code change like this:&lt;/P&gt;&lt;P&gt;read table intab with &amp;lt;b&amp;gt;key 'P_BUKRS'&amp;lt;/b&amp;gt;. &lt;/P&gt;&lt;P&gt;if sy-subrc eq 0. &lt;/P&gt;&lt;P&gt;bukrs = intab-value.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if useful&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2007 07:09:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-script/m-p/2160232#M456875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-20T07:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: issue in script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-script/m-p/2160233#M456876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok your interface is correct.&lt;/P&gt;&lt;P&gt;I think it´s either a activation problem, something still not activated, or you may not have started the transaction new in which you test it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT there might be another problem. your form might get printed in update task.&lt;/P&gt;&lt;P&gt;In this case not even System debugging and update task debugging wont help you much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best way to come around this, if that is the problem, is to go to TA MB90 and maually process the communication type again.&lt;/P&gt;&lt;P&gt;This again wont be done in update task, what means you can now debug either the form or the subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2007 07:24:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-script/m-p/2160233#M456876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-20T07:24:49Z</dc:date>
    </item>
  </channel>
</rss>

