<?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: Call transaction using bdcdata options from ctu_params in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdcdata-options-from-ctu-params/m-p/940469#M63092</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Vinod, Judith, Barjinder, Surpreet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems that the transaction I'm calling doesn't call another transaction yet another screen. Exiting this invokes an exit-command. Leaving the transaction and returning to my program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To solve it I will probably have to re-write a lot of SAP Standard code, which I will discuss with my client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all for thinking along, deserving points which I'll reward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoping to be able to make use of your knowledge again, the next time I am stuck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, B E R T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Sep 2005 10:04:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-09-01T10:04:04Z</dc:date>
    <item>
      <title>Call transaction using bdcdata options from ctu_params</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdcdata-options-from-ctu-params/m-p/940462#M63085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm calling a transaction from my program, using bdc to fill the selection screen. This works beautifully, however...&lt;/P&gt;&lt;P&gt;The transaction lets a user call another transaction. When returning from that transaction the user is sent back to my program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I let a user return to my called transaction in stead of returning to my program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be very appreciated, yours,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B E R T&lt;/P&gt;&lt;P&gt;PS. The transaction I'm calling is not linked to a type 1 program. So SUBMIT doesn't work here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2005 05:45:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdcdata-options-from-ctu-params/m-p/940462#M63085</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-31T05:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction using bdcdata options from ctu_params</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdcdata-options-from-ctu-params/m-p/940463#M63086</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;What command (e.g. LEAVE PROGRAM) are you using to exit from the second transaction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2005 05:54:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdcdata-options-from-ctu-params/m-p/940463#M63086</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-08-31T05:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction using bdcdata options from ctu_params</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdcdata-options-from-ctu-params/m-p/940464#M63087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The transaction I'm calling is a standard SAP transaction (mir6). I quick peek in the source gives &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SET SCREEN 0. LEAVE SCREEN.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; at the exit-command of the second screen. During my investigation a found out that the second transaction might also be another screen that is called. &lt;/P&gt;&lt;P&gt;Am I in more trouble now? Or can this still be fixed with the right setting of ctu_params?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, B E R T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2005 06:24:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdcdata-options-from-ctu-params/m-p/940464#M63087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-31T06:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction using bdcdata options from ctu_params</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdcdata-options-from-ctu-params/m-p/940465#M63088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Declare a messtab
DATA: i_bdcdata TYPE STANDARD TABLE OF bdcdata,
* Internal table to hold BDC messages
i_messtab TYPE STANDARD TABLE OF bdcmsgcoll

* Work area to hold bdcdata value
DATA: w_bdcdata TYPE bdcdata,
* Work area to hold BDC messages
w_messtab TYPE bdcmsgcoll.
CONSTANTS : c_e type bdcmsgcoll-msgtyp value 'E', "E
c_a type bdcmsgcoll-msgtyp value 'A', "A
nodata type c value '/'. "/

call transaction c_transaction_call_MM03 using i_bdcdata MODE 'E'MESSAGES INTO i_messtab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While u press back it will automatically return to the place where u called the transcaton.&lt;/P&gt;&lt;P&gt;Eg. if u r calling form an ALV grid it will return back to the grid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2005 06:26:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdcdata-options-from-ctu-params/m-p/940465#M63088</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-31T06:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction using bdcdata options from ctu_params</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdcdata-options-from-ctu-params/m-p/940466#M63089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it is due to the command "SET SCREEN 0. LEAVE SCREEN.". The SAP help says "If the next screen has the number 0, processing in CALL mode continues after the CALL SCREEN statement". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you to check what is happening in the first transaction when you exit from the second transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also what I think is because you are using a BDC to call a transaction it will come back to the called program when you exit from the second transaction. This is because BDC take both the transactions as a single session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Vinod C&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2005 06:43:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdcdata-options-from-ctu-params/m-p/940466#M63089</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-08-31T06:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction using bdcdata options from ctu_params</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdcdata-options-from-ctu-params/m-p/940467#M63090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Just a thought man, &lt;/P&gt;&lt;P&gt; You are saying:&lt;/P&gt;&lt;P&gt;How can I let a user return to my called transaction in stead of returning to my program?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; Your called transaction must be having some screen and a screen will have a screen number why don't you call the screen number when you come back. The syntex is: &lt;/P&gt;&lt;P&gt; call screen 'XXXX'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may need to use Flags for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2005 07:10:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdcdata-options-from-ctu-params/m-p/940467#M63090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-31T07:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction using bdcdata options from ctu_params</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdcdata-options-from-ctu-params/m-p/940468#M63091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.......... AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2005 07:54:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdcdata-options-from-ctu-params/m-p/940468#M63091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-31T07:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: Call transaction using bdcdata options from ctu_params</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdcdata-options-from-ctu-params/m-p/940469#M63092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Vinod, Judith, Barjinder, Surpreet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems that the transaction I'm calling doesn't call another transaction yet another screen. Exiting this invokes an exit-command. Leaving the transaction and returning to my program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To solve it I will probably have to re-write a lot of SAP Standard code, which I will discuss with my client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you all for thinking along, deserving points which I'll reward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoping to be able to make use of your knowledge again, the next time I am stuck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, B E R T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2005 10:04:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction-using-bdcdata-options-from-ctu-params/m-p/940469#M63092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-01T10:04:04Z</dc:date>
    </item>
  </channel>
</rss>

