<?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: New Session in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-session/m-p/787386#M39719</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or you can create a Z_CALL_TRANSACTION function and use STARTING NEW TASK addition. ABAP4_CALL_TRANSACTION will not allow you to skip the first screen and fill the batch input data table in release 4.70.. If you need you can use the source code below: (Simple but it works)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function z_call_transaction.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local interface:&lt;/P&gt;&lt;P&gt;*"       IMPORTING&lt;/P&gt;&lt;P&gt;*"             VALUE(TRANSACTION_CODE) LIKE  SY-TCODE&lt;/P&gt;&lt;P&gt;*"             VALUE(I_MODE) LIKE  DATATYPE-CHAR0001 DEFAULT 'N'&lt;/P&gt;&lt;P&gt;*"             VALUE(I_UPDATE) LIKE  DATATYPE-CHAR0001 DEFAULT 'S'&lt;/P&gt;&lt;P&gt;*"       EXPORTING&lt;/P&gt;&lt;P&gt;*"             VALUE(E_SUBRC) LIKE  SY-SUBRC&lt;/P&gt;&lt;P&gt;*"       TABLES&lt;/P&gt;&lt;P&gt;*"              TBDCDATA STRUCTURE  BDCDATA&lt;/P&gt;&lt;P&gt;*"              TBDCLOG STRUCTURE  BDCMSGCOLL OPTIONAL&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;if tbdclog is requested.&lt;/P&gt;&lt;P&gt;  call transaction transaction_code using tbdcdata mode i_mode&lt;/P&gt;&lt;P&gt;                                    update i_update&lt;/P&gt;&lt;P&gt;                                    messages into tbdclog.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;  call transaction transaction_code using tbdcdata mode i_mode&lt;/P&gt;&lt;P&gt;                                    update i_update.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e_subrc = sy-subrc.&lt;/P&gt;&lt;P&gt;endfunction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 May 2004 10:24:00 GMT</pubDate>
    <dc:creator>project_team</dc:creator>
    <dc:date>2004-05-26T10:24:00Z</dc:date>
    <item>
      <title>New Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-session/m-p/787383#M39716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to call a transaction in a new session when ever a user clicks a customer in basic list.so could any one tell me how to create a new session(external session).i have tried to see the code that is written by SAP to create a new session, but i could'nt find that button in gui status of any screen in SAP and even there is no code in PAI.so could any one tell me how to do that or else please tell me how to see where the code is written for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope to see some replies on this..&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;yogi raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2004 07:24:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-session/m-p/787383#M39716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-03-11T07:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: New Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-session/m-p/787384#M39717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use function module SAPGUI_SET_FUNCTIONCODE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SAPGUI_SET_FUNCTIONCODE'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   FUNCTIONCODE                 = '/OSE80'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FUNCTION_NOT_SUPPORTED       = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS                       = 2&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2004 10:50:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-session/m-p/787384#M39717</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-03-11T10:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: New Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-session/m-p/787385#M39718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could also call function module ABAP4_CALL_TRANSACTION with the addtion &amp;lt;i&amp;gt;STARTING NEW TASK&amp;lt;/i&amp;gt;.  When using this function though it's also probably a good idea to check how many sessions the user already has running (use function TH_USER_INFO) and you may need to determine which application server the user is logged on to and set this as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps....&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Mar 2004 13:55:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-session/m-p/787385#M39718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2004-03-11T13:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: New Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-session/m-p/787386#M39719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or you can create a Z_CALL_TRANSACTION function and use STARTING NEW TASK addition. ABAP4_CALL_TRANSACTION will not allow you to skip the first screen and fill the batch input data table in release 4.70.. If you need you can use the source code below: (Simple but it works)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function z_call_transaction.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local interface:&lt;/P&gt;&lt;P&gt;*"       IMPORTING&lt;/P&gt;&lt;P&gt;*"             VALUE(TRANSACTION_CODE) LIKE  SY-TCODE&lt;/P&gt;&lt;P&gt;*"             VALUE(I_MODE) LIKE  DATATYPE-CHAR0001 DEFAULT 'N'&lt;/P&gt;&lt;P&gt;*"             VALUE(I_UPDATE) LIKE  DATATYPE-CHAR0001 DEFAULT 'S'&lt;/P&gt;&lt;P&gt;*"       EXPORTING&lt;/P&gt;&lt;P&gt;*"             VALUE(E_SUBRC) LIKE  SY-SUBRC&lt;/P&gt;&lt;P&gt;*"       TABLES&lt;/P&gt;&lt;P&gt;*"              TBDCDATA STRUCTURE  BDCDATA&lt;/P&gt;&lt;P&gt;*"              TBDCLOG STRUCTURE  BDCMSGCOLL OPTIONAL&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;if tbdclog is requested.&lt;/P&gt;&lt;P&gt;  call transaction transaction_code using tbdcdata mode i_mode&lt;/P&gt;&lt;P&gt;                                    update i_update&lt;/P&gt;&lt;P&gt;                                    messages into tbdclog.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;  call transaction transaction_code using tbdcdata mode i_mode&lt;/P&gt;&lt;P&gt;                                    update i_update.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e_subrc = sy-subrc.&lt;/P&gt;&lt;P&gt;endfunction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 May 2004 10:24:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-session/m-p/787386#M39719</guid>
      <dc:creator>project_team</dc:creator>
      <dc:date>2004-05-26T10:24:00Z</dc:date>
    </item>
  </channel>
</rss>

