How to delete the error stack?

Hi guys
we just have a simple problem but cannot find the answer:
We are working with error handling on our transformations / dtp requests.
There are as well error dtps for coping with the errors produced.
However, there is often the case that there are records which can not be corrected.
Therefore, we would like to delete the remaining content in the errorstack.
Unfortunately, we couldn't find any standard report so far for doing this.
So how is this possible?
Thanks & regards
bivision

Hi bi vision,
Create ABAP program and include it in your process chain.
Logic is as follows:
1) Create a Program variant.
2) Save the variant with all your DTP Technical names.
3) write a program.
4)   SELECT odsname_tech userapp userobj FROM rstsods
                   INTO TABLE lt_rstsods
                   WHERE userobj IN s_dtp
                   AND userapp = 'ERRORSTACK'.
  IF lt_rstsods IS NOT INITIAL.
    SORT lt_rstsods.
    SELECT requid dtp FROM rsbkrequest
                      INTO TABLE lt_rsbkreq
                      WHERE dtp IN s_dtp.
    IF lt_rsbkreq IS NOT INITIAL.
      SORT lt_rsbkreq BY requid DESCENDING.
      SELECT requid sid FROM /bi0/srequid INTO TABLE lt_srequid
                        FOR ALL ENTRIES IN lt_rsbkreq
                        WHERE sid = lt_rsbkreq-requid.
      IF lt_srequid IS NOT INITIAL.
        SORT lt_srequid BY sid DESCENDING.
      ENDIF.
    ENDIF.
  ENDIF.
5)   LOOP AT lt_rstsods INTO ls_rstsods.
    lv_errtab = ls_rstsods-odsname_tech.
    READ TABLE lt_rsbkreq INTO ls_rsbkreq WITH KEY
               dtp = ls_rstsods-userobj BINARY SEARCH.
    IF sy-subrc = 0.
      lv_requid = ls_rsbkreq-requid.
      READ TABLE lt_srequid INTO ls_srequid WITH KEY
                    sid = lv_requid.
      IF sy-subrc = 0.
        lv_treqid = ls_srequid-requid.
        DELETE FROM (lv_errtab) WHERE request NE lv_treqid.
        if sy-subrc = 0.
          MESSAGE text-005 TYPE 'S'.
        else.
          MESSAGE text-006 TYPE 'S'.
        endif.
      ELSE.
        lv_treqid = ''.
      ENDIF.
    ELSE.
      lv_requid = ''.
    ENDIF.
    CLEAR: lv_errtab, lv_requid, lv_treqid.
  ENDLOOP.
Hope this will help you.  The same has implemented in our project and it is working fine.
Regards,
Krishna Chaitanya

Similar Messages

  • How to delete the error stack in process chain?

    Hi all,
    we just want to do the following:
    - we are loading in FULL daily to our datatarget (data is versionized by 0calday)
    - we want to use the error-stack in order to analyze wrong data
    --> but we now encounter the problem that, if data has once been added to the error stack and has not been handled yet, all data from the next daily load will be sorted out as records with this key do already exist in the error-stack. But that's exactly what we want to avoid.
    with other words: how can we delete the records in the error stack by a report by e.g. using this in a process chain?
    Thanks in advance,
    Best regards,
    bivision
    Edited by: bivision2009 on Jul 6, 2010 12:25 PM

    Dbl click that DTP.... From menu... Extras -> Setting for Error Stack
    Here U can see error stack table name /BIC/B0001234000.
    Using SE38, create simple program "Delete from /BIC/B0001234000"
    In the process chain, add process type "ABAP Program" to add above deletion statement.

  • How to populate the Error stack during error records in field level routine

    hi,
    I am capturing the error records in Field level routine in transformation. now i want these records to reflect in error stack.
    i am using 'Append monitor-rec to MONITOR' at the moment but i cant see any records in error stack.
    but when i am using the same statement in start routine i am getting records in error stack.
    can anyone please help as to how can i populate error stack through field level routine?

    Hi,
    Try to do it in the end routine instead of the field routine.
    It should work.
    Regards,
    Joe

  • How to fill the error stack

    Hi,
    we want to check the data quality of the source in the start routine, process the good in the target and the bad in the error stack. Have you any idea which exception I have to raise to put it in the error stack?
    regards, Adrian

    Hi Adrian,
    you have to use skip record exception in a transformation routine. If this exception is rissen, the return code of the routine is unequal to zero and the data row is moved to error stack.
    If you create a transformation routine there is a short example given how to rise skip record exception. Skip value exception wont help, it will only clear the result and returns a blank or zero to the target.
    Please be aware of that the exception neither exits in start nor in end routines. There is no errorhandling on row level possible.
    Additionally create monitor entries to describe the error you are creating with calling the exception. It's recommended to create your own message class to do so.
    Regards Michael
    edit
    Remember switching on error handling in DTP configuration
    Edited by: Michael Seifert on Aug 12, 2008 1:46 PM

  • How to delete the error message in Adapter?

    I got one error record stuck in destination JDBC adapter. Is it possible for me to delete the error record?

    Hi Elliot,
    SXMB_ADM
    Integration Engine Configuration
    Specific Configuration
    Category: DELETION
    Parameters: PERSIST_DURATION, PERSIST_DURATION_ERROR
    Subparameters: SYNC, ASYNC
    Change "Current Value".
    and execute your delete job again!
    Regards,
    Udo

  • How to delete the error message in the Web page Message Monitoring

    Hi All:
    I'd like to ask a question.If there is error message in the T-code sxmb_moni->Monitor for Processed XML Messages,I can cancel the error message manually and archive the message. After that,I can delete the message from "Monitor for Processed XML Messages".
    But after those operation,I find in the web page " Message Monitoring", there are still messages in the "Messages from Component Integration Server and/or Adapter Engine".
    How can I delete those message both successful and error.
    Thanks All
    Elliott

    Hi Elliot,
    SXMB_ADM
    Integration Engine Configuration
    Specific Configuration
    Category: DELETION
    Parameters: PERSIST_DURATION, PERSIST_DURATION_ERROR
    Subparameters: SYNC, ASYNC
    Change "Current Value".
    and execute your delete job again!
    Regards,
    Udo

  • How to handle the error stag(error DTP)

    Hi Friends, i got some records in the error stag while loading data from Dayta source to Master data target and this is in the production. we didn't created the Error DTP in the production. How to delete the error reocrds from the error stag if we dont want to update it to the target.And the request is showing in yellow due to that iam not able to delete the dtp request from the target.
    any help...to proceed with this error.
    thanks in advance.

    HI
    You are not able to delete the DTP from target?
    Change the request to RED
    Double clicking on theTrafic signal... then manually change the request to RED and Then you will be able to delete it.
    Hope this help...
    Dev

  • How to delete the runtime error in st22

    Hi all,
            How to delete the runtime error in ST22. I want to clear
    the list of short dump in st22
    is there any T.code or any table to clear?
    thanks in advance
    sundar.c

    Hi
    you cannot delete the dumps through any tcode.
    All the dumps are stored in table called SNAP, If there are more dumps the table gets filled therefore u have to reorganize the table.
    Run the report RSSNAPDL in SE38.
    or
    You have the default SAP background jobs, SAP_REORG_ABAPDUMPS which deletes the past dumps raised in the system.
    Scheduling the jobs in regular is very important
    For more information
    http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a7ede505211d189550000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/d8/a58b4275160d53e10000000a155106/frameset.htm
    Regards
    Bhaskar

  • I accidentally deleted the download stack, but managed to get it back. How can I change back to stack view?

    I accidentally deleted the download stack, but managed to get it back. How can I change back to stack view?

    Right-click on the folder icon on the dock where you put it. Change it from 'Display As: Folder' to 'Display As: Stack'.
    After that you'll be all set.

  • Does anyone know how to delete the back up for the ipod? I am getting an error message that says "iTunes could not back up iPod because it is corrupt or not compatible with iPod; delete back up and try again"

    does anyone know how to delete the back up for the ipod? I am getting an error message that says "iTunes could not back up iPod because it is corrupt or not compatible with iPod; delete back up and try again"

    Go to iTunes>Preferences>Devices and highlight the backup you want to delete and click on Delete Backup

  • I get a message Debug Error:[Exception... "Node was not found" code: "8" nsresult: "0x80530008 (NS_ERROR_DOM_NOT_FOUND_ERR)" location: "chrome://ffebayhot/content/lib/Extension.debug.js Line: 366"] using Vista. I don't understand how to delete the "ebay

    Every time I try to use google for a search, I get the following error msg. Debug Error:[Exception... "Node was not found" code: "8" nsresult: "0x80530008 (NS_ERROR_DOM_NOT_FOUND_ERR)" location: "chrome://ffebayhot/content/lib/Extension.debug.js Line: 366"]. I saw the solution provided for MS XP, but not for Vista. Also, while I saw the solution, I need more explicit instructions on how to "delete the ebay extension".
    == This happened ==
    Every time Firefox opened
    == When I try to load google from Firefox, I get the error message, Debug Error:[Exception... "Node was not found" code: "8" nsresult: "0x80530008 (NS_ERROR_DOM_NOT_FOUND_ERR)" location: "chrome://ffebayhot/content/lib/Extension.debug.js Line: 366"]

    Tools->Add-ons->Extensions
    At the top of the Firefox window, click on the Tools menu and select Add-ons. The Add-ons window will appear.
    In the Add-ons window, select the Extensions panel.
    Select the add-on you wish to uninstall.
    Click the Uninstall button. When prompted, click Uninstall to confirm.
    Then restart Firefox.
    Read here:
    [[Uninstalling add-ons|#How to uninstall extensions and themes|Uninstalling extensions]]

  • Adobe Reader 9.5.3 error code of 1635.  How can I delet the error?

    I have Adobe Reader 9.5.3 that gives me an error code of 1635.  This error occured after downloading an adobe up-grade and then deleting the up-grade.  Prior to the up-grade printing an other functions wer ok.  How can I delete the error?

    I have found this, that may be helpful:
    Try using the Microsoft Fix it wizard, available at http://support.microsoft.com/kb/971187. The wizard updates the Windows registry so that you can usually uninstall previous versions of the program, or install or update the current version successfully.
    Disclaimer: Adobe does not support third-party software and provides this information as a courtesy only.

  • How can I Delete the error podcast file in my iPhone?

    I've tried to download some podcast content from iTunes. But I've failed to download these files. In the iTunes, there is another same contents that has a little different name of file. That files were good, so I've downloaded successfully. After downloading, I've founded two pocast  categories in the list of video app. I could not play some files. So I wanted to delete these files from my iPhone. But I can't. I know how to delete the file but that way is not working. Could you let me know how can I delete these files?

    Yes, i did. But that was not working. Normally that way is good, in my case that is not possible.

  • How to Delete the condition record in CRM

    HI,
    Can you please help me how to delete the condition record from condition table in CRM.
    Please explain the usage of FM CRMXIF_CONDITION_SEL_DELETE with examples.
    I have also read the documention of the function module. How to use this FM for custom defined condition table.
    (this is the code given in Documentation)
    DATA-OBJECT_REPRESENTATION         = 'E'
    DATA-SEL_OPT-CT_APPLICATION              = 'CRM'
    DATA-SEL_OPT-OBJECT_TASK                    = 'D'
    DATA-SEL_OPT-RANGE-FIELDNAME        = 'PRODUCT_ID'
    DATA-SEL_OPT-RANGE-R_SIGN                  = 'I'    (Including)
    DATA-SEL_OPT-RANGE-R_OPTION           = 'EQ'
    DATA-SEL_OPT-RANGE-R_VALUE_LOW  = 'PROD_1'
    Thanks
    Shankar

    Hi Shankar,
    I am using the same CRMXIF_CONDITION_SEL_DELETE function module to delete condition record present in CRM.
    But it is giving me below error in the return table of the FM after i run the program. Can you please correct me if I am doing any thing wrong?
    Error in  lt_return: SMW3     CND_MAST_SEL_DEL_EXT_VALIDATE     CND_M_SD
    code:
    ls_range-fieldname = 'PRODUCT_ID''.
    ls_range-R_SIGN = 'I'.
    ls_range-R_OPTION = 'EQ'.
    ls_range-R_VALUE_LOW = '123456'.
    APPEND ls_range TO lt_range.
    MOVE lt_range TO ls_entry-SEL_OPT-range.
    ls_data-SEL_OPT-object_task = 'D'.
    ls_data-SEL_OPT-ct_application = 'CRM'.
    ls_data-object_representation = 'E'.
    CALL FUNCTION 'CRMXIF_CONDITION_SEL_DELETE'
      EXPORTING
        DATA          = ls_date
    IMPORTING
       RETURN        = lt_return
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      IMPORTING
        return = lt_ret.
    Edited by: Saravanaprasad Nadar on Jul 7, 2010 1:27 AM

  • How to delete the deployed composite in weblogic server 11g

    Can someone tell me how to delete the deployed composite in weblogic server 11g ?I'm facing an issue where the weblogic server is getting started and immediately after sometime the server changes to "Force shutdown"..When i checked the logs,there is an error in one of the composite i deployed..So now i wanted to delete the deployed composite?Please help ....
    Thanks

    Hi
    1. Deleting a domain will not hold any references. But make sure that under your user_projects/applications also remove the folder that matches with your domain. Basically under user_projects folder you will see 2 folders named applications and domains. When you create a domain say mySoaDomain, it will crate a folder with the same name under applications folder also with few files like em.ear. If you do this, then you can crate a new soa domain and use the same old name.
    2. NOW comes the most important thing. If you create a new SOADomain, at one point, you had to give details for soainfra and mds schemas. If you give your current existing db details (that was used for your old deleted domain), then you may still have the issues. Because the soainfra db may still have the instances for your old process.
    3. If you really want to have a full clean soa domain, here is what you do:
    a) Run rcu and drop the existing schemas for soainfra and mds.
    b) Run rcu again and create above schemas again.
    c) Now create SOADomain using config wizard and refer above clean rcu db and you are all set.
    3. Under your domain root folder, just searh for files named with your workflow and you should see the .jar location.
    Thanks
    Ravi Jegga

Maybe you are looking for

  • Accessing the Session in Toplink Essentials

    I try access session by this way: http://ontoplink.blogspot.com/2007/01/accessing-session-in-toplink-essentials.html and get exception: (Oracle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): oracle.toplink.essentials.exceptions.ValidationE

  • How do I turn off Sleep/Hibernation/Startup Beeps and Sounds?

    I have a Lenovo Thinkpad x200 running vista ultimate. type 7454-cto How do i turn off these annoying beeps that sound every time my computer goes into and out of sleep and hibernation. I've tried turning the sound scheme to "No sounds," but the beep

  • How do I use 'Terminal' or something similar to Tether my Galaxy Phone

    How do I use 'Terminal' or something similar to Tether my Galaxy [Note 1] Phone to my Macbook Pro in such a way that the Android phone gets my mac on the internet. If it's possible for FREE then I can probably do that. I try using the "Play" Store ic

  • How to use the List in this case.

    I got sample code from http://developer.java.sun.com/developer/technicalArticles/ThirdParty/WebCrawler/. But when I compiled it, there was error message like "webcrawler.java:16: reference to List is ambiguous, both class java.util.List in java.util

  • "Allow" button - don't know what to do, because no explanation provided

    I don't know what I am allowing, if I click the "Allow" button! I'm reluctant to click on it blindly, without having some more information about what site is being blocked and will be unblocked if I click on the button. Is that good web design??? Is