<?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: Submit report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1336847#M170909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you are ending up in an infinite loop here. Is your ALV report and the report_name you are using in your submit statement same? I think it is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you do submit, you are opening another session for your report_name, which again will be executing the same program does the same logic and so you end up in an infinite loop. Luckily, system does not allow anything more than 7 such sessions, so you get the error. Otherwise you will be waiting there forever.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your requirement is to skip the selection screen if the user is an approver, then my question is what values are you passing for your selection screen parameters? Do you have some defaults for the approvers?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Jun 2006 15:51:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-09T15:51:18Z</dc:date>
    <item>
      <title>Submit report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1336838#M170900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I have an ALV report and on the selection screen. I have a check on the user name(sy-uname) running the report and if they are 'Approvers'..the selection screen should not be displayed. These 'Approvers' are non-sap people so we dont want them to be confused.&lt;/P&gt;&lt;P&gt;I check if the user is an 'Approver' and I say&lt;/P&gt;&lt;P&gt;SUBMIT report_name AND RETURN. After this staement..I have the START-OF-SELECTION ETC.&lt;/P&gt;&lt;P&gt;The problem is, when the 'Approver' runs the report its giving an error..'Maximum number of internal sessions reached'. I checked help on the SUBMIT statement..it does say it has only 8 internal sessions.&lt;/P&gt;&lt;P&gt;Is there anyway I can by-pass this error? Can I use EXPORT to memory...pleae help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2006 14:02:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1336838#M170900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-09T14:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Submit report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1336839#M170901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rachana!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the descriptions of the OSS notes which I picked up for a similiar problem which i encountered in my project...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OSS Search... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked the OSSNote......329835... the problem is acknowledged and it recommends.... &lt;/P&gt;&lt;P&gt;To call up a report via Transaction 'Execute report group' (GR55) needs less internal sessions as if you call it up via the report tree. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ossnote .... 34154 is very interesting. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is concerned with internal sessions: The R/3 System offers the option to change from one information level to another: by branching in the menu path (for example "Goto" or "Information system"), double-clicking in ABAP lists, cross-references in hypertext and so on. Technically speaking, you call one program/transaction from within another one (ABAP/4 statements CALL DIALOG or CALL TRANSACTION, but not CALL SCREEN). For the user, it is desirable that this process is reversible, that is, that you can also go back step by step. The whole path is therefore stored in a stack of so-called internal sessions. If the maximum number of internal sessions is reached, you cannot go any further. This maximum number is hardcoded as 9, and this cannot be changed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When creating programs in R/3, the developers try to make sure that such a situation does not occur. Thus, a SUBMIT is only used if it is useful to leave the calling program active. However, an overflow of the stack of internal sessions cannot always be avoided. If the developer makes the navigation user-friendly, there is in some cases the option that this limit is reached by nested transaction calls. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ossnote.....393879 &lt;/P&gt;&lt;P&gt;Recommends replace CALL with LEAVE. &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CALL TRANSACTION sy-tcode. &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;LEAVE TO TRANSACTION sy-tcode. &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;Praneeth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward helpful answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Praneeth kumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2006 14:11:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1336839#M170901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-09T14:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Submit report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1336840#M170902</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;chk this link... same error reported earlier&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="294971"&gt;&lt;/A&gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2006 14:17:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1336840#M170902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-09T14:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Submit report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1336841#M170903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Rachana&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go through this document for Submit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT rep. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additions&lt;/P&gt;&lt;P&gt;1. ... LINE-SIZE col &lt;/P&gt;&lt;P&gt;2. ... LINE-COUNT lin &lt;/P&gt;&lt;P&gt;3. ... TO SAP-SPOOL &lt;/P&gt;&lt;P&gt;4. ... VIA SELECTION-SCREEN &lt;/P&gt;&lt;P&gt;5. ... AND RETURN &lt;/P&gt;&lt;P&gt;6. ... EXPORTING LIST TO MEMORY &lt;/P&gt;&lt;P&gt;7. ... USER user VIA JOB job NUMBER n &lt;/P&gt;&lt;P&gt;8. ... Various additions for parameter transfer to rep &lt;/P&gt;&lt;P&gt;9. ... USING SELECTION-SETS OF PROGRAM prog &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Calls the report rep . Leaves the active program and starts the new report rep . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 1&lt;/P&gt;&lt;P&gt;... LINE-SIZE col &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Prints the report with the line width col . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 2&lt;/P&gt;&lt;P&gt;... LINE-COUNT lin &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Prints the report with lin lines (per page). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 4&lt;/P&gt;&lt;P&gt;... VIA SELECTION-SCREEN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Displays the selection screen for the user. In this case, the selection screen is redisplayed after return from the report list display - the user's entries are retained. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 5&lt;/P&gt;&lt;P&gt;... AND RETURN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Returns to the calling transaction or program after the called program has been executed. SUBMIT ... AND RETURN creates a new internal mode . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 6&lt;/P&gt;&lt;P&gt;... EXPORTING LIST TO MEMORY &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Does not display the output list of the called report, but saves it in SAP memory and leaves the called report immediately. Since the calling program can read the list from memory and process it further, you need to use the addition ... AND RETURN . Also, since the called report cannot be requested for printing, the addition ... TO SAP-SPOOL is not allowed here. You can read the saved list from SAP memory with the function module 'LIST_FROM_MEMORY' and then (for example) store it in the database with EXPORT . You can process this list further with the function modules 'WRITE_LIST' , 'DISPLAY_LIST' ... of the function group "SLST" . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 7&lt;/P&gt;&lt;P&gt;... USER user VIA JOB job NUMBER n &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Schedules the specified report in the job specified by the job name job and the job number n . The job runs under the user name user and you can omit the addition USER user . The assignment of the job number occurs via the function module JOB_OPEN (see also the documentation for the function modules JOB_CLOSE and JOB_SUBMIT . This addition can only be used with the addition ...AND RETURN . &lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;When scheduling a report with the SUBMIT ... VIA JOB job NUMBER n statement, you should always use the addition ...TO SAP-SPOOL to pass print and/or archive parameters. Otherwise, default values are used to generate the list and this disturbs operations in a production environment. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 9&lt;/P&gt;&lt;P&gt;... USING SELECTION-SETS OF PROGRAM prog &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Uses variants of the program prog when executing the program rep . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;Important &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The programs prog and rep must have the same SELECT-OPTIONS and PARAMETER s. Otherwise, variants of the program prog may be destroyed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;When using this addition, the specified variant vari of the program prog is taken in USING SELECTION-SET vari . On the other hand, all variant-related actions on the selection screen of rep (Get , Save as variant , Display , Delete ) refer to the variants of prog . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT REPORT01&lt;/P&gt;&lt;P&gt;VIA SELECTION-SCREEN&lt;/P&gt;&lt;P&gt;USING SELECTION-SET 'VARIANT1'&lt;/P&gt;&lt;P&gt;USING SELECTION-SETS OF PROGRAM 'REPORT00'&lt;/P&gt;&lt;P&gt;AND RETURN.&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;Executes the program REPORT01 with the variant VARIANT1 of the program REPORT00 . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;Runtime errors &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD_PROGRAM_NOT_FOUND : The specified program was not found. &lt;/P&gt;&lt;P&gt;SUBMIT_WRONG_TYPE : The specified program is not a report. &lt;/P&gt;&lt;P&gt;SUBMIT_IMPORT_ONLY_PARAMETER : Only one value passed to a report parameter. &lt;/P&gt;&lt;P&gt;SUBMIT_WRONG_SIGN : Invalid value passed to a selection with the addition SIGN . &lt;/P&gt;&lt;P&gt;SUBMIT_IN_ITAB_ILL_STRUCTURE : Table passed to a selection with WITH sel IN itab had an unexpected structure. &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;Try with this Example &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: listobject like abaplist occurs 1 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'LIST_FROM_MEMORY'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;listobject = listobject&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OTHERS = 1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message ID '61' TYPE 'E' NUMBER '731'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with 'LIST_FROM_MEMORY'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Sreenivasulu P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2006 14:21:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1336841#M170903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-09T14:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Submit report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1336842#M170904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hii Rachana ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only 6 internal sessions are allowed ..that is why problem occured.there is a limit in SAP for 6 internal sessions .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax : &amp;lt;b&amp;gt;LEAVE TO TRANSACTION t and skip first screen .&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;This will end the current transaction session and open a new session.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;otherwise if you can use leave to transaction then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use function module &amp;lt;b&amp;gt;TH_USER_INFO&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you get back two parameters &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;ACT_SESSIONS &lt;/P&gt;&lt;P&gt;and MAX_SESSIONS&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i guess this will solve your problem ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revert back for more help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2006 14:21:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1336842#M170904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-09T14:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Submit report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1336843#M170905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create two programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZTEST1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-uname = 'xyz'.&lt;/P&gt;&lt;P&gt;  submit ztest2 and return with para1 = 'p1'&lt;/P&gt;&lt;P&gt;                                para2 = 'p2'.&lt;/P&gt;&lt;P&gt;else.  &lt;/P&gt;&lt;P&gt;  submit ztest2 and return.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ztest2 report contains required functionality (ALV report) with two parameters para1 and para2 (as per ur requirement)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2006 14:25:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1336843#M170905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-09T14:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Submit report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1336844#M170906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I read the OSS notes and it says 'If the error occurs, try to call up the report via a more direct (shorter) path'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I do that? Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2006 14:25:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1336844#M170906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-09T14:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: Submit report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1336845#M170907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rachana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try this out..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attach the report to Transaction. Put the call transaction in side a custom function module &amp;amp; then realce your SUBMIT statement with a call to taht function ie&lt;/P&gt;&lt;P&gt;CALL FUNCTION ..starting new task..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suresh Datti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2006 14:35:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1336845#M170907</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-06-09T14:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Submit report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1336846#M170908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii Rachana ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as regards direct path it can be &amp;lt;b&amp;gt;LEAVE TO TRANSACTION&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;OR &amp;lt;b&amp;gt;LEAVE PROGRAM OR CALL SCREEN&amp;lt;/b&amp;gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ANOTHER WAY you  could  use is  &amp;lt;b&amp;gt;CALL FUNCTION ... IN BACKGROUND TASK.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This not only prevents your issue with the sessions .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will also see that the processes get queued, and executed on the application server when there is resource (background processes) available for them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2006 14:39:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1336846#M170908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-09T14:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Submit report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1336847#M170909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you are ending up in an infinite loop here. Is your ALV report and the report_name you are using in your submit statement same? I think it is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you do submit, you are opening another session for your report_name, which again will be executing the same program does the same logic and so you end up in an infinite loop. Luckily, system does not allow anything more than 7 such sessions, so you get the error. Otherwise you will be waiting there forever.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your requirement is to skip the selection screen if the user is an approver, then my question is what values are you passing for your selection screen parameters? Do you have some defaults for the approvers?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2006 15:51:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1336847#M170909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-09T15:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Submit report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1336848#M170910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the user is an 'approver'..he will run the report wide open. I have logic in the program to show only items attched to his user id. The answer to ur question is YES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reply from Suresh...call function worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I definitely like to know a easy fix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2006 16:55:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1336848#M170910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-09T16:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Submit report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1336849#M170911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;call SUBMIT only if sy-calld eq space, see if it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sridhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2006 17:27:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-report/m-p/1336849#M170911</guid>
      <dc:creator>sridhar_k1</dc:creator>
      <dc:date>2006-06-09T17:27:12Z</dc:date>
    </item>
  </channel>
</rss>

