ERROR: JBO-26048 while createing a record.

Hello,
I have a table called ActivityTracker which has few Foreign Keys and one among them is for Activity_SubType (refering a table called Activity_Subtype). I am trying to insert a record in the ActivityTracker table using the following code:
EntityDefImpl productDef = ActivityTracker_EOImpl.getDefinitionObject();
ActivityTracker_EOImpl newActivity = (ActivityTracker_EOImpl) productDef.createInstance2(getDBTransaction(),null);
newActivity.setAttribute("attributeName", "value");
DBTransaction trans = getDBTransaction();
trans.commit();
I get the following error:
ERROR: JBO-26048: Constraint "ACTIVITY_SUBTYPE_FK" violated during post operation:"Insert" using SQL Statement "BEGIN INSERT INTO COEAMS.ACTIVITY_TRACKER(ACTIVITY_DATE,ASSOCIATE_NAME,ESU_DOMAIN,ACTIVITY_TYPE,ACTIVITY_SUBTYPE,ACTIVITY_DESCRIPTION,ACTIVITY_DURATION,ISU_NAME,CUSTOMER_NAME,ACCOUNT_NAME,CONTACT_NAME) VALUES (?,?,?,?,?,?,?,?,?,?,?) RETURNING ESU_DOMAIN INTO ?; END;".
Please help. I have got stuck here.
Thanks,
Sanjay
Edited by: Sanjay Bharatiya on Jun 15, 2009 5:05 AM

Sanjay,
it would help, if you tell us which jdev version and which techology (ADFBC, EJB, PL/SQL...) you are using.
Timo

Similar Messages

  • Error while creating absence record in PA30 using 2001 infotype

    Hi all,
    iam getting an error while creating absence record for infotype 2001for LOP(unpaid)
    error : No quota available for att./abs. 6000 for pers. no. 61000052 between 31.12.2009 and 31.12.2009
    i have did
    Create a absence type LOP
    Determine Entry Screens and Time Constraint Classes
    Define Counting Rules
    Assign Counting Rules to Absence Types
    Payroll: India>>Absences>Describe Absence Valuation Rules 01 Unpaid Leave
    Group Absences for Absence Valuation>>Absence valuation rule>>F4 country grouping 40>> assign 01Unpaid Leave
    please solve this

    Actually I don't know how your system is configured.
    However, the error you're receiving seems you have assigned the absence type to a quota type.
    Please go to your counting rule and check whether Deduction rule - absence quotas - within entitlement field is filled.
    If yes, get the deduction rule value and go to
    SPRO Time man- Time data rec - Absences - Absence Cat - Abs counting - rules for counting (new) - deduction rules for abs quotas and check the quota type in here.
    If there is a quota assignment in place, before creating an IT2001 you need to create a IT2006 for that specific time period.
    Or, you need to delete the quota assignment via two config steps mentioned above.
    Regards,
    Dilek

  • Keychain error -25299 occurred while creating a System Keychain entry for t

    Keychain error -25299 occurred while creating a System Keychain entry for the username “Angela Rosario” and URL “afp://Angela%[email protected]/Data”.
    I keep getting the error above every time I try to set up my time capsule
    Could use some help?
    Mahalo

    Same here.

  • Issue while Creating the records in OAF by disabling one field.

    Hi Experts,
    I am having the scenario like this.
    From the OAF page I want to create the record by omitting one field(it is disable for OAF).
    Consider the folowing scenario..
    I am having the following fields Empno,Empname,Salary,Job in the OAF page where I made the Job field alone as disable and the style i am using for job field is message text input and i have set the initial value as 'Manger'.
    I am facing issue while creating the records in OAF page without the job filed value ie 'Manager' then the records were not inserted into my tables. Whereas if I enable the job field in OAF page(meaning I gave the job as 'Manager' in OAF page) I am able to create the records from OAF page and able get inserted in the database.
    Could Anyone can suggest where I fail as it is my Priority issue.
    Any Suggestion will be a great help for me.
    Thanks,
    Murugesh.

    or you can default it in the controller by handling add row event
    if(vo.hasNext())
    vorow = vo.next();
    vorow.setAttribute("xxxx",3838);
    --Prasanna                                                                                                                                                                                                                                                                                                                                   

  • Keep getting an error message that reads, "LR An error has occurred while creating the book on Blurb" An error has occurred while trying to create texts and fonts.  Pleas advise as Blurb has said that it's a LR issue.

    Keep getting an error message that reads, "LR An error has occurred while creating the book on Blurb" An error has occurred while trying to create texts and fonts.  Pleas advise as Blurb has said that it's a LR issue.

    Are you behind a firewall or double NAT??
    What is the device that is immediately plugged into the main modem or router? Has that one been able to update?
    It is plugged in of course isn't it.. no nasty join wireless anywhere??
    The best way to work around these sort of problems is to simplify the network.. Plug each device directly into the main router.. by ethernet. You can trigger the firmware upgrade by wireless but use ipad or iphone version of airport utility and see what happens.

  • Accounts determination error is coming while create billing.

    Hi Experts,
    Accounts determination error is coming while create billing for Account Assignment Group A4 . In some cases only this error is appearing . I m a ABAPer I got this case and I  m debugging the code  . Can anyone  suggest me what all the things i need to check to know the root cause . This error is coming very  rarely but I want to find the reasons.  I saw some of scn post bt it was not clear .
    Please suggest briefly what w'd be the probable cause of this error and how to correct it.
    Thanks in advance

    Hi Dharmkrit,
    In one of your earlier posts, you have mentioned that you have assigned G/L accounts by selecting table 1. This is probably where you might be going wrong.
    Please follow the below steps to cross check your entries and you should hopefully have a solution.
    (1) First of all, start from the account determination procedure and check which procedure is assigned to the billing type.
    (2) Check the account determination type that is maintained in the procedure.
    (3) Check which access sequence assigned in that condition type
    (4) Check which table/tables have been maintained in the access sequence
    * In most probability, you would have maintained a different table in the access sequence while you are trying to assign your G/L accounts to some other table
    * Also, since you say that this error is only for a particular account determination type, check if you have maintained the correct combination of application/chart of account/Customer account assignment group/material account assignment group/G/L account in the correct table. However, this combination of fields depends on the table that you have used in the condition technique.
    I suggest that you write your entries down while checking the flow. This will give you a clear picture if a connection is missing somewhere in the condition technique.
    The customer/material account assignment groups are just keys (two digit codes) and their determination has nothing to do with Z1/Z2/A1 or any other code that you have defined in the system. The main determination is purely based on the condition technique and how correctly you have maintained the connections between the tables, access sequences, types and procedures. Just recheck these entries and you should be able to resolve the issue.
    Hope this helps
    Regards,
    Sumita Mittra

  • HT201514 I keep getting this message "Unable to complete back up an error has occurred while creating back up folder" Why is this happening and is it time to purchase a new tim machine?

    I keep getting this message “Unable to complete back up an error has occurred while creating back up folder” Why is this happening and is it time to purchase a new tim machine?

    Check out the Apple Support Communities Time Machine expert Pondini's troubleshooting article on this exact topic. Hopefully, it will help.

  • While creating info record mandatory fields are disable .

    hi all,
    while creating info record some  mandatory fields are disable (valid to) in condition what i can do to procede further?
    how i fill data in that  field?

    Hello,
    I think that is set as a mandatrory field. You can give any values in days here. Enter 1 or 2 and proceed.
    Prase

  • Error while creating a record in a custom infotype

    hi to all experts,
    I have created a infotype with 3 screens . But one of the screen im getting this error while saving a record .The Required screen change cannot be made.

    Im defining using the table pa9005 not the structure p9005
    (is it the same)
    Please help me ....
    Edited by: mohammed  abdul hai on Sep 18, 2009 8:20 AM

  • Error while creating condition record

    Hi
    Am using 4.7 and creating condition record while saving condition record am getting error NO UPDATE SERVER FOUND FOR CONTEXT E, So am stuck up and do not know whom to contact is it error for BASIS? or related with SD kindly help.
    Thanx

    Hi Mukesh
    As you are getting error NO UPDATE SERVER FOUND FOR CONTEXT E,  while saving the condition record, kindly consult your BASIS consultants and ask them to check wheather the pricing related  tables and structures  have been copied and uploaded properly or not.
    Regards
    Srinath

  • Error in message monitoring while creating new record in R/3

    Hi All,
    I am getting the following error in message monitoring while creating a new record from SAP Mobile client.
    Service name: Validation_Service
    Message: BackendKeys are not filled in table HEADER returned by getDetails
    I am passing some random number from Client to SAP R/3 create function module.
    When i pass the same value in create FM as in message monitoring. I am able to create the record successfully,
    Corresponding to newly created record, i can see the data in getdetail header also.
    Not sure why this error is coming.
    Appreciate your help!!
    Thanks & Regards
    Devendra

    The CREATE FM should not only create the entry, it should also EXPORT the key that it uses to create the entry. Is it doing that?
    i.e. the CREATE signature is usually something like:
    CREATE_BLAH
      IMPORTING header TYPE header_row
      EXPORTING key type header_row-key_field.
    So the 'key' here should be filled by the FM and returned to DOE.

  • Error in Forms while creating the trigger- WHEN-CREATE-RECORD

    Hello,
    Right now I am using 11g client side and 10g database.
    I am constantly getting an error while creating triggers in 11g.
    I have created a sequence in SQL developer using the following code:
    create sequence loc_id_sequence
    start with 14;
    After creating the sequence. I am trying to write the PL/SQL code in forms builder for the trigger WHEN-CREATE-RECORD
    declare
    loc_id number;
    begin
    loc_id := loc_id_sequence.nextval;
    end;
    But I have been getting the following error constantly. Can anyone please help me?
    "Error 0 at line 5, column 4
    SQL statement ignored".
    Can anyone please tell me why I am getting that error

    In fact, even I thought there might be some problem with the connectivity with the 10g database and 11g client but the other DB related code works.
    I just have the problem with using sequence for the trigger WHEN-CREATE-RECORD.
    In fact I also tried using WHEN-NEW-RECORD-INSTANCE smart trigger instead of WHEN-CREATE-RECORD for the same sequence. But even that doesn't work.
    Do u have any idea of what that error means?
    "Error 0 at line 5, column 4
    SQL statement ignored"
    Edited by: Pooja 1985 on Feb 26, 2013 5:43 PM
    Edited by: Pooja 1985 on Feb 26, 2013 5:44 PM

  • UrgentError - oracle.jbo.RowCreateException: JBO-25017 while creating a row

    Hi,
    I am developing a page which would insert values into the database. However when I run the page, I get the following error:
    Error - oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for RepeatPayEO.
    It gives the error at the highlighted line in my Application Module (RepeatPayAMImpl)
    public void createRepeatPay()
    OAViewObject vo = (OAViewObject)getRepeatPayVO1();
    if (vo.getFetchedRowCount() == 0)
    vo.setMaxFetchSize(0);
    /*if (!vo.isPreparedForExecution())
    vo.executeQuery();
    Row row = vo.createRow();
    vo.insertRow(row);
    // Required per OA Framework Model Coding Standard M69
    row.setNewRowState(Row.STATUS_INITIALIZED);
    } // end createRepeatPay()
    Please help. I am not able to proceed further
    Regards,
    Divya

    Did you read thread Problem: View Object with Multiple Updateable Dependent Entity Objects ?
    May be it helps.

  • Problem while creating the record in IT0080 from background

    Dear All,
    I have a requirement to Create the record for Maternity Leave in IT0080 from background, whenever applied from ESS.
    Once the leave gets aaproved, while posting the documents from tcode PTARQ ( Program - RPTARQPOST), in the BADI PT_ABS_REQ, in method IF_EX_PT_ABS_REQ~POST_VIA_BLOP for the implementation, I am trying to submit the program in which the actual record is created in IT0080.
    In this program through BDC i have created the BDC data and have used CALL transaction, as internally IT 2001 also needs to be updated, which gets calculated  indirectly...
    But when executed, it gives error of Employee cannot be locked... as the Document which is posted through PTARQ, have several locks... I tried to dequeue the same...
    but cannot resolve the problem...
    Secondly i tried to create the Job also... which would be executed after some time... but still its not getting updated...
    Any help... will be highly appreciated...
    Regards,
    Heena

    Hello s.s
    I'm not understand exacly what is your problem?
    Field can have both values at the same time(Time Stamp and User stamp)  only if that field calculated
    Maybe you told about two different fields?
    User stamp field return username only it's standart functionality
    Create stamp - return date/time combination
    Remote key is avialable when you repository configured to work with some remote systems
    All records from repository (LUT, taxonomy attributes ets.) you can map to corresponding Destination items
    Regards
    Kanstantsin

  • Error Message ISSR452 while creating Financial Transaction

    Hi Experts,
    While creating Fixed Deposit in FTR_CREATE is get the following error message
    No master data selected for fixed asset
    Message no. ISSR452
    This message no relevance to current Fixed Deposit transaction. Also no related post or Note is available
    Please advice

    Hi,
    the message is coming from regulatory reporting (FS-SR) - have you activated it erroneously?
    If it is supposed to be active, but you want to save the deal despite of errors, please check note 1864243 on how to activate the enhancement BADI_ISSR_ADMN_MESSAGE_MM.
    Best regards,
    Marie

Maybe you are looking for