Skip to Content

Introduction

Skipping the process chain is necessary when process chain is in failed status(appear as red) but in job log is completed(SM37).So basically it has completed the functionality but somehow went into failed(red) status. Because of this subsequent chains won’t be triggered. This process makes the chain Force complete and triggers the subsequent steps.

Process Chain:


/wp-content/uploads/2014/03/pic1_409125.png

Inside the Process Chain we can see program block “Transfer Factory Calendar” is in Red status.


Analysis Observations:


We have to investigate the status of the chain in SM37.


/wp-content/uploads/2014/03/pic2_409126.png

Do a right click on the failed process block and click on “Display Messages”.


/wp-content/uploads/2014/03/pic3_409127.png


We can see the job log by clicking on the tab “Backg”. Here it is clearly mentioned like Job finished. For confirming it from SM37 screen click on “Batch Monitor” button.


/wp-content/uploads/2014/03/pic4_409128.png


SM37 Job status says Finished .Thus ideally all factory calendars are transferred and functionality is completed. But the process chain somehow became red in colour because of which subsequent steps are not triggered. Since the process chain follows sequential processing it is quite necessary that we have to override (People calls it as Skip, which I feel is very ideal here) the failed block which in turn will trigger the following process blocks.

Note: Skip is advisable only if you are sure that the process block has achieved the necessary functionality.

Activity:

/wp-content/uploads/2014/03/pic5_409129.png

Do a right click on the failed block and click on “Display Messages”.

/wp-content/uploads/2014/03/pic6_409130.png

All chain related information’s are displayed here.

Note: Instance ID will be generated in production environment.

Open one more session and go to SE11.

/wp-content/uploads/2014/03/pic7_409131.png

Put the database table name as “RSPCPROCESSLOG” and click on display.

/wp-content/uploads/2014/03/pic8_409133.png

Click on the contents button.


/wp-content/uploads/2014/03/pic9_409134.png

Enter the respective parameters as mentioned above on the selection screen.

Note: Remember to blank out the Maximum No. Of Hits.

/wp-content/uploads/2014/03/pic10_409135.png

Once done click on execute button or F8.

/wp-content/uploads/2014/03/pic11_409139.png

Data browser is displayed and selects the entry by checking the check box left side and click on choose button (F2).

Note: Key the entry in RSPCPROCESSLOG table. As long as there is only one entry for the date we are pulling record from the table that’s fine. But if there are more than 1 entry then consider entry with latest time stamp.

/wp-content/uploads/2014/03/pic12_409140.png

All the chain related information’s required for processing are available now.

/wp-content/uploads/2014/03/pic13_409141.png

Go to SE37 and enter function module “RSPC_PROCESS_FINISH” and click on execute.


/wp-content/uploads/2014/03/pic14_409145.png


Mark the respective parameters and enter STATE as ‘G’.Click on execute button.

/wp-content/uploads/2014/03/pic15_409146.png

Since Instance ID is a mandatory parameter it will ask for a new value. Make it as blank and click on save button.

/wp-content/uploads/2014/03/pic16_409147.png

We can see the success message on the status bar as above.

Result:

/wp-content/uploads/2014/03/pic17_409148.png

We can see process chains appear as green and subsequent chains started running.

To report this post you need to login first.

7 Comments

You must be Logged on to comment or reply to a post.

  1. Riyazahmed C A

    I have a doubt.. If the chain is already finished, and for the visibility purpose, I’m turning a failed step green. Will this process the further steps again. I mean, Will this process trigger the already finished steps.

    (0) 
    1. Kannan Nair Post author

      Hi Riyaz,

      As per my knowledge without skipping subsequent process chain wont be triggered.until and unless it have “ALWAYS” enabled for the next subsequent chain.If it is connected using ALWAYS subsequent chains will be triggered.

      Again understand a process chain is not determined on the colour/visibilty but ensure it have achieved its functionality.But good question 🙂

      Regards,

      Kannan

      (0) 

Leave a Reply