IDOC failed due to date mismatch

Hi Experts,
I am facing a problem in IDOC.
I IDOC is sent through a one SAP to another system.
In target system ,It was failed ,the reason being the date mismatch.
When I check through WE02 ,it was failed becoz a TODATE and FROMDATE got wrong ,i.e it got swapped..
So is there any way to process this error out IDOC?
Is it possible to change the dates and then process it manually?
Pls let me know as its on high priorty.
Note : BOTH SAP system are Production .
thanks in advance

Hi Hemant,
Please find the following steps to edit IDOC segment after you find the error using WE02.
The example codes can be found in website
http://www.sapgenie.com/sapedi/idoc_abap.htm
STEP 1 - Open document to edit
CALL FUNCTION 'EDI_DOCUMENT_OPEN_FOR_EDIT'
EXPORTING
document_number = t_docnum
IMPORTING
idoc_control = itab_edidc
TABLES
idoc_data = itab_edidd
EXCEPTIONS
document_foreign_lock = 1
document_not_exist = 2
document_not_open = 3
status_is_unable_for_changing = 4
OTHERS = 5.
STEP 2 - Loop at itab_edidd and change data
LOOP AT itab_edidd WHERE segnam = 'E1EDKA1'.
e1edka1 = itab_edidd-sdata.
IF e1edka1-parvw = 'LF'.
e1edka1-partn = t_eikto.
itab_edidd-sdata = e1edka1.
MODIFY itab_edidd.
EXIT.
ENDIF.
ENDLOOP.
STEP 3 - Change data segments
CALL FUNCTION 'EDI_CHANGE_DATA_SEGMENTS'
TABLES
idoc_changed_data_range = itab_edidd
EXCEPTIONS
idoc_not_open = 1
data_record_not_exist = 2
OTHERS = 3.
STEP 3a - Change control record
CALL FUNCTION 'EDI_CHANGE_CONTROL_RECORD'
EXPORTING
idoc_changed_control = itab_edidc
EXCEPTIONS
idoc_not_open = 1
direction_change_not_allowed = 2
OTHERS = 3.
STEP 4 - Close Idoc
Update IDoc status
CLEAR t_itab_edids40.
t_itab_edids40-docnum = t_docnum.
t_itab_edids40-status = '51'.
t_itab_edids40-repid = sy-repid.
t_itab_edids40-tabnam = 'EDI_DS'.
t_itab_edids40-mandt = sy-mandt.
t_itab_edids40-stamqu = 'SAP'.
t_itab_edids40-stamid = 'B1'.
t_itab_edids40-stamno = '999'.
t_itab_edids40-stapa1 = 'Sold to changed to '.
t_itab_edids40-stapa2 = t_new_kunnr.
t_itab_edids40-logdat = sy-datum.
t_itab_edids40-logtim = sy-uzeit.
APPEND t_itab_edids40.
CALL FUNCTION 'EDI_DOCUMENT_CLOSE_EDIT'
EXPORTING
document_number = t_docnum
do_commit = 'X'
do_update = 'X'
write_all_status = 'X'
TABLES
status_records = t_itab_edids40
EXCEPTIONS
idoc_not_open = 1
db_error = 2
OTHERS = 3.
Other alternative is to use WE19 with reference to the error IDoc number.
After you change the incorrect segment(s), you can post to the application. 
As of result, new IDoc will be created.
You can use FM EDI_DOCUMENT_DELETE to delete the incorrect/errror IDoc number.
Also you can use WE02 to change the incorrect segment.
Double click on the incorrect segment to get the detail info. Then go to Data Record (menu) -> Change -> make neccessary changes -> Save.
Then you can use this program RBDINPUT to reprocess the error IDoc.
Hope this will help.
Regards,
Ferry Lianto

Similar Messages

  • Access 2010 InfoPath Data Collection Export Fails Due to Date Format That Includes Time Zone

    I created an Access 2010 database that has multiple data collection (InfoPath) forms that were generated from Access and have been in use for about 1.5 years.  Starting in 2013 (for about a week now), the submitted data fails to Export due
    to a "data type conversion error" with the date fields.  Prior to 2013, the date string returned in the InfoPath form looked like this: "2013-01-07T00:00:00", but now it looks like this: "2013-01-07T00:00:00-05:00".  The time zone is appended
    to the string and it kills the Outlook Export feature.
    To test this, I created a new database with one table and one date time field.  I generated an InfoPath template and emailed it to myself.  I entered the date into the template and submitted it (tried manually entering the date as well as
    using the date time picker control - made no difference).  The InfoPath template now contains "2013-01-07T00:00:00-05:00" and will not Export from Outlook to Access.  I tried manually pasting the string into the Access table and it would take it,
    but would show "1/7/2013 5:00:00 AM" in the date time field (which isn't correct either but at least it took).  Note: This problem has appeared at my office (Win 7 with Office 2010), but my testing was done on my personal laptop using Win 8 with Office
    2010.
    It looks like Microsoft has created a bug and now all of my data collection forms are unusable.  Any help will be appreciated.

    Microsoft confirmed that the issue was introduced with MS12-066 as follows:
    ***Start Quote
    We have been able to identify that this issue was introduced with the change made for the hotfix detailed in KB 2687395. This update was included in the security update MS12-066 when you installed KB 2687417.
    2687395          Description of the InfoPath 2010 hotfix package (ipeditor-x-none.msp): August 28, 2012
    http://support.microsoft.com/kb/2687395/EN-US
    2687417           MS12-066: Description of the security update for InfoPath 2010 Service Pack 1: October 9, 2012
    http://support.microsoft.com/kb/2687417/EN-US
    Investigating workarounds I've only come up with using HTML forms or changing the datatype of the control to text.
    ***End Quote
    My own testing also indicates that if you are using InfoPath with SQL Server, you may be able to change the Date/Time picker control in InfoPath to a Date only picker control (if the SQL Server data
    type will support that).

  • Outbound Vendor CREMAS idocs failing due to No global company code assigned

    Hi
    I am triggring the vendor master Idocs from BD14 but they are failing with the error "No global company code is assigned to the company code"
    were as teh Company code that is mentioned in the error is maintained as a global compont code
    can some one provide me with any inputs
    Thanks
    Nikhil

    hi,
    please follow the following menu path in <b>SALE</b>
    Application Link Enabling (ALE)
            Modelling and Implementing Business Processes
                Cross-Application Settings
                    Global Organizational Units
                        Cross-System Company Codes
    hope this helps...
    reward if useful...

  • Unplanned Delivery Cost through INVOIC IDOC - Failing due to Cost Center

    Hello all,
    We are using INVOIC idoc for incoming invoice from the vendors, and are using E1EDK05-BETRG for getting the unplanned delivery costs.  However, we don't want to use a default cost center (OKB9) for the "Unplanned Delivery GL Account", instead we want to use the cost center from the Purchase Order.
    Is there any way we can get the cost center from the Purchase order while processing the invoice through IDOC?
    Thank you,
    Krishna

    Hello Krishna,
    As per my knowledge unplanned delivery cost is liability account not expenses ! Beyond delivery expenses you planned in PO ,you would enter in LIV. That time mentioned entry will be post
    Material account........Dr ( If materials available)
      To Vendor account,,,,,,,,Cr
    Price difference account.......Dr ( If material not avialble)
      To Vendor account..........Cr
    Frieght alwasy materialized while doing the GRN.
    Regards
    Mani Kumar

  • Idoc Failure due to APO substitute part number

    Hi
    Scenario: Intercompany p.o for a part. Plant in newzeland buy from Singapore.
    In Sales Order and Delivery system proposes a substitute part number against P.O
    So when delivery is created the idoc failed due to the discrepancy of P.O and S.O partnumber (susbstitute in S.O). In S.O Reason for Material Substutution: Softpart Roll (APO): 9912
    Actual entered in P.O and substitute in S.O/D.O are enabled in both plants and material X plant status is C5 (New Product).
    P.O status - Invoice recieved but Not yet GR.
    SO Status - Delivery, Pick, PGI completed
    Can any one advise how to clear the failed idocs and understand the root cause.
    regards
    RG.

    Hi
    It may be a not decent solution and long term.
    As interim solution, once the substitute part arrived the recieving store at the buying instance, change the part number accordingly in the P.O (delete the old part number and add the new part number, and delete the output type to prevent any Idoc flow for the same order again.) and save it.
    Now the GR can be performed.
    regards
    GJ

  • Getting Error in Data Collection - FDPSTP failed due to ORA-23401

    Hi All,
    I am really new to ATP Setup and after referring to the Metalink notes, I have compelted the setups required to calculate ATP in Sales Order Window.
    But when I am submitting the Data Collection which is the last step I guess, the program is ending with Error.
    I am getting the error.
    FDPSTP failed due to ORA-23401: materialized view "APPS"."MTL_OH_QTYS_SN" does not exist.
    And because of this, when I am going to Sales Order to check the ATP, I am getting the error that Try Calculating ATP Again.
    Please Help. Project is into a critical stage and I am stuck with this error.
    With Regards,
    Vishal Majithia

    Please mention the application release.
    I am really new to ATP Setup and after referring to the Metalink notes, I have compelted the setups required to calculate ATP in Sales Order Window.What is the document you are referring to?
    I am getting the error.
    FDPSTP failed due to ORA-23401: materialized view "APPS"."MTL_OH_QTYS_SN" does not exist.Please see if these docs help.
    Refresh Snapshot Errors With ORA-12034: Snapshot Log On "BOM"."BOM_SUB_OPERATION_RESOURCES" Younger Than Last Refresh [ID 180705.1]
    How to Rebuild Source Snapshots Used in the Data Collection or Planning Data Pull MSCPDP [ID 148584.1]
    Thanks,
    Hussein

  • AD 11g Trusted Recon is failing due to invalid Date format for Start Date

    We are using OIM 11g with AD 11g connector.
    we have mapped "whenCreated" attribute of AD to "Start Date" in OIM. We ran Trusted Recon, the recon failed due to invalid date format.
    we got the following error :
    Caused By: oracle.iam.reconciliation.exception.InvalidDataFormatException: Invalid data - 10/19/2012 10:33:30 AM against Date format yyyy/MM/dd HH:mm:ss z for key Start Date
    at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.convertReconFieldsToOIMFields(ReconOperationsServiceImpl.java:1610)
    at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.ignoreEvent(ReconOperationsServiceImpl.java:548)
    at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.ignoreEvent(ReconOperationsServiceImpl.java:535)
    at sun.reflect.GeneratedMethodAccessor9326.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    Thanks.

    Caused By: oracle.iam.reconciliation.exception.InvalidDataFormatException: Invalid data - *10/19/2012 10:33:30 AM* against Date format yyyy/MM/dd HH:mm:ss z for key Start Date
    Error is because of invalid date format.
    You need to bring data in required format. As I remember you can configured it in one of the AD configuration lookup.

  • Master data failed due to HIERARCHY

    Hi Experts,
    In my master data, 3 hierarchies were failed due to No InfoProvider exists with name "COSTCENTER_0101_HIER"
    when i try to Repeat, the same error occured, give me how to solve this problem.
    Thanks,
    Venkat
    Edited by: venkat siva on Apr 28, 2009 5:22 AM

    Hi
    Recheck the Entire Data flow for that DS .
    ECC: RSA5-- Activate DS ; RSA6-- Transport ;
    BI:RSA1-- Source system -- Your DS -- Replicate.
    Make sure that 0CostCenter is made as InfoProvider.
    Hope it helps and clear

  • Master Data Process chains failing due to special charecters?

    hi experts,
    we have done all the master data(FI,SD,LO,QM,PM,MM,PP,PS) and created process chains and transported into production system.
    when we run the process chains we are facing lot of issues regarding special charecters.
    for example. 0MAT_VEND_ATTR Data source. 
    MATERIAL VENDOR (field - IDNLF).
    'UDGÅET
    &''UDGÅR
    &''UDGÅET
    &''36/5599/LED./FÆLLES
    &''SØTRANSPORT &
    those are the special charecters are coming when i try to execute through RSKC the above Material Vendors, its giving different special chars for different MATERIAL VENDORS like below.
    FÆLLESSØTRANSPORT
    04/5160/FORSØGSAFD.
    (5150)FORSØGSAFD.
    like that there are about 15 master data chains are failing.
    due to that reason the below transcation chars are not executing.
    please suggest me is there any routine or is there any procedure to take care of unpredicted special charecters loading successfully into BW.
    regards
    venuscm

    I don't think its a global setting problem.
    Permit the char in RSKC...
    Check with the functional team why they are getting Special char values in the loads. ask them to rectify the special char so that you can extract the same to BW side.
    go through the blog links provided earlier in my post...
    Check the below link which might be of some use to you,..
    /people/jyothi.velpula/blog/2010/12/23/removing-invalid-characters-using-field-routine
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0afbb81-f219-2c10-4181-b20f6b10e373?quicklink=index&overridelayout=true
    Edited by: prashanthk on Jan 3, 2011 5:35 PM

  • SCOM not generating alerts & The request to synchronize state for OpsMgr Health Service identified by "bdb1712b-0a9a-bbe3-9630-41f2da9f64a1" failed due to the following exception "System.Data.SqlClient.SqlException: Cannot open database "OperationsManager

    Hi Anyone can assisting on this. The SCOM 2007r2 i managed suddenly do not pump out alerts.
    I have perform full scom service restart(data access, agent, config). it no load up related datawarehouse like(stored, write)
    I also restarted my sql db services. It show me the error like this. Anyhow i can fix it
    The request to synchronize state for OpsMgr Health Service identified by "bdb1712b-0a9a-bbe3-9630-41f2da9f64a1" failed due to the following exception "System.Data.SqlClient.SqlException: Cannot open database "OperationsManager" requested
    by the login. The login failed.
    Login failed for user 'HK\svc-scomsdk'.
       at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.SqlClient.SqlConnection.Open()
       at Microsoft.EnterpriseManagement.Mom.DataAccess.SqlConnectionHandler.Open(SqlConnection sqlConnection, RetryPolicy retryPolicy, DatabaseConnection databaseConnection)
       at System.Data.SqlClient.SqlConnection.Open()
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at Microsoft.EnterpriseManagement.Mom.DataAccess.SqlConnectionHandler.Open(SqlConnection sqlConnection, RetryPolicy retryPolicy, DatabaseConnection databaseConnection)
       at System.Data.SqlClient.SqlConnection.Open()
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.SqlClient.SqlConnection.Open()
       at Microsoft.EnterpriseManagement.Mom.DataAccess.SqlConnectionHandler.Open(SqlConnection sqlConnection, RetryPolicy retryPolicy, DatabaseConnection databaseConnection)
       at Microsoft.EnterpriseManagement.Mom.DataAccess.DatabaseConnection.Open()
       at Microsoft.EnterpriseManagement.Mom.DataAccess.QueryRequest.Execute(SqlNotificationRequest sqlNotificationRequest)
       at Microsoft.Mom.ConfigService.OpsMgrDataAccess.ConfigurationDataAccessor.QueryInstanceProperties(ReadOnlyCollection`1 instances)
       at Microsoft.Mom.ConfigService.DataAccess.DatabaseAccessor.QueryInstanceProperties(ReadOnlyCollection`1 instances)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems.Instances.CollectPublicProperties(ReadOnlyCollection`1 identities, IConfigurationDataAccessor dataAccessor)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems.ConfigurationItemCollection`2.CollectPublicProperties(IConfigurationDataAccessor dataAccessor)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems..ctor(StateContext stateContext, IConfigurationDataAccessor dataAccessor)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.CreateResponse(Managers managers)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.Managers.Synchronize(OnDoSynchronizedWork onDoSynchronizedWork)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.Execute(Managers managers)
       at Microsoft.EnterpriseManagement.Mom.DataAccess.SqlConnectionHandler.Open(SqlConnection sqlConnection, RetryPolicy retryPolicy, DatabaseConnection databaseConnection)
       at Microsoft.EnterpriseManagement.Mom.DataAccess.DatabaseConnection.Open()
       at Microsoft.EnterpriseManagement.Mom.DataAccess.QueryRequest.Execute(SqlNotificationRequest sqlNotificationRequest)
       at Microsoft.Mom.ConfigService.OpsMgrDataAccess.ConfigurationDataAccessor.QueryInstanceProperties(ReadOnlyCollection`1 instances)
       at Microsoft.Mom.ConfigService.DataAccess.DatabaseAccessor.QueryInstanceProperties(ReadOnlyCollection`1 instances)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems.Instances.CollectPublicProperties(ReadOnlyCollection`1 identities, IConfigurationDataAccessor dataAccessor)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems.ConfigurationItemCollection`2.CollectPublicProperties(IConfigurationDataAccessor dataAccessor)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems..ctor(StateContext stateContext, IConfigurationDataAccessor dataAccessor)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.CreateResponse(Managers managers)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.Managers.Synchronize(OnDoSynchronizedWork onDoSynchronizedWork)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.Execute(Managers managers)
       at Microsoft.EnterpriseManagement.Mom.DataAccess.SqlConnectionHandler.Open(SqlConnection sqlConnection, RetryPolicy retryPolicy, DatabaseConnection databaseConnection)
       at Microsoft.EnterpriseManagement.Mom.DataAccess.DatabaseConnection.Open()
       at Microsoft.EnterpriseManagement.Mom.DataAccess.QueryRequest.Execute(SqlNotificationRequest sqlNotificationRequest)
       at Microsoft.Mom.ConfigService.OpsMgrDataAccess.ConfigurationDataAccessor.QueryInstanceProperties(ReadOnlyCollection`1 instances)
       at Microsoft.Mom.ConfigService.DataAccess.DatabaseAccessor.QueryInstanceProperties(ReadOnlyCollection`1 instances)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems.Instances.CollectPublicProperties(ReadOnlyCollection`1 identities, IConfigurationDataAccessor dataAccessor)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems.ConfigurationItemCollection`2.CollectPublicProperties(IConfigurationDataAccessor dataAccessor)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems..ctor(StateContext stateContext, IConfigurationDataAccessor dataAccessor)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.CreateResponse(Managers managers)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.Managers.Synchronize(OnDoSynchronizedWork onDoSynchronizedWork)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.Execute(Managers managers)
       at Microsoft.EnterpriseManagement.Mom.DataAccess.SqlConnectionHandler.Open(SqlConnection sqlConnection, RetryPolicy retryPolicy, DatabaseConnection databaseConnection)
       at Microsoft.EnterpriseManagement.Mom.DataAccess.DatabaseConnection.Open()
       at Microsoft.EnterpriseManagement.Mom.DataAccess.DatabaseConnection.Open()
       at Microsoft.EnterpriseManagement.Mom.DataAccess.QueryRequest.Execute(SqlNotificationRequest sqlNotificationRequest)
       at Microsoft.Mom.ConfigService.OpsMgrDataAccess.ConfigurationDataAccessor.QueryInstanceProperties(ReadOnlyCollection`1 instances)
       at Microsoft.EnterpriseManagement.Mom.DataAccess.QueryRequest.Execute(SqlNotificationRequest sqlNotificationRequest)
       at Microsoft.Mom.ConfigService.DataAccess.DatabaseAccessor.QueryInstanceProperties(ReadOnlyCollection`1 instances)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems.Instances.CollectPublicProperties(ReadOnlyCollection`1 identities, IConfigurationDataAccessor dataAccessor)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems.ConfigurationItemCollection`2.CollectPublicProperties(IConfigurationDataAccessor dataAccessor)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems..ctor(StateContext stateContext, IConfigurationDataAccessor dataAccessor)
       at Microsoft.Mom.ConfigService.DataAccess.DatabaseAccessor.QueryInstanceProperties(ReadOnlyCollection`1 instances)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.CreateResponse(Managers managers)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems.Instances.CollectPublicProperties(ReadOnlyCollection`1 identities, IConfigurationDataAccessor dataAccessor)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.Execute(Managers managers)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.Run(Guid source, String cookie, Managers managers, IConfigurationDataAccessor dataAccessor, Stream stream, IConnection connection)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems.ConfigurationItemCollection`2.CollectPublicProperties(IConfigurationDataAccessor dataAccessor)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems..ctor(StateContext stateContext, IConfigurationDataAccessor dataAccessor)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.CreateResponse(Managers managers)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.Managers.Synchronize(OnDoSynchronizedWork onDoSynchronizedWork)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.Execute(Managers managers)
       at Microsoft.EnterpriseManagement.Mom.DataAccess.SqlConnectionHandler.Open(SqlConnection sqlConnection, RetryPolicy retryPolicy, DatabaseConnection databaseConnection)
       at Microsoft.EnterpriseManagement.Mom.DataAccess.DatabaseConnection.Open()
       at Microsoft.EnterpriseManagement.Mom.DataAccess.QueryRequest.Execute(SqlNotificationRequest sqlNotificationRequest)
       at Microsoft.Mom.ConfigService.OpsMgrDataAccess.ConfigurationDataAccessor.QueryInstanceProperties(ReadOnlyCollection`1 instances)
       at Microsoft.EnterpriseManagement.Mom.DataAccess.SqlConnectionHandler.Open(SqlConnection sqlConnection, RetryPolicy retryPolicy, DatabaseConnection databaseConnection)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems.ConfigurationItemCollection`2.CollectPublicProperties(IConfigurationDataAccessor dataAccessor)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems..ctor(StateContext stateContext, IConfigurationDataAccessor dataAccessor)
       at Microsoft.EnterpriseManagement.Mom.DataAccess.DatabaseConnection.Open()
       at Microsoft.EnterpriseManagement.Mom.DataAccess.QueryRequest.Execute(SqlNotificationRequest sqlNotificationRequest)
       at Microsoft.Mom.ConfigService.OpsMgrDataAccess.ConfigurationDataAccessor.QueryInstanceProperties(ReadOnlyCollection`1 instances)
       at Microsoft.Mom.ConfigService.DataAccess.DatabaseAccessor.QueryInstanceProperties(ReadOnlyCollection`1 instances)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems.Instances.CollectPublicProperties(ReadOnlyCollection`1 identities, IConfigurationDataAccessor dataAccessor)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems.ConfigurationItemCollection`2.CollectPublicProperties(IConfigurationDataAccessor dataAccessor)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.Managers.Synchronize(OnDoSynchronizedWork onDoSynchronizedWork)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.ConfigurationItems..ctor(StateContext stateContext, IConfigurationDataAccessor dataAccessor)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.Execute(Managers managers)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.CreateResponse(Managers managers)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.Managers.Synchronize(OnDoSynchronizedWork onDoSynchronizedWork)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.Run(Guid source, String cookie, Managers managers, IConfigurationDataAccessor dataAccessor, Stream stream, IConnection connection)
       at Microsoft.Mom.ConfigService.Engine.ConfigurationEngine.CommunicationHelper.StateSyncRequestTask.Run(Guid source, String cookie, Managers managers, IConfigurationDataAccessor dataAccessor, Stream stream, IConnection connection)".

    Hi,
    I would like to suggest you reset the SDK account password (in this case, it seems like that the account is 'scomsdk'). And change the password for the account in service configuration.
    Please go through the below article for details:
    How to change the credentials for the SDK Service and for the Config Service in Microsoft System Center Operations Manager
    http://support.microsoft.com/kb/936220/en-us
    Regards,
    Yan Li
    Regards, Yan Li

  • Delta load from ODS to cube failed - Data mismatch

    Hi all
    We have a scenario where the data flow is like
    R/3 table - >dataSrc -- > pSA - >InfoSrc -> ODS ->Cube.
    The cube has an additional field called "monthly version"
    and since it is a history cube , it is supposed to hold data
    snapshots of the all data in current cube for each month .
    We are facing the problem that the Data for the current month
    is there in the history ODS but not in the cube . In the ODS ->Manage->requests
    tab i can see only 1 red request that too with 0 recs.
    However ,In the cube -> manage-> reconstruction tab , i can see 2 Red request
    with the current month date. Could these red requests be the reason for
    data mismatch in ODS and cube .
    Please guide as to how can i solve this problem .
    thanks all
    annie

    Hi
    Thanks for the reply.
    Load to Cube is Delta and goes daily .
    Load to ODS is a full on daily basis .
    Can you help me how to sort this issue . I have to work directly in production env . so has to be safe and full proof .
    Thanks
    annie

  • Management Data Warehouse Data Collection fails due to login failure

    Hello,
    I am trying to set up a Management Data Warehouse on a server other than the one I want statistics of.  Unfortunately, each upload fails because the data collector upload job cannot log onto the warehouse server.  For some inexplicable reason the process is trying to log on using domain\serverName.  Obviously no such user exists, and the process fails.  Below is the error message I see in the logs:
    Description: An error occurred with the following error message: "An error occurred while verifying the result set schema against the output table schema. The data collector cannot connect to the management data warehouse. : Login failed for user 'domain\server name$'.".
    Any help would be greatly appreciated.
    Thanks,
    Zachary

    http://technet.microsoft.com/en-us/library/bb677211.aspx says
    The data warehouse is installed on a different computer from the data collector. Probable causes are network connectivity problems or an unavailable host server. This error only affects upload packages.
    Handling: Because there is no advance notification about a server shutdown, this error cannot be anticipated and handled automatically. The error is logged and after a brief interval, the upload is restarted. After four unsuccessful upload attempts, the collection set is disabled and its state is written to the execution log.
    Note:
    Any data that is collected while the collection set is running is kept and accumulated. If the upload package can connect to the data warehouse, the accumulated data is uploaded.
    Blog: http://dineshasanka.spaces.live.com

  • What is data mismatch ticket and how rectified it

    Hi ,
      i am pradeep .a job seeker pleas send me any doc regarding data mismatch and step by
       step process to rectified it i will give good point
    regards
    pradeep kandepu

    hi ,
    These r some support issues...
    As to frequent failures and errors , there is no fixed reason for the load to be fail , if you want it for the interview perspective I would answer it in this way.
    a) Loads can be failed due to the invalid characters
    b) Can be because of the deadlock in the system
    c) Can be because of previous load failure , if the load is dependant on other loads
    d) Can be because of erroneous records
    e) Can be because of RFC connections
    These are some of the reasons for the load failures.
    we can perform the daily activities in Production
    1. Monitoring Data load failures thru RSMO
    2. Monitoring Process Chains Daily/weekly/monthly
    3. Perform Change run Hierarchy
    4. Check Aggr's Rollup
    To add to the above
    1)check data targets are ready for reporting,
    2) No failed or cancelled jobs in sm37 monitors and Bw Monitor.
    3) All requests are loaded for day, monthly and yearly also.
    4) Also to note down time taken for loading of critical info cubes which are used for reporting.
    5) Is there any break in any schedules from your process chains.
    hope this helps,
    partha

  • Conversion failed when converting date and/or time from character string

    Hi experts,
    I'm trying running a query in Microsoft Query but it gives the following error message:
    "conversion failed when converting date and/or time from character string"
    when asks me the data I'm inserting 31-01-2014
    i've copy the query form the forum:
    SELECT T1.CardCode, T1.CardName, T1.CreditLine, T0.RefDate, T0.Ref1 'Document Number',
         CASE  WHEN T0.TransType=13 THEN 'Invoice'
              WHEN T0.TransType=14 THEN 'Credit Note'
              WHEN T0.TransType=30 THEN 'Journal'
              WHEN T0.TransType=24 THEN 'Receipt'
              END AS 'Document Type',
         T0.DueDate, (T0.Debit- T0.Credit) 'Balance'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')<=-1),0) 'Future'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>=0 and DateDiff(day, T0.DueDate,'[%1]')<=30),0) 'Current'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>30 and DateDiff(day, T0.DueDate,'[%1]')<=60),0) '31-60 Days'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>60 and DateDiff(day, T0.DueDate,'[%1]')<=90),0) '61-90 Days'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>90 and DateDiff(day, T0.DueDate,'[%1]')<=120),0) '91-120 Days'
         ,ISNULL((SELECT T0.Debit-T0.Credit WHERE DateDiff(day, T0.DueDate,'[%1]')>=121),0) '121+ Days'
    FROM JDT1 T0 INNER JOIN OCRD T1 ON T0.ShortName = T1.CardCode
    WHERE (T0.MthDate IS NULL OR T0.MthDate > ?) AND T0.RefDate <= ? AND T1.CardType = 'C'
    ORDER BY T1.CardCode, T0.DueDate, T0.Ref1

    Hi,
    The above error appears due to date format is differnt from SAP query generator and SQL server.
    So you need convert all date in above query to SQL server required format.
    Try to convert..let me know if not possible.
    Thanks & Regards,
    Nagarajan

  • Getting error in mailing program :Cause: FDPSTP failed due to ORA-29277

    in the following program i am submitting a request and sending concurrent program log file (.REQ file)as an attachment but getting
    following error,plese tell me where i am wrong
    ORACLE error 29277 in FDPSTP
    Cause: FDPSTP failed due to ORA-29277: invalid SMTP operation
    ORA-06512: at "SYS.UTL_SMTP", line 44
    ORA-06512: at "SYS.UTL_SMTP", line 150
    ORA-06512: at "SYS.UTL_SMTP", line 383
    ORA-06512: at "SYS.UTL_SMTP", line 399
    ORA-0651
    code:
    CREATE OR REPLACE PACKAGE BODY APPS.xx_create_acct
    AS
       PROCEDURE submit_request(
          errbuf             OUT   VARCHAR2,
          retcode            OUT   VARCHAR2,
          Source_Application     varchar2,
    Application     number,
    Dummy_Parameter_0    varchar2,
    Ledger    number,
    Process_Category     varchar2,
    End_Date     varchar2,
    Create_Accounting_Flag    varchar2,
    Dummy_Parameter_1    varchar2,
    Accounting_Mode    varchar2,
    Dummy_Parameter_2    varchar2,
    Errors_Only_Flag    varchar2,
    Report    varchar2,
    Transfer_to_GL_Flag    varchar2,
    Dummy_Parameter_3    varchar2,
    Post_to_GL_Flag    varchar2,
    GL_Batch_Name    varchar2,
    Mixed_Currency_Precision    Number,
    Include_Zero_Amt_Lines_Flag    varchar2,
    Request_ID    varchar2,
    Entity_ID    Number,
    Source_Application_Name    varchar2,
    Application_Name    varchar2,
    Ledger_Name    varchar2,
    Process_Category_Name    varchar2,
    Create_Accounting    varchar2,
    Accounting_Mode_Name    varchar2,
    Errors_Only    varchar2,
    Report_Level    varchar2,
    Transfer_to_GL    varchar2,
    Post_in_GL    varchar2,
    Include_Zero_Amount_Lines    varchar2,
    Valuation_Method    varchar2,
    Security_ID_Integer_1    varchar2,
    Security_ID_Integer_2    varchar2,
    Security_ID_Integer_3    varchar2,
    Security_ID_Char_1    varchar2,
    Security_ID_Char_2    varchar2,
    Security_ID_Char_3    varchar2,
    Concurrent_Request_ID    number,
    P_INCLUDE_USER_TRX_ID_FLAG    varchar2,
    P_INCLUDE_USER_TRX_IDENTIFIERS    varchar2,
    P_DEBUG_FLAG     varchar2
       IS
          l_senderemail     VARCHAR2 (2000) := '[email protected]';
          l_request_id      NUMBER;
          errmsg            VARCHAR2 (1000);
          req_id            NUMBER;
          phase             VARCHAR2 (200);
          status            VARCHAR2 (200);
          dphase            VARCHAR2 (200);
          dstatus           VARCHAR2 (200);
          MESSAGE           VARCHAR2 (200);
          wait_stat         BOOLEAN;
          l_file_name       VARCHAR2 (200);
          l_file_path       VARCHAR2 (2000);
          crlf              VARCHAR2 (4)    := CHR (13) || CHR (10);
          v_set_layout_option  BOOLEAN;
           dir_name         varchar2(100);
        /*  CURSOR req_status
          IS
                        SELECT SUBSTR (outfile_name, 55, 23) filename,
                    SUBSTR (outfile_name, 1, 64) outfilepath
               FROM applsys.fnd_concurrent_requests
              WHERE request_id = l_request_id
                AND phase_code = 'C'
                AND status_code = 'C';*/
          directory_path    VARCHAR2 (2000);
          lv_subject        VARCHAR2 (100);
          lv_msg            VARCHAR2 (700);
          lv_msghdr         VARCHAR2 (100);
          lv_pdf_filename   VARCHAR2 (200);
       BEGIN
        apps.fnd_global.apps_initialize
                                   (user_id           => apps.fnd_global.user_id,
                                     resp_id           =>apps.fnd_global.resp_id,
                                    resp_appl_id      => apps.fnd_global.resp_appl_id
                 l_request_id :=
                apps.fnd_request.submit_request
                                      ( 'BOM',
                                        'CSTCRACCRCV',
                                         NULL,
                                         NULL,
                                         FALSE,                             
                                        Source_Application,
                                        Application     ,
                                        Dummy_Parameter_0,
                                        Ledger    ,
                                        Process_Category,
                                        End_Date     ,
                                        Create_Accounting_Flag,   
                                        Dummy_Parameter_1    ,
                                        Accounting_Mode    ,
                                        Dummy_Parameter_2,
                                        Errors_Only_Flag,
                                        Report    ,
                                        Transfer_to_GL_Flag,
                                        Dummy_Parameter_3,
                                        Post_to_GL_Flag    ,
                                        GL_Batch_Name    ,
                                        Mixed_Currency_Precision,
                                        Include_Zero_Amt_Lines_Flag,   
                                        Request_ID    ,
                                        Entity_ID,
                                        Source_Application_Name,
                                        Application_Name,
                                        Ledger_Name    ,
                                        Process_Category_Name,   
                                        Create_Accounting    ,
                                        Accounting_Mode_Name,
                                        Errors_Only    ,
                                        Report_Level,
                                        Transfer_to_GL,   
                                        Post_in_GL    ,
                                        Include_Zero_Amount_Lines,
                                        Valuation_Method    ,
                                        Security_ID_Integer_1,   
                                        Security_ID_Integer_2,   
                                        Security_ID_Integer_3,   
                                        Security_ID_Char_1    ,
                                        Security_ID_Char_2    ,
                                        Security_ID_Char_3    ,
                                        Concurrent_Request_ID,
                                        P_INCLUDE_USER_TRX_ID_FLAG,   
                                        P_INCLUDE_USER_TRX_IDENTIFIERS,   
                                        P_DEBUG_FLAG    
             COMMIT;
             IF (l_request_id <= 0)
             THEN
                errmsg := apps.fnd_message.get ();
             ELSE
                wait_stat :=
                   apps.fnd_concurrent.wait_for_request (l_request_id,
                                                         10,
                                                         360,
                                                         phase,
                                                         status,
                                                         dphase,
                                                         dstatus,
                                                         MESSAGE
                IF dphase = 'COMPLETE'
                THEN
                   dir_name :='XX_CREATE_ACCT_LOG';
                   l_file_name := 'l' || l_request_id || '.REQ';
                   lv_subject := NULL;
                   lv_msg := NULL;
                   lv_msghdr := NULL;
                   lv_pdf_filename := NULL;
                   lv_subject := 'testing mail :Request for Create Accounting not completed';
                   lv_msg :=
                         'Please find attachement here with the Status Of Create Accounting Reciving from cost management'
                   ||  crlf;
                   lv_msghdr := 'Dear Sir' ;
                   lv_pdf_filename := l_file_name;
                   send_mail (l_senderemail,
                              '[email protected]',
                              lv_subject,
                              lv_msghdr,
                              lv_msg,
                              lv_pdf_filename,
                              'text/application',
                              dir_name
                END IF;  
             END IF;
       END submit_request;
       PROCEDURE send_mail (
          p_sender        IN   VARCHAR2,
          p_recipient     IN   VARCHAR2,
          p_subject       IN   VARCHAR2,
          p_mailbodyhdr   IN   VARCHAR2,
          p_mailbody      IN   VARCHAR2,
          p_filename      IN   VARCHAR2,
          p_filetype      IN   VARCHAR2,
          dir_name        in   VARCHAR2
       AS
          v_msg                          VARCHAR2 (32000);
          src_file                       BFILE;
          i                              INTEGER             := 1;
          v_raw                          RAW (500);
          v_length                       INTEGER             := 0;
          v_buffer_size                  INTEGER             := 57;
          v_mailconn                     UTL_SMTP.connection;
          gc_crlf                        VARCHAR2 (4)      := CHR (13)
                                                              || CHR (10);
          gc_lf                          VARCHAR2 (4)        := CHR (10);
          crlf                           VARCHAR2 (2)      := CHR (13)
                                                              || CHR (10);
          gc_mailhost                    VARCHAR2 (255)      := '172.16.11.2';
          -- gc_maildomain                  VARCHAR2 (255)      := 'pune.com';
          msg                            VARCHAR2 (32767);
          boundary              CONSTANT VARCHAR2 (256)
                                               := '-----7D81B75CCC90D2974F7A1CBD';
          first_boundary        CONSTANT VARCHAR2 (256)
                                              := '--' || boundary || UTL_TCP.crlf;
          last_boundary         CONSTANT VARCHAR2 (256)
                                      := '--' || boundary || '--' || UTL_TCP.crlf;
    -- A MIME type that denotes multi-part email (MIME) messages.
          multipart_mime_type   CONSTANT VARCHAR2 (256)
                              := 'multipart/mixed; boundary="' || boundary || '"';
       BEGIN
          DBMS_OUTPUT.ENABLE (100000);
          --fnd_file.put_line (fnd_file.output, '------------------------------------------------------' );
          v_mailconn := UTL_SMTP.open_connection (gc_mailhost, 26);
          UTL_SMTP.helo (v_mailconn, gc_mailhost);
          UTL_SMTP.mail (v_mailconn, p_sender);
          UTL_SMTP.rcpt (v_mailconn, p_recipient);
          UTL_SMTP.open_data (v_mailconn);
          msg :=
                'Date: '
             || TO_CHAR (SYSDATE, 'Dy, DD Mon YYYY hh24:mi:ss')
             || crlf
             || 'From:[email protected] '
          --   || p_sender
             || crlf
             || 'Subject: '
             || p_subject
             || crlf
             || 'To: [email protected]'
            -- || p_recipient
             || crlf
             || 'MIME-Version: 3.1'
             || crlf
             ||                                          -- Use MIME mail standard
                'Content-Type: multipart/mixed;'
             || crlf
             || ' boundary="-----SECBOUND"'
             || crlf
             || crlf
             || '-------SECBOUND'
             || crlf
             || 'Content-Type: text/plain;'
             || crlf
             || 'Content-Transfer_Encoding: 7bit'
             || crlf
             || crlf
             || p_mailbodyhdr
             || crlf
             || crlf
             || p_mailbody
             || crlf
             || crlf
             || crlf
             || crlf
             ||                                                    -- Message body
                'Regards'
             || crlf
             || 'HR and Payroll Team'
             || crlf
             || crlf
             || ' Note- Please ignore the leave status and number of days.'
             || crlf
             || crlf
             || '-------SECBOUND'
             || crlf
             || 'Content-Type'
             || ': '
             || p_filetype
             || crlf
             || 'Content-Disposition: attachment; filename="'
           --  || 'Create Accounting'
            -- || '.REQ'     
             ||p_filename                                         -- p_filename
             || '"'
             || crlf
             || 'Content-Transfer-Encoding: base64'
             || crlf
             || crlf;
          UTL_SMTP.write_data (v_mailconn, msg);
          src_file := BFILENAME (dir_name, p_filename);
          DBMS_LOB.fileopen (src_file, DBMS_LOB.file_readonly);
          v_length := DBMS_LOB.getlength (src_file);
          WHILE i < v_length
          LOOP
             DBMS_LOB.READ (src_file, v_buffer_size, i, v_raw);
             UTL_SMTP.write_raw_data (v_mailconn,
                                      UTL_ENCODE.base64_encode (v_raw)
             UTL_SMTP.write_data (v_mailconn, UTL_TCP.crlf);
             i := i + v_buffer_size;
          END LOOP while_loop;
          UTL_SMTP.write_data (v_mailconn, last_boundary);
          UTL_SMTP.write_data (v_mailconn, UTL_TCP.crlf);
          DBMS_LOB.fileclose (src_file);
          UTL_SMTP.close_data (v_mailconn);
          UTL_SMTP.quit (v_mailconn);
       EXCEPTION
          WHEN OTHERS
          THEN
             UTL_SMTP.quit (v_mailconn);
             DBMS_OUTPUT.put_line (SQLCODE || SQLERRM);
       --   FND_FILE.PUT_LINE (FND_FILE.LOG,'error while fetching values from CO_CODE'|| SQLERRM );
       END send_mail;
    END xx_create_acct;Edited by: BluShadow on 18-Apr-2011 09:49
    added {noformat}{noformat} tags.  Please see the [url=SQL and PL/SQL FAQ and PL/SQL FAQ[/url] for info on how to post on the forums                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     

    I didn't get the information, What I want. Anyway, in the BLOB writing portion you have to create a temporary LOB and load your file into that temporary LOB and the write it into chunks.
    Something like
    DBMS_LOB.OPEN(v_src_loc, DBMS_LOB.LOB_READONLY); --Read the file
      DBMS_LOB.CREATETEMPORARY(l_blob, TRUE); --Create temporary LOB to store the file.
      v_amount := DBMS_LOB.GETLENGTH(v_src_loc); --Amount to store.
      DBMS_LOB.LOADFROMFILE(l_blob, v_src_loc, v_amount); -- Loading from file into temporary LOB
    /* Writing the BLOL in chunks */
      WHILE l_pos < l_blob_len LOOP
        DBMS_LOB.READ(l_blob, l_amount, l_pos, l_buffer);
        UTL_SMTP.write_raw_data(v_connection_handle,
                                UTL_ENCODE.BASE64_ENCODE(l_buffer));
        UTL_SMTP.WRITE_DATA(v_connection_handle, UTL_TCP.CRLF);
        l_buffer := NULL;
        l_pos    := l_pos + l_amount;
      END LOOP;For more example see these posts:
    Re: Sending UTL_SMTP mail with single jpg attachment issue
    Re: getting junk letters instead of photo in an email.

Maybe you are looking for