How to re-execute a job which has failed

hi everyone,
                    i am executing a job ....it executed for few minutes and hav been able to load few records in the final table(target)....some exception is thrown up and job failed after that....i want to re-execute the job with only the records that are not processed...how to identify which records are processed?
is there any process to do so in BO DI?

Hi Suneel
You can use several methods to ensure that you do not insert duplicate rows:
u2022 Design the data flow to completely replace the target table during each
execution
This technique can be optimal when the changes to the target table are
numerous compared to the size of the table. You can use tuning
techniques such as bulk loading options to improve overall performance.
u2022 Set the auto correct load option for the target table
The auto correct load option checks the target table for existing rows
before adding new rows to the table. Using the auto correct load option,
however, can needlessly slow jobs executed in non-recovery mode.
Consider this technique when the target table is large and the changes
to the table are relatively few.
u2022 Include a SQL command to execute before the table loads
Preload SQL commands can remove partial database updates that occur
during incomplete execution of a step in a job. Typically, the preload SQL
command deletes rows based on a variable that is set before the partial
insertion step began.

Similar Messages

  • IB:How to update a serial Number which has Inventory Material Transactions?

    Dear friends
    first of all thanks for your time and valuable solutions
    Install base: How to update a serial Number which has Inventory Material Transactions
    problem description:
    Install base > quick search
    Here is Installbase record, when I query from quick search
    Rec#     Item          Item Instance           Serial Number          Status
    1     300-7000-01      3000000           1000XXX-0538JQ0003 Return for Adv Exchange
    2     300-7000-01     8000000               1000XXX-0538JQ0003-     Return for Adv Exchange
    3     300-7000-01     5000000               1000XXX-0538JQ0003-A     Return for Adv Exchange
    looking above data, first and third records are the legitimate serial numbers(correct according to the client specs), second record is not legitimate since it has a dash as suffix, we found there are many illegitimate serial Numbers exists, needs to be updated with the right serial Numbers which I analyzed in excel after pulling data from mtl_material_transactions , oe_order_lines_all , mtl_serial_numbers , mtl_system_items_b
    basically these are all RMAs
    I need to update the second record as 1094SUZ-0538JQ0003-B as per the guidelines, while updating I need to keep all the existing contracts, Warranty, what ever material transations it has, need to be same.
    we have a package updating the serial numbers using IB API (csi_Item_Instance_Pub.update_item_instance) but it is updating only the records which has no serial numbers present for that instance, if there is a serial number already exists it is not working.
    user define error msg "Serial Number 1094SUZ-0538JQ0003- has Inventory Material Transactions. This serial number cannot be used to update an existing Item Instance", but I need to update this anyway!! or am I missing something here, please advice me
    below post looks like similar issue, talks about hard update, I have no clue, by doing that the updated serial number will have same transations, contracts, dates....attached to it like the previous serial number
    IB UPDATE_ITEM_INSTANCE ERROR - doesn't allow ACTIVE_START_DATE to change
    would be great If you guys help me out, really appreciated!!
    unfortunately I couldn't find any solutoin in metalink for the existing serial number update
    code for updating the serial number using IB API
              x_msg_count := 0;
    x_msg_data := '';
    p_instance_rec.instance_id := rec.child_instance_id;
    p_instance_rec.serial_number := rec.child_serial_number;
    p_instance_rec.object_version_number := rec.child_object_number;
    p_txn_rec.transaction_id := Fnd_Api.g_miss_num;
    p_txn_rec.transaction_date := SYSDATE;
    p_txn_rec.source_transaction_date := SYSDATE;
    p_txn_rec.transaction_type_id := 1;
    csi_Item_Instance_Pub.update_item_instance
    p_api_version => 1.0,
    p_commit => Fnd_Api.g_false,
    p_init_msg_list => Fnd_Api.g_false,
    p_validation_level => 1,
    p_instance_rec => p_instance_rec,
    p_ext_attrib_values_tbl => p_ext_attrib_values_tbl,
    p_party_tbl => p_party_tbl,
    p_account_tbl => p_account_tbl,
    p_pricing_attrib_tbl => p_pricing_attrib_tbl,
    p_org_assignments_tbl => p_org_assignments_tbl,
    p_asset_assignment_tbl => p_asset_assignment_tbl,
    p_txn_rec => p_txn_rec,
    x_instance_id_lst => x_instance_id_lst,
    x_return_status => x_return_status,
    x_msg_count => x_msg_count,
    x_msg_data => x_msg_data
    Thanks
    Suri

    Suri
    Used this. May not be perfect but should get you there. Only if the table is registered (all the seeded tables should be registered) this will work.
    select distinct a.table_name,b.column_name from fnd_tables a, fnd_columns b
    where a.table_id=b.table_id
    and upper(b.column_name) like '%SERIAL%'
    Also this is very old one but if you need history for this change add the history insert logic as well..
    DECLARE
    l_return_err VARCHAR2 (80);
    PROCEDURE debug (p_message IN VARCHAR2)
    IS
    BEGIN
    dbms_output.put_line (SUBSTR (p_message, 1, 255));
    END debug;
    BEGIN
    debug('======================================================================');
    debug('Switching from serial number XDT07406. to XDT07406 ');
    debug('======================================================================');
    UPDATE fa_additions_b
    SET serial_number = 'XDT07406'
    WHERE serial_number = 'XDT07406.';
    debug('No of rows in fa_additions_b updated :'||sql%rowcount);
    UPDATE fa_mass_additions
    SET serial_number = 'XDT07406'
    WHERE serial_number = 'XDT07406.';
    debug('No of rows in fa_mass_additions updated :'||sql%rowcount);
    UPDATE rcv_serial_transactions
    SET serial_num = 'XDT07406'
    WHERE serial_num = 'XDT07406.';
    debug('No of rows in rcv_serial_transactions updated :'||sql%rowcount);
    UPDATE mtl_serial_numbers
    SET serial_number = 'XDT07406'
    WHERE serial_number = 'XDT07406.';
    debug('No of rows in mtl_serial_numbers updated :'||sql%rowcount);
    UPDATE mtl_unit_transactions
    SET serial_number = 'XDT07406'
    WHERE serial_number = 'XDT07406.';
    debug('No of rows in mtl_unit_transactions updated :'||sql%rowcount);
    UPDATE csi_item_instances_h
    SET new_serial_number = 'XDT07406'
    WHERE new_serial_number = 'XDT07406.';
    debug('No of rows in csi_item_instances_h updated :'||sql%rowcount);
    UPDATE csi_t_txn_line_details
    SET serial_number = 'XDT07406'
    WHERE serial_number = 'XDT07406.';
    debug('No of rows in csi_t_txn_line_details updated :'||sql%rowcount);
    UPDATE csi_item_instances
    SET serial_number = 'XDT07406'
    WHERE serial_number = 'XDT07406.';
    debug('No of rows in csi_item_instances updated :'||sql%rowcount);
    UPDATE wsh_delivery_details
    SET serial_number = 'XDT07406'
    WHERE serial_number = 'XDT07406.';
    debug('No of rows in wsh_delivery_details updated :'||sql%rowcount);
    debug('======================================================================');
    debug('Switching from serial number jct20591 to JCT20591 ');
    debug('======================================================================');
    UPDATE fa_additions_b
    SET serial_number = 'JCT20591'
    WHERE serial_number = 'jct20591';
    debug('No of rows in fa_additions_b updated :'||sql%rowcount);
    UPDATE fa_mass_additions
    SET serial_number = 'JCT20591'
    WHERE serial_number = 'jct20591';
    debug('No of rows in fa_mass_additions updated :'||sql%rowcount);
    UPDATE rcv_serial_transactions
    SET serial_num = 'JCT20591'
    WHERE serial_num = 'jct20591';
    debug('No of rows in rcv_serial_transactions updated :'||sql%rowcount);
    UPDATE mtl_serial_numbers
    SET serial_number = 'JCT20591'
    WHERE serial_number = 'jct20591';
    debug('No of rows in mtl_serial_numbers updated :'||sql%rowcount);
    UPDATE mtl_unit_transactions
    SET serial_number = 'JCT20591'
    WHERE serial_number = 'jct20591';
    debug('No of rows in mtl_unit_transactions updated :'||sql%rowcount);
    UPDATE csi_item_instances_h
    SET new_serial_number = 'JCT20591'
    WHERE new_serial_number = 'jct20591';
    debug('No of rows in csi_item_instances_h updated :'||sql%rowcount);
    UPDATE csi_t_txn_line_details
    SET serial_number = 'JCT20591'
    WHERE serial_number = 'jct20591';
    debug('No of rows in csi_t_txn_line_details updated :'||sql%rowcount);
    UPDATE csi_item_instances
    SET serial_number = 'JCT20591'
    WHERE serial_number = 'jct20591';
    debug('No of rows in csi_item_instances updated :'||sql%rowcount);
    COMMIT;
    EXCEPTION
    WHEN OTHERS
    THEN
    l_return_err :='Updating in one of the script has this error:'|| substrb(sqlerrm, 1, 55);
    debug('Value of l_return_err='||l_return_err);
    END;
    Thanks
    Nagamohan

  • How do i remove a file which has attached to the outside of a window

    how do i remove a file which has attached itself to the out side of a windownext to the control tabs?

    Ah, do you mean it's showing in the header bar?
    If so, hold cmd (⌘) while you drag it off to the desktop. It'll disappear in a puff of virtual smoke.
    Don't worry, you won't lose the file; the icon in the header  (and those in the sidebar) is just an alias.

  • How to reuse the process chain which has been deleted?

    hi
    guys
                  how to reuse the process chain which has been deleted?
    your regards
    suresh

    if you want to "recover" the deleted process chain, try to check DEV / QAS / PRD. Maybe there is a copy still available
    Or check the following tables in SE11: RSPCCHAIN / RSPCCHAINATTR
    Good luck !

  • HT1420 how do i deauthorise  a computer which has crashed on me. Also I have 4 other computers which are authorised

    How do I deauthorise a computer which has crashed. Also I have five computers authorised and need to deautorise the one which has crashed and have no access so i can authorise the new iMac which I have purchased

    You cannot
    You must deauthorize all, then authorize the active computers.

  • How can i see the URL which has  length more than 255 chars in fucnction

    Hello Every body....
      I am facing one problem....I have a function module which returns URL in one table
      but in the function module display i am able to see only 255 characters,but the URL is more than 255 Characters..How can i see the URL which has the length more than 255 characters..
    In the Table the fields url length is 4000 chars.....
    but display it is showing only 255 chars.....
    Please Help me...??????????

    Hello,
    Have you tried breaking your structure into 255 chunks? I don't know what the structure you are moving from looks like, but you should be able break it back up into the SOLI structure. The end of a line in SOLI doesn't create a Carriage Return/Line Break. You have to insert these yourself like in the following:
    * Create document
          clear mail_line.
          move 'This is a test E-Mail'(d01) to mail_line.
          concatenate mail_line
                      cl_abap_char_utilities=>newline
                      into mail_line.
          append mail_line to l_mailtext.
    What kind of attachment are you wanting to create - a text tab delimited file for reading in a spreadsheet application such as excel? You might try reassembling your data table into a single string with newlines where you need them. Then use function module SCMS_STRING_TO_FTEXT to turn it back into SOLI. This is what I have done in the past. I'm afraid without knowing more about your source structure and attachment type, this is about all I can tell you.
    Vasanth

  • How do I uninstall Google Chrome which has stopped working.  I have a MacBook Air 1.6 GHz Intel Core i5 2GB memory

    How can I uninstall Google Chrome, which has stopped working.
    MacBook Air 1.6Gz Intel proccesor @GB memory OS X Maverick

    This helped me. Check it out. Start watching from 1.15
    https://www.youtube.com/watch?v=efnXbn1nC4E

  • How do I check my email which has been sent to my apple ID

    How do I check my emai; which has been sent to my apple ID. If I to mail on my settings, it says icloud account is not verified. Idf I go to mail, only my msn.com emails show up

    Apple ID ( username) is set at apple.com. If I try to change it to my msn account, it says it is already in use and cannot be done

  • HT2173 How to know when a hard drive has failed ?

    How to know when a hard drive has failed ?

    Machine doesn't boot.  You experience strange crashes.  Gets wrong results.  Your harddrive is five or more years old.  Time to consider repacing it.   You do have backup?
    You may want to run these "standard" fixes if the problem persists.
    1) Check the amount of free space on your harddrive.  You should have a several gigs free.
    2) You should run disk utility
         a) verify the disk
         b) update your permissions.
    3) Try a safe boot.
        Shutdown your machine.  Hold down the shift key.  Poweron.  Wait awhile Wait awhile while you harddrive
          is being checked.
        http://support.apple.com/kb/ht1455
    4) You may want to run applejack to clean up your machine.
         http://applejack.sourceforge.net/
    a lot more ways to fix your Mac.
    http://www.thexlab.com/faqs/faqs.html
    verify & repair your startup drive
    To verify & repair you file system on the startup drive, you will need to run disk utility from you installation DVD.
    This article  will tell you how to get to disk utility.  Once in a disk utility, you can go and attempt to recover the disk.
    http://support.apple.com/kb/TS1417
    To repair your startup drive, you will need to run disk utility from your startup DVD.
    Mac OS X 10.4: About the utilities available on the Mac OS X 10.4 Install DVD
    http://support.apple.com/kb/HT2055
    How to run disk utility from your startup DVD.
    Insert your  startup DVD  into your reader.  Power down your machine.  Hold down to the c key.  Power on your machine.  This will bootup your startup DVD.
    This will bring you to a panel asking you for your language.  Pick your language.
    You you come to the Install Mac OS panel.  Do not install.
    Click on Utilities menu item.  This will give you a pulldown list of utilities.
    Click on the disk utility.
    You are now in disk utility.  Pick your disk.  Click on repair it should be on the lower right of the panel.
    Once the repair completes successfully, you should update your permissions.
    Verify a disk
    As an alternative, you can verify that the filesystem on the disk is correct. You will not be able to repair the file system.
    I suggest that you use disk utility to verify that your startup disk is OK. 
    Macintosh-HD -> Applications -> Utilities -> Disk Utility 
    Start up disk utility.  On the left pane view, you will see a list of all your disks.  
    Click on your startup disk.
    Click on the First Aid  Tab.
    Click on verify.  
    Hopefully your disk will verify.  If not, you have to boot from your installation DVD and run Disk Utility from there to attempt to repair your file-system.

  • RasClient:dialed a connection named "VPN Connection Name " which has failed. The error code returned on failure is 789 on windows 8.1

    Hello,
    i am trying to connect to my corporation VPN Server " ISA 2006" using windows 8.1 client built in VPN,  but its returned the following error:
     Event ID 20227: dialed a connection named "VPN connection Name" which has failed. The error code returned on failure is 789.
    VPN connection is working fine with windows XP and windows 7 with no issue , this error is only appear when try to connect to using windows 8 client machine.
    this error is shows only on windows 8.1 client , same procedures used to enroll the certificate from internal CA " IPsec Type" is followed .
    below are the  ISA server specifications:
    VPN Server : ISA 2006.
    windows Server version 2003. 
    appreciate your quick help and reply .
    Thanks

    Thanks for your reply.
    i would like to add another point for this case, that when we are trying to enroll a certificate from internal CA web enrollment directly using windows 8 " internet explorer 11"  , its install a certificate without Digital
    Signature and non-repudiation in key usage property, then when try to connect , its will give the above error 789 ..
    when try to enroll a certificate into windows 7 " internet explorer 10" and then export and import  this certificate into windows 8.1 machine "with the name of
    windows 8.1 machine" into windows 8.1 machine, the VPN is working normally and without issue.
    The properties of the Certificate are difference between windows 7 machine and windows 8 machine is key usage missing the Digital Signature and non-repudiation properties when enroll
    from windows  8.1 " internet explorer 11", this is in fact because of
    we don't have an option for key usage " both" when subment a certificate on web enrollment page from windows 8 machine ,, the only option available is exchange "
    no signature and both option available "
    i believe that there is something wrong when using windows 8.1 internet explorer 11 so its gave a certificate with wrong key usage property .
    appreciate your quick help in this .
    thanks

  • How to findout the sharepoint job which responsible for database re indxing

    Hi
    In sharepoint 2010 i configured RBS storage for  Web application content database
    in our org form  has two web frontend servers,
    two application servers, and two index servers ,one database server
    so when users upload BLOBs to sharepoint library we faced some time RBS storage space problem
    Exception:Microsoft.Data.SqlRemoteBlobs.BlobStoreException: There was a generic database
    error. For more information, see the included exception. --->
    System.Data.SqlClient.SqlException: RBS Error. Original Error: Number 1101,
    Severity 17, State 12, Procedure -, Line 1,<o:p></o:p>
    Message: Could not allocate a new page for
    database 'WSS_Content_80' because of insufficient disk space in filegroup 'PRIMARY'.
    here when i ask our DBA he said there is one sharepoint job is running which saving audit data daily every data and database is re indexing every time , to sharepont content database size is increasing
    so how to findout the job which responsible for database re indxing
    adil

    Audit data is created when an audit event his triggered. Auditing is configured on a per-Site Collection basis.
    http://office.microsoft.com/en-us/sharepoint-server-help/configure-audit-settings-for-a-site-collection-HA102031737.aspx
    There is a Health Analyzer rule named "Databases used by SharePoint have outdated index statistics".
    http://technet.microsoft.com/en-us/library/hh564122(v=office.14).aspx
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Short dump while executing few queries , which has got created on Infoset.

    Hi,
    We went to BI7.0 upgrade from BW3.x now.
    We are getting short dump short dump while executing few queries and work book, which has got created on Infoset.
    When i was executing work book where i was geting popup message saying that "Erro ZSD_XST_F00121 is invalid".When i click that message it went to dump.
    I was getting this error while executing query on infoset.
    We are currently SP Stack 13(Patch level 15).
    I found some note 1067918 as per the shortdum,where it is saying that you need to apply SP Stack14(patch level16).
    Please some one who had earlier this kind of issue.
    I appreciate your answer.

    Dear Krish,
    Yes, It is the patch problem.
    We too faced the same issue on Infosets.
    Apply SP 15.
    Regards,
    Ram.

  • How to find out the columns which has 16 digit credit card number

    Hi All,
    I have a requirement where in i need to find out the columns which has 16 digit credit number in it and create a report with owner, table name and column name.
    The issue is that the credit card number can be entered in any columns of any table of any schema. For example the credit card number can be entered in any description field(eg: The number is 4001412134642881), in that case i need to filter only the numbers and do the LUHN check to validate the credit card number.
    Please provide me a suggestion on how to scanl the values of all the columns to know the column which has credit card number.
    Regards,
    Raj.

    Tell me this - how the hell do you have a database with credit card number data and NOT know which columns of which tables contain credit card numbers? (and how on earth is this data NOT encrypted!?)
    How is what you want to do, NOT a fishing expedition to hack a database that may or may not be storing credit card details?
    And do you honestly think that we should simply trust that once you have extracted these numbers, performed a Luhn algorithm to verify these as credit card numbers, you are not going to fraudulently use these credit card numbers!?
    I have marked your posting as an attempt to hack an Oracle database for fraudulent use of credit card data. I hope that your OTN account is terminated soon and trust that your too much of a coding idiot to actually succeed in this endevour.

  • How to extract client source ip, which has been embedded in http header?

    Can someone please tell me how to extract the client source ip which has been embedded in http header?
    the web server is running SunOS 5.8 and iPlanet6.0sp6
    Thanks.

    Clear the cache and cookies.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies":
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    Create a new profile as a test to check if your current profile is causing the problem.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer some files from an existing profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over the problem
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    *https://itunes.apple.com/us/app/bitdefender-virus-scanner/id500154009?mt=12

  • How do I see a book which has been downloaded, but does not show in Adobe Reader XI?

    How do a find a ePub book in Adobe Reader XI, which has been downloaded and does not show up? janf76607913

    Visit:
    Adobe Digital Editions
    Be well...

Maybe you are looking for

  • Does Mophie Air for iPhone 5 scrateches the the black version?

    Hello! I am about to get the iPhone 5 and Mophie Air. Since we all know the Black iPhone 5 tends to scratch quite easy I would like to know if this Mophie Air scratches its bezels. If it doesn't, how often do you change cases on your black iPhone 5?

  • Playlist shuffle issue.

    I have a smart playlist called "Holiday" as I'm sure many of us have. After my update to iTunes 11, I cannot play that playlist on shuffle. All my albums/songs are listed, iTunes says there are 670 songs in the playlist, however when I hit the shuffl

  • Download into text file

    Hi Abapers, i want to download the entries of "List of Quotations" ALV List in EXCEL file. Is it possible with any option ? "List of Quotation" appears by running transaction VA25. then press enter and then fill Sales Area and again press enter. Now

  • Restore and Reinstall ????

    hello everyone! Wondering if you can guide me through this process. I have tried a disk repair on my HD volume, without success of repair. Therefore, I realize that I must do a complete restore rather than an archive install. Is there a way to do a r

  • Upgrading from 10.4.11 to 10.6.6 or straight to 10.7

    I have an iMac running 10.4.11. I want to update the system all the way to 10.7.3 Is there a combo 10.7 I can install, to skip 10.5 & 10.6? Thanks.