<?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 from Method in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-session-from-method/m-p/7319960#M1536751</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Prakash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have class &lt;STRONG&gt;CL_RECA_GUI_SERVICES&lt;/STRONG&gt; available on your R/3 system you may have a look at its method &lt;STRONG&gt;CALL_TRANSACTION.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Sep 2010 11:16:33 GMT</pubDate>
    <dc:creator>uwe_schieferstein</dc:creator>
    <dc:date>2010-09-21T11:16:33Z</dc:date>
    <item>
      <title>New Session from Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-session-from-method/m-p/7319957#M1536748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Through a method i want open a new session from the existing session by retaining the existing one  .Any one please help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Sep 2010 10:48:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-session-from-method/m-p/7319957#M1536748</guid>
      <dc:creator>prakash_bakthavachalam3</dc:creator>
      <dc:date>2010-09-21T10:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: New Session from Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-session-from-method/m-p/7319958#M1536749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Call the function module ABAP4_CALL_TRANSACTION. Pass SESSION_MANAGER to the parameter transaction&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'ABAP4_CALL_TRANSACTION'
  STARTING NEW TASK 'SESSION_MANAGER'
  DESTINATION 'NONE'
  EXPORTING
    tcode = 'SESSION_MANAGER'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Sep 2010 10:53:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-session-from-method/m-p/7319958#M1536749</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-09-21T10:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: New Session from Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-session-from-method/m-p/7319959#M1536750</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;Use the  function module &lt;STRONG&gt;'CC_CALL_TRANSACTION_NEW_TASK'&lt;/STRONG&gt;.The below code opens VA03 in a new session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
WRITE 'This is the main ABAP program'.

DATA :
  lv_skip(1) TYPE c VALUE 'X',
  lv_vbeln LIKE vbak-vbeln VALUE '1500000015',
  l_st_param TYPE tpara,
  l_it_params TYPE TABLE OF tpara.

CLEAR l_st_param.
CLEAR l_it_params[].

l_st_param-paramid = 'AUN'.
l_st_param-partext = lv_vbeln.
APPEND l_st_param TO l_it_params.

CALL FUNCTION 'CC_CALL_TRANSACTION_NEW_TASK'
  STARTING NEW TASK 'VA03'
  DESTINATION 'NONE'
  EXPORTING
    transaction = 'VA03'
    skip_first_screen = 'X'
  TABLES
    paramtab = l_it_params
  EXCEPTIONS
    communication_failure = 97
    system_failure = 98
    OTHERS = 99.

IF sy-subrc = 0.
  " Success
ELSEIF sy-subrc = 97.
  " Communication Failure
  EXIT.
ELSEIF sy-subrc = 98.
  " System Failure
  EXIT.
ELSE.
  EXIT.
ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Also you can use  &lt;STRONG&gt;ABAP4_CALL_TRANSACTION&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hope its helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Sep 2010 11:09:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-session-from-method/m-p/7319959#M1536750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-21T11:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: New Session from Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/new-session-from-method/m-p/7319960#M1536751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Prakash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have class &lt;STRONG&gt;CL_RECA_GUI_SERVICES&lt;/STRONG&gt; available on your R/3 system you may have a look at its method &lt;STRONG&gt;CALL_TRANSACTION.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Sep 2010 11:16:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/new-session-from-method/m-p/7319960#M1536751</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2010-09-21T11:16:33Z</dc:date>
    </item>
  </channel>
</rss>

