Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10482

Process chain Problem:Step is green but the chain can't continue

$
0
0

Hi Raman

I find this piece of code in RSPC_PROCESS_FINISH:

CALL FUNCTION 'RSSM_EVENT_RAISE'

          EXPORTING

            i_eventid              = l_s_nextlog-event_start

            i_eventparm            = l_s_nextlog-eventp_start

          EXCEPTIONS

            bad_eventid            = 1

            eventid_does_not_exist = 2

            eventid_missing        = 3

            raise_failed           = 4

            OTHERS                 = 5.

        IF sy-subrc <> 0.

          IF sy-msgno IS INITIAL.

            MESSAGE e051(rsar) WITH 'RSSM_EVENT_RAISE' 'sy-subrc' sy-subrc '' INTO l_char.

            trace.

            PERFORM log_alert_and_unlock USING l_chain i_eventno.

            MESSAGE e051(rsar) WITH 'RSSM_EVENT_RAISE' 'sy-subrc' sy-subrc ''.

          ELSE.

            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno

                    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4

                    INTO l_char.

            trace.

            PERFORM log_alert_and_unlock USING l_chain i_eventno.

            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno

                    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

          ENDIF.

        ENDIF.

* ---- Commit database ----

        CALL FUNCTION 'DB_COMMIT'.

Are these two para in the line between two steps.

I'll try it on dev system when I get off my duty.

But I don't know why the DB_Commit is here.


Viewing all articles
Browse latest Browse all 10482

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>