XIF or BDoc Trigger even with errors in Business Document

Hello Experts,
I am stuck in an issue regarding BDoc trigger. My query is as per my understanding, if a business document like Sales order or Opportunity is in error but is saved, there is no BDoc triggered. Please correct if I am wrong.
My actual Requirement is to trigger BDoc and thus XIF IDOC if Opporutnity is saved even with error.
Do we have a method for this apporach.
Please assist.
Thx,
Ravi

Hey Luis,
Thanks for your assistance.
I assumed this functionality will haunt me. Can you suggest any workaround. The XIF IDOC will not get send also because internally they are connected to BDoc adapter itself.
Do we have any method to trigger XIF IDOC by some logic etc.
Thx,
Ravi

Similar Messages

  • Trigger created with errors

    Hi All,
    I have created a new trigger but it has compilation errors, I get the error which says SQL command not properly ended when look up in toad.Can you please advise what's wrong in my syntax below.
    Also ,inorder for me to rollback the trigger I just created do I need to drop that trigger and run the create or replace trigger statement or the create or replace statement will replace the previous trigger that I created.
    Thanks !
    create or replace TRIGGER Abcd.lddp_tup
    BEFORE UPDATE ON lddp FOR EACH ROW
    declare timenow TIMESTAMP;
    begin
    SELECT CURRENT_TIMESTAMP INTO timenow FROM DUAL
    :new.create_sid := :old.create_sid;
    :new.create_date := :old.create_date;
    :new.saved_date := timenow;
    :new.par_num := :old.par_num;
    :new.af_id := :old.af_id;
    IF
    :new.locked_bemsid IS NOT NULL AND :old.locked_sid IS NULL
    THEN
    :new.locked_date := timenow;
    ELSE
    :new.locked_sid := :old.locked_sid;
    :new.locked_date := :old.locked_date;
    END IF;
    end;
    /

    877410 wrote:
    Hi ,
    can you be more specific how that statement should be altered?can you spell PL/SQL without assistance?
    CREATE OR replace TRIGGER abcd.lddp_tup
      before UPDATE ON lddp
      FOR each ROW
    DECLARE
        timenow TIMESTAMP;
    BEGIN
        timenow := current_timestamp;
        :new.create_sid := :old.create_sid;
        :new.create_date := :old.create_date;
        :new.saved_date := timenow;
        :new.par_num := :old.par_num;
        :new.af_id := :old.af_id;
        IF :new.locked_bemsid IS NOT NULL
           AND :old.locked_sid IS NULL THEN
          :new.locked_date := timenow;
        ELSE
          :new.locked_sid := :old.locked_sid;
          :new.locked_date := :old.locked_date;
        END IF;
    END;
    /

  • Process chain doesn't even with errors in bacrground processes

    Hi experts,
    I need your help again.
    My client is using a process chain to automate the consolidation process in SEM-BCS. This is done using variants of programs UCBATCH01 and UCBATCH11.
    The problem now is that the process chain doesnu2019t stop even though the steps have errors. The validation tasks are the best example.
    Do you know a way to make the process chain stop?
    Best regards
    João Arvanas,

    Hi Marsy,
    I'm having the same issue as discussed in this thread and since I am still very new in BCS I have some additional question
    1. Is the status table for task that you are referring to = /1SEM/UCS001USV1 ?
    2. I read in another source that status table only store the latest run log ? not historical ? is that true or would you might be aware of a historical table ?
    3. The table split cons area task run status into each of the cons unit, so if one of them has error, basically the task error
    Thank You,

  • SQL Plus & End with Errors

    In my Process Flow I have a SQL Plus activity that calls a custom DML Express program. How would I trigger the End with Errors activity if my custom DML program errrors out? Currently my SQL Plus activity is as follows:
    --SET SERVEROUTPUT ON
    -- PL/SQL
    DECLARE
    v_cmd VARCHAR2(500);
    BEGIN
    DBMS_AW.AW_ATTACH('AW', true);
    DBMS_AW.EXECUTE('cda logfiles_dir');
    v_cmd := 'Call CUSTOM_DML_PROG';
    DBMS_AW.EXECUTE(v_cmd);
    DBMS_AW.AW_DETACH('AW');
    end;
    quit
    Is there a way to pass a parameter from my DML Express program to the SQL Plus activity that could somehow trigger End with Errors?
    Kristine

    Hi David,
    I have been able to run this process flow that calls my DML program several times however, I am now receiving the following errors:
    RPE-01003: An infrastructure condition prevented the request from completing.
    RPE-01038: Failed to evaluate expression declare "$LOOP_DETECT$" NUMBER := 0;function...
    My function returns a Number and my transformation in the process flow has been defined as having Integer as the Data Type and by default the Literal value is True.
    The complex condition has been defined as the following:
    "CALL_GS_MTH_END_GL_ACT1"."CALL_GS_MTH_END_GL_ACT1" =0
    Any ideas as to why all of a sudden I receive this error? I have been able to workaround this issue by deleting the transformation from the process flow, adding it back and re-deploying the process flow however this is not ideal.
    Kristine

  • Trigger compile with after migrated from 8i to 10g

    Hi All,
    We try to migrate a 8i database to 10g by using the exp and imp. All tables and data are already migrated by imp. During the imp, there are errors said the trigger compile with errors.
    When login to the em to check, I found these 2 errors.
    Line # = 2 Column # = 1 Error Text = PL/SQL: SQL Statement ignored
    Line # = 2 Column # = 60 Error Text = PL/SQL: ORA-00942: table or view does not exist
    My trigger is a very simple one:
    BEGIN
    Select TB_COUNTER_SEQ.NEXTVAL INTO :NEW.INCREMENT_NUM FROM DUAL;
    END;
    And I'm sure the "TB_COUNER_SEQ" is there.
    Do I need to change anything on the trigger when migrating from 8i?
    In fact, besides this trigger, all other trigger imp to this schema are having the same error. The schema in the 10g is a newly created one, is there any special right I need to create grant to this new user?
    Thanks a lot.
    Mike

    Hi, Mike,
    user3211655 wrote:
    Hi All,
    We try to migrate a 8i database to 10g by using the exp and imp. All tables and data are already migrated by imp. During the imp, there are errors said the trigger compile with errors.
    When login to the em to check, I found these 2 errors.
    Line # = 2 Column # = 1 Error Text = PL/SQL: SQL Statement ignored
    Line # = 2 Column # = 60 Error Text = PL/SQL: ORA-00942: table or view does not exist
    My trigger is a very simple one:
    BEGIN
    Select TB_COUNTER_SEQ.NEXTVAL INTO :NEW.INCREMENT_NUM FROM DUAL;
    END;
    And I'm sure the "TB_COUNER_SEQ" is there.
    Do I need to change anything on the trigger when migrating from 8i?
    In fact, besides this trigger, all other trigger imp to this schema are having the same error. The schema in the 10g is a newly created one, is there any special right I need to create grant to this new user?Grant the necessary privileges on the tables (and any other objects used, like sequences) directly to the owner of the triggers. Privileges granted to a role don't count in AUTHID OWNER stored procedures; the privileges have to be granted to the owner of the stored procedure (or to PUBLIC).
    It the error is occurring at position 60, then it looks like you don't have privileges on dual. Login as SYS and
    GRANT SELECT ON dual TO PUBLIC;You may need synonyms (perhaps public synonyms) for the objects, too.

  • ORA-39083: Object type TRIGGER failed to create with error:

    i m getting these two error when i import data using impdp.
    ORA-39083: Object type TRIGGER failed to create with error:
    ORA-00942: table or view does not exist
    i have exported (expdp) data from production db, when i importing (impdp) the dump file to the test db i m geting the above two errors.
    example:
    ORA-39083: Object type TRIGGER failed to create with error:
    ORA-00942: table or view does not exist
    Failing sql is:
    CREATE TRIGGER "NEEDLE"."CC_BCK_TRG" BEFORE INSERT OR UPDATE
    ON NIIL.cc_bck_mgmt REFERENCING NEW AS NEW OLD AS OLD FOR EACH ROW
    DECLARE
    w_date DATE;
    w_user VARCHAR2(10);
    BEGIN
    SELECT USER,SYSDATE INTO w_user,w_date FROM DUAL;
    IF INSERTING THEN
    :NEW.cretuser :=w_user;
    :NEW.cretdate :=w_date;
    END IF;
    IF UPDATING THEN
    :NEW.modiuser :=w_user;
    :NEW.modidate :=w_date;
    END IF;
    END;
    status of the above trigger in pro db is valid. and source table also exist even though i m getting error when i import
    please suggest me...

    perhaps you don't have table... (impdp created trigger before create table)
    check about "NIIL.cc_bck_mgmt" table.
    and then create it (trigger) manual ;)
    Good Luck.

  • Even with nothing connected to my Mac Pro, I get a USB error message

    Even with nothing connected, I get this error message:
    Because a USB device was drawing too much power from your computer, one or more of your USB devices have been disabled.
    I have restarted a few times and restarted in safe mode, and reset the PRAM and it is still there.
    Any ideas?

    Even with the mouse and keyboard unplugged, I got the same error message. It always gives me 5 warning messages in 5 separate dialog boxes. The 2 USB ports on the front of the machine are disabled, and the 3 in the back are ok.
    Profiler recognizes the "Hub in Apple Pro Keyboard" that lists the keyboard and the USB laser mouse (Logitec).
    I'll give the SMC reset a try, but I have read in another thread where it didn't work for the guy with the problem, and his final solution was a complete re-install of the system software. I'm thinking maybe an upgrade to Lion 10.7 might fix it without having to rebuild my whole computer. I'm using 10.6.8.
    -I'm still perplexed.

  • Even with 10.5.2 my ipad is not getting update to ios 5 .its showing error while downloading.

    even with 10.5.2 itunes version ,my ipad is not getting update to ios 5 .its showing error while downloading.

    If you are getting a network timeout error then try temporarily turning off all your firewall and antivirus software until the download has completed.

  • What causes Media not present error, even with disc inserted

    I have a 2 hr  video project that I would like to place on a DVD in NTSC format.  I get an error msg "Media not present" even with DVD inserted in burner.  I have checked "Fit content to available space".  Is the 2 hr project too long to compress onto the DVD, or are there other possible causes?  I did a 1 1/2 hr project with no problems.  I have plenty of hard drive space. 

    download orders
    What version of Premiere Elements and on what computer operating system is it running?
    The problem is the disc in the burner tray not being recognized by Premiere Elements. Another frequent related issue is Burner Location: in burn dialog being empty when the Premiere Elements does not recognize the burner.
    In the problem that you have,
    a. Have you tried other brands/types of DVD discs?
    b. If you start a new project and take the new Timeline content to DVD-VIDEO on DVD disc, does the problem remain the same?
    B. Have you tried program uninstall/free ccleaner run through/reinstall with antivirus and firewall(s) disabled?
    If you are in a time crunch, you should consider burning the Timeline content to folder and then taking the VIDEO_TS Folder from that
    saved folder into a program like ImgBurn for the DVD-VIDEO on DVD production.
    Please review and consider and then we will supply you with how to details. Looking forward to your results.
    Thank you.
    ATR

  • HT201210 No matter what i Do it comes up with error code 9 and wil not even find the Iphone 3GS 16GB ....What to do ??

    No matter what i Do it comes up with error code 9 and wil not even find the Iphone 3GS 16GB ....What to do ??
    The Home and Sleep buttom does only promt the Connect to itunes...
    Have closed down anti V and is admin and so on.....
    Regards Martin

    Hello mftoby,
    Error 9 occurs when the device unexpectedly loses its USB connection with iTunes.
    This issue can usually be resolved by performing USB troubleshooting, using a different USB dock-connector cable, trying another USB port, restoring on another computer, or by eliminating conflicts from third-party security software.
    iOS: Troubleshooting USB connection
    http://support.apple.com/kb/TS1286
    iTunes: Troubleshooting security software issues
    http://support.apple.com/kb/TS3125
    Note: For best results and the fastest resolution, it may be best to try the restore on a different computer. This will help isolate if it is an issue with the device or the computer itself.
    Thanks,
    Matt M.

  • Playing around with cfschedule, getting a time limit error - even with requesttimeout

    Hello, everyone.
    This isn't critical, I'm just playing around with the cfschedule tag.  But it's still annoying to get a time limit error, even with the requesttimeout attribute set to 10800.
    <cfschedule action="run" task="Collection_Daily_I" requesttimeout="10800">
    Less than one minute after loading the page, I get:
    The request has exceeded the allowable time limit Tag: cfhttp
    ^_^

    I tried something else here. I noticed that on the last circuit you posted you had a resistor tied from ground to the clock line in addition to the one tied back to VCC. This would be R4 in the origianl schematic. I also noticed that in this circuit I saw no double tripping of the clock signal but it did have a sloping rising edge. I am assuming this is what you are refering to as being dirty. Not a clean square wave by any means.
    I removed this extra resistor from the clock line and re-added the inverter and this seemed to clean up this slope. I do, not know what  purpose you may have had for this resistor but I believe that to be causing the sloping edge. I was incorrect about the inverter. I just know that in the original configuration I didin't get the double clocking when it was removed, but I failed to notice the sloping of the edge of the signal. Now with this new information I hope this will get it the way you want it.
    I will repost the circuit with my modifications. Let me know what you think. Just so you will know I am using asll default settings with the exception of the digital setting which is set to REAL.
    Here it is:
    Kittmaster's Component Database
    http://ni.kittmaster.com
    Have a Nice Day
    Attachments:
    ring_glitch possible solution_again1.ms10 ‏888 KB

  • HT1933 My younger sibling was playing my Sims Free and Purchased something for $20.99, but it come up with error, but is on my recent purchases.. Also what she purchased hasnt even come? Can i be refunded?

    My younger sibling was playing my Sims Free Play and Purchased something for $20.99 by accident, but it come up with error and the money has not yet be debited from my account and is on my recent purchases so im expecting the money to come out any minute.. Also what she purchased hasnt even come? Can i be refunded?

    I'm sorry, but your sister, unless she had already turned on the "Find my iPhone" feature and the person who took the phone has not disabled it, is out of luck. She should report the theft to local police authorities, including the serial number of her iPhone. While her experience is unfortunate, there are good reasons why Apple cannot do anything else about it.
    I hope she gets her phone back.
    Best of luck.

  • I have an iphone 3GS and I tried to upgrade the software, After it finished I tried to restore from backup and even though the itunes says there was a backup, After trying it comes up with error there was no backup to retrieve from. Can I get it back

    After updating my iphone 3GS I tried to restore from backup and after choosing the backup and syncing, it keeps coming up with error there wasn't any backup to restore from. Can I get it back or have I lost all my info ?

    See if these Articles help resolve your issue,
    Troubleshooting Backup Issues
    http://support.apple.com/kb/ts2529
    http://support.apple.com/kb/HT4946

  • This is an example of schema validating with error feedback

    Hi,
    Hope this is of help....
    This is an example of schema validating WITH error feedback
    public boolean validate(InputStream is) {
    // create and setup the DOM parser object
    parser = new DOMParser();
    parser.setPreserveWhitespace(false);
    parser.setValidationMode(XMLConstants.SCHEMA_STRICT_VALIDATION);
    boolean isValid = false;
    if (is != null) {
    try {
    parser.parse(new InputSource(is));
    isValid = true;
    } catch (XMLParseException e) {
    for (int i = 0; i<e.getNumMessages() ;i++){
    System.out.println("XMLParseException nr:"+new Integer(i+1)+" \'imsmanifest.xml\' line nr: "+new Integer(e.getLineNumber(i))+" col nr:"+
    new Integer(e.getColumnNumber(i))+" (formatErrorMessage: "+e.formatErrorMessage(i)+") ["+e.getMessage(i)+"]");
    } catch (java.io.IOException e) {
    System.out.println("IOException: Error creating input source [" + e.getMessage() + "]");
    } catch (org.xml.sax.SAXException e) {
    System.out.println("SAXException: Error parsing [" + e.getMessage() + "]");
    } catch (Exception e){
    System.out.println("Exception: Error parsing [" + e.getMessage() + "]. ");
    doc = parser.getDocument();
    return isValid;
    regards
    Jon

    "personally, I'd just put the exception handling into the package."
    Maybe I am making this over-complicated. I would like all the error handling in the package. It seems like putting an ONSERVERERROR trigger would be a little overkill, and if it fires on every database error, and I have to screen for only my errors seems like a little overkill and to me, it seems like it would incur quite a bit of overhead for the database seeing it is firing for every error. I don't even know if I would ultimately be allowed to keep it.
    Really, all I would want to do is:
    1) Handle the error and recover if possible
    2) If it is a fatal error, have a way to abort the package gracefully with some kind of record of it.
    3) Allow for the possibility of non-fatal errors or messages, even that I might generate myself to be able to be logged.
    This package has about 20 procedures now. If I have an error (particularly fatal), in let's say, procedure 8, I don't even know what happens. I don't know if by default it aborts the whole package or just that procedure or just keeps going. Is it possible to get just hung up and sit there?
    Thanks for the input.

  • Windows Update Client failed to detect with error 0xc8000247 after using Lenovo System Update 5

    My Windows 7, SP1 was running fine, until I installed few updates on 10/15 using Lenovo System Update 5 then Windows Update stopped working, shows as RED:
    {CE3119AD-35EF-41CF-9C21-C7698FEB8393}    2013-10-14 21:53:00:256-0700    1    147    101    {00000000-0000-0000-0000-000000000000}    0    0    AutomaticUpdates    Success    Software Synchronization    Windows Update Client successfully detected 4 updates.
    {EB17A01A-EB6E-49FF-9EA2-AA0DD063B4B1}    2013-10-15 04:15:54:069-0700    1    162    101    {C61A0D00-3E51-48AC-B0AF-1D3E02B9E5D3}    201    0    AutomaticUpdates    Success    Content Download    Download succeeded.
    {77DAE88F-2795-4258-8BBF-8D27E53662CF}    2013-10-15 12:10:38:196-0700    1    193    102    {00000000-0000-0000-0000-000000000000}    0    0    AutomaticUpdates    Success    Content Install    Restart Required: To complete the installation of the following updates, the computer must be restarted. Until this computer has been restarted, Windows cannot search for or download new updates:  - Security Update for Windows 7 for x64-based Systems (KB2862330)
    {1398F777-3AEF-4D1D-BE4C-407EC4AEAD4C}    2013-10-15 12:15:25:676-0700    1    183    101    {C61A0D00-3E51-48AC-B0AF-1D3E02B9E5D3}    201    0    AutomaticUpdates    Success    Content Install    Installation Successful: Windows successfully installed the following update: Security Update for Windows 7 for x64-based Systems (KB2862330)
    {A220898A-E5FE-4FE7-8413-2B0C7B4013D0}    2013-10-15 12:15:25:766-0700    1    202    102    {00000000-0000-0000-0000-000000000000}    0    0    AutomaticUpdates    Success    Content Install    Reboot completed.
    {A5400FF2-33ED-4A47-8409-13E5DFE16A6D}    2013-10-15 19:29:31:486-0700    1    147    101    {00000000-0000-0000-0000-000000000000}    0    0    ChkWuDrv    Success    Software Synchronization    Windows Update Client successfully detected 0 updates.
    {43C533EE-775D-445E-A652-06648B72DE65}    2013-10-15 19:29:49:702-0700    1    147    101    {00000000-0000-0000-0000-000000000000}    0    0    ChkWuDrv    Success    Software Synchronization    Windows Update Client successfully detected 0 updates.
    {D6AAAFFB-7F18-4A7E-B39D-1BA09CDC5E6D}    2013-10-15 19:30:05:744-0700    1    147    101    {00000000-0000-0000-0000-000000000000}    0    0    AutomaticUpdates    Success    Software Synchronization    Windows Update Client successfully detected 3 updates.
    {4E73B1C1-5BA2-415D-AB34-92F7AB3DB418}    2013-10-15 19:30:08:753-0700    1    147    101    {00000000-0000-0000-0000-000000000000}    0    0    ChkWuDrv    Success    Software Synchronization    Windows Update Client successfully detected 0 updates.
    {51248882-41AC-4E59-B813-87AD326310AD}    2013-10-15 20:00:05:044-0700    1    183    101    {DBD3B4E9-0357-47DA-8317-D0CF2163BFE6}    501    0    wusa    Success    Content Install    Installation Successful: Windows successfully installed the following update: Hotfix for Windows (KB2661796)
    {FB2B8E5E-442C-4E76-B23D-6A41B4324C9D}    2013-10-16 00:11:39:832-0700    1    148    101    {00000000-0000-0000-0000-000000000000}    0    c8000247    AutomaticUpdates    Failure    Software Synchronization    Windows Update Client failed to detect with error 0xc8000247.
    Lenovo Thinkpad W500, Intel (R), Windows 7, SP1, latest updates as of Oct 15
    (1) Checked Setting,  set to automatic update whenever, even changed to never update, rebooted the OS and changed back to automatic update and rebooted the OS.
    (2) Stopped Windows Update Services, renamed SoftwareDistribution folder and started the window update services and rebooted.
    (3) Ran MS FIXIT
    (4) Ran System File checker Scan (sfc /scannow)
    (5) Ran CHKDSK /F
    (6) Installed "Intel Rapid Storage Technology" drivers from Lenovo site
    (7) Ran Update for Windows 7 for x64-based Systems (KB971033)
    None of the above possible recommended solutions were able to fix the issue yet and now I am getting a message your Window is Not Genuine!
    Any help or guidance is appreciated.
    Solved!
    Go to Solution.

    The Lenovo System Update installed the "Intel Matrix Storage Manager driver 8.9.2.1002" right before the Windows Upgrade got broken. So in the Device Manager under IDE ATA/ATAPI Controllers, I choose Intel ICH9M-E/M SATA AHCI Controller, on the Driver Tab, I choose the option "Roll Back Driver" and after rolling back the driver and restarting the OS, now Windows Update is working like a Champ!
    The End!

Maybe you are looking for

  • Multiple domains pointing to one domain. How best for SEO?

    I'm a therapist. I have just created a site eg mytherpaystudio.com  I own several domains (currently as individual websites) ie thistherapy.com, thattherapy.com and anothertherapy.com etc. I think I made a big mistake when I created these websites be

  • Installing on more than one computer

    cqn i use the same adobe creative suite on both my laptop for travel and my desk top?  How do I install that

  • Exporting MOV from FCP

    I'm trying to export small sections of 720p footage from my timeline so I can can do some keying in Boris Red. What I've been doing is selecting the video, hitting enter to pop it up into the viewer, then exporting the clip using file:export:quicktim

  • Dynamic Source Multicast Script

    Hello and thanks in advance for any advice. I am developing a presentation broadcasting application with annotation/inking functionality. The important thing is that the inking is live. My question is whether there is a simple way to have FMS receive

  • Exporting in MP4 - is it possible?

    I have been doing all my i Movie videos in H264 as .mov for awhile, but recently had the luck of getting a PS3 (its awesome!). The PS3 understands H264 (Sony calls this AVC), but not .mov. So I want to export movies as MP4 so I can watch them on my T