Error while updating Date Field on Process Form.

Hi,
I am using java code to pre-pop date on the process form.First I used a java code whic took java.sql.date as input and returned the same java.sql.date.But it gave an error that:java.lang.String cannot be converted to java.sql.date.......
So I changed the java code and now it takes string as input and returns java.sql.date. This code works fine for Pre-pop adapter and the date is populated on the process form.
But when i use the same code in a Process Task adapter to update the date, then it gives the following error:
ERROR [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' XELLERATE.ADAPTERS - Class/Method: tcAdpEvent/updateDataSetValuePost encounter some problems: Adapter Execution Error: updateDataObjFieldValuePost: error updating UD_OID_USR_DATE_OF_BIRTH
ERROR [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' XELLERATE.ADAPTERS - Class/Method: tcAdpEvent/updateDataSetValuePost encounter some problems: {1}
Can anyone suggest any method to update date field on process form?

Hi Abhi,
Can you tell me how you have implemented populating an UDF based on Prepopulation of another UDF. I have a similar kind of requirement. It would be great if you share your code or relevant part of it.
Regards,
Sunny Ajmera

Similar Messages

  • Error While updating info in the People Form-Additional Personla Details

    Hi All,
    Iam getting an Error While updating information in the People Form,Additional Personla Details DFF.
    Error Like:
    APP-PER-289974:There has been an error Processing this person,The error encountered is 'ORA-20001:HZ_STNC_SQL_EXCEP:N,PROC.sync_Person,N,ERROR.ORA-25153:Temporary Tablespace is empty ,N,POO,1265890',which occured in procedure  per_htrca_merge_tca_person at step10.
    Please contact your support represntative.
    Thanks -
    Sowmya

    Thanks you,
    By this Note id:395136.1
    Iam unable to find this Set profile 'HZ: Generate Events for DQM Real-Time Synchronization' to No
    with this Note id:278422.1
    We are unable to find this proifle option : HZ: Data Sharing and Security Enabled profile
    we are using applications 11i.
    please help to find this Profile option.
    But with this note id:ID 395136.1
    This is Working.
    Query for HZ: DQM Synchronization Method profile. Set the value to Disable.
    But iam facing proble while uploding data to DFF ,Error--SQL exception occurred during PL/SQL upload.
    Thanks for the Support-
    Sowmya.
    Edited by: user13419037 on Aug 11, 2011 11:53 PM
    Edited by: user13419037 on Aug 12, 2011 12:03 AM
    Edited by: user13419037 on Aug 12, 2011 3:45 AM

  • Error while updating data from PSA to ODS

    Hi Sap Gurus,
    I am facing the error while updating data from PSA to ODS in BI 7.0
    The exact error message is:
    The argument 'TBD' cannot be interpreted as a number
    The error was triggered at the following point in the program:
    GP44QSI5RV9ZA5X0NX0YMTP1FRJ 5212
    Please suggest how to proceed on this issue.
    Points will be awarded.

    Hi ,
    Try to simulate the process.That can give you exact error location.
    It seems like while updating few records may be no in the format of the field in which it is updated.
    Regards
    Rahul Bindroo

  • Error while updating data from DataStore object

    Hi,
    Currently we are upgrading BW3.5 to BI7.0 for technical only,
    we found and errors during process chain run in further processing step. This step is basically a delta loading from DSO to Cube.
    The error message are:
    Error while updating data from DataStore object 0GLS_INV
    Message no. RSMPC146
    Job terminated in source system --> Request set to red
    Message no. RSM078
    That's all no further errors message can be explained clearly here from system.
    I have applied SAP note 1152453 and reactivate the datasource, infosource, and data target.
    Still no help here!?
    Please advise if you encountered these errors before.
    Thanks in advance.
    Regards,
    David
    Edited by: David Tai Wai Tan on Oct 31, 2008 2:46 PM
    Edited by: David Tai Wai Tan on Oct 31, 2008 2:50 PM
    Edited by: David Tai Wai Tan on Oct 31, 2008 2:52 PM

    Hi Vijay,
    I got this error:
    Runtime Errors         MESSAGE_TYPE_X      
    Date and Time          04.11.2008 11:43:08 
    To process the problem further, contact you SAP system       
    administrator.                                                                               
    Using Transaction ST22 for ABAP Dump Analysis, you can look  
    at and manage termination messages, and you can also         
    keep them for a long time.                                   
    Short text of error message:                                             
    No start information on process LOADING                                                                               
    Long text of error message:                                              
      Diagnosis                                                               
          For process LOADING, variant ZPAK_0SKIJ58741F4ASCSIYNV1PI9U, the    
          end should be logged for instance REQU_D4FIDCEKO82JUCJ8RWK6HZ9KX    
          under the log ID D4FIDCBHXPLZMP5T71JZQVUWX. However, no start has   
          been logged for this process.                                       
      System Response                                                         
          No log has been written. The process (and consequently the chain)   
          has been terminated.                                                
      Procedure                                                               
          If possible, restart the process.                                   
      Procedure for System Administration                                                                               
    Technical information about the message:                                 
    Message class....... "RSPC"                                              
    Number.............. 004                                                 
    Variable 1.......... "D4FIDCBHXPLZMP5T71JZQVUWX"                         
    Variable 2.......... "LOADING"                                           
    Variable 3.......... "ZPAK_0SKIJ58741F4ASCSIYNV1PI9U"                    
    Variable 4.......... "REQU_D4FIDCEKO82JUCJ8RWK6HZ9KX" 
    Any idea?

  • Update OIM field with process form fields

    Hi,
    I have configured AD as a target resource to my OIM. Now i have a requirement to update few fields of OIM , on the basis of change in the fields of process form when target recon will run. For this, as per my understanding i can use the post insert/post update adapter. I wrote the adapter code as well. But when now i am running the recon against my resource, and updating the field, it couldn't even run the adapter as nothing has been written in logs (not even the println statements mentioned in adapter code :( ). Could anyone please tell me where i am missing.

    Hi,
    I did create a task and assign it on "Event Processed" (Response) under reconciliation insert recieved and reconciliation update recieved. Now when i tried to run recon it is giving me error while processing the recon event. Error is "An error occured while processing the off lined reconciliation event. [xellerate.jms] processing reconciliation message with id <recon event id> failed" . Am i missing something.... Please help
    TIA

  • Error While using date fields in HIbernate Criteraia

    I am trying a sample applciation using Hibernate with JPA. I am using annotations to map database table with Java class.I am using org.hibernate.Criteria to form where clause. My code looks as follows:
    EntityManagerFactory emf = Persistence.createEntityManagerFactory("PERSISTANCE_UNIT");
    EntityManger em = emf.createEntityManager();
    Session session = em.getDelegate();
    Criteria criteria = session.createCriteria(MyDO.class)
    criteria.add(Restrictions.eq("myDO.date",myDO.getDate()));
    List list = criteria.list();
    I am searching the data base based on the date field (myDO is an instance of MyDO.class which contains the mapping to the data base table). While running the application first time after publishing to server, I am getting the following error. For subsequent running of the application I am not getting any error and the appliaction was running with actual results.
    JDBCException W org.hibernate.util.JDBCExceptionReporter logExceptions SQL Error: -181, SQLState: 22007
    JDBCException E org.hibernate.util.JDBCExceptionReporter logExceptions THE STRING REPRESENTATION OF A DATETIME VALUE IS NOT A VALID DATETIME VALUE
    org.hibernate.exception.DataException: could not execute query
         at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:77)
         at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
         at org.hibernate.loader.Loader.doList(Loader.java:2223)
         at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
         at org.hibernate.loader.Loader.list(Loader.java:2099)
         at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:94)
         at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1569)
         at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)
    Can anybody help in fixing the problem.
    Thanks in advance.

    Resolved the issue by setting System date where expected

  • Error while updating data to infocube

    Hi BW Gurus,
    I am trying to update data from PSA to a non cumulative infocube. However I am getting the following two errors while doing so.
    Here is the detail of the error in the details tab.
    Record 11534 :Value 'ETFHU224681М2 ' (hex. '00450054004600480055003200320034003600380031041C00') of
    Error 4 in the update.
    I checked the PSA for the erroneous record and found that
    FHU224681М2 is the value of the 0material field.

    Hi..
    Correcting the record from PSA is temporary solution depends on u r criticality....
    Only Solution is to correct the record at source system level... Generally Material master data record is imp so just try to fix temporarily so that it vl not affect u r loads until it is corrected at Source System level..
    Note: inform the problem to u r co-ordinator and try to correct it ASAP... and explain the temp solution(PSA correction)...
    cheers..

  • Error while updating data using session and call transaction method

    Hi all,
        i have to update data using MM01 transaction from flat file to database.i have used both session method and call transaction method to do that.in both the methods data has been transferred from internal tables to screens but while updating the data that is by clicking the ok-code at the end of the transaction iam getting a dialogue box stating
       SAP EXPRESS DOCUMENT "UPDATE WAS TERMINATED" RECEIVED FROM AUTHOR "SAP".
      please tell whether the problem lies and solution for that.
                                       thanks and regards.

    hi,
    check your recording.check whether u saved your material no in recording or not.
    once again record the transacton mm01.
           MATNR LIKE RMMG1-MATNR,
           MBRSH LIKE RMMG1-MBRSH,
           MTART LIKE RMMG1-MTART,
           MAKTX LIKE MAKT-MAKTX,
           MEINS LIKE MARA-MEINS,
           MATKL LIKE MARA-MATKL,
           BISMT LIKE MARA-BISMT,
           EXTWG LIKE MARA-EXTWG,
    these are the fields which u have to take in internal table.
    this is the record which i took in my flatfile.use filetype as asc and hasfieldseperator as 'X'.
    SUDHU-6     R     ROH     MATSUDHU     "     001     7890     AA
    i did the same.but i didn't get any error.

  • Getting error while updating data element using Xquery Automator

    Hi,
    I am getting following error while i am trying to update a data element in my task.
    <Nov 28, 2011 5:02:40 PM IST> <Error> <oms> <BEA-000000> <automation.AutomationDispatcher: Failed to execute
    on/plugin/external/ACOI_TMIP_POC/1.0.0/CLARIFY_Task.automatedtask.acoi_tmip_poc.ResponseAutomation] due to E
    hile running Script resource [file:///D:/AshishWorkspace_WithOrchestration/ACOI_TMIP_POC/resources/CLARIFY_R
    exception location: ; SystemID: module with no systemId*; Line#: 15; Column#: -1*
    com.mslv.oms.automation.AutomationException: Exception thrown while running Script resource [file:///D:/Ashi
    rchestration/ACOI_TMIP_POC/resources/CLARIFY_Response.xquery]; exception location: ; SystemID: *module with
    e#: 15; Column#: -1
    the Xquery that i am using is pretty simple:
    declare namespace automator = "java:oracle.communications.ordermanagement.automation.plugin.ScriptSenderContextInvocation";
    declare namespace context = "java:com.mslv.oms.automation.TaskContext";
    declare namespace log = "java:org.apache.commons.logging.Log";
    declare namespace oms="urn:com:metasolv:oms:xmlapi:1";
    declare namespace prop = "OSM_POC";
    declare variable $xmlnsosm7POC := "";
    declare variable $log external;
    declare variable $automator external;
    declare variable $context external;
    let $CLFY_XML := //CLFY_XML
    let $Id_Number :=//Id_Number
    return
    automator:setUpdateOrder($automator,"true"),
    log:info($log,fn:concat('ID request number is: ', $Id_Number)),
    <ord:OrderDataUpdate xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:odu="http://www.oracle.com/OMS/OrderDataUpdate" targetNameSpace="http://www.oracle.com/OMS/OrderDataUpdate" xmlns:ord="urn:com:metasolv:oms:xmlapi:1">
    <ord:Add path="/CLFY_ID">{data($Id_Number)}</ord:Add>
    </ord:OrderDataUpdate>
    Can anyone please tell me the reason due to which this error is coming.
    Thanking in advance
    Ashish Garg

    Hello.
    Ok I need you to tell me a little bit more about your automator, did you config an Xquery Automator with Event Type: Internal?
    You should declare namespace automator = "java:oracle.communications.ordermanagement.automation.plugin.ScriptReceiverContextInvocation";
    instead of
    declare namespace automator = "java:oracle.communications.ordermanagement.automation.plugin.ScriptSenderContextInvocation";
    And let my ask you, what are you trying to do with the next lines:
    let $CLFY_XML := //CLFY_XML
    let $Id_Number :=//Id_Number
    Becouse I think you are trying to acces the data on the task, If that is the reason, you should better use something like:
    let $order := ..//oms:GetOrder.Response
    let $orderId := $order/oms:_root/oms:orderHeader/oms:orderId
    with the above lines you are accesing the data that has been added to the task and the just acces the node that you nedd, for example here Im accesig the node
    orderId under OrderHeader
    Another thing is that if you want to update node which already exists in the task data, then you have to use something like:
    <OrderDataUpdate xmlns="http://www.metasolv.com/OMS/OrderDataUpdate/2002/10/25">
    <Update path="/orderHeader/orderId">{$orderId}</Update>
    </OrderDataUpdate>
    But if you have to add a new path you should have something like this:
    <OrderDataUpdate xmlns="http://www.metasolv.com/OMS/OrderDataUpdate/2002/10/25">
         <Add path="/OrderHeader">
              <Transaction>
                   <Name>{$orderId/text())}</Name>
              <ComponentKey>{$controlData/text()}</ComponentKey>
              </Transaction>
         </Add>
    </OrderDataUpdate>
    For the above transaction you should have in the dictionary the structure, OrderHeader in the root, and inside this the structure another node with the respective names
    <Transaction>
                   <Name>{$orderId/text())}</Name>
              <ComponentKey>{$controlData/text()}</ComponentKey>
              </Transaction>
    Another thing is that you should have all this structures in the Task Data of this Task.
    Hope this help
    Lucas.

  • Error while updating data virtual provider data to targets

    Hi,
      We are getting error while trying to update data from virtual cube based on a function module in 2004s.
    It seems that it is complaning about the mapping of 0recordmode to the targets.  has anybody faced this problem?  We are in SP10
    Thanks

    I am sorry its not a cube but a direct update ODS to a basic ODS but both belongs to BCS.  I have generated the export datasource multiple times but still no use.
    The source ODS name (direct update from BCS) is called ZBCS_01Z and the target is called Z_AJ_ODS.
    When I run the load I get "Job Terminated is source system" with message type X.
    Here is some of parts of the dump:
    Information on where terminated
        Termination occurred in the ABAP program "SAPLUCI1" - in
         "MAP_FIELDNAME_BW_2_SEM".
        The main program was "SBIE0001 ".
        In the source code you have the termination point in line 245
        of the (Include) program "LUCI1F02".
        The program "SAPLUCI1" was started as a background job.
        Job Name....... "BIREQU_45J0LGOMXBS8F1LBT44BFHJDD"
        Job Initiator.. "BISWAR"
        Job Number..... 10455800
    Thanks

  • Dead lock error while updating data into cube

    We have a scenario of daily truncate and upload of data into cube and volumes arrive @ 2 million per day.We have Parallel process setting (psa and data targets in parallel) in infopackage setting to speed up the data load process.This entire process runs thru process chain.
    We are facing dead lock issue everyday.How to avoid this ?
    In general dead lock occurs because of degenerated indexes if the volumes are very high. so my question is does deletion of Indexes of the cube everyday along with 'deletion of data target content' process help to avoiding dead lock ?
    Also observed is updation of values into one infoobject is taking longer time approx 3 mins for each data packet.That infoobject is placed in dimension and defined it as line item as the volumes are very high for that specific object.
    so this is over all scenario !!
    two things :
    1) will deletion of indexes and recreation help to avoid dead lock ?
    2) any idea why the insertion into the infoobject is taking longer time (there is a direct read on sid table of that object while observed in sql statement).
    Regards.

    hello,
    1) will deletion of indexes and recreation help to avoid dead lock ?
    Ans:
    To avoid this problem, we need to drop the indexes of the cube before uploading the data.and rebuild the indexes...
    Also,
    just find out in SM12 which is the process which is causing lock.... Delete that.
    find out the process in SM66 which is running for a very long time.Stop  this process.
    Check the transaction SM50 for the number of processes available in the system. If they are not adequate, you have to increase them with the help of basis team
    2) any idea why the insertion into the infoobject is taking longer time (there is a direct read on sid table of that object while observed in sql statement).
    Ans:
    Lie item dimension is one of the ways to improve data load as well as query performance by eliminationg the need for dimensin table. So while loading/reading, one less table to deal with..
    Check in the transformation mapping of that chs, it any rouitne/formula  is written.If so, this can lead to more time for processing that IO.
    Storing mass data in InfoCubes at document level is generally not recommended because when data is loaded, a huge SID table is created for the document number line-item dimension.
    check if your IO is similar to doc no...
    Regards,
    Dhanya

  • Getting a permission error while updating a field.

    hi,
    I want to update a field in OIM and push the same to OID. When i try to update it for like 20 times it woks for 18 times and doesnt work for couple of times. I check the log and i get the below error.....
    *Caused by: javax.ejb.AccessLocalException: [EJB:010160]Security Violation: User: 'xelsysadm' has insufficient permission to a*
    ccess EJB: type=<ejb>, application=Xellerate, module=xlDataObjectBeans.jar, ejb=tcLookupOperations, method=create, methodInte
    rface=LocalHome, signature={}.
    at weblogic.ejb.container.internal.MethodDescriptor.checkMethodPermissionsLocal(MethodDescriptor.java:573)
    at weblogic.ejb.container.internal.StatelessEJBLocalHome.create(StatelessEJBLocalHome.java:60)
    at com.thortech.xl.ejb.beans.tcLookupOperations_u50o5o_LocalHomeImpl.create(tcLookupOperations_u50o5o_LocalHomeImpl.j
    ava:70)
    Kindly help me to fix this.
    Thanks
    thilak

    http://bbs.archlinux.org/viewtopic.php?id=83076

  • Problem while populating a field on process form- Values truncated

    Hi,
    I am facing a strange problem.
    I have a requirement to populate Country field on AD process form based on the value of country code on the same process form which should eventually go to 'co' attribute in AD. So for eg. if the Country Code has value- 'US' then the Country field should be populated with 'United States'. This value is picked from lookup- Lookup.Locations.Country.
    My adapter code works perfectly fine (checked using sysouts) it gets the proper values from the lookup but the country filed gets populated only with partial value. So instead of United States it only shows 'UNIT'. Same is for any country having more than 4 charatcters. It truncates the rest of the string and populates the field with only first 4 characters. I tried manually populating the Country field with complete country name on the process form and it works fine and the same value goes to AD also but when I run the adapter it only populates it with 4 charactetrs.
    This is strange and I have no clue what could be stopping it. Any idea/experiences?
    Thanks in advance,
    -Abhi

    Hi Abhi,
    Can you tell me how you have implemented populating an UDF based on Prepopulation of another UDF. I have a similar kind of requirement. It would be great if you share your code or relevant part of it.
    Regards,
    Sunny Ajmera

  • Error while updating data in DB2

    Hi,
    I am working on SOA 11 g.Trying to update data in table of DB2 by using DB adapter.
    But I am getting following error,
    *[OWLS][DB2 JDBC Driver][DB2]Character data, right truncation occurred; for example, an update or insert value is a string that is too long for the column, or a datetime value cannot be assigned to a host variable, because it is too small.*
    I have executed the same query through database navigator, its working fine.
    Thanks,
    Rahul

    Hi Rahul,
    Have you changed table structure after generating DB Adapter files? You may try after re-creating DB adapter.
    This error may also come if you are not using UNICODE support. Open Oracle JDeveloper, select Tools > Preferences > Environment > Encoding > UTF-8 to enable Unicode support.
    Regards,
    Anuj

  • Error while updating data in Infotype-0015

    Hi Experts,
    We are getting following error message while updating Infotype-0015 for newly created wage types:
    "Pay scale grpg for allowances for 90000108 is not defined on 20110524"
    As per my knowledge we need to maintain table V_T7INA1, V_T7INA3 & feature LGMST.
    Pls. throw some lights on this issue, which area we need to take care while configuration.
    We are not using India Payroll.
    Regards,
    Rameshwar

    If you are not using then V_T7INA1 and V_T7INA3 doesn't make any duifference. Check the INVAl module of the wage type and configure the table V_T510, V_T539J accordingly.
    If it is for India then you also need to configrue V_T7INA9 and LGMST will not be required for India.

Maybe you are looking for