Showing results for 
Search instead for 
Did you mean: 

Problem in deleting a request from ODS

Former Member
0 Kudos


i am trying to delete a request (not activated) from ODS, when i checked in SM37 for the status of the job it shows as Cancelled, but when i see for the request in ODS, the requested is deleted, could anyone please let me know why job in SM37 is cancelling when the request is actually deleting,

This is not the case with activated request.

please see the worklog of the cancelled job

Job started

Step 001 started (program RSDELPART1, variant &0000000005236, user ID KUMARV1)

Delete running: ODS object ZCFORO01, from 512,483 to 512,483

Delete is scheduled; Selection conditions were substituted

Request REQU_45IYZ9A2BQFRW0IUY5EB4MZ9W successfully deleted from ODS object ZCFORO01

ABAP/4 processor: MESSAGE_TYPE_X

<u><b>Job cancelled </b></u>

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Varun,

try this

Hope it's helpfull to you..

Thanks & Regards,


Active Contributor
0 Kudos


Looks like an exception has been raised - see if there are any short dumps..


Former Member
0 Kudos

Hi Arun,

Yes the system raises an exception and saying that there is an error in ABAP code, could you please let me know what is the error, i have tried this deletion with 3-4 different ODS and to different systems i.e. in Q, P system

Abap code as specified by Exception in ST22 transaction

The termination occurred in the ABAP program "SAPLRSSM_PROCESS" in


The main program was "RSDELPART1 ".

The termination occurred in line 114 of the source code of the (Include)

program "LRSSM_PROCESSU19"

of the source code of program "LRSSM_PROCESSU19" (when calling the editor


The program "SAPLRSSM_PROCESS" was started as a background job.

Source code extract

000840 endif.

000850 append l_s_rnr_del to l_t_rnr_del.

000860 endif.

000870 delete l_t_rnr_del where

000880 rnr = ''.

000890 loop at l_t_rnr_del into l_s_rnr_del.

000900 l_idx = sy-tabix.

000910 if l_s_rnr_del-sid is initial.

000920 call function 'RRSI_VAL_SID_SINGLE_CONVERT'

000930 exporting

000940 i_iobjnm = '0REQUID'

000950 i_chavl = l_s_rnr_del-rnr

000960 importing

000970 e_sid = l_s_rnr_del-sid.

000980 endif.

000990 if l_s_rnr_del-odssid is initial and

001000 not l_s_rnr_del-odsrnr is initial.

001010 call function 'RRSI_VAL_SID_SINGLE_CONVERT'

001020 exporting

001030 i_iobjnm = '0REQUID'

001040 i_chavl = l_s_rnr_del-odsrnr

001050 importing

001060 e_sid = l_s_rnr_del-odssid.

001070 endif.

001080 modify l_t_rnr_del from l_s_rnr_del index l_idx.

001090 if l_min_sid > l_s_rnr_del-odssid.

001100 l_min_sid = l_s_rnr_del-odssid.

001110 endif.

001120 endloop.

001130 if sy-subrc <> 0.

> message x000.

001150 endif.

0 Kudos

Hi Varun,

I am experiencing the same issue. Did you find a solution?

Thank you!