on 01-29-2008 10:39 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.