<?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: Reg: Calling an ecatt script in R/3 function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-calling-an-ecatt-script-in-r-3-function-module/m-p/2785740#M649449</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, the above method was very useful for executing a script with default values. But if I have to pass a single parameter to my script, which will change during every run, is there any way to do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Mar 2010 11:30:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-18T11:30:31Z</dc:date>
    <item>
      <title>Reg: Calling an ecatt script in R/3 function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-calling-an-ecatt-script-in-r-3-function-module/m-p/2785736#M649445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Freinds&lt;/P&gt;&lt;P&gt;Can Anyone of you tell me if an ecatt script can be called inside an r/3 function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if yes, please explaion me how it can be done.&lt;/P&gt;&lt;P&gt;If you have any example code it will be quite useful for me.&lt;/P&gt;&lt;P&gt;Points will be rewarded for suitable answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Warm Regards&lt;/P&gt;&lt;P&gt;Ravishankar Vembu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2007 07:50:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-calling-an-ecatt-script-in-r-3-function-module/m-p/2785736#M649445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-30T07:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Calling an ecatt script in R/3 function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-calling-an-ecatt-script-in-r-3-function-module/m-p/2785737#M649446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ravishankar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function group ECATT_EXECUTE contains the RFC-enabled function module &amp;lt;b&amp;gt;ECATT_EXECUTE&amp;lt;/b&amp;gt; which should allow you to execute eCATT scripts.&lt;/P&gt;&lt;P&gt;I believe it should be not too difficult to find out how to execute this function module properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2007 07:57:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-calling-an-ecatt-script-in-r-3-function-module/m-p/2785737#M649446</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-08-30T07:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Calling an ecatt script in R/3 function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-calling-an-ecatt-script-in-r-3-function-module/m-p/2785738#M649447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravishankar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes you can call it but there's no standard way defined.&lt;/P&gt;&lt;P&gt;I am suggesting a workaround to this. What you can do is make a BDC recording for the execution of your ECATT script from SECATT transaction and then &lt;/P&gt;&lt;P&gt;using 'Call Trasaction'  in the function module call the BDC program to execute the script in function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This I belive would do the purpose.&lt;/P&gt;&lt;P&gt;Hope this helps and revert for more clarifications if any. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OFcourse the above mentioned function module ECATT_EXECUTE  would be useful in this case .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Always reward points for useful suggestions.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;null&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2007 08:26:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-calling-an-ecatt-script-in-r-3-function-module/m-p/2785738#M649447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-30T08:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Calling an ecatt script in R/3 function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-calling-an-ecatt-script-in-r-3-function-module/m-p/2785739#M649448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ravishankar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following sample report &amp;lt;b&amp;gt;ZUS_SDN_ECATT_EXECUTE&amp;lt;/b&amp;gt; shows how to execute an eCATT testcript using its default parameter values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Report  ZUS_SDN_ECATT_EXECUTE
*&amp;amp;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;
*&amp;amp;
*&amp;amp;---------------------------------------------------------------------*

REPORT  ZUS_SDN_ECATT_EXECUTE.



data:
  gt_execute    type ETEXE_OBJ_TABTYPE,
  gs_execute    type etexe_obj.



start-of-selection.

  gs_execute-start_lnr = '1'.
  gs_execute-obj_lnr   = '1'.
  gs_execute-obj_type  = 'ECSC'.  " test script
  gs_execute-obj_name  = '&amp;lt;name of your testscript&amp;gt;'.
  gs_execute-obj_ver   = '1'.
  gs_execute-sysdata   = '&amp;lt;name of system data container&amp;gt;'.
  gs_execute-testsystem = '&amp;lt;test system&amp;gt;'.
  append gs_execute to gt_execute.

  CALL FUNCTION 'ECATT_EXECUTE'
    EXPORTING
      TO_EXECUTE                       = gt_execute
      DISPLAY_LOG                      = 'X'
*     LOG_TXT                          = ' '
*     DISPLAY_START_POPUP              = ' '
*     START_PROFIL                     =
*     START_PROFIL_X                   =
*     WBMANAGER_ACTIVE                 = ' '
*     EXIT_STATUS_UPDATE               = ' '
*     HTTP_TRANSID                     = ' '
*     I_SUPRESS_OUTPUT                 = ' '
*     IT_VAR_TO_EXEC                   =
*     I_PAR_VAR_DISPLAYED              =
*     IT_VAR_EXT                       =
*     IT_CALLER                        =
*     IS_TZEXECDATA                    =
*   IMPORTING
*     EXECUTED                         =
*     LOGID                            =
*     LOG_DISPLAYED                    =
*     TRACE_PROT                       =
*     E_RESULT_XML                     =
*     ET_RESULT_XML_ERR_MESSAGES       =
    EXCEPTIONS
      NOTHING_TO_DO                    = 1
      TOO_MANY_SCRIPTS_CALLED          = 2
      OTHERS                           = 3.
  IF SY-SUBRC &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.


end-of-selection.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2007 14:59:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-calling-an-ecatt-script-in-r-3-function-module/m-p/2785739#M649448</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-08-30T14:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Calling an ecatt script in R/3 function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-calling-an-ecatt-script-in-r-3-function-module/m-p/2785740#M649449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, the above method was very useful for executing a script with default values. But if I have to pass a single parameter to my script, which will change during every run, is there any way to do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Mar 2010 11:30:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-calling-an-ecatt-script-in-r-3-function-module/m-p/2785740#M649449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-18T11:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Reg: Calling an ecatt script in R/3 function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-calling-an-ecatt-script-in-r-3-function-module/m-p/2785741#M649450</link>
      <description>&lt;P&gt;There is another option. Secatt can run in SHDB. so, create an SHDB to start Test Configuration.&lt;/P&gt;&lt;P&gt;In SapGui processing, this can be done in foreground, so it is perfect&lt;/P&gt;&lt;P&gt;The result can be found by other way , debuging where log is.&lt;/P&gt;&lt;P&gt;Att.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 19:51:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-calling-an-ecatt-script-in-r-3-function-module/m-p/2785741#M649450</guid>
      <dc:creator>raphaelbertani</dc:creator>
      <dc:date>2019-09-11T19:51:04Z</dc:date>
    </item>
  </channel>
</rss>

