<?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 how can i give two tcode in same program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-give-two-tcode-in-same-program/m-p/5158434#M1194940</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;How can I give two tcode to the same program in which two conditions call in that two t codes&lt;/P&gt;&lt;P&gt; how can I do so please help me for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ketan &lt;/P&gt;&lt;P&gt;ABAP consultant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Feb 2009 09:08:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-16T09:08:09Z</dc:date>
    <item>
      <title>how can i give two tcode in same program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-give-two-tcode-in-same-program/m-p/5158434#M1194940</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;How can I give two tcode to the same program in which two conditions call in that two t codes&lt;/P&gt;&lt;P&gt; how can I do so please help me for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ketan &lt;/P&gt;&lt;P&gt;ABAP consultant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2009 09:08:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-give-two-tcode-in-same-program/m-p/5158434#M1194940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-16T09:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: how can i give two tcode in same program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-give-two-tcode-in-same-program/m-p/5158435#M1194941</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;In your case, if the calling of the two transactions is mutually exclusive,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF
call transaction 'A'.
else.
Call transaction 'B'.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else,&lt;/P&gt;&lt;P&gt;if you need to call the transactions one after the other,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;.
.
.
.
.
CALL TRANSACTION 'A'.
.
.
.
.
CALL TRANSACTION 'B'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sharath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2009 09:11:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-give-two-tcode-in-same-program/m-p/5158435#M1194941</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-16T09:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: how can i give two tcode in same program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-give-two-tcode-in-same-program/m-p/5158436#M1194942</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;You can create two t codes a prgram through SE93 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in your program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report ztest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-tocde eq 'ZXYZ1'.&lt;/P&gt;&lt;P&gt;include ztest1.&lt;/P&gt;&lt;P&gt;elseif sy-tcode eq 'ZXYZ2'.&lt;/P&gt;&lt;P&gt;include ztest2.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in these includes create your seelction screens and do whatever u want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can use the same selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkatesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2009 09:11:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-give-two-tcode-in-same-program/m-p/5158436#M1194942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-16T09:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: how can i give two tcode in same program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-give-two-tcode-in-same-program/m-p/5158437#M1194943</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;YOU CAN GO WITH THE TESTED CODE LIKE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: P_NUM TYPE I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF P_NUM = 1.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  CALL TRANSACTION 'SE11'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  CALL TRANSACTION 'SE37'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2009 09:22:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-give-two-tcode-in-same-program/m-p/5158437#M1194943</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-16T09:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: how can i give two tcode in same program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-give-two-tcode-in-same-program/m-p/5158438#M1194944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IF CONDITION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'TCODE1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'TCODE2'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&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;Joan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2009 09:59:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-i-give-two-tcode-in-same-program/m-p/5158438#M1194944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-16T09:59:11Z</dc:date>
    </item>
  </channel>
</rss>

