<?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: Problem in calling ABAP Subroutine from SAPSCRIPT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-abap-subroutine-from-sapscript/m-p/1474096#M222477</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did the debugging the routine is returning the proper value, but it is empty when it is shown in SAPSCRIPT. Do I need to Define the Changing variable? if so how do we need to do it? since I did it in the following way but not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/:DEFINE &amp;amp;CAATRT&amp;amp;=''&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Aug 2006 06:32:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-03T06:32:12Z</dc:date>
    <item>
      <title>Problem in calling ABAP Subroutine from SAPSCRIPT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-abap-subroutine-from-sapscript/m-p/1474089#M222470</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 need to get the reason for cancellation of a Business Even in Training &amp;amp; Event Management module, so I am passing Emp_id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the reason(CAAATRT) is returned with blank by the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/:DEFINE &amp;amp;EMP_ID&amp;amp;= &amp;amp;PPVAR-TOBJD&amp;amp;&lt;/P&gt;&lt;P&gt;/:PERFORM HR_REASON_PRINT IN PROGRAM ZHR_REASON_PRINT &lt;/P&gt;&lt;P&gt;/:USING &amp;amp;EMP_ID&amp;amp;&lt;/P&gt;&lt;P&gt;/:CHANGING &amp;amp;CAATRT&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;REPORT  ZHR_REASON_PRINT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF in_par OCCURS 10.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE itcsy.&lt;/P&gt;&lt;P&gt;DATA : END OF in_par.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF out_par OCCURS 0.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE itcsy.&lt;/P&gt;&lt;P&gt;DATA : END OF out_par.&lt;/P&gt;&lt;P&gt;DATA:   TOBJD TYPE PPVAR-TOBJD,&lt;/P&gt;&lt;P&gt;        ADATANR TYPE HRP1001-ADATANR,&lt;/P&gt;&lt;P&gt;        CAATR TYPE HRPAD25-CAATR,&lt;/P&gt;&lt;P&gt;        CAATRT TYPE T77CART-CAATRT,&lt;/P&gt;&lt;P&gt;        EMP_ID TYPE C.&lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;P&gt;TABLES	: PPVAR,&lt;/P&gt;&lt;P&gt;         HRP1001,&lt;/P&gt;&lt;P&gt;         HRPAD25,&lt;/P&gt;&lt;P&gt;         T77CART.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM HR_REASON_PRINT TABLES input output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in_par[] = input[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;out_par[] = output[].&lt;/P&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;&lt;P&gt;READ TABLE in_par INDEX 1.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CHECK sy-subrc = 0.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;TOBJD = in_par-value.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;MOVE in_par-value TO TOBJD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT ADATANR&lt;/P&gt;&lt;P&gt; into ADATANR&lt;/P&gt;&lt;P&gt;FROM HRP1001&lt;/P&gt;&lt;P&gt;WHERE OBJID EQ TOBJD.&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT CAATR&lt;/P&gt;&lt;P&gt; into CAATR&lt;/P&gt;&lt;P&gt;FROM HRPAD25&lt;/P&gt;&lt;P&gt;WHERE ADATANR EQ ADATANR.&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT CAATRT&lt;/P&gt;&lt;P&gt; INTO CAATRT&lt;/P&gt;&lt;P&gt;FROM T77CART&lt;/P&gt;&lt;P&gt;WHERE CAATR EQ CAATR.&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REFRESH out_par.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  out_par-name = 'DREASON'.&lt;/P&gt;&lt;P&gt;  move CAATRT To out_par-value.&lt;/P&gt;&lt;P&gt;  MODIFY out_par INDEX 1.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; APPEND out_par.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  output[] = out_par[].&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;Ramakrishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2006 05:15:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-abap-subroutine-from-sapscript/m-p/1474089#M222470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-03T05:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in calling ABAP Subroutine from SAPSCRIPT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-abap-subroutine-from-sapscript/m-p/1474090#M222471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) I could not see and /&amp;lt;b&amp;gt;: ENDPERFORM&amp;lt;/b&amp;gt; in your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) You form should be like &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;form fixed_text tables inttab structure itcsy &lt;/P&gt;&lt;P&gt;outtab structure itcsy.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modify the name and Value  of the outtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;THomas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2006 05:22:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-abap-subroutine-from-sapscript/m-p/1474090#M222471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-03T05:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in calling ABAP Subroutine from SAPSCRIPT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-abap-subroutine-from-sapscript/m-p/1474091#M222472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi RamaKrishna,&lt;/P&gt;&lt;P&gt;         Can i know the syntax you used for calling the subroutine. Try the below syntax,&lt;/P&gt;&lt;P&gt;        PERFORM    &amp;lt;subr&amp;gt;&lt;/P&gt;&lt;P&gt;        |  &amp;lt;subr&amp;gt;(&amp;lt;prog&amp;gt;) [IF FOUND]&lt;/P&gt;&lt;P&gt;        |(&amp;lt;fsubr&amp;gt;)[IN PROGRAM (&amp;lt;fprog&amp;gt;)][IF FOUND].&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;Prashanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2006 05:26:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-abap-subroutine-from-sapscript/m-p/1474091#M222472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-03T05:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in calling ABAP Subroutine from SAPSCRIPT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-abap-subroutine-from-sapscript/m-p/1474092#M222473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ramakrishna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. while calling subroutines from sapscripts,&lt;/P&gt;&lt;P&gt;there is a special technique,&lt;/P&gt;&lt;P&gt;which has got its own limitations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. &lt;/P&gt;&lt;P&gt;FORM abc&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;in_tab STRUCTURE itcsy&lt;/P&gt;&lt;P&gt;out_tab STRUCTURE itcsy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. The perform in se38 program should be of the&lt;/P&gt;&lt;P&gt;above format only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. We cannot pass internal tables.&lt;/P&gt;&lt;P&gt;5. Rather we need to pass&lt;/P&gt;&lt;P&gt;VARIABLE NAME&lt;/P&gt;&lt;P&gt;VARIABLE VALUE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(see the structure of itcsy in se11)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. In this form, we have to read&lt;/P&gt;&lt;P&gt;the internal table in_tab&lt;/P&gt;&lt;P&gt;to capture the variable name and its value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7. Similary, to return the values,&lt;/P&gt;&lt;P&gt;we have to put one record (for each variable)&lt;/P&gt;&lt;P&gt;in out_tab.&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2006 05:30:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-abap-subroutine-from-sapscript/m-p/1474092#M222473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-03T05:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in calling ABAP Subroutine from SAPSCRIPT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-abap-subroutine-from-sapscript/m-p/1474093#M222474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see ramakrishna ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is no ENDPERFORM in ur code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform &amp;lt;name&amp;gt; in program &amp;lt;prog-name&amp;gt; &lt;/P&gt;&lt;P&gt;using &amp;lt; &amp;gt;&lt;/P&gt;&lt;P&gt;changing &amp;lt;&amp;gt;&lt;/P&gt;&lt;P&gt;ENDPERFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and even check the u have given (/:) for all lines (command)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2006 05:35:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-abap-subroutine-from-sapscript/m-p/1474093#M222474</guid>
      <dc:creator>former_member206396</dc:creator>
      <dc:date>2006-08-03T05:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in calling ABAP Subroutine from SAPSCRIPT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-abap-subroutine-from-sapscript/m-p/1474094#M222475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the immediate reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried all the permutations and combinations in defining the Subroutine, I have even used the format given by Thomas and Amit but still the value(CAATRT) is empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing I forgot to mention is that the program ZHR_REASON_PRINT, I have created as type 'S', does it make any difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2006 05:41:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-abap-subroutine-from-sapscript/m-p/1474094#M222475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-03T05:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in calling ABAP Subroutine from SAPSCRIPT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-abap-subroutine-from-sapscript/m-p/1474095#M222476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. First of all make it a normal program - Executable&lt;/P&gt;&lt;P&gt;  (instead of S)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. then put break-point in your&lt;/P&gt;&lt;P&gt;  subroutine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. then run the layout, and check.&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2006 05:44:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-abap-subroutine-from-sapscript/m-p/1474095#M222476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-03T05:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in calling ABAP Subroutine from SAPSCRIPT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-abap-subroutine-from-sapscript/m-p/1474096#M222477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did the debugging the routine is returning the proper value, but it is empty when it is shown in SAPSCRIPT. Do I need to Define the Changing variable? if so how do we need to do it? since I did it in the following way but not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/:DEFINE &amp;amp;CAATRT&amp;amp;=''&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2006 06:32:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-abap-subroutine-from-sapscript/m-p/1474096#M222477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-03T06:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in calling ABAP Subroutine from SAPSCRIPT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-abap-subroutine-from-sapscript/m-p/1474097#M222478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Do not define in layout again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. just use the variable &amp;amp;CAATRT&amp;amp;&lt;/P&gt;&lt;P&gt;  (provided u have passed it properly&lt;/P&gt;&lt;P&gt;  while calling the subroutine,&lt;/P&gt;&lt;P&gt;  using &amp;amp;CAATRT&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Also make sure,&lt;/P&gt;&lt;P&gt;   in the subroutine, in the abap code program,&lt;/P&gt;&lt;P&gt;   the OUTCSY (output internal table)&lt;/P&gt;&lt;P&gt;  is MODIFY properly,&lt;/P&gt;&lt;P&gt;  (the record for CAATRT should get modified properly)&lt;/P&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;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2006 06:53:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-abap-subroutine-from-sapscript/m-p/1474097#M222478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-03T06:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in calling ABAP Subroutine from SAPSCRIPT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-abap-subroutine-from-sapscript/m-p/1474098#M222479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Few more thinks:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) S type does not matters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Defining the variable is not a problem, In fact it should be defined if NOT in print control program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) In the FORM, as I wrote earlier it should be &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;form fixed_text tables inttab structure itcsy &lt;/P&gt;&lt;P&gt;outtab structure itcsy.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) read table outtab by index or by with key  NAME =  'OUT_FIELD' index  to get value. Modify this table VALUE with key NAME 'OUT_FIELD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And at the ENDFORM see the values are there in outtab. if so it will pass back to the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Thomas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2006 07:08:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-calling-abap-subroutine-from-sapscript/m-p/1474098#M222479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-03T07:08:40Z</dc:date>
    </item>
  </channel>
</rss>

