<?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 package size in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/package-size/m-p/1340103#M172202</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;  i am using select .... endselect .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i m able to get file also first time but later on i m getting dump , saying somthng abt commit .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 May 2006 07:17:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-15T07:17:25Z</dc:date>
    <item>
      <title>package size</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/package-size/m-p/1340103#M172202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;  i am using select .... endselect .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i m able to get file also first time but later on i m getting dump , saying somthng abt commit .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 May 2006 07:17:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/package-size/m-p/1340103#M172202</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-15T07:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: package size</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/package-size/m-p/1340104#M172203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe try the statement &amp;lt;b&amp;gt;" COMMIT WORK."&amp;lt;/b&amp;gt;&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;Aswin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 May 2006 07:19:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/package-size/m-p/1340104#M172203</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-15T07:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: package size</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/package-size/m-p/1340105#M172204</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 out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMMIT WORK. &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: &lt;/P&gt;&lt;P&gt;... AND WAIT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;COMMIT WORK also &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calls the subroutines specified by PERFORM ... ON COMMIT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Executes asynchronously any update requests (see CALL FUNCTION ... IN UPDATE TASK) specified in these subroutines or started just before &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Processes the function modules specified in CALL FUNCTION ... IN BACKGROUND TASK &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resets the time slice counter to 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ensures that the locks of the SAP locking concept are handled in accordance with its SCOPE Parameter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Executes a database commit on all database connections &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Closes all open database cursors (OPEN CURSOR) on all database connections &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Releases all database locks on all database connections &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the COMMIT WORK has been executed, the event RAISE_TRANSACTION_FINISHED of the class CL_SYSTEM_TRANSACTION_STATE with parameter value CL_SYSTEM_TRANSACTION_STATE=&amp;gt;COMMIT_WORK is triggered. However, this does not apply to the COMMIT WORK at the end of the update. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Return Code SY-SUBRC is set to 0. &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;All subroutines called with PERFORM ... ON COMMIT are processed in the LUW concluded by the COMMIT WORK command. All V1 update requests specified in CALL FUNCTION ... IN UPDATE TASK are also executed in one LUW. When all V1 update requests have been successfully concluded, the V2 update requests (update with start delayed ) are processed, each in one LUW. Parallel to this, the function modules specified in CALL FUNCTION ... IN BACKGROUND TASK are each executed in one LUW per destination. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMMIT WORK commands processed within CALL DIALOG processing do all of the following: &lt;/P&gt;&lt;P&gt;- A database commit on all database connections (see above), &lt;/P&gt;&lt;P&gt;- Close all open database cursors on all database connections &lt;/P&gt;&lt;P&gt;- Reset the time slice counter &lt;/P&gt;&lt;P&gt;- Call the function modules registered in CALL DIALOG processing using CALL FUNCTION IN BACKGROUND TASK &lt;/P&gt;&lt;P&gt;However, subroutines and function modules called with PERFORM ... ON COMMIT or CALL FUNCTION ... IN UPDATE TASK in CALL DIALOG processing are not executed in the calling transaction until a COMMIT WORK occurs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since COMMIT WORK closes all open database cursors, any attempt to continue a SELECT loop after a COMMIT WORKresults in a runtime error. For the same reason, a FETCH after a COMMIT WORK on the now closed cursors also produces a runtime error. You must therefore ensure that any open cursors are no longer used after the COMMIT WORK. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMMIT WORK may not be used during the update (CALL FUNCTION ... IN UPDATE TASK) or during the execution of FORMs that were registered using PERFORM ... ON COMMIT or PERFORM ... ON ROLLBACK. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With batch input and CALL TRANSACTION ... USING, COMMIT WORK successfully concludes the processing. &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 &lt;/P&gt;&lt;P&gt;... AND WAIT &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 addition ... AND WAIT makes the program wait for the type V1 update (update with immediate start) to be executed. &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;The update was performed successfully. &lt;/P&gt;&lt;P&gt;SY-SUBRC &amp;lt;&amp;gt; 0: &lt;/P&gt;&lt;P&gt;The update was not performed successfully. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variant 2 &lt;/P&gt;&lt;P&gt;COMMIT CONNECTION con. &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;The COMMIT command is not executed on the standard database, but only on the secondary database connection specified with con. con is the name of the database connection as it was specified in the table DBCON in the column CON_NAME. The database connection con can also be specified dynamically in the form (source_text) - the source_text field contains the name of the database connection as ABAP Source Code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the specified secondary database connection, the database commit: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Closes all open database cursors (OPEN CURSOR) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Releases all database locks &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;Because all open database cursors are closed with the COMMIT, the attempt to continue a SELECT loop after a COMMIT causes a runtime error. For the same reason, a FETCH after the COMMIT to the now closed cursor causes runtime error. You must ensure that open cursors are no longer used after the COMMIT. The only exception are cursors that were opened using the WITH HOLD 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;Exceptions &lt;/P&gt;&lt;P&gt;Non-Catchable Exceptions &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cause: COMMIT WORK is not possible in a FORM that was called using PERFORM ... ON COMMIT &lt;/P&gt;&lt;P&gt;Runtime Error: COMMIT_IN_PERFORM_ON_COMMIT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cause: COMMIT WORK is not allowed in the update. &lt;/P&gt;&lt;P&gt;Runtime Error: COMMIT_IN_POSTING &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional help &lt;/P&gt;&lt;P&gt;Commit Database Changes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz reward if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 May 2006 07:22:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/package-size/m-p/1340105#M172204</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-15T07:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: package size</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/package-size/m-p/1340106#M172205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is the problem coming while debugging ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;one solution could be&amp;lt;/b&amp;gt;use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;select into table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and loop through the internal table.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyway check out the Cause and prerequisites&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Chain of causes:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;      1. There is a statement in one of the Select loops, that leads to a database Commit (or Rollback).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;      2. A database Commit causes the database to lose the cursor.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;      3. The system cannot automatically continue within Select loop after loss of cursor.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Following statements lead to a database Commit:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;All statements that cause a change of screen (CALL SCREEN, CALL DIALOG, CALL TRANSACTION, SUBMIT, I/W-Message)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;BREAK-POINT/ Debugging&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      . if no debug process free&lt;/P&gt;&lt;P&gt;      . always after regeneration (in order to release generation lock).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WAIT Here a work process is released and a Commit is executed.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;COMMIT WORK/ROLLBACK WORK&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;From OSS note 2104 **********************************&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Solution&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;The "COMMITWORK" message appears in the ABAP debugger when programs&lt;/P&gt;&lt;P&gt;orscreensrequireregeneration,or when not enough free capacity&lt;/P&gt;&lt;P&gt;is available inthesystem (or else the debugger blocks a system&lt;/P&gt;&lt;P&gt;process).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Normallyonly one work process is released for debugging. This&lt;/P&gt;&lt;P&gt;isgenerally insufficient ina developmentsystem, as processes&lt;/P&gt;&lt;P&gt;can be blocked for other reasonstoo(background processing,&lt;/P&gt;&lt;P&gt;CPI-C connections,andso on).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;The number of work processes made available for debugging can&lt;/P&gt;&lt;P&gt;be configured using the profileparameter&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;                  rdisp/wpdbug_max_no&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Forexample:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;                rdisp/wpdbug_max_no = 10&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;setsthe maximum number of work processes made available for&lt;/P&gt;&lt;P&gt;debuggingto 10. It may be necessary to generally increase the&lt;/P&gt;&lt;P&gt;numberofwork processesatthis time (parameter rdisp/wp_no_dia).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;In all other known cases, an error in the application program is&lt;/P&gt;&lt;P&gt;involved.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="53" type="ul"&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 May 2006 07:34:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/package-size/m-p/1340106#M172205</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-15T07:34:16Z</dc:date>
    </item>
  </channel>
</rss>

