Transaction SWI2_DIAG

I need to continue a workflow which went on error. The step on error is a mail step. can I do it with transaction SWI2_DIAG or is there better way? can this transaction re-run the WF(after changing the binding) starting at this step or execute steps after this one?
NB : I don't want to restart the Wf from the beginning.
Many thanks

Hello,
If you have a 'real' bug in the workflow, then starting a new workflow with SWUS will probably hit the same error, unfortunately.
If it is a temporary error, restarting via SWI2_DIAG might work.
If it is a problem with master data (eg the user did not have an email address), you can fix that, and then try restarting via SWI2_DIAG.
What kind of error is it?
cheers
Paultje Bakker
Hanabi Technology

Similar Messages

  • Transaction code SWI2_diag

    Can anyone explain what is the purpose of transaction swi2_diag?
    Thanks

    This t-code is use to diagnosis the work item created in business workplace and see what is error in this workitem. This is use when there is some workflow activated in u r system.

  • SWI2_DIAG- Workflow error

    Hi.
    I have few errors in transaction SWI2_DIAG.
    It says, Item-Based Approval 1111.
    When i double click on that then the error says "Mised Deadline: Approve SC 111 from user could not be sent".
    I went to EBP to see the Approval status of the shopping cart, it says "No workflow started, Application error occured".
    What could be the problem and why this might happend, any clue how can i trouble shoot this to understand more information about this behaviour.  This is not just one i have few more shopping carts .
    Many thanks.
    erpMAN

    Hi
    Please check the approver list,   whether the container determine the apporver or not.  if determined then for the user and the necessary things set in the system or not.  If then the mail of the approver is not set and chenck the acct assing in the system.
    BR
    Satish

  • Workflow error " Work item could not be found"

    Hi Experts,
    I used transaction SWI2_DIAG to diagnose the error and tried to restart the workitem manually .The changes were made to Org chart  and now everything is fine but I am still getting error message:
    Work item could not be found                                                             
    Workflow 'Post with Clearing Workflow' step number 4: work item could not be created     
    Agent determination for step '0000000004' failed                                         
    Workflow WS93000005 no. 000004806372 activity 0000000004 role 'AC00000168': No agent found
    Resolution of rule AC00000168 for task TS93000019: no agent found   
    Can someone explain what this error message mean and why i cant restart the workitem manually?
    Thanks.

    This is my message from Production:
    Resolution of rule AC00000168 for task TS93000019: no agent found                         
    Workflow WS93000005 no. 000004806372 activity 0000000004 role 'AC00000168': No agent found
    Agent determination for step '0000000004' failed                                          
    Workflow 'Post with Clearing Workflow' step number 4: _work item could not be created_      
    This is my message from development.. I recreted the scenario and getting different message.
    Workflow 'Journal Entry Approval- Approval WF' step number 36: work item could not be created 
    Agent determination for step '0000000036' failed                                              
    Workflow WS93000001 no. 000000986124 activity 0000000036 role 'AC93000003': No agent found    
    Resolution of rule AC93000003 for task TS00007914: _no agent found_
    Edited by: Sergey on Nov 2, 2010 5:05 PM

  • HCM Process and forms error

    Hi Workflow Experts!
    I am trying to make a simple process and form u2013 based on the tutorial from help.sap.com
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/a8/a72bc873d741e5b1803590824fda10/frameset.htm
    I have made simple form to change the users infotype 6 subt 1 (Permanent Address)
    But the workflow wont start, instead it comes with an error, and the workflow log shows the following errors(from transaction: SWI2_DIAG) :
    Error when processing node '0000000009' (ParForEach index 000000)
    Work item 000000001198: Object FLOWITEM method EXECUTE cannot be executed
    Error updating the process object
    Exit CL_HRASR00_POBJ_WF_EXIT triggered exeception for event STATE_CHG and (target) status READY->
    Transaction brackets of the workflow has been damaged
    Error updating the process object
    Exit CL_HRASR00_POBJ_WF_EXIT triggered exeception for event CREATED and (target) status : Excepti
    Error when creating a work item
    My Workflow is pretty simple, since I only have on task: TS17900100 which is &_WF_INITIATOR&
    So basically the user should enter his new address and then be able to approve it.
    I hope that somebody can help me with an answer.
    Best regards,
    Ronni

    Hello,
    Did you search the forum? Often the quickest way to get an answer.
    Looks like someone else had the same problem:
    Transaction brackets of the workflow has been damaged
    Solution was:
    "The problem have been rectified by applying SAP notes
    1248416 and 1384961 in order."
    But first try SWU_OBUF and regenerating the workflow.
    regards
    Rick Bakker
    Hanabi Technology

  • Workflows stuck between steps not on steps

    Hi
    We have upgraded from 4.6 to version 6 and erp2005 portal. The problem we are having is that a few of our old workflows seem to get stuck between steps and not on the step itself. 2 examples, the old sub workflow for to lock employees gets stuck on the arrow in the graphic between 'find employee' and 'lock employee' similarly if a 'process control' sets a work item to 'obsolete' to cancel it the process cancels the work item but does not fully exit the obsolete process branch and is stuck there on the arrow in the swi1 graphic. The workflow status is 'In Process' no errors are given.
    Any ideas? Are there maybe notes that have to be implemented to correct a bug in the system?
    Maximum points awarded for this. Thanks!

    Hi Lyndon Bell,
    <b>Updating Workflows</b>
    1. Changes to a productive workflow definition require a new version. The next workflow instance will be started using the new version
    2. Reactivate workflow after a definition change
    3. Running workflow instances are completed with the version with which they were started
    4. If you change a productive workflow definition, you should always consider creating a new task instead of a new version
    5. INITIAL Configuration SWU3
    6. What Does It Take to be a Workflow Administrator?
      A.Understanding of the business processes
      B. Understanding of the Workflow system
      C. Working knowledge of ABAP
      D. Access to OSS is a must!
      E. Repeat after me…
    “It’s not a workflow problem”
    7. Check with All these transactions:
    Transaction SWI2_Freq (Workitem Reporting)
    Transaction SWI5 (Workflow Analysis)
    Transaction SWU0 (Simulate Event)
    Transaction SWEL (Event Log Display)
    Transaction SWU6 (Task Consistency Check)
    Transaction SWUD
    Transaction SWI2_DIAG (Error Overview)
    Thanks and Regards,
    Prabhakar Dharmala

  • WorkFlows stuck in error NR 889 - No Free Interval Found

    Hi Experts,
    Approx 800 odd Workflows tries to send IDOCs (data flows) at the same time and approx 50 of these workflows get stuck on that step with error message NR 889 - No Free intervals found.
    We restart these workflows later through transaction SWI2_DIAG so that all the IDOCs are sent in time, however a permanent solution is required for this issue so that workflow do not stuck in this error.
    Please suggest.
    Regards,
    Nidhi

    Hi,
    Is the number range problem with the IDocs themselves, or with the documents they are creating?
    If it is with the documents, you need to configure more number ranges - how many depends on the number of parallel processes that are posting these documents.
    For example, if you have 3 documents posting concurrently, then you need to have 3 number ranges for these types of documents.
    cheers
    Paul Bakker

  • Workflows which went into error

    Hi,
    Is there any standard way to determine which all workflows moved into ERROR status for the given time
    period? The transaction SWI2_DIAG will give you workflows which are in ERROR, but there they check
    the workflow creation time.
    Thanks,
    Aravind

    That one is workitem creation date and time. I want the time during which workitem moves into error status.
    Workitem might be created today, but the status might change to ERROR tomorrow.
    Thanks,
    Aravind

  • Let me know what is new table and transaction code in ECC6?

    Hi
    As the above title, I want to know what is new table and transaction code, through from R/3 4.6c to ECC6.
    Regards
    Sang lim.

    Hi Sang lim,
    Apart from the tocdes listed above,
    Transactions that changed from Release 4.6 C
    Rel.  Old TCode  New TCode 
    46C  ME51  ME51N 
    46C  ME52  ME52N 
    46C  ME53  ME53N 
    470  FNBD  FNBT 
    470  ME54  ME54N 
    470  ME59  ME59N 
    46A  MR01  MIRO 
    46A  MR02  MRBR 
    46A  MR08  MR8M 
    46A  MR1G  MIRO 
    46A  MRHG  MIRO 
    46A  MRHR  MIRO 
    46A  MRRS  MRRL 
    46B  S_P99_41000327  S_ALR_87100205 
    46C  MR03  MIR4 
    46C  MR1B  MIR6 
    46C  MR2M  MIR4 
    46C  MR3M  MIR4 
    46C  MR41  MIR7 
    46C  MR42  MIR4 
    46C  MR43  MIR4 
    46C  MR44  MIR4 
    46C  MR5M  MIR4 
    46C  OAA2  AUFW 
    620  AFAB  AFABN 
    620  AL01  RZ20 
    620  AL02  RZ20 
    620  AL03  RZ20 
    620  AR11  AR11N 
    620  AR29  AR29N 
    620  ASKB  ASKBN 
    620  CA97  CA97N 
    620  DB02  DB02N 
    620  FM3S  FMCIA 
    620  FM3U  FMCIA 
    620  FMN3  FMN3N 
    620  FMN4  FMN4N 
    620  FMN5  FMN5N 
    620  O02E  BMBC 
    620  OACR  OAC0 
    620  RZ23  RZ23N 
    620  SCOM  SCOT 
    620  SM22  SM21 
    620  SWID  SWI2_DIAG 
    620  S_P9C_18000190  S_PL0_09000447 
    620  S_P9C_18000247  S_P6B_12000136 
    620  VOPA  VOPAN 
    620  VOTX  VOTXN 
    620  WE49  WE42 
    620  WE52  WE41 
    620  WE53  WE41 
    640  ABAW  ABAWN 
    640  AL04  RZ20 
    640  AL19  OS07 
    640  COHVOMAVAILCHECK  COMAC 
    640  COHVOMPI  COHVPI 
    640  COHVOMPP  COHV 
    640  KE1F  KE1FN 
    640  KE29  KE29N 
    640  MKH1  MKH1N 
    640  MKH2  MKH2N 
    640  RZ02  RZ20 
    640  RZ06  RZ20 
    640  RZ08  RZ20 
    640  STAT  STAD 
    640  STMP  SLPP 
    640  VL22  VL22N 
    700  AL05  RZ20 
    700  AL16  RZ20 
    700  AL17  OS07 
    700  OVXA  OVXAN 
    700  OVXG  OVXGN 
    700  OVXJ  OVXJN 
    700  OVXK  OVXKN 
    700  OVXM  OVXMN 
    700  OVX3  OVX3N 
    700  OVX6  OVX6N 
    700  OVX8  OVX8N 
    700  WLAM  WLAMN 
    700  WLMM  WLMMN 
    700  WLMV  WLMVN 
    700  WLWB  WLWBN 
    700  WPLG  WPLGN 
    Regards,
    Kiran

  • Error while comitting a transaction in oSB. The following is the error stack

    Error while comitting a transaction in OSB. The following is the error stack
    <Apr 20, 2015 12:00:15 AM MDT> <Error> <EJB> <BEA-010026> <Exception occurred during commit of transaction Xid=BEA1-1AE41F1CAE45F2B146FD(296700848),Status=Rolled back. [Reason=Unknown],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=2,seconds left=120,XAServerResourceInfo[WLStore_SOA_PRDKS_DOMAIN_FileStore_SOA_MS2]=(ServerResourceInfo[WLStore_SOA_PRDKS_DOMAIN_FileStore_SOA_MS2]=(state=new,assigned=none),xar=null,re-Registered = false),XAServerResourceInfo[WLStore_OSB_PRDKS_DOMAIN_FileStore_auto_1]=(ServerResourceInfo[WLStore_OSB_PRDKS_DOMAIN_FileStore_auto_1]=(state=rolledback,assigned=OSB_MS1),xar=WLStore_OSB_PRDKS_DOMAIN_FileStore_auto_11603460297,re-Registered = false),XAServerResourceInfo[weblogic.jdbc.jta.DataSource]=(ServerResourceInfo[weblogic.jdbc.jta.DataSource]=(state=ended,assigned=none),xar=CMSDS,re-Registered = false),SCInfo[OSB_PRDKS_DOMAIN+OSB_MS1]=(state=rolledback),SCInfo[SOA_PRDKS_DOMAIN+SOA_MS2]=(state=pre-prepared),properties=({}),local properties=({weblogic.jdbc.jta.CMSDS=[ No XAConnection is attached to this TxInfo ]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=OSB_MS1+soaprd-vip-osb-ms1.cos.is.keysight.com:8001+OSB_PRDKS_DOMAIN+t3+, XAResources={eis/wls/Queue, WEDB_EVEREST_OSB_PRDKS_DOMAIN, XREFDS_OSB_PRDKS_DOMAIN, eis/activemq/Queue, CustomSchemaDS_OSB_PRDKS_DOMAIN, MobileApps_CIA_DS1_OSB_PRDKS_DOMAIN, eis/tibjmsDirect/Queue, eis/jbossmq/Queue, eis/Apps/Apps, MobileApps_AOS_MDS_OSB_PRDKS_DOMAIN, MobileApps_AOS_DRDS_OSB_PRDKS_DOMAIN, WSATGatewayRM_OSB_MS1_OSB_PRDKS_DOMAIN, eis/webspheremq/Queue, eis/AQ/aqSample, SBLPROD_OSB_PRDKS_DOMAIN, wlsbjmsrpDataSource_OSB_PRDKS_DOMAIN, eis/aqjms/Queue, CMSDS_OSB_PRDKS_DOMAIN, WLStore_OSB_PRDKS_DOMAIN_WseeFileStore_auto_1, FAP_OSB_PRDKS_DOMAIN, eis/sunmq/Queue, eis/pramati/Queue, FMWAPPDS_OSB_PRDKS_DOMAIN, weblogic.jdbc.jta.DataSource, GSDC_OSB_PRDKS_DOMAIN, eis/tibjms/Topic, eis/fioranomq/Topic, WLStore_OSB_PRDKS_DOMAIN_FileStore_MS1, PresidioOracleAppsDS_OSB_PRDKS_DOMAIN, GSDCDS_OSB_PRDKS_DOMAIN, eis/aqjms/Topic, CustOutDS_OSB_PRDKS_DOMAIN, OFMW/Logging/BAM, MobileAppsDS_OSB_PRDKS_DOMAIN, FIDDS_OSB_PRDKS_DOMAIN, WLStore_OSB_PRDKS_DOMAIN__WLS_OSB_MS1, HRMSDS_OSB_PRDKS_DOMAIN, WEDB_OSB_PRDKS_DOMAIN, OracleAppsDS_OSB_PRDKS_DOMAIN, eis/wls/Topic, eis/tibjms/Queue, eis/tibjmsDirect/Topic, IntrastatDS_OSB_PRDKS_DOMAIN, MobileApps_AOS_COSDS_OSB_PRDKS_DOMAIN, MobileApps_CIA_DS2_OSB_PRDKS_DOMAIN, EVEREST_WEDB_OSB_PRDKS_DOMAIN, WLStore_OSB_PRDKS_DOMAIN_FileStore_auto_1, Everest_OSB_PRDKS_DOMAIN},NonXAResources={})],CoordinatorURL=SOA_MS2+soaprd-vip-soa-ms2.cos.is.keysight.com:8002+SOA_PRDKS_DOMAIN+t3+): javax.transaction.SystemException: Lost connection to server while commit was in progress, ignoring because initiating server is not coordinating server. Remote Exception received=weblogic.rjvm.PeerGoneException: ; nested exception is:
            java.rmi.UnmarshalException: Incoming message header or abbreviation processing failed ; nested exception is:
            java.io.InvalidClassException: oracle.jdbc.xa.OracleXAException; local class incompatible: stream classdesc serialVersionUID = -2542408691177300269, local class serialVersionUID = -4551795881821760665
            at weblogic.transaction.internal.TransactionImpl.commit(TransactionImpl.java:376)
            at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:237)
            at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:224)
            at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:552)
            at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:423)
            at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:325)
            at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4659)
            at weblogic.jms.client.JMSSession.execute(JMSSession.java:4345)
            at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3821)
            at weblogic.jms.client.JMSSession.access$000(JMSSession.java:115)
            at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5170)
            at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Hi,
    Have you tried Cancelling the release before adding the version?
    Select the active version of the IDOC Segment and cancel its release first. Only then you will be able to add a version.
    Please let me know if it worked!
    Vijay

  • Doubt in fbl1n transaction

    hi i have a doubt....
    in fbl1n transaction, there are open items and cleared items.
    in it the cleared items  for certain document types such as invoice etc is not present in the open item table (bsik)
    however the cleared items for document types such as general  voucher its present in the open items table (bsik)
    is this possible as all cleared item entries shld b present in the open item table with an indicator set for cleared or not...
    plz exlain!

    Hi
    There are 2 tables(open and Closed Items)  in FI for Account Payables and Account Receivables and GL accounts
    1.Account payables: BSIK is Open Items and BSAK is Closed items
    2.Account Receivables; BSID and BSAD for OPEN and closed items
    3/GL accounts :  BSIS and BSAS  for Open and Closed Items
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Follow up transaction in CRM

    Hi All,
    I want to create an Order in CRM with reference to the Standard Order (which is created in ECC and replicated from ECC to CRM).
    When I open the Transaction (which is created in ECC and replicated from ECC to CRM).
    in CRM and clikc on follow up I am not able to create the follow up transaction.
    The follow up transaction is in display mode.
    Can anybody give me inputs in this regard? where is wrong
    Will award the points for the helpful answer.
    Regards,
    -Rahul.

    Hi Shalini,
    The document is replicated from ECC to CRM without any errors.
    For this document I just want to create follow up transaction in CRM.(I dont want to change the document in CRM)
    The follow up transaction is in display mode. this is my problem.
    Hi Rekha:
    I have done following setting in CRM to create follow up transaction in CRM for the document which is replicated from ECC to CRM.
    1)     Defined the Copying Control for Transaction type
    2)     Defined Copying Control for Item categories
    3)     Defined Item category determination when copying
    Thanks in advance,
    Regards,
    -Rahul.

  • Follow-up Business Transactions

    Hi Experts,
    I have a problem with follow-up transactions. I created two transactions, a Quotation and a Standard Order.
    Then I created follow-up for these transactions in the copying control, ZAG --> ZTA. Now, when I create a new Quotation in the Web Client UI and I open the drop down list "create follow-up" I just can see many diferent activities like Contact, Task, incoming e-mail, etc. but no Business Transaction.
    How can I display the new created Business Transaction ZTA (Standard Order) in the drop-down list?
    Hope sb can help me.
    Thanks.
    Sebastian

    Hello Sudeep De,
    Thanks for your reply but thats not the problem.
    Also in the standard I have the same problem. The standard also defines follow-up transaction for AG (Quotation), AG --> TA (Standard Order) in the copying control. When I log in whith the role salespro and I create a new Quotation, save this Quotation and try to create a new Standtard order with the drop-down list "create follow-up", I just can see activites but no Business Transactions. Why can I just see activities (Task, ...) and no Business Transaktions? All these activities I can see are not defined in the copying control.
    Can you help me?.
    PS: I can find my Business Transaction in the Web Client UI. I just can not find the Transaction in the "create follow-up" List as a follow-up transaction
    Edited by: Sebastian Wilhelm on Oct 1, 2008 11:48 AM

  • Open follow up transaction type screen automatically after confirm account

    Hi Gurus,
    I have a transaction type Z010 for interaction record that is copied from standart 0010 transaction type.
    I define dependent transaction type SRVO that is service order as a follow up of Z010
    My requirement is to open automatically open service order screen after confirming account
    As agents must do everything vey quickly while they are on phone, it is needed urgently.
    Now they have to open Z010 interction record screen, have to press follow up button, click to clipboard and then can open the scrren of service order.
    How can we automatically open service order screen after confirming account??
    I will be very pleased if you will help...
    Thanks.

    Hi Denis, thanks for reply.
    I read it and see that interaction record is automatically created. How can it be made, is it a standard customizing?? Our interaction record is created automatically when follow up process-it is service order here- is created. First we confirm customer, then press to Interaction Record at the left hanside, then in this screen we press follow-up button, then click on Activity Clipboard, then service order screen is opened. I want to pass two steps, pressing Interaction Record and pressing follow up record, how can I do this??
    Exactly I have to define process type Business Activity for interaction record, I can't give Service Order process type directly to interaction record. Service Order type must be dependent to business activity, is it true?? If there is a way to directly giving service order type as an interaction record type, and making interaction record creation automatically after confirming, my problem is solved as very well.

  • Material Transaction Open Interface Error

    Hi,
    I'm getting following Error in Cost Manager after running the Transaction Open Interface,
    Interface work well to update the stocks, but it returns error Layer Cost Worker Concurrent.
    Error1
    Bills of Material: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    CMCLCW module: Layer Cost Worker
    Current system time is 10-OCT-2012 14:16:32
    debug_level = 0
    CM_EXTENDED_DEBUG = 2
    CSTPLCIN.COST_INV_TXN:CSTPLVCP.interorg (160): ORA-00001: unique constraint (INV.MTL_CST_TXN_COST_DETAILS_U1) violated
    Failing Transaction ID is 28227
    Start of log messages from FND_FILE
    Standard costing org : -1
    Interorg transfer send org: (consume layers) ...
    84:5
    28227:1
    Entering get_layers_consumed for transaction 28227 and a required quantity of 2 with a consumption mode of NORMAL
    Trying custom layers
    There are 0 custom layers
    General consumption
    Using SQL SELECT inv_layer_id,layer_quantity FROM cst_inv_layers WHERE layer_id = :i AND inv_layer_id <> :j AND NVL(transaction_source_id,-2) <> :k AND layer_quantity > 0 ORDER BY creation_date, inv_layer_id with 1,-1,-1
    End of log messages from FND_FILE
    No completion options were requested.
    Output is not being printed because:
    The print option has been disabled for this report.
    Deleting output file.
    Concurrent request completed
    Current system time is 10-OCT-2012 14:16:32
    Error2
    Bills of Material: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    CMCLCW module: Layer Cost Worker
    Current system time is 10-OCT-2012 14:16:32
    debug_level = 0
    CM_EXTENDED_DEBUG = 2
    CSTPLCIN.COST_INV_TXN:CSTPACDP.insert_account (10) ORA-01400: cannot insert NULL into ("INV"."MTL_TRANSACTION_ACCOUNTS"."BASE_TRANSACTION_VALUE")
    Failing Transaction ID is 28228
    Start of log messages from FND_FILE
    Standard costing org : -1
    ----------l_to_method---------
    =5
    Interorg transfer receiving org: (create layers) ...
    90:5
    28228:2
    i_txn_id 28228
    1 records updated in mclacd for 15005
    1 records copied from mclacd for 15005
    interorg_cost_txn(..)
    transaction_id:28228
    org_id:90
    i_txn_org_id:90
    i_txf_org_id:84
    i_txf_txn_id:28227
    i_exp_item:0
    i_fob_point:0
    l_snd_rcv:2
    l_from_org:84
    l_to_org:90
    Sending org distributions
    Receiving org distributions
    l_intransit:0
    Calling Inventory acct
    In Inventory_accounts
    In insert accounts
    l_ussgl_tc :
    Payable amount(l_value): acct: 414240
    In insert accounts
    l_ussgl_tc :
    DS - others Exception, sqlcode = -1400
    End of log messages from FND_FILE
    No completion options were requested.
    Output is not being printed because:
    The print option has been disabled for this report.
    Deleting output file.
    Concurrent request completed
    Current system time is 10-OCT-2012 14:16:32
    My Coding
    insert into mtl_transactions_interface
    (transaction_type_id, --------------1
    transaction_uom, --------------2
    transaction_date, --------------3
    organization_id, --------------4
    transaction_quantity, --------------5
    last_update_date, --------------6
    last_updated_by, --------------7
    creation_date, --------------8
    created_by, --------------9
    transaction_mode, --------------10
    process_flag, --------------11
    source_header_id, --------------12
    source_line_id, --------------13
    source_code, --------------14
    transaction_header_id, --------------15
    inventory_item_id, --------------16
    transaction_interface_id, --------------17
    subinventory_code, --------------18
    distribution_account_id, --------------19
    transaction_cost, --------------20
    transaction_reference, --------------21
    transfer_organization, --------------22
    transfer_subinventory, --------------23
    -- transfer_cost, --------------24
    primary_quantity, --------------25
    lock_flag,
    transaction_action_id,
    transaction_source_type_id,
    dst_segment1,
    dst_segment2,
    dst_segment3,
    dst_segment4,
    dst_segment5,
    dst_segment6)
    values
    (v_trx_type_id, --------------1 ------transaction type id
    i.uom_code, --------------2 ------transaction_UoM
    sysdate, i.creation_date, ------------3 ------trasnsaction date
    i.from_organization_id, --------------4 ------org id
    nvl(i.quantity_delivered, i.quantity), --------------5 ------quantity
    sysdate, --------------6 ------Last update date
    -1, --------------7 ------last updated by
    sysdate, --------------8 ------creation date
    -1, --------------9 ------creation by
    3, --------------10 ------transactio mode
    1, --------------11 ------process flag
    1, --------------12 ------source_header_id
    1, --------------13 ------source_line_id
    i.mrn_trx_number, --'MRN Interface', --------------14 ------source code
    '999999', --------------15 ------transaction header id
    v_item_id, --------------16 ------inventory item id
    xx_mrn_mtl_trx_int_seq.nextval, --------------17 ------transaction_interface_id
    i.from_subinventory_code, --------------18 ------sub inventory
    v_code_id, --------------19 ------code compbination
    v_item_cost, --------------20 ------cost
    'MRN Interface', --------------21 ------reference
    i.organization_id, --------------22
    i.to_subinventory_code, --------------23
    -- (nvl(i.quantity_delivered, i.quantity) * v_item_cost) --------------24
    nvl(i.quantity_delivered, i.quantity),
    2,
    v_trx_action_id,
    v_trx_source_type_id,
                   '01',
                   '00',
                   '000',
                   '141013',
                   '000000',
                   '00000');
    Thanks

    Can you get the following for the errored transaction?
    SELECT   transaction_id txnid, transfer_transaction_id txfrtxnid
           , organization_id orgid, transfer_organization_id txfrorgid, subinventory_code subinv
           , transfer_subinventory txfrsubinv, cost_group_id cgid
           , transfer_cost_group_id txfrcgid       , prior_costed_quantity
           , transfer_prior_costed_quantity       , rcv_transaction_id rcvtxnid
           , transaction_action_id txnactid       , transaction_source_type_id txnsrctypid
           , transaction_type_id txntypid       , costed_flag cstdflg
           , transaction_group_id       , inventory_item_id invitmid
           , transaction_source_id wip_entity_id       , transaction_cost txncst
           , shipment_number shipnum       , new_cost       , prior_cost
           , actual_cost       , project_id       , transaction_uom txnuom
           , transaction_quantity txnqty       , primary_quantity priqty       , prior_costed_quantity priorqty
           , currency_code altcurr       , currency_conversion_rate currconvrt       , currency_conversion_date currconvdt
           , TO_CHAR (mmt.creation_date, 'dd-mm-yyyy hh24:mi:ss') creation_date
           , TO_CHAR (mmt.last_update_date, 'dd-mm-yyyy hh24:mi:ss')last_upd_date
           , ERROR_CODE errcode
           , error_explanation errexpl
        FROM mtl_material_transactions mmt
       WHERE transaction_id IN (&Trx_Id)   -- Error transaction_id
    ORDER BY transaction_id DESC

Maybe you are looking for