RSDMD_DEL_MASTER_DATA failed in Process Chain

Hi,
I created an ABAP program to call RSDMD_DEL_MASTER_DATA to delete unused master data. If I run it directly, it works; However if I run it in process chain, I got exception about "NO_LOCK_FOUND" and it can not delete any data.
Any idea.
Thanks

Create a variant for this program for your selection which infoobject you wanted to delete data..
Have a process type ABAP program with variant..
For example variant:
P_IOBJNM  PRCTUNIT
P_CHABNM  PRCTUNIT
P_DELSID -- Select the check box..
P_DELTXT -- Select the check box
P_OBJ     RSDMD
P_SUB     MD_DEL
P_EXT     PRCTUNIT
P_NOPROT -- Select the check box
Regards
Manga

Similar Messages

  • Code to fail a Process Chain

    Hello everybody,
    I am using a ABAP Program in a Process Chain ( Chain of Processes that load data to the BW Cube). I do some check in the Program. If the check is OK, then I will continue with the Process Chain. If the Check Fails, then I should fail the Process Chain.
    How do I accomplish this? If you can give me Piece of code, that will be very helpful.
    Thanks in advance.
    Shameem

    Hi Shameem,
    Plss Set the value of the sy-subrc to a non zero value so that the ABAP program step in Process Chain turns RED and Hence the Process Chain will stop.
    Shreya

  • ABAP program fails  in process chain -'ABAP/4 processor: DBIF_NTAB_SQL_ER

    Hi Experts,
    I have an ABAP program in  process chain. It frequently fails in the chain .
    When i do repeat on it will run fine.
    Purpose of the program is to delete the content from open hub table.
    I can    'ABAP/4 processor: DBIF_NTAB_SQL_ERROR' .
    What could be the reason . How can i give permenant fix to it.
    Thanks in Advance

    Hi,
    It looks like database error, speak to your DBA/Basis to get it resolved.
    regards
    Vikash

  • Create Index fail in process chain

    Hi Friends,
    I have a process chain in production system which loads inventory data everyday at 6:00Am.
    2 days back R3 production system failed and the data is not loaded into BI.  It was stopped at Delete Index step. I have started again by selecting Repeat then it worked and the infopackage is also executed successfully.
    After that it is failed at Create index step and giving message " Job cancelled after system exception ERROR_MESSAGE". Till then it is giving same problem everyday.
    Could you guys help me how to solve this and execute the chain successfully.
    Thanks & Regards

    Hi,
    Try to create index for the cube manually i.e got info cube , Right Click -> manage->performance-> perform check index - if red do repair index, if it will not help then create index. After that run it though process chain
    Hope it will resolve your problem.
    Sangita

  • Info Package failing in Process chain

    Hi,
       One delta load InfoPackage fail every time in process chain with error message "Last Delta upload not yet completed".
    Actually this infopackage load data in cube but in procuress chain log, it turn red and in the display message window, under tab "Chain" the request id is not the one which loaded data but different one.
    This issue is delaying the upgrade and URGENT in nature.
    PLEASE HELP....
    Regards,
    Anil

    Hi Anil
    You are trying to complete a delta load while the previous one is not finished. Please check the monitor for the previous load. You can use the manage tab to set a load to completed, or you can delete the load.
    If its hung (yellow) or in red goto the QM status in monitor and mark the QM status red. Then goto the data target and delete red request.
    Go back to the delta infopackage and schedule the job again. this time it'll prompt you for a repeat delta. Click OK and the delta load will start again. This'll bring the data for the old failed delta as well as any changes or new records as well.
    Hope this Helps
    Anand Raj

  • All  8 ODS   loads  are failing in Process chains

    Hi Experts,
    Today in Production ,all  8Z<ODS>  ( eg. 8ZSD_O51, 8ZSDC_53,8ZCOPABC02.......) giving same error in Extraction .
    It is "Error occured in data selection" in Extraction tab in details tab in RSMO.
    We are correcting these loads by deleting this red requests from data target and running the Infopackage manually for repeat of last delta.when we run infopackage manually it doesn't fail.but it give above error while loading in Process Chain.
    So in our Batch we have around 30-40 loads of this type( 8Z load).So to run each info package manually it is time consuming process??
    So pls give suggestions to correct this error.....
    How can we fix this problem........
    the error is coming only after some support pack installed in BW two day before.
    Thanx in advance...

    Hi,
    are you In DEV or Prod? If in prod, did you have this behavior in your DEV sys as well after applying your SP?!?
    try replicating your "myBW" datasources and reactivating your transfer structures;
    Try first with one of it; test and see if this works; then run RS_TRANSTRU_ACTIVATE_ALL to activate all your transfer structures.
    hope this helps...
    Olivier.

  • PSA Deletion Process failed in Process Chain

    Hi..I have a bizzarre issue...
    I have created one process step in Process chain for deletion of PSA data of a particulur data source(o days).Every setting is fine.
    Except for it fails and gives message:
    Data inconsistency; Partition /BIC/B0001723000 not deleted
    Then I do the repeat in Process Chain and it completes successfully.
    Can anybody throw some light??

    Hi,
    Go to se14 and adjust it - /BIC/B0001723000
    thats it,
    Best regards,
    dushyant.

  • DB statistics failed in Process Chains

    Hi BI Experts,
    We are maintaining 6 process chains in our system.
    Today every job was running successfully.
    But in every process chains, the DB STATISTICS are failed.When I check in the performance tab , it shows green.
    So i could not solve this problem.
    The log message is:
        The exception 'CX_SDB_ORA_PROGRAM_ERROR' was raised, but it was not caught
         anywhere along
        the call hierarchy.
        Since exceptions represent error situations and this error was not
        adequately responded to, the running ABAP program
         'CL_SDB_ORA_UPDATE_STATS=======CP' has to be
        terminated.
    Please can anyone tell me the process.
    Thanks in advance.
    Regards
    Anjali

    Hi Anjali,
    Check the OSS Note 998904 - Statistics check shows red or yellow traffic lights.
    I am pasting the contents of the Note here:
    Symptom
    After an update statistics run, the check (in transaction RSRV or transaction RSA1--> Manage) continues to show yellow or red traffic lights.
    Other terms
    RSDU_ANALYZE, analyze, statistics, yellow traffic light, red traffic light, performance, RSRV, incorrect statistics, manage
    Reason and Prerequisites
    This problem is caused by a program error.
    Solution
    The check for current statistics on InfoCubes contains a static time query and as a result of this, statistics are incorrectly displayed as 'not current'. This is just a display problem.  After an update statistics run, the statistics are actually up to date.
    SAP NetWeaver 2004s BI
               Import Support Package 10 for SAP NetWeaver 2004s BI (BI Patch 10 or SAPKW70010) into your BI system. The Support Package is available once Note 914304 "SAPBINews BI 7.0 Support Package 10", which describes this Support Package in more detail, has been released for customers.
    In urgent cases, you can implement the correction instructions.
    You must first implement Notes 932065, 935140, 948389, 964580 and 969846, which provide information about transaction SNOTE. Otherwise, problems and syntax errors may occur when you deimplement some notes.
    To provide information in advance, the notes mentioned above may already be available before the Support Package is released. In this case, the short text of the note still contains the words "Preliminary version".
    Before you implement an advance correction (if one exists and you want to implement it), see Note 875986. It contains notes regarding the SAP Note Assistant. These notes prevent problems during the implementation.
    Bye
    Dinesh

  • Rollup process failing in process chain

    Hi All,
    Daily the rollup processin in our process chain failing due to  the fallowing error
    "ORA-01400: cannot insert NULL into
    ("SAPBIW"."/BIC/E100093"."KEY_100093U") "
    But once we repeat the rollup process in the process chain it is getting successfull.
    Can you suggest solution for this error.
    Thanks
    Suneel

    Hi Suneel,
    As correctly mentioned by other to check logs and PSA data, you shour also check notes available on this error.
    Probabaly some data in a field is causing this error, so need to analyize the values which are coming.
    There are few notes on this:
    ORA-1406 error/ ORA-1400 Cannot insert NULL
    SAP Note Number: 211617
    Hope it helps...
    Regards,
    Ashish

  • Delta Failed in Process Chain

    Hi BW Experts,
    Our MM process Chain (Transaction Data)is running daily at 11:55PM in the night time.
    But today it is still running. I know this process chain will be failed . If we do not solve the issue today, delta package will not run tomorrow. Is it correct?
    Please give me the solution.
    Thanks & Regards,
    Anjali

    Hi,
    • This error normally occurs whenever BW encounters error and is not able to classify them. There could be multiple reasons for the same
    Whenever we are loading the Master Data for the first time, it creates SID’s. If system is unable to create SID’s for the records in the Data packet, we can get this error message.
    If the Indexes of the cube are not deleted, then it may happen that the system may give the caller 70 error.
    Whenever we are trying to load the Transactional data which has master data as one of the Characteristics and the value does not exist in Master Data table we get this error. System can have difficultly in creating SIDs for the Master Data and also load the transactional data.
    If ODS activation is taking place and at the same time there is another ODS activation running parallel then in that case it may happen that the system may classify the error as caller 70. As there were no processes free for that ODS Activation.
    It also occurs whenever there is a Read/Write occurring in the Active Data Table of ODS. For example if activation is happening for an ODS and at the same time the data loading is also taking place to the same ODS, then system may classify the error as caller 70.
    It is a system error which can be seen under the “Status” tab in the Job Over View.
    Pls assaign the points if possible.
    Regards,
    Raghavendra Rao.Kolli

  • DTP failed in process chain...

    Hi All,
    Process chain of master data got failed in DTP, the error message is :
    " Second attempt to write record "XXXXXXXrec number XXXX" failed. "
    waiting for the reponse.
    Regds,
    Zakir

    HI Zakir,
    Dont check the option Handle duplicate records.If iam correcti thik you are trying to load the master data again by deleting the data.When you tried to delete the data the complete data may not have deleted.
    First Alternative:-
    Iknow you may not have authorisation for se14 if is is there please delete all the P ,q and M tables in SE14.Then try to load the DTP
    Second:-
    If you open the monitor of the failed DTP and go into the details tab and drill the erro and when you  right click on of the step on one of the failed step there you will set keydate/timestamp select that and then delete the request activate the DTP again and try to load.
    Third:-
    Its better to delete the DTP and Create it once agian.
    let me know if it has worked.
    Regards,
    Vikram

  • Event data change process failed in process chain

    Hi All,
    We have a process chain to broadcast the workbooks where we have three event data change processes in succession.
    When this process chain is executed, the first event data change process is getting executed successfully, but the second process is getting failed every time. The error message is 'Session terminated.Cannot precalculate the workbook...'. Please let me know if anyone has faced the same kind of problem and also the remedy for it.
    Thanks in advance
    Hima Bindu

    Hi,
    Check the load on the precalculation server, also any errors occured for the precalculation of the workbook.
    Regards,
    anil

  • Attribute change run Failing in Process Chain

    Hi guys,
    Every day my process chains is failing due to Attribute change run and I am maually running attribute change run.
    And one more thing when the attr. change run is triggered automatically,then it is generating 2 change counters in RSATTR tcode instead of 1.
    One is successfully completes and one is still in schedule.After 2days days it is showing like completed change count id.
    Please help me.
    Regards,
    Tiragati.

    Hi,
    As you said Attribute change run step is failing every day.
    can you post the error message. is it failing because of Lock issue or some other issue.
    Mostly attribute change runs fails with lock issues. if its the same problem in your case. make sure that no master data objects runs at the time attribute change run runs.
    Try to put some delay in the process of the Attribute change run so that it will not get failed.
    Check if its the same ACR scheduled or diff objects?
    Regards
    KP

  • Send email if any step fails in Process Chain

    I want to send an email if any step in the Process Chain fails.  I know I can add a Message to each step but this is very cumbersome.  I was trying to use the 'OR' collector and link each one of my steps to the 'OR' if it fails.  I can do this for every step but the very last one.  It does not allow me to drag a line from my last step to the 'OR'.  Can someone tell me why?
    Thanks.
    Ryan

    Boater,
    I am not able to understand the scenario, but from what I understand you should be able to connect to. Could you explain?
    Goodluck,
    Alex(Arthur Samson)

  • Loadihng from ODS to Cube failed in process chain

    Hi All,
    I have a process chain for SD loads scheduled every night. It gave me an error while loading data from Billing ODS to Billing Cube(via Further Processing, and the data is not available in PSA).
    The error it gave is as follows:
    Error while updating data from DataStore object ZSD_O03
    Error 7 when sending an IDoc
    Time limit exceeded. 3
    Time limit exceeded.     
    Errors in source system
    Now the request is loaded in Cube(YELLOW status) with transfered records 87125 and added 62245. But there is no way by which we can check if the complete data has come to the cube.
    i did not delete the previous request from the cube  and tried to repeat the process chain from the same point...it then gave me the following error:
    -Last delta incorrect. A repeat must be requested. This is not possible.
    Please tell me now what should I do...i don't have to miss the delta records in the cube.
    1)Should I delete the prevous loaded request in cube and repeat the process chain from the same point...will it get all the delta records in that case???
    2)Should I delete the request from cube and manually repeat the last delta for the cube. and then manually load the remaining process chain.
    please help me out soon..
    Thanks and Regards,

    Hello Niyati
    you can use 2nd option
    Your error message is comming because of lack of BGD process and memory....just set the status of request in cube to red, delete it, and run a repeat load from infopackage.....
    If no. of records are high than just go for the option of "load data in PSA and than subsequently in data target"
    in infopackage
    Thanks
    Tripple k

Maybe you are looking for

  • HELP:: Flash unable to open BAT file or PPT file

    HELP Please.... I am using Flash MX.. my projector exe file doesnt seem to open/call "myppt.bat" file which calls a powerpoint (PPS) file after the animation is over. The bat file runs well when self executed but not from flash... I also installed th

  • FileReader + ftp path of the file

    Hello everybody. I am trying to open a file using the FileReader but unfortunatelly the file is on an FTP server. My problem is that when I pass the path of the file e.g. ftp://pavlos/zzz.txt as a parameter to the FileReader it changes it automatical

  • WL5.1sp8-NSAPI-IE-Status bar shows page is loading for minutes

    I'm using WL5.1sp8, NES4.1sp6 on a Solaris 7 to deliver JSP pages over https. I notice that the status bar on the bottom line of IE5 (windows NT) indicates that the page is still loading for minutes, even though the page appears to be complete. What

  • Need BAPI for CO06 , COR1 and COR6

    I am searching for BAPI for the following Tcodes 1> CO06 - Back Order Processing 2> COR1 - Create process Order 3> COR6 - Create Process Order Confirmation i will be great full if u can give me the BAPI's for the following Tcodes.. thanks in advance.

  • Bad data from daq

    I am taking data off of a radar gun. The gun is connected to one channel of a 16 channel circuit board which sends the data through an ide cable to a DAQ notebook card. This exact setup worked at one time on an older computer. Now the signal from the