<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2259931#M489771</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt; No it is not possible open the called transaction in a new session&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;kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 May 2007 07:40:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-21T07:40:53Z</dc:date>
    <item>
      <title>call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2259927#M489767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is it possible to use call transaction statement and open the called transaction in a new session?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 07:10:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2259927#M489767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T07:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2259928#M489768</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 use the call statement like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION tcod. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additions: &lt;/P&gt;&lt;P&gt;1. ... AND SKIP FIRST SCREEN &lt;/P&gt;&lt;P&gt;2. ... USING itab &lt;/P&gt;&lt;P&gt;2a. ... OPTIONS FROM opt &lt;/P&gt;&lt;P&gt;2b. ... MODE mode &lt;/P&gt;&lt;P&gt;2c. ... UPDATE f &lt;/P&gt;&lt;P&gt;2d. ... MESSAGES INTO itab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In an ABAP Objects context, a more severe syntax check is performed that in other ABAP areas. See Incorrect transaction call. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Calls the transaction tcod; you can specify tcod either as a literal or a variable. The called transaction ends and control returns to the point from which it was called when the LEAVE PROGRAM statement is reached. You can only use one of the two additions in each statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes &lt;/P&gt;&lt;P&gt;Please consult Data Area and Modularization Unit Organization documentation as well. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use a namespace prefix with transactions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'SP01'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 1 &lt;/P&gt;&lt;P&gt;... AND SKIP FIRST SCREEN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Skips the initial screen of the transaction (as long as all of its required fields can be filled using the SPA/GPA mechanism. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 2 &lt;/P&gt;&lt;P&gt;... USING itab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Calls transaction tcod and passes the internal table itab to it. itab contains one or more screens in batch input format. &lt;/P&gt;&lt;P&gt;If the transaction sends a message, it is placed in the fields SY-MSGID, SY-MSGTY, SY-MSGNO, SY-MSGV1, ..., SY-MSGV4. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The return code is set as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-SUBRC = 0: &lt;/P&gt;&lt;P&gt;Processing successful. &lt;/P&gt;&lt;P&gt;SY-SUBRC &amp;lt;&amp;gt; 0: &lt;/P&gt;&lt;P&gt;An error occurred and the transaction terminated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes &lt;/P&gt;&lt;P&gt;A called transaction ends successfully in the following circumstances: &lt;/P&gt;&lt;P&gt;1. COMMIT WORK &lt;/P&gt;&lt;P&gt;2. Next screen = 0 &lt;/P&gt;&lt;P&gt;3. LEAVE TO TRANSACTION SPACE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot use either MODE or UPDATE with the OPTIONS FROM addition. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 2a &lt;/P&gt;&lt;P&gt;... OPTIONS FROM opt &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Allows you to control processing using the values of the componetns of the structure opt, which must have the ABAP Dictionary type CTU_PARAMS. The components have the following meanings: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DISMODE&lt;/P&gt;&lt;P&gt;Display mode (like the MODE addition) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDMODE&lt;/P&gt;&lt;P&gt;Update mode (like the UPDATE addition) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CATTMODE&lt;/P&gt;&lt;P&gt;CATT mode (controls a CATT) &lt;/P&gt;&lt;P&gt;CATT mode can have the following values: &lt;/P&gt;&lt;P&gt;' ' No CATT active &lt;/P&gt;&lt;P&gt;'N' CATT without single-screen control &lt;/P&gt;&lt;P&gt;'A' CATT with single-screen control &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DEFSIZE&lt;/P&gt;&lt;P&gt;Use default window size &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RACOMMIT&lt;/P&gt;&lt;P&gt;Do not end transaction at COMMIT WORK &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOBINPT&lt;/P&gt;&lt;P&gt;No batch input mode (that is, SY-BINPT = SPACE) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOBIEND&lt;/P&gt;&lt;P&gt;No batch input mode after the end of BDC data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The components DEFSIZE , RACOMMIT, NOBINPT, and NOBIEND always take the following values: &lt;/P&gt;&lt;P&gt;'X' Yes &lt;/P&gt;&lt;P&gt;' ' No &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;&lt;/P&gt;&lt;P&gt;If you do not use the OPTIONS FROM addition, the following control parameter settings apply: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DISMODE&lt;/P&gt;&lt;P&gt;From addition MODE &lt;/P&gt;&lt;P&gt;UPDMODE&lt;/P&gt;&lt;P&gt;From addition UPDATE &lt;/P&gt;&lt;P&gt;CATTMODE&lt;/P&gt;&lt;P&gt;No CATT active &lt;/P&gt;&lt;P&gt;DEFSIZE&lt;/P&gt;&lt;P&gt;Do not use default window size &lt;/P&gt;&lt;P&gt;RACOMMIT &lt;/P&gt;&lt;P&gt;Successful end on COMMIT WORK &lt;/P&gt;&lt;P&gt;NOBINPT&lt;/P&gt;&lt;P&gt;Batch input mode active ( SY-BINPT = X &lt;/P&gt;&lt;P&gt;NOBIEND&lt;/P&gt;&lt;P&gt;Batch input mode remains active after the BDC data &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 2b &lt;/P&gt;&lt;P&gt;... MODE mode &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The display mode mode can take the following values: &lt;/P&gt;&lt;P&gt;'A' Display the screens &lt;/P&gt;&lt;P&gt;'E' Only display if an error occurs &lt;/P&gt;&lt;P&gt;'N' Do not display &lt;/P&gt;&lt;P&gt;If you do not specify the MODE addition, the display mode is 'A'. &lt;/P&gt;&lt;P&gt;If you called a transaction in display mode E and a screen appears because there is no more BDC data, the system automatically switches to display mode A. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 2c &lt;/P&gt;&lt;P&gt;... UPDATE f &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The specified update mode f determines the update type. It can take the following values: &lt;/P&gt;&lt;P&gt;'A' (asynchronous update) &lt;/P&gt;&lt;P&gt;'S' (synchronous update) &lt;/P&gt;&lt;P&gt;'L' (local update) &lt;/P&gt;&lt;P&gt;If you do not specify the UPDATE addition, the default update mode 'A' is used. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 2d &lt;/P&gt;&lt;P&gt;... MESSAGES INTO itab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Any messages that occur during CALL TRANSACTION USING ... are collected in the specified internal table. The internal table must have the structure BDCMSGCOLL. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;DATA: BDCDATA TYPE TABLE OF BDCDATA. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ITAB TYPE TABLE OF BDCMSGCOLL. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: PROGRAM LIKE SY-REPID, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WA_BDCDATA TYPE BDCDATA. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA_BDCDATA-PROGRAM  = 'SAPMS38M'. &lt;/P&gt;&lt;P&gt;WA_BDCDATA-DYNPRO   = '0100'. &lt;/P&gt;&lt;P&gt;WA_BDCDATA-DYNBEGIN = 'X'. &lt;/P&gt;&lt;P&gt;APPEND WA_BDCDATA TO BDCDATA. &lt;/P&gt;&lt;P&gt;CLEAR WA_BDCDATA. &lt;/P&gt;&lt;P&gt;WA_BDCDATA-FNAM     = 'RS38M-PROGRAMM'. &lt;/P&gt;&lt;P&gt;WA_BDCDATA-FVAL     = PROGRAM. &lt;/P&gt;&lt;P&gt;APPEND WA_BDCDATA TO BDCDATA. &lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'SE38'  USING BDCDATA  MODE 'N' &lt;/P&gt;&lt;P&gt;                         MESSAGES INTO ITAB. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes &lt;/P&gt;&lt;P&gt;Runtime errors: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL_TRANSACTION_NOT_FOUND: Transaction unknown &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL_TRANSACTION_IS_MENU: Transaction is a menu &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL_TRANSACTION_USING_NESTED: Recursive CALL TRANSACTION USING &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL_TRANSACTION_LOCKED: Transaction is locked &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;Balakrishna.N&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 07:12:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2259928#M489768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T07:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2259929#M489769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 'call transaction' does not come by option for opening the transaction in a new session...however you can create a FM of our own and put the call transaction statement in that. But while calling the FM do like this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function z_XX_XXX starting new task 'YYYY'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where 'YYYY' is the transaction name and Z_XX_XXX is the function module created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also there are some standard FMs which will open the transaction in a new session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'ABAP4_CALL_TRANSACTION' STARTING NEW TASK 'YYYY'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;Reward points if useful &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prakash Ghantasala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 07:19:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2259929#M489769</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T07:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2259930#M489770</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;please go through these FM &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.COPF_CALL_TRANSACTION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this give your tcode and make NEW_SESSION = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.ABAP4_CALL_TRANSACTION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.HLP_MODE_CREATE&lt;/P&gt;&lt;P&gt;4. or you can just write TRANSACTION &amp;lt;...&amp;gt; AND SKIP FIRST SCREEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your program hope this will solve your problem&lt;/P&gt;&lt;P&gt;and don't forget to reward points,&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 07:21:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2259930#M489770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T07:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2259931#M489771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt; No it is not possible open the called transaction in a new session&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;kumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 07:40:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2259931#M489771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T07:40:53Z</dc:date>
    </item>
  </channel>
</rss>

