cancel
Showing results for 
Search instead for 
Did you mean: 

Deleting Init via Process chain

Former Member
0 Kudos

Hi Team,

is there a way to delete init request of the source system via a process chain...

As I could not see one process for that, I t hink my best option is to write a small ABAP code and include it in a PC. Or is there a better option?

Is there a function module which deletes init requests?

Any other ideas.?

Thanks

Andy

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Why do you want to delete the initializations.. it is one time process and not to be repeated when ever your process chain runs for delta loads.

You cna delete the initializations manually.. go to infopackage and choose Scheduler option.. in the menu ..you shd see source system initializations.

Former Member
0 Kudos

Manga,

I understand the functionality of Init and how we do it manually.

The reason why I want to do it via PC is..

say for example I'm loading 0sd_c03 which has almost 7-10 different extractors loading into it....and during testing...If I want to reload the cube...this init deletion process is cumbersome doing manually..

I was wondering if there was a function module or a pice of ABAP code to do my job..

Thanks for your time though!!!

Andy

Former Member
0 Kudos

Hi,

You can delete the Init by using the function module RSS2_DELETE_INITSEL_OLTP.

You would require to supply the source system and the data sources names to this Function module.

CALL FUNCTION 'RSS2_DELETE_INITSEL_OLTP'

EXPORTING

I_LOGSYS = P_LOGSYS

TABLES

I_T_DS = T_DS.

For your requirement, you can use the below program and create variants and include that variant in the process chain.

----


  • TABLES

----


TABLES: RSDS. " DataSource in BW

DATA: BEGIN OF T_DS OCCURS 0.

INCLUDE STRUCTURE RSDS.

DATA: END OF T_DS.

----


  • SELECTION SCREEN

----


SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.

PARAMETERS: P_LOGSYS TYPE RSSLOGSYS OBLIGATORY.

SELECT-OPTIONS: S_DS FOR RSDS-DATASOURCE NO INTERVALS.

SELECTION-SCREEN END OF BLOCK b1.

----


  • START-OF-SELECTION

----


START-OF-SELECTION.

  • Select only Single Entry Values

LOOP AT S_DS WHERE SIGN = 'I' AND OPTION = 'EQ'.

T_DS-DATASOURCE = S_DS-LOW.

T_DS-LOGSYS = P_LOGSYS.

T_DS-OBJVERS = 'A'.

APPEND T_DS.

ENDLOOP.

  • Delete the Initializations using the Function module

CALL FUNCTION 'RSS2_DELETE_INITSEL_OLTP'

EXPORTING

I_LOGSYS = P_LOGSYS

TABLES

I_T_DS = T_DS.

If this solves your problem, please assign points.

Thank you

Shree