Skip to Content
author's profile photo Former Member
Former Member

Deleting Init via Process chain

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 29, 2008 at 10:48 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.