Skip to Content
0
Former Member
Feb 02, 2009 at 05:52 AM

delete fact table

196 Views

Dear Experts:

This is Zehua who is new here.

when I check some old program of our project, I found an interesting thing.

There is a program generated from T-CODE: 'DELETE_FACTS'.

The program name was inputted manually:'ZTEST_DELETE_FACTS'

In the program, i can see below source code at the end part.

-


CALL FUNCTION 'RSDRD_BUILD_REPORT_FOR_BATCH'

EXPORTING

I_REPID = 'GP1T5KLHUF5VOCCZQ4IY5CO6XPG'

-


The funny thing is, when I type the REPID in T-CODE:'SE38', I found it is also a program.

And source code is as below.

-


REPORT GP1T5KLHUF5VOCCZQ4IY5CO6XPG .

TYPE-POOLS: RSDRD, RSDQ, RSSG.

DATA:

L_UID TYPE RSSG_UNI_IDC25,

L_T_MSG TYPE RS_T_MSG,

L_THX_SEL TYPE RSDRD_THX_SEL.

L_UID = '84EMQ3J91RXWJIWROHA3VHWHG'.

IMPORT I_THX_SEL TO L_THX_SEL

FROM DATABASE RSDRBATCHPARA(DE) ID L_UID.

DELETE FROM DATABASE RSDRBATCHPARA(DE) ID L_UID.

CALL FUNCTION 'RSDRD_SEL_DELETION'

EXPORTING

I_DATATARGET = 'ZUMA0196'

I_THX_SEL = L_THX_SEL

I_AUTHORITY_CHECK = 'X'

I_THRESHOLD = '1.0000E-01'

I_MODE = 'C'

I_NO_LOGGING = ''

I_PARALLEL_DEGREE = 1

I_NO_COMMIT = ''

CHANGING

C_T_MSG = L_T_MSG.

export l_t_msg to memory id sy-repid.

UPDATE RSDRBATCHREP

SET DELETEABLE = 'X'

WHERE REPID = 'GP1T5KLHUF5VOCCZQ4IY5CO6XPG'.

-


It seems that the code is automatically generated by system.

Could anyone tell me via which T-CODE or how can I get this program?

Hope I am clear enough.

Thanks in advance.