<?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: Chaining TCD and SAPGUI Scripts in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/chaining-tcd-and-sapgui-scripts/m-p/6513619#M1423988</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dimce,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, you hit some system-constraints ;o)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general it is not possible to mix SAPGUI- and TCD-Command in one SAP-Transaction &lt;/P&gt;&lt;P&gt;because of the technical differences between both commands. The TCD-Command has no &lt;/P&gt;&lt;P&gt;technical possibility to use a SAPGUI-Session and the SAPGUI-Command has no &lt;/P&gt;&lt;P&gt;chance to use a TCD-Session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to automate transactions with both commands, so make sure that every command block &lt;/P&gt;&lt;P&gt;(SAPGUI or TCD) has a regular start and end (=&amp;gt; SAVE-Button). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example for your case:&lt;/P&gt;&lt;P&gt;- Create Header data in VA41 with SAPGUI.&lt;/P&gt;&lt;P&gt;- Add/change some data with TCD:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Start transaction VA42&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;make your changes (add position, ...)&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;save contract&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMHO you are more flexible if you automate this completely with SAPGUI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jan 2010 12:33:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-11T12:33:07Z</dc:date>
    <item>
      <title>Chaining TCD and SAPGUI Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/chaining-tcd-and-sapgui-scripts/m-p/6513616#M1423985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if it's possible to "mix" a TCD and SAPGUI Scripts by chaining? I would like to record one part of the transaction using SAPGUI, and then TCD. I would call the TCD-Script by REF. I'm not sure if the TCD can run in the same session as the SAPGUI, since the SAPGUI is creating the record, without being saved, and then will be called the TCD-Script, working on the same record, previously created by SAPGUI-Script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Dimce&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2010 14:36:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/chaining-tcd-and-sapgui-scripts/m-p/6513616#M1423985</guid>
      <dc:creator>tumbov_dimce</dc:creator>
      <dc:date>2010-01-08T14:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: Chaining TCD and SAPGUI Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/chaining-tcd-and-sapgui-scripts/m-p/6513617#M1423986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In general it is possible to chain these command types. You should separate the parts by modul scripts:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Script Test_ERP:
...
REF (ZMM01_BY_TCD)
* pass here the data via parameters (export -&amp;gt; local -&amp;gt; import)
REF (ZVA01_BY_SAPGUI)
...
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Between these scripts you can share test data by parameters. So MM01 can create a material with material number which can be passed to VA01 by parameter usage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure, that TCD and SAPGUI session will be the same in the target system, because technically they are working different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Christoph&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Jan 2010 09:05:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/chaining-tcd-and-sapgui-scripts/m-p/6513617#M1423986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-09T09:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Chaining TCD and SAPGUI Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/chaining-tcd-and-sapgui-scripts/m-p/6513618#M1423987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christoph,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Want I want to achieve is to switch between SAPGUI and TCD in the same transaction. For example, the header data of the contract creation in VA41 using SAPGUI and the position data using the TCD. In order to achieve this, I recorded a TCD eCATT, from the start point in VA42 calling the contract with a specific number, and then entering some stuff in the position. After finishing the recording of TCD, I've entered into the generated TCD-interface and deleted the lines which I don't need (for example calling a conctract number). But, after calling the TCD-eCATT using REF, the TCD-eCATT starts playing from the very beginning of the recording, not considering the manually deleted lines by myself from the TCD-interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think, I'm hitting some system-constraints related to interference of these different eCATT-interfaces, am I?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Dimce&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2010 11:17:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/chaining-tcd-and-sapgui-scripts/m-p/6513618#M1423987</guid>
      <dc:creator>tumbov_dimce</dc:creator>
      <dc:date>2010-01-11T11:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: Chaining TCD and SAPGUI Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/chaining-tcd-and-sapgui-scripts/m-p/6513619#M1423988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dimce,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, you hit some system-constraints ;o)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general it is not possible to mix SAPGUI- and TCD-Command in one SAP-Transaction &lt;/P&gt;&lt;P&gt;because of the technical differences between both commands. The TCD-Command has no &lt;/P&gt;&lt;P&gt;technical possibility to use a SAPGUI-Session and the SAPGUI-Command has no &lt;/P&gt;&lt;P&gt;chance to use a TCD-Session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to automate transactions with both commands, so make sure that every command block &lt;/P&gt;&lt;P&gt;(SAPGUI or TCD) has a regular start and end (=&amp;gt; SAVE-Button). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example for your case:&lt;/P&gt;&lt;P&gt;- Create Header data in VA41 with SAPGUI.&lt;/P&gt;&lt;P&gt;- Add/change some data with TCD:&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Start transaction VA42&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;make your changes (add position, ...)&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;save contract&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMHO you are more flexible if you automate this completely with SAPGUI. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2010 12:33:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/chaining-tcd-and-sapgui-scripts/m-p/6513619#M1423988</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-11T12:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Chaining TCD and SAPGUI Scripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/chaining-tcd-and-sapgui-scripts/m-p/6513620#M1423989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sebastian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanky ou for your comprehensive response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That was I afraid of.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted actually to achieve a granularity and performance benefit with one stuck. Encapsulation-to have the repeatably actions in one script, and performance benefit-because of the powerful TCD-execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Implementing your workaround unfortunately is not acceptable for me, because of the long runinng SAVE-process (about 5-10 sec.) in VA41. This time frame has a significant importance of the whole process, because we are migrating some 20.000 contracts with an average execution of 1-1,5 min.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But anyhow, now I'm aware of it, what eCATT can, and what he can not do. I've outsorced my code in the SAPGUI script instead of a TCD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Dimce&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2010 18:55:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/chaining-tcd-and-sapgui-scripts/m-p/6513620#M1423989</guid>
      <dc:creator>tumbov_dimce</dc:creator>
      <dc:date>2010-01-11T18:55:50Z</dc:date>
    </item>
  </channel>
</rss>

