Skip to Content
0
Former Member
Oct 02, 2009 at 12:44 PM

WHY CPROJECTS DUMPS WHEN SAVING MODIFIED TASK?

171 Views

When user tries to set as completed more then one task at once, I'm getting frequently a short dump error which I report after:

<br> Termination occurred in the ABAP program "CL_DPR_TRANSACTION_MANAGER====CP" -in "ON_TRANSACTION_FINISHED".

<br> The main program was "SAPMHTTP ".

<br><br>In the source code you have the termination point in line 20 of the (Include) program "CL_DPR_TRANSACTION_MANAGER====CM009".

<br><br> The following refers to the exact interruption point:

<br><br>

<br>1 |METHOD ON_TRANSACTION_FINISHED.

<br>| 2|

<br>| 3| DATA:

<br>| 4| LR_APPL_OBJECT_MANAGER TYPE REF TO CL_DPR_APPL_OBJECT_MANAGER.

<br>| 5|

<br>| 6|*/Transaction supervision snaps only if changes are made

<br>| 7| CL_DPR_APPL_OBJECT_MANAGER=>SET_ACTIVE_APPLICATION(

<br>| 8| iv_application = CL_DPR_CO=>SC_APPLICATION_TYPE_DPR ).

<br>| 9| LR_APPL_OBJECT_MANAGER =

<br>| 10| CL_DPR_APPL_OBJECT_MANAGER=>GET_INSTANCE( ).

<br>| 11| IF LR_APPL_OBJECT_MANAGER->HAS_CHANGES( ) EQ CL_DPR_CO=>SC_FALSE.

<br>| 12| RETURN.

<br>| 13| ENDIF.

<br>| 14|

<br>| 15|*/With the help of this event handler unauthorized transactional

<br>| 16|*/statements are detected

<br>| 17| IF KIND EQ CL_SYSTEM_TRANSACTION_STATE=>COMMIT_WORK.

<br>| 18| MESSAGE X085(00).

<br>| 19| ELSE.

<br>| ***|>>>>>| MESSAGE X086(00).

<br>| || 21|* ENDIF. |

<br>| | 22| |

<br>| | 23|ENDMETHOD.

<br><br>

Is there anyone who experienced something similar when confirming task? I think it's some kind of excepition handled uncorrectly by the system but I can't grasp the meaning of the generic output message: "Error when saving data". What's more: some tasks are processed correctly and some other get the error message!

<br><br>Thanks for just a little help or suggestion.

<br><br>

Best regards<br>Andy