<?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: Execute program without going thru se38 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-program-without-going-thru-se38/m-p/8173683#M1623494</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My thoughts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "starting new task" will help you create a new main mode, but you will have to keep in mind the user cannot have more than &lt;STRONG&gt;Six main modes&lt;/STRONG&gt; failing which an error will be issued. Not sure if it would look good for end users who multitask with all six sessions. Read the F1 on Starting new task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you share more info on the need for a new main session, i mean you could always create a new internal session with "Submit and Return Program"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Sep 2011 04:29:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-09-08T04:29:10Z</dc:date>
    <item>
      <title>Execute program without going thru se38</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-program-without-going-thru-se38/m-p/8173678#M1623489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am building an interface which will allow user to access some zprograms without having to go thru se38 (therefore no need to remember program name).&lt;/P&gt;&lt;P&gt;To accessthe program they will just need to click on the push button in the screen explaining wat the program does.&lt;/P&gt;&lt;P&gt;I want the program to open in a different session than that of my interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-- I do not have the option here to attach a transaction code to the program and call the transsaction code instead of the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 18:01:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-program-without-going-thru-se38/m-p/8173678#M1623489</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-07T18:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Execute program without going thru se38</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-program-without-going-thru-se38/m-p/8173679#M1623490</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;U can call (I suppose you mean SUBMIT) your progroam in a function module and call the function module with the option NEW TASK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 18:22:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-program-without-going-thru-se38/m-p/8173679#M1623490</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-07T18:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Execute program without going thru se38</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-program-without-going-thru-se38/m-p/8173680#M1623491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i did try ..but it opens in the same session as my interface&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 18:24:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-program-without-going-thru-se38/m-p/8173680#M1623491</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-07T18:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Execute program without going thru se38</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-program-without-going-thru-se38/m-p/8173681#M1623492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about TH_CREATE_MODE ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
     CALL FUNCTION 'TH_CREATE_MODE'
       EXPORTING
         transaktion          = 'SE38'
         del_on_eot           = 0
         PARAMETERS           = 'RS38M-PROGRAMM=ZXXXXX'     
         PROCESS_DARK         = 'X'
       EXCEPTIONS
         max_sessions         = 1
         internal_error       = 2
         no_authority         = 3
         OTHERS               = 4.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 18:38:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-program-without-going-thru-se38/m-p/8173681#M1623492</guid>
      <dc:creator>former_member209703</dc:creator>
      <dc:date>2011-09-07T18:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Execute program without going thru se38</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-program-without-going-thru-se38/m-p/8173682#M1623493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS: P_REPORT TYPE SY-REPID.

CALL FUNCTION 'Z_FUFFA_SUBMIT' STARTING NEW TASK 'NONE'
  EXPORTING
    REPORT = P_REPORT.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2011 18:39:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-program-without-going-thru-se38/m-p/8173682#M1623493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-07T18:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: Execute program without going thru se38</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-program-without-going-thru-se38/m-p/8173683#M1623494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My thoughts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "starting new task" will help you create a new main mode, but you will have to keep in mind the user cannot have more than &lt;STRONG&gt;Six main modes&lt;/STRONG&gt; failing which an error will be issued. Not sure if it would look good for end users who multitask with all six sessions. Read the F1 on Starting new task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you share more info on the need for a new main session, i mean you could always create a new internal session with "Submit and Return Program"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 04:29:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-program-without-going-thru-se38/m-p/8173683#M1623494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-08T04:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Execute program without going thru se38</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-program-without-going-thru-se38/m-p/8173684#M1623495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;The "starting new task" will help you create a new main mode, but you will have to keep in mind the user cannot have more than Six main modes failing which an error will be issued.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello Chen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is partially correct. Default no. of sessions in 6(as you've mentioned) but you can extend this via the profile param &lt;EM&gt;rdisp/max_alt_modes&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 05:18:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-program-without-going-thru-se38/m-p/8173684#M1623495</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2011-09-08T05:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Execute program without going thru se38</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-program-without-going-thru-se38/m-p/8173685#M1623496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The function code 'TH_CREATE_MODE' only opens a new session of se38, with the field program name filled by the ZPROGRAM. But the aim here is to access the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to run it from the interface i am creating?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 06:23:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-program-without-going-thru-se38/m-p/8173685#M1623496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-08T06:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Execute program without going thru se38</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-program-without-going-thru-se38/m-p/8173686#M1623497</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;As said, create a custom function module as RFC enabled function module and call FM with starting new task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'ZXXX' STARTING NEW TASK 'NONE'
  EXPORTING
    prog_name       = 'PROG'
          .

FUNCTION ZXXX.
*"----------------------------------------------------------------------
*"*"Local Interface:
*"  IMPORTING
*"     VALUE(PROG_NAME) TYPE  SY-REPID
*"----------------------------------------------------------------------

submit (PROG_NAME) AND RETURN.

ENDFUNCTION.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will work.. you can also add other import parameters to be submitted with program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2011 07:27:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-program-without-going-thru-se38/m-p/8173686#M1623497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-08T07:27:16Z</dc:date>
    </item>
  </channel>
</rss>

