How to delete Init flag in a  process chain, before processing the init

Hi,
At the end of the week i need to re-execute the init request from ODS1 to ODS2.
Therefore, i have to delete the init flag first and the requests in the CUBE1, everything automatically in the process chain.
The schedule must be as follow :
1. Delete init flag on ODS1
2. Delete all request from ODS1 in the CUBE1
3. Load an regular INIT request from ODS1 to CUBE1.
Notes :
I cannont clear all the CUBE1 content, as i have other datasource than ODS1.
CUBE1 is the only one data-target of ODS1.
Any suggestion, as there is no process in the process chain to "Delete Init Flag".
Best regards,
Ludovic

Hi
Ad.1
start code----
DATA: v_count TYPE i,
p_dsourc LIKE roosprmsc-oltpsource,
p_rlogsy LIKE roosprmsc-rlogsys.
p_dsourc = 'your source'. *"8E2_ODS1"
p_rlogsy = 'your system'. *"BP100"
SELECT COUNT(*) FROM rssdlinit INTO v_count
WHERE oltpsource = p_dsourc
AND logsys = p_rlogsy.
IF sy-subrc NE 0. "MesgTyp E end the program abnormally
MESSAGE e508(db6) WITH 'x' 'x' 'in DSource and/or LogSys'.
EXIT.
ENDIF.
Call delete function
CALL FUNCTION 'RSS1_QUEUE_DELETED_IN_OLTP'
EXPORTING
i_oltpsource = p_dsourc "OLTP-Source
i_logsys = p_rlogsy "LogSys (Myself or Remote)
EXCEPTIONS
failed = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE e508(db6) WITH 'x' 'x' '===> No sucess <==='.
ENDIF.
---end code
Ad.2
See RSA1-> Infosources -> select your Infopackage -> Change ->
Data targets -> Automatic Loading of Similar.. -> Delete existing Request
Ad. 3
Create Infopackage with init
Regards
PWnuk

Similar Messages

  • I have a teenager that has learned how to delete his history, is there a way to lock the history to where I can monitor the sites he visits without setting up parental control program on the computer?

    I have a teenager that has learned how to delete his history, is there a way to lock the history to where I can monitor the sites he visits without setting up parental control program on the computer?

    Use security software or a router with a build-in password protected logging feature if you want to keep a record of visited websites.<br />
    You can't prevent people from deleting the history and other personal (private) data in Firefox and a log elsewhere will always work even if other browser would be used.

  • How to delete requests in PSA using Process chains

    Hi All,
    Can anyone explain me how to delete all the requests in PSA using Process chains.
    This is what I did...
    1. use Process type 'Deletion of Requests from PSA'
    2. Settings:
    Object Type - PSA table
    Object Name - <Datasource name>          
    Older than - 0 (Zero) days
    These settings doesn't work. Can you please let me know exact settings to use for deleting all the requests in PSA of a datasource.

    Hello Praveen,
    That's what I thought too. But if I use '1' one day, what if I need to run it twice same day? So this doen't work for my requirement.
    Any other suggestions?
    Thanks.

  • How to delete a Root Organization in Process Control 3.0

    Hi Experts,
    Wrongly I created a root Organization in Our PC 3.0 system.Now I am unable to do that. Can anyone please tell me, how to delete the same.
    Thanks in advance.
    Regards,
    Guru

    Hi,
    Can you tell us how to delete it? I have the same problem.
    Regards,
    Aldo Kusuke

  • How much time do I need to process the data

    Re. my previous question.
    I will be scanning 26 analogue channels at 7 khz into the PCI 6024E using a SCXI 1000 with an 1100 temperature module and the voltage signals going into the 1180 direct feedthrough.
    I would like to acquire up to 3 seconds of data at 7 khz on all 26 channels. I then would 'decimate' the 20 thermocouple channels down to a sample rate of about 700 hz from 7 khz and then display the temperature profiles on a chart and then write the data to disk for all 20 channels writing only the reduced number of samples for each channel.
    Two of the 7 khz inputs I would do an RMS calculation on and then display the results and also write the results of the RMS to a different file.
    The program then needs to
    be ready to sample new data again for three seconds.
    The computer is a P3 500 MHz with 327 MB ram.
    Another part of the question would be suggestions about how to write the program so that we could be sampling new data while the program is processing the old data and writing to disk.

    Hello mhtl,
    If your question is how long will it take to process the tasks you mentioned, there's really no way to tell. This not only depends on the machine, but how you implement it. Certainly, tasks such as this are possible. In fact, we have a good example program that shows you a good structure using threads and queues.
    Running Multiple Tasks in LabVIEW
    (Make sure you select the "advanced" VI inside the llb file.) This example puts the three tasks, acquire, analyze, and present into three separate threads so that they are all acting simultaneously. (Which I believe was your question.) In your "analyze" V
    I, you could be processing your data while the "show data" VI is simultaneously writing previous data to file. There is a good tutorial linked to the page I mentioned above as well. This topic is also covered in our LabVIEW Advanced training course if you're interested.
    I hope this helps!
    Russell
    Applications Engineer
    National Instruments
    http://www.ni.com/support

  • How to delete email account on S60a? no answer for the last 3 weeks!!!

    Hello, please advise how can i delete e-mail acount on my lenovo s60? I created 2 accouts for two my e-mails (gmail) but i can't find how to delete one of them. I entered Settings / Accounts / E-mail / account settings / my e-mail / but there is no any dots out there, only new button Add account. I am trying to delete not google account but e-mail account: POP / Imap ets. (by the way with google account there are also no dots to click). I would appreciate if you could send print screen to figure out where i can find these dots. Even more, it is not possible to correct account to IMAP once it is set for POP. Thank you for detailed answer! Grigory

    Hi grajay,
    Thanks for posting. I can check what's going on with the email accounts for you. Can you please drop me an email with your details? You'll get the 'contact us' link in my profile.
    Cheers
    David
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)

  • How to delete InfoCube data in a Process Chain with restictions?

    Hi Friends!
    My process chain is a full update in the cube 
    I need delete the data everyday except  the last day in the month.
    How can I do this in 7.0 release?
    Thanks!

    Hi,
    Please use the option Delete of overlapp requests process type
    Take the following conditions as :
    1) Only delete request from same DTP
    3) Only Full DTP
    3) Only Delete DTP requests from same souce
    Selections are
    Overlapping
    Request date
    Is in the current month
    based on the month
    Hope this helps out
    Thanks
    PT
    Edited by: PT on Feb 23, 2010 7:18 PM

  • How to delete init request when load is taking place from ods to Cube

    Dear All,
    I have initiated the init load from ODS to Cube, but the init request was not successfull... Now on clicking the init infopkg i get the short dump error....
    I am trying to acess this infopkg so that i can delete the old init and reschedule it again...
    Now in order to avoid this error i need to delete the init request somehow..... Since data load is happening in BW system only there is no way to go to delta queue and delete the init...
    How can i delete the init request in this case or how do i avoid this dumup error???
    Thanks & Regards,
    Anup

    From se11, go to the table, see the content... from this window mark the check box for relevant entries in the first column and click on Display button (F7)
    enter "/h" in the command prompt and press enter
    Click the top most green button to execute.
    From the debugging screen, double click on variable "CODE" change the value to "DELE" (from "SHOW") and save (by pressing enter in bi7 and by clicking pencil icon in bw 3.x ).
    Press F8
    In the result screen you will find the delete entry in the application bar
    Delete one by one after ensuring the record content.
    Better you can ask any abaper to delete the table entries in the debug mode coz its a production server..else you can call me 9500066350(I prefer you to go along with abaper if you have no option dont wait for calling).

  • How to delete  old schedule time of process chain after changing

    I am try to change the schedule time of process chain on production but after changed the old schedule is still working (i.e. every day on 7 am I want change it to 6 am only) ,one process scheduled two time.
    I want only last changed. How to remove the older one?
    Thanks

    hmm wierd...one more thing check if this process chain get trigger by anyother process chain by some abap program or any.
    Check the table rspcchain to know if it has any meta chain or not. IF not follow the below steps :
    make your process chain trigger based upon the event. Follow the below step.
    1.SM64 ---> Create event -
    > come to your process chain -> maintain the start variant -> event base---> give that event name here.Now we will be require to create the job which will trigger this event for  this.
    2.Let us take the below PC as example;
    ZL_TD_HCM_004 -- This PC is running after event u2018START_ZL_TD_HCM_004u2019
    3.Go to T Code: SM36 Here we define the Background job which will be available in SM37 after saving it.
    4.It will ask for ABAP Program to be entered. Give it as Z_START_BI_EVENT and Select Variant from the list. (Based on Process chain, you can select it)
    5.Then select Start Conditions and give the start time of process chain. and select periodicity.
    6.Save the newly created job in SM36.It will be now available in SM37.
    This should solve your problem now .. have  fingure crossed
    Thanks,
    Deepak
    Edited by: Deepak Machal on Dec 14, 2011 8:20 AM

  • How to delete all items in download folder under bookmark in the shortest time?

    I understand that all downloads from internet and yahoo/google mail are stored in the "Download" folder which I see under bookmark when I want to delete. I think that if the download folder is never emptied, then my mac will slow down. Therefore I want to delete these downloads which I have already seen. How do I delete ALL items in the shortest time? Deleting items, even in groups, takes a long time. Is there a method that I can use so that all items in the folder are deleted in one stroke?
    Thanks.
    Unguja

    Try (first button on toolbar) Organize > Select All (Command + A) to select all items in the right pane in the Library.

  • Firefox seems to be prompting me w/ potential email address when i have to put in one for a user name, i don't know how to delete those and stop it...thanks for the help

    Every time a box pops up in any kind of site where I have to fill in a user name or password, Firefox tries to prompt me w/ old email address and emails. I don't want that to happen and don't want those email shown...how do I delete those and keep that from happening?

    Hi Irene,
    You should always pay attention when installing software because often, a software installer includes optional installs, such as this adware. Be very careful what you agree to install.<br>
    Adware gets on your computer after you have installed a freeware software (video recording/streaming, download-managers or PDF creators) that had bundled into their installation this browser hijacker.
    You can use the below steps to revert back to adware-less Firefox.
    1) <u>Reset Prefs</u>
    *Navigate to '''about:config''' in your Address Bar
    *Press the "I'll be careful, I promise!" button to proceed
    *Search for <b>trovi</b> and reset all prefs that pull up by right clicking > Reset
    2) Remove any programs that you don't recognize or remember installing from your Control Panel (Start > Control Panel > Uninstall a Program)
    3) Remove any extensions that you don't recognize or remember installing from Firefox.
    *<b>Firefox 29 and above:</b>(Press the menu button ([[Image:new fx menu]] > Add-ons > Extensions)
    *<b>Firefox 28 and below:</b>[[Image:Firefox Button]]> Add-ons > Extensions)
    4) Download ADW Cleaner to wipe out any remnants of the adware.
    *http://www.bleepingcomputer.com/download/adwcleaner/

  • How to delete one perticular message from a user and not the whole messages

    hi
    i would like to know how can i delete a single message sent by a person and not the complete list of message received by me from the same person also how can i forward a message received by me

    beesani
    Sorry. ;( You can"t delete part of a message. You can only delete the entire message from that person.
    will2b

  • How to delete lock screen photo image from camera while retaining the default images?

    Hi,
    I've recently took a picture using my camera and set it as a lock screen photo. However, I can't delete the custom lock screen photo after deleting my camera picture on my laptop. I would not know what will happen if I were to reset my entire system as I
    have two separate accounts; one of the accounts is not a Microsoft account. If i were to reset my computer system, some of the applications might not be there as the laptop had a custom setting when I bought it.
    How do I delete the cached photo in my computer?(The one without a Microsoft account)

    Hi,
    Do we have any backup available?
    If yes, we may consider to use system restore point to return to a state that could be able to change/delete the lock screen picture.
    Best regards
    Michael Shao
    TechNet Community Support

  • How can I use Hash Table when processing the data from cdpos and cdhdr

    Hello Guru,
    I've a question,
    I need to reduce the access time to both cdhdr and cdpos.
    Because may be I'll get a huge number of entries.
    It looks like that by processing cdhdr and cdpos data will take many secondes,
    it depends on how many data you need to find.
    Hints : Putting instructions inside a form will slow down the program?
    Also, I just want use Hash table and I need to put a loop-instruction going on the hash-table in form.
    I know that it's no possible but I can declare an index inside my customized hash table.
    For example :
    DO
    READ TABLE FOR specific_hash_table WITH KEY TABLE oindex = d_oindex.
    Process data
    d_oindex += 1.
    UNTIL d_oindex = c_max_lines + 1.
    Doing this would actually not necessary improve the performance.
    Because It looks like I'm having a standard table, may be there's a hash function, but it could be a bad function.
    Also I need to use for example COUNT (*) to know how many lines I get with the select.
    FORM find_cdpos_data_with_loop
      TABLES
        i_otf_objcs TYPE STANDARD TABLE
      USING
        i_cdhdr_data TYPE HASHED TABLE
        i_objcl TYPE j_objnr
    *    i_obj_lst TYPE any
        i_option TYPE c
      CHANGING
        i_global TYPE STANDARD TABLE.
      " Hint: cdpos is a cluster-table
      CONSTANTS : objectid TYPE string VALUE 'objectid = i_obj_lst-objectid',
                  changenr TYPE string VALUE 'changenr = i_obj_lst-changenr',
                  tabname TYPE string VALUE 'tabname = i_otf_objcs-tablename',
                  tabnameo1 TYPE string VALUE 'tabname NE ''''',
                  tabnameo2 TYPE string VALUE 'tabname NE ''DRAD''',
                  fname TYPE string VALUE 'fname = i_otf_objcs-fieldname'.
      DATA : BEGIN OF i_object_list OCCURS 0,
                objectclas LIKE cdpos-objectclas,
                objectid LIKE cdpos-objectid,
                changenr LIKE cdpos-changenr,
             END OF i_object_list.
      DATA : i_cdpos LIKE TABLE OF i_object_list WITH HEADER LINE,
             i_obj_lst LIKE LINE OF i_cdpos.
      DATA : tabnamev2 TYPE string.
      IF i_option EQ 'X'.
        MOVE tabnameo2 TO tabnamev2.
      ELSE.
        MOVE tabnameo1 TO tabnamev2.
      ENDIF.
    *LOOP AT i_cdhdr_data TO i_obj_lst.
      SELECT objectclas objectid changenr
        INTO TABLE i_cdpos
        FROM cdpos
        FOR ALL ENTRIES IN i_otf_objcs
        WHERE objectclas = i_objcl AND
              (objectid) AND
              (changenr) AND
              (tabname) AND
              (tabnamev2) AND
              (fname).
      LOOP AT i_cdpos.
        APPEND i_cdpos-objectid TO i_global.
      ENDLOOP.
    *ENDLOOP.
    ENDFORM.                    "find_cdpos_data

    Hey Mart,
    This is what I met, unfortunately I get the same performance with for all entries.
    But with a lot of more code.
    FORM find_cdpos_data
      TABLES
        i_otf_objcs TYPE STANDARD TABLE
      USING
        i_objcl TYPE j_objnr
        i_obj_lst TYPE any
        i_option TYPE c
      CHANGING
        i_global TYPE STANDARD TABLE.
      " Hint: cdpos is a cluster-table
      CONSTANTS : objectid TYPE string VALUE 'objectid = i_obj_lst-objectid',
                  changenr TYPE string VALUE 'changenr = i_obj_lst-changenr',
                  tabname TYPE string VALUE 'tabname = i_otf_objcs-tablename',
                  tabnameo1 TYPE string VALUE 'tabname NE ''''',
                  tabnameo2 TYPE string VALUE 'tabname NE ''DRAD''',
                  fname TYPE string VALUE 'fname = i_otf_objcs-fieldname'.
    *  DATA : BEGIN OF i_object_list OCCURS 0,
    *            objectclas LIKE cdpos-objectclas,
    *            objectid LIKE cdpos-objectid,
    *            changenr LIKE cdpos-changenr,
    *         END OF i_object_list.
    ** complete modified code [begin]
      DATA : BEGIN OF i_object_list OCCURS 0,
                objectclas LIKE cdpos-objectclas,
                objectid LIKE cdpos-objectid,
                changenr LIKE cdpos-changenr,
                tabname LIKE cdpos-tabname,
                fname LIKE cdpos-fname,
             END OF i_object_list.
    ** complete modified code [end]
      DATA : i_cdpos LIKE TABLE OF i_object_list WITH HEADER LINE.
      DATA : tabnamev2 TYPE string.
    ** complete modified code [begin]
    FIELD-SYMBOLS : <otf> TYPE ANY,
                    <otf_field_tabname>,
                    <otf_field_fname>.
    ** complete modified code [end]
      IF i_option EQ 'X'.
        MOVE tabnameo2 TO tabnamev2.
      ELSE.
        MOVE tabnameo1 TO tabnamev2.
      ENDIF.
    **  SELECT objectclas objectid changenr
    **    INTO TABLE i_cdpos
    *  SELECT objectid
    *      APPENDING CORRESPONDING FIELDS OF TABLE i_global
    *      FROM cdpos
    *      FOR ALL ENTRIES IN i_otf_objcs
    *      WHERE objectclas = i_objcl AND
    *            (objectid) AND
    *            (changenr) AND
    *            (tabname) AND
    *            (tabnamev2) AND
    *            (fname).
    ** complete modified code [begin]
      SELECT objectid tabname fname
          INTO CORRESPONDING FIELDS OF TABLE i_cdpos
          FROM cdpos
          WHERE objectclas = i_objcl AND
                (objectid) AND
                (changenr) AND
                (tabnamev2).
    ASSIGN LOCAL COPY OF i_otf_objcs TO <otf>.
      LOOP AT i_cdpos.
      LOOP AT i_otf_objcs INTO <otf>.
       ASSIGN COMPONENT 'TABLENAME' OF STRUCTURE <otf> TO <otf_field_tabname>.
       ASSIGN COMPONENT 'FIELDNAME' OF STRUCTURE <otf> TO <otf_field_fname>.
        IF ( <otf_field_tabname>  EQ i_cdpos-tabname ) AND ( <otf_field_fname> EQ i_cdpos-fname ).
          APPEND i_cdpos-objectid TO i_global.
          RETURN.
        ENDIF.
      ENDLOOP.
      ENDLOOP.
    ** complete modified code [end]
    **  LOOP AT i_cdpos.
    **    APPEND i_cdpos-objectid TO i_global.
    **  ENDLOOP.
    ENDFORM.                    "find_cdpos_data

  • How to delete an address which shows, but is not in the address book.

    Sometimes when I address a message I see three identical correct addresses and one old one that is no longer good. How can I delete all but one of the addresses? They do not appear in the person's contact info or on the address book list. Thank you, Marty

    All suggestions come from one of your address books. You have two by default in Thunderbird. The Personal and the Collected books. Find the problem addresses and fix or delete them.

Maybe you are looking for

  • In cluster or not ?

    Hi, on 10g R2 on HP Unix : I'm begining to administer a new database in alertlog I have : ORA-29702: error occurred in Cluster Group Service operationBut when : srvctl status service -d MYDB PRKR-1001 : cluster database MYDB does not exist PRKO-2005

  • I downloaded iTunes 11 but want to keep format of iTunes 10

    This new format of iTunes annoys me i wish i could go back to the old one.....-_- if anyone know how to change it, it would make me happy.

  • Which speaker system is better: Inspire 5200 or 5300?

    Hi, I'm just about to :smileyindifferent: buy new Creative speaker systems. Unfortunately, in my country and city options are scarce. Only few models are available and I am trying to get a good, decent sound, with good bass for bassy songs (i.e. danc

  • Restore (file already exists)

    Hello 1-)Why does restore fail in below scenerio? 2-)'C:\TEST.DBF' datafile is not in my backupset,Why oracle attempts to restore it? rman target / Recovery Manager: Release 10.2.0.1.0 - Production on Sun Jul 26 12:29:42 2009 Copyright (c) 1982, 2005

  • How to make RTF avalilble for download in the Report Attributes

    I cannot see the RTF download in the Report Attributes of a Interactive report. Also, it may be related, I have that no printer servcer is configured. I have no idea where to llok, since in the installation guide says nothing about this. Any dirrecti