Error while crreate variable in New work repository -- integrity constraint

Hi,
I had created new Master and work reposiotry with new Internal ID's.
I am able to import project, variables.
while creating new variable I am getting below error.
java.sql.BatchUpdateException: ORA-02291: integrity constraint (SNPW.FK_TXT) violated - parent key not found
Could any one got this error before
Is there any steps I missed. -- Any help is Appreciatied.

Hi,
Table SNP_TXT in your work repository has a foreign key reference with table SNP_ORIG_TXT
on column I_TXT_ORIG,
while you are inserting a new variable for the project etc, it is getting inserted in SNP_TXT
before insertion it is checking the I_TXT_ORIG value with the table SNP_ORIG_TXT .
Please do select on these tables in your old repository and your new repository.
and let me know.
Reshma

Similar Messages

  • Create new work repository

    Hi
    I'm using ODI 11.1.1.5.0,
    Trying to create a new work repository:
    Topology > Repositories > Work Repositories > Right click > New Work Repository:
    Technology: Microsoft SQL Server
    JDBC Driver: weblogic.jdbc.sqlserver.SQLServerDriver
    JDBC URL: jdbc:weblogic:sqlserver://hyp-db-prd:1433
    Connection tests successfully.
    Next
    FinishError: ODI-26159: Error while creating Work Repository
    Exception Stack Trace:
    oracle.odi.setup.RepositorySetupException: java.lang.RuntimeException: Error while executing create table SNP_EXP_TXT
    +(+
    FIRST_DATE DATETIME NULL ,
    FIRST_USER NVARCHAR(400) NULL ,
    IND_CHANGE NVARCHAR(1) NULL ,
    INT_VERSION NUMERIC(10) NULL ,
    I_TXT NUMERIC(19) NOT NULL ,
    LAST_DATE DATETIME NULL ,
    LAST_USER NVARCHAR(400) NULL ,
    TXT NVARCHAR(250) NULL ,
    TXT_ORD NUMERIC(10) NOT NULL
    +)+
    +     at oracle.odi.setup.support.WorkRepositorySetupImpl$1.doAction(WorkRepositorySetupImpl.java:252)+
    +     at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:183)+
    +     at oracle.odi.core.persistence.dwgobject.TransactionalDwgObjectTemplate.execute(TransactionalDwgObjectTemplate.java:39)+
    +     at oracle.odi.setup.support.WorkRepositorySetupImpl.createWorkDevRepository(WorkRepositorySetupImpl.java:191)+
    +     at oracle.odi.ui.wizard.WorkCreationWizard$4$1.doInBackground(WorkCreationWizard.java:329)+
    +     at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker$1.call(SwingWorker.java:240)+
    +     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)+
    +     at java.util.concurrent.FutureTask.run(FutureTask.java:138)+
    +     at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker.run(SwingWorker.java:278)+
    +     at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)+
    +     at java.lang.Thread.run(Thread.java:662)+
    Caused by: java.lang.RuntimeException: Error while executing create table SNP_EXP_TXT
    +(+
    FIRST_DATE DATETIME NULL ,
    FIRST_USER NVARCHAR(400) NULL ,
    IND_CHANGE NVARCHAR(1) NULL ,
    INT_VERSION NUMERIC(10) NULL ,
    I_TXT NUMERIC(19) NOT NULL ,
    LAST_DATE DATETIME NULL ,
    LAST_USER NVARCHAR(400) NULL ,
    TXT NVARCHAR(250) NULL ,
    TXT_ORD NUMERIC(10) NOT NULL
    +)+
    +     at com.sunopsis.dwg.xml.DwgXmlSession.execute(DwgXmlSession.java:92)+
    +     at com.sunopsis.repository.manager.DDLSessionExecutor.executeDDL(DDLSessionExecutor.java:74)+
    +     at com.sunopsis.repository.manager.RepositoryManager.executeXmlAbsoluteFile(RepositoryManager.java:538)+
    +     at com.sunopsis.repository.manager.RepositoryManager.designerRepositoryCreation(RepositoryManager.java:506)+
    +     at oracle.odi.setup.support.WorkRepositorySetupImpl$1.doAction(WorkRepositorySetupImpl.java:234)+
    +     ... 10 more+
    +Caused by: java.sql.SQLException: [FMWGEN][SQLServer JDBC Driver][SQLServer]CREATE TABLE permission denied in database 'master'.+
    +     at weblogic.jdbc.sqlserverbase.dda4.b(Unknown Source)+
    +     at weblogic.jdbc.sqlserverbase.dda4.a(Unknown Source)+
    +     at weblogic.jdbc.sqlserverbase.dda3.b(Unknown Source)+
    +     at weblogic.jdbc.sqlserverbase.dda3.a(Unknown Source)+
    +     at weblogic.jdbc.sqlserver.tds.ddr.v(Unknown Source)+
    +     at weblogic.jdbc.sqlserver.tds.ddr.a(Unknown Source)+
    +     at weblogic.jdbc.sqlserver.tds.ddq.a(Unknown Source)+
    +     at weblogic.jdbc.sqlserver.tds.ddr.a(Unknown Source)+
    +     at weblogic.jdbc.sqlserver.ddj.m(Unknown Source)+
    +     at weblogic.jdbc.sqlserverbase.ddde.e(Unknown Source)+
    +     at weblogic.jdbc.sqlserverbase.ddde.a(Unknown Source)+
    +     at weblogic.jdbc.sqlserverbase.ddb9.a(Unknown Source)+
    +     at weblogic.jdbc.sqlserverbase.ddde.v(Unknown Source)+
    +     at weblogic.jdbc.sqlserverbase.ddde.x(Unknown Source)+
    +     at weblogic.jdbc.sqlserverbase.ddb9.executeUpdate(Unknown Source)+
    +     at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java:650)+
    +     at com.sunopsis.dwg.xml.DwgXmlSession.execute(DwgXmlSession.java:86)+
    +     ... 14 more+
    Interested in hearing what people think the issue might be.
    Cheers

    Caused by: java.sql.SQLException: [FMWGEN][SQLServer JDBC Driver][SQLServer]CREATE TABLE permission denied in database 'master'.
    I suppose you don't wish to create ODI repository in master database, this master database is used by MS SQLServer itself, and it's very critical in the whole SQLServer instance.
    you should use a separate database for ODI, you can use sa to own this database, but please add ";datbaseName=<your ODI database>" in the JDBC URL, then it won't try to find master database.
    If you like we suggest you use RCU to create repository.

  • Getting status as ERROR while instantiating Business Object in work flow?

    Hi,
    Getting status as ERROR while instantiating Business Object in work flow.
    How to rectify it.
    Tahnks in Advance.
    Moderator message: please have a look at the dedicated Workflow forum on SCN.
    Edited by: Thomas Zloch on Jan 19, 2012

    Hi,
    Go to SWDD and create a new workflow. This workflow will have two steps. This is just for test purpose so we are not going to define any triggering event etc.  First step will instantiate (creating a runtime object) a business object and second step will use that runtime object to execute one of its method. We know that to instantiate any BO we need the object key to be passed. Key uniquely identifies a runtime instance of Business Object (henceforth we will refer it as BO or business object interchangeably). 
    use Business Object SYSTEM and method GENERICINSTANTIATE to instantiate any Business Object in workflow

  • Error while trying to create new assignment with supervisor through API

    Hi Experts,
    I'am trying to create new assignment with supervisor for employee, but i'am facing this error:
    =============================================================
    ORA-20008: Error While Create new assignment..-20001
    ORA-20001: The supervisor assignment that you have entered is invalid.
    Please check that you have entered the supervisor,
    that the supervisor assignment belongs to this supervisor and that the assignment is effective.
    ORA-06512: at line 198
    =============================================================
    This is my script, (Oracle EBS 12.1.1)(DB 11):
    DECLARE
    v_user_id NUMBER;
    v_res_id NUMBER;
    v_res_appl_id NUMBER;
    v_org_now_no_manager_warning BOOLEAN;
    v_spp_delete_warning BOOLEAN;
    v_other_manager_warning BOOLEAN;
    v_tax_district_changed_warning BOOLEAN;
    v_entries_changed_warning VARCHAR(4000);
    v_person_id per_all_assignments_f.person_id %TYPE;
    v_business_group_id hr_all_organization_units_tl.organization_id %TYPE;
    v_people_group_id per_all_assignments_f.people_group_id %TYPE;
    v_object_version_number per_all_assignments_f.object_version_number %TYPE;
    v_special_ceiling_step_id per_all_assignments_f.special_ceiling_step_id %TYPE;
    v_group_name pay_people_groups.group_name %TYPE;
    v_ass_effective_start_date per_all_assignments_f.effective_start_date %TYPE;
    v_effective_start_date per_all_assignments_f.effective_start_date %TYPE;
    v_effective_end_date per_all_assignments_f.effective_end_date %TYPE;
    v_assignment_id per_all_assignments_f.assignment_id %TYPE;
    v_sup_assignment_id per_all_assignments_f.assignment_id %TYPE;
    v_supervisor_assignment_id per_all_assignments_f.assignment_id %TYPE;
    v_job_id per_jobs.job_id %TYPE;
    v_grade_id per_grades.grade_id %TYPE;
    v_location_id hr_locations_all.location_id %TYPE;
    v_payroll_id pay_all_payrolls_f.payroll_id %TYPE;
    v_pay_basis_id per_pay_bases.pay_basis_id %TYPE;
    BEGIN
    v_user_id := FND_GLOBAL.user_id ;
    v_res_id := FND_GLOBAL.resp_id ;
    v_res_appl_id:= FND_GLOBAL.resp_appl_id;
    FND_GLOBAL.apps_initialize(v_user_id, v_res_id, v_res_appl_id);
    BEGIN
    SELECT organization_id
    INTO v_business_group_id
    FROM hr_all_organization_units_tl
    WHERE name = 'Vision University'
    AND language = 'US';
    EXCEPTION
    WHEN OTHERS THEN
    RAISE_APPLICATION_ERROR(-20000,'Error While Retrieving (Business Group ID) Info...'||SQLCODE||' '||SQLERRM);
    END;
    FOR R IN (SELECT * FROM xx_assignment) LOOP
    BEGIN
    SELECT assignment_id , ass_f.object_version_number
    INTO v_assignment_id , v_object_version_number
    FROM per_all_assignments_f ass_f, per_all_people_f p_f
    WHERE ass_f.person_id = p_f.person_id
    AND ass_f.business_group_id = p_f.business_group_id
    AND ass_f.business_group_id = v_business_group_id
    AND p_f.employee_number = R.employee_number
    AND TRUNC(p_f.effective_start_date)= TRUNC(ass_f.effective_start_date)
    AND TRUNC(p_f.effective_end_date) = TRUNC(ass_f.effective_end_date);
    EXCEPTION
    WHEN OTHERS THEN
    RAISE_APPLICATION_ERROR(-20001,'Error While Retrieving (Assignmet_ID) for employee..'||SQLCODE||' '||SQLERRM);
    END;
    BEGIN
    SELECT job_id
    INTO v_job_id
    FROM per_jobs
    WHERE trim(lower(name)) = trim(lower(r.employee_job))
    AND business_group_id = v_business_group_id;
    EXCEPTION
    WHEN OTHERS THEN
    RAISE_APPLICATION_ERROR(-20002,'Error While Retrieving (Job_ID) Info...'||SQLCODE||' '||SQLERRM);
    END;
    BEGIN
    SELECT grade_id
    INTO v_grade_id
    FROM per_grades
    WHERE trim(lower(name)) = trim(lower(r.employee_grade))
    AND business_group_id = v_business_group_id;
    EXCEPTION
    WHEN OTHERS THEN
    RAISE_APPLICATION_ERROR(-20003,'Error While Retrieving (Grade_ID) Info...'||SQLCODE||' '||SQLERRM);
    END;
    BEGIN
    SELECT location_id
    INTO v_location_id
    FROM hr_locations_all
    WHERE trim(lower(description))= trim(lower(r.employee_location))
    AND business_group_id = v_business_group_id;
    EXCEPTION
    WHEN OTHERS THEN
    RAISE_APPLICATION_ERROR(-20004,'Error While Retrieving (Location_ID) Info...'||SQLCODE||' '||SQLERRM);
    END;
    BEGIN
    SELECT payroll_id
    INTO v_payroll_id
    FROM pay_all_payrolls_f
    WHERE trim(lower(payroll_name)) = trim(lower(r.payroll_name))
    AND business_group_id = v_business_group_id;
    EXCEPTION
    WHEN OTHERS THEN
    RAISE_APPLICATION_ERROR(-20005,'Error While Retrieving (Payroll_ID) Info...'||SQLCODE||' '||SQLERRM);
    END;
    BEGIN
    SELECT pay_basis_id
    INTO v_pay_basis_id
    FROM per_pay_bases
    WHERE trim(lower(pay_basis)) = trim(lower(r.pay_basis))
    AND business_group_id = v_business_group_id;
    EXCEPTION
    WHEN OTHERS THEN
    RAISE_APPLICATION_ERROR(-20006,'Error While Retrieving (Pay_Basis_ID) Info...'||SQLCODE||' '||SQLERRM);
    END;
    BEGIN
    SELECT person_id
    INTO v_person_id
    FROM per_all_people_f
    WHERE employee_number = r.supervisor_number
    AND business_group_id= v_business_group_id;
    SELECT assignment_id
    INTO v_sup_assignment_id
    FROM per_all_assignments_f
    WHERE person_id = v_person_id
    AND business_group_id = v_business_group_id;
    EXCEPTION
    WHEN OTHERS THEN
    RAISE_APPLICATION_ERROR(-20007,'Error While Retrieving (Assignmet_ID) for supervisor..'||SQLCODE||' '||SQLERRM);
    end;
    BEGIN
    hr_assignment_api.update_emp_asg_criteria(p_effective_date => TRUNC(SYSDATE),
    p_datetrack_update_mode => 'CORRECTION',
    p_assignment_id => v_assignment_id,
    p_validate => FALSE,
    p_called_from_mass_update => NULL,
    p_grade_id => v_grade_id,
    p_position_id => NULL,
    p_job_id => v_job_id,
    p_payroll_id => null,--v_payroll_id,
    p_location_id => v_location_id,
    p_organization_id => v_business_group_id,
    p_pay_basis_id => v_pay_basis_id,
    p_segment1 => NULL,
    p_segment2 => NULL,
    p_segment3 => NULL,
    p_segment4 => NULL,
    p_segment5 => NULL,
    p_segment6 => NULL,
    p_segment7 => NULL,
    p_segment8 => NULL,
    p_segment9 => NULL,
    p_segment10 => NULL,
    p_segment11 => NULL,
    p_segment12 => NULL,
    p_segment13 => NULL,
    p_segment14 => NULL,
    p_segment15 => NULL,
    p_segment16 => NULL,
    p_segment17 => NULL,
    p_segment18 => NULL,
    p_segment19 => NULL,
    p_segment20 => NULL,
    p_segment21 => NULL,
    p_segment22 => NULL,
    p_segment23 => NULL,
    p_segment24 => NULL,
    p_segment25 => NULL,
    p_segment26 => NULL,
    p_segment27 => NULL,
    p_segment28 => NULL,
    p_segment29 => NULL,
    p_segment30 => NULL,
    p_employment_category => NULL,
    p_concat_segments => NULL,
    p_grade_ladder_pgm_id => NULL,
    p_supervisor_assignment_id => v_sup_assignment_id,
    p_people_group_id => v_people_group_id,
    p_object_version_number => v_object_version_number,
    p_special_ceiling_step_id => v_special_ceiling_step_id,
    p_group_name => v_group_name,
    p_effective_start_date => v_ass_effective_start_date,
    p_effective_end_date => v_effective_end_date,
    p_org_now_no_manager_warning => v_org_now_no_manager_warning ,
    p_spp_delete_warning => v_spp_delete_warning,
    p_entries_changed_warning => v_entries_changed_warning,
    p_tax_district_changed_warning => v_tax_district_changed_warning,
    p_other_manager_warning => v_other_manager_warning);
    EXCEPTION
    WHEN OTHERS THEN
    RAISE_APPLICATION_ERROR(-20008,'Error While Create new assignment..'||SQLCODE||' '||SQLERRM);
    END;
    END LOOP;
    COMMIT;
    END;
    Thank you & Best Regards

    I think this is essentially saying that the Supervisor Assignment is wrong or no longer effective. Looking at your SQL to fetch the Supervisor Assignment there are a number of potential issues. This is what you've currently got:
    SELECT person_id
    INTO v_person_id
    FROM per_all_people_f
    WHERE employee_number = r.supervisor_number
    AND business_group_id= v_business_group_id;
    SELECT assignment_id
    INTO v_sup_assignment_id
    FROM per_all_assignments_f
    WHERE person_id = v_person_id
    AND business_group_id = v_business_group_id;
    Potential Problems/Clarifications
    1. What is r.supervisor_number, what does it contain and how is it derived? I can't see that anywhere else in the block...
    2. Is there a chance that r.supervisor_number is referencing an employee who has left, ie, now an ex-employee?
    3. The SELECT statement that fetches the assignment_id does not perform any date-effective restrictions, which means you might be lucky enough to fetch the person's current assignment. But you might also fetch an old or future-dated assignment.
    4. The SELECT statement that fetches the assignment_id does not restrict the type of assignment, so if this manager has applied for a job (ie, they have an applicant assignment) or some other type of non-employee assignment you might be picking that up.
    This would work better for you:
    SELECT paaf.assignment_id
    INTO v_sup_assignment_id
    FROM per_all_people_f papf
    ,per_all_assignments_f paaf
    WHERE papf.employee_number = r.supervisor_number
    AND papf.business_group_id = v_business_group_id
    AND nvl(papf.current_employee_flag, 'N') = 'Y'
    AND trunc(sysdate) BETWEEN
    papf.effective_start_date AND papf.effective_end_date
    AND papf.person_id = paaf.person_id
    AND paaf.assignment_type = 'E'
    AND paaf.primary_flag = 'Y'
    AND trunc(sysdate) BETWEEN
    paaf.effective_start_date AND paaf.effective_end_date;
    If it doesn't return a row it means that the supervisor (or whatever employee is returned by r.supervisor_number) is not active as at sysdate and cannot be used. Note that this SQL only applies for employees. If you can have Contingent Workers as supervisors in your implementation then this needs tweaking.
    Does that help?

  • Error while accessing SharePoint 2013 news feed REST api - "The server encountered an error processing the request. See server logs for more details."

    Hi Experts,
    I am facing an issue while accessing SharePoint 2013 news feed REST api URL <SiteCollectionURL>/_api/social.feed/my/news from browser giving error "The server encountered an
    error processing the request. See server logs for more details."
    This is happening after posting the image to news feed without entering any text or description with that. If i post an image with some text or description, then i can able to get the feeds. Or else if i delete the image post then also i can able to get
    the feeds.
    I can able to see below logs in log files.
    Exception occured in scope Microsoft.Office.Server.Social.SPSocialRestFeed._SerializeToOData. Exception=System.MissingMethodException: No parameterless constructor defined for this object.     at System.RuntimeTypeHandle.CreateInstance(RuntimeType
    type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)     at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache,
    StackCrawlMark& stackMark)     at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)     at System.Activator.CreateInstance(Type type, Boolean nonPublic)
        at System.Activator.CreateInstance(Type type)     at Microsoft.SharePoint.C...
    ...lient.ValueTypeConverter.<GetODataProperties>d__2.MoveNext()     at Microsoft.Data.OData.Atom.ODataAtomPropertyAndValueSerializer.WriteProperties(IEdmStructuredType owningType, IEnumerable`1 cachedProperties, Boolean isWritingCollection,
    Action beforePropertiesAction, Action afterPropertiesAction, DuplicatePropertyNamesChecker duplicatePropertyNamesChecker, EpmValueCache epmValueCache, EpmSourcePathSegment epmSourcePathSegment, ProjectedPropertiesAnnotation projectedProperties)    
    at Microsoft.Data.OData.Atom.ODataAtomPropertyAndValueSerializer.WriteComplexValue(ODataComplexValue complexValue, IEdmTypeReference metadataTypeReference, Boolean isOpenPropertyType, Boolean isWritingCollection, Action beforeValueAction, Action afterValueAction,
    DuplicatePropertyNamesChecker duplicatePropertyNa...
    ...mesChecker, CollectionWithoutExpectedTypeValidator collectionValidator, EpmValueCache epmValueCache, EpmSourcePathSegment epmSourcePathSegment, ProjectedPropertiesAnnotation projectedProperties)     at Microsoft.Data.OData.Atom.ODataAtomPropertyAndValueSerializer.WriteProperty(ODataProperty
    property, IEdmStructuredType owningType, Boolean isTopLevel, Boolean isWritingCollection, Action beforePropertyAction, EpmValueCache epmValueCache, EpmSourcePathSegment epmParentSourcePathSegment, DuplicatePropertyNamesChecker duplicatePropertyNamesChecker,
    ProjectedPropertiesAnnotation projectedProperties)     at Microsoft.Data.OData.Atom.ODataAtomPropertyAndValueSerializer.WriteProperties(IEdmStructuredType owningType, IEnumerable`1 cachedProperties, Boolean isWritingCollection, Action beforePropertie...
    ...sAction, Action afterPropertiesAction, DuplicatePropertyNamesChecker duplicatePropertyNamesChecker, EpmValueCache epmValueCache, EpmSourcePathSegment epmSourcePathSegment, ProjectedPropertiesAnnotation projectedProperties)     at Microsoft.Data.OData.Atom.ODataAtomPropertyAndValueSerializer.WriteComplexValue(ODataComplexValue
    complexValue, IEdmTypeReference metadataTypeReference, Boolean isOpenPropertyType, Boolean isWritingCollection, Action beforeValueAction, Action afterValueAction, DuplicatePropertyNamesChecker duplicatePropertyNamesChecker, CollectionWithoutExpectedTypeValidator
    collectionValidator, EpmValueCache epmValueCache, EpmSourcePathSegment epmSourcePathSegment, ProjectedPropertiesAnnotation projectedProperties)     at Microsoft.Data.OData.Atom.ODataAtomPropertyAndValueSeriali...
    ...zer.WriteCollectionValue(ODataCollectionValue collectionValue, IEdmTypeReference propertyTypeReference, Boolean isOpenPropertyType, Boolean isWritingCollection)     at Microsoft.Data.OData.Atom.ODataAtomPropertyAndValueSerializer.WriteProperty(ODataProperty
    property, IEdmStructuredType owningType, Boolean isTopLevel, Boolean isWritingCollection, Action beforePropertyAction, EpmValueCache epmValueCache, EpmSourcePathSegment epmParentSourcePathSegment, DuplicatePropertyNamesChecker duplicatePropertyNamesChecker,
    ProjectedPropertiesAnnotation projectedProperties)     at Microsoft.Data.OData.Atom.ODataAtomPropertyAndValueSerializer.WriteProperties(IEdmStructuredType owningType, IEnumerable`1 cachedProperties, Boolean isWritingCollection, Action beforePropertiesAction,
    Action afterPropertiesAct...
    Can anyone please help me out.
    Thanks!
    dinesh

    O365,
    Is this still an issue?
    Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • Error while activating data from new table of DSO to active table

    HI,
    while activating data from new table of DSO to active table i am getting
    error message as "Error occurred while deciding partition number".
    Plz any idea hoe to resolve this one.
    thanks & regards
    KPS MOORTHY

    Hi
    You are trying to update/upload the Records which are already been there in the DSO Active Data Table which has the partition.
    Try to see the Record Nos already been activated and update/upload with selective, if possible.
    You can trace the changes at Change log table for the same.
    Hope it helps
    Edited by: Aduri on Jan 21, 2009 10:38 AM

  • Error while configuring - Proportion of New Customers

    Hi All,
    I was Creating a Start Routine on the Update Rule for a DSO - N_CSTORD (Step 2.1.2 BB8 - Proportion of New Customers)
    I got an error while trying to check the ABAP routine
    E:A target area must be declared either explicitly with an INTO clause or
    implicitly with a TABLES statement.
    And the error line is - "select single * from /BIC/AORDERS00 where SOLD_TO = DATA_PACKAGE-SOLD_TO."
    Can anybody tell me how do I select the records into a target explicitly or use Tables statement implicitly?
    I have no idea on ABAP coding.
    Pls. help
    Thanks in Advance

    The select statement should be like
    select single * from /BIC/AORDERS00
              INTO <Internal Table>
                         where SOLD_TO = DATA_PACKAGE-SOLD_TO.
    You need to create an internal table with fields to store the data fetched from table /BIC/AORDERS00  or depending on your requirement.
    Hope it helps.
    Regards.

  • Error during the ddldict for "New Customer Repository"

    Hi
    We are Upgrading from Siebel 8.1.1.10 to Siebel 8.1.1.11.
    IRM wizard shows "Merge completed successfully" but when moving to ddl, it is throwing below error with a message to execute ddldict manually and then restart IRM:
    I got this command from the log file sch_dict.log.
    ddldict.exe /U sadmin /P ***** /C DBNAME /D SIEBEL /F D:\Siebel\8.1\Tools_1\INNOVATION_PACK\SiebelRepository\ORACLE\ddl.ctl /E Y /A Y /L d:\Siebel\8.1\Tools_1\log\sch_dict.log /N "New Customer Repository" /T DCIR
    Error in the log file:
    SQLDBUtilityLog SQLDBUtilityLog 3 00000002528c1960:0 2013-11-20 01:30:26   Reading index              EIM_CL_SNPSHT_T04 ...
    Trace Trace 3 00000002528c1960:0 2013-11-20 01:30:26 DDLDICT-ERR-1017: Unable to copy data from Siebel dictionary (This index points to a non-existing column,
    check the logfile under log directory for more information.).
    SQLDBUtilityLog SQLDBUtilityLog 3 00000002528c1960:0 2013-11-20 01:30:26 Error in MainFunction (UTLDbDictToDb).
    SQLDBUtilityLog SQLDBUtilityLog 3 00000002528c1960:0 2013-11-20 01:30:26 Error in Main function...
    GenericLog GenericError 1 00000002528c1960:0 2013-11-20 01:30:27 (logapi.cpp (184) err=1 sys=2) SBL-GEN-00001: (logapi.cpp: 184) error code = 1, system error = 2, msg1 = (null), msg2 = (null), msg3 = (null), msg4 = (null)
    When I checked EIM_CL_SNPSHT table from backend, this table is got all columns that are defined in the Index.
    Have anyone come across this kind of error ?
    Regards,
    Suchitra Prakash

    Hi,
    I had to restore the database and execute the complete DB Upgrade. Second attempt was successful without any issues.
    Make sure you have sufficient space in the database tablespace, Temp, Index and UNDOTBS tablespaces.
    Hope this answer helps.
    Regards,
    Suchitra Prakash

  • Error while importing s/w component verion in Integration Builder

    Hi There,
    I am getting below error while importing software components in System Landscape directory.
    "Unable to read software component verion from System landscape directory "SAPXI:50000"
    Path
    In Integration Builder> Tools>Transfer from System Landscape Directory-->Import software component Verion
    Please suggest.
    Thanks,
    Nishant

    Hi,
    Check these Similar Ones
    "Unable to read software component versions from System Landscape Directory
    Unable to read software component versions from System Landscape Directory
    http://****************/Tips/XI/SWComponentError/Resolve.htm
    Regards
    Seshagiri

  • Error while loggin and creating new repository

    Hi All,
    I have installed SAP MDM on with SQL 2005 on a server. All the services are running, but when im trying to login into an exisitng repository sys is throwing an error "Repository connect fail. Unable to connect to *repository" and when im trying to create a new repository error is " Unable to connect to database server". Can some one provide any lead on this.
    Thanks in advance
    Manish

    Hi Manish,
    Apart from what other have mentioned I would like to add a few points. Please also check for following case:
    1) The DBMS user that MDM uses to connect to a DBMS must have access rights equivalent to the
    system user. You can use the system account or create a user with equivalent rights. Like in your case the built-in system accounts is  MS SQL u2013 sa (reserved).
    2)Make sure that the MDM user SAPService<SID> has the necessary rights for accessing the database client.
    3) Check if you have provided proper DBMS path in DBMS settings.
    4) Check if your SQL server is loaded. If not please start the SQL services.
    I hope I am able to solve your problem
    Thanks & Regards
    Dilmit Chadha

  • Error while fetching variable value from sqlserver database in 11g

    Hi
    We created a dynamic variable to fetch data from sqlserver database in 11g.But when we test it, it is erroring out as follows: "nqserror: 27024 the execute physical statement must specify a physical sql statement to execute".
    Please help to overcome this issue.
    Thanks.

    Hello,
    First make sure that you're able to retreive data from the repository (right click on a table and view data?)
    To create a session variable follow these steps:
    From the Administration Tool menu bar, choose Manage > Variables.
    In the Variable Manager dialog box, from the menu bar, choose Action > New > Session > Variable.
    In the Session Variable dialog box, type a variable name.
    Names for all variables should be unique. The names of system session variables are reserved and cannot be used for other types of variables.
    For session variables, you can select the following check boxes:
    Enable any user to set the value
    Check box that allows you to set the session variables after the initialization block has populated the value (at user login) by calling the ODBC store procedure NQSSetSessionValue(). For example, this allows non-Oracle BI Administrators to set this variable for sampling.
    Use the Initialization Block drop-down list to select an initialization block that will be used to refresh the value on a continuing basis.
    To add a Default initializer value, perform one of the following steps:
    To use the Expression Builder, click the ellipsis button to the right of the Default initializer work space.
    Type the value into the Default initializer text box.
    Click OK.
    you can do the same for a repository variable except that you will have to specif a refresh interval.
    Make sure the sql your are issuing is correct by running it first using a client.
    Regards
    PS: Please don't forget to close the thread and assign points when your question is answered

  • Runtime error while creating variables? ( ple solve me asap)

    hi friends,
    whilw working with 3.x reporting, i created variable, now i am moving that variable from left to right paneli am getting run time error.
    how can i solve ?
    regards
    suneel.

    hi suneel,
    Do you see any more details via ST22
    if It shows 0 runtime errors against ur id, then you have to install note 950992
    Are you having this issue in the BEx Analyzer as well or just when using the new 2004s runtime?
    What about using the BW 3.x web analyzer? Does it happen there?
    atul

  • Error while Updating Fund Center in Work Order

    Hi All,
    In out System, we have integrated PM-FM. in that, we have incorporated a "User-Exit" which populates the User a change-of "Cost Centre" just while saving the order; where the User can insert any other Cost center other than the one already picked & displayed by the System.
    The problem now in FM is that; the initially displayed cost center prior to the update of cost center; is the one that is picked by the FM Derivation Strategy; which does not get updated when the new cost center is updated.
    Hence, although the Order contains a new Cost center; the Fund Center displayed is the one that was mapped to the prior cost center according to the FM Derivation Strategy in FMDerive.
    Kindly help !!
    Thanks in Advance.................
    Regards,
    Pratham

    Sahu
    Can you also post a screen-shot of the error message popup.
    PeteA

  • Error while runing SQL Monitoring new OEM 11.1.0.7 feature

    I am running OEM Database control with the new 11g version, Oracle 11.1.0.7. I am trying to work with the new feature SQL Monitoring, but I am getting the following error:
    Loading data error:
    Did someone saw that feature actually working? I only saw it in the OOW Demo.
    I am getting the error both in Windows and Linux installations. Any idea why this error happen and how to overcome it?
    Best,
    Merav

    Hi Merav
    select version from v$timezone_file;
    VERSION
    4
    If you get 4 from that query use MetaLink Note 568125.1.
    Have you installed Database Vault ? that might be related to your issue.
    Can you please send us more details on the error?
    Would you please investigate also :
    -STATISTICS_LEVEL initialization parameter is either set to ALL or TYPICAL (the default value)
    -CONTROL_MANAGEMENT_PACK_ACCESS parameter must be set to DIAGNOSTIC+TUNING (the default value)
    Control also that :
    select /*+MONITOR*/ * from dba_objects;
    Please read that also:
    http://structureddata.org/2008/01/06/oracle-11g-real-time-sql-monitoring-using-dbms_sqltunereport_sql_monitor/
    Thanks
    Edited by: Hub on Nov 20, 2008 10:59 AM
    Edited by: Hub on Nov 20, 2008 11:01 AM

  • Error while granting privileges to new user

    hi all,
    I created new user and i tried to grant privileges to that new user by using ( SQL> CONNECT / AS sysdba;
    Connected.
    SQL> CREATE USER cdcproj IDENTIFIED BY cdcproj
    2 QUOTA UNLIMITED ON SYSTEM
    3 QUOTA UNLIMITED ON SYSAUX;
    User created.
    SQL> GRANT CREATE SESSION TO cdcproj;
    Grant succeeded.
    SQL> GRANT CREATE TABLE TO cdcproj;
    Grant succeeded.
    SQL> GRANT SELECT_CATALOG_ROLE TO cdcproj;
    Grant succeeded.
    SQL> GRANT EXECUTE_CATALOG_ROLE TO cdcproj;
    Grant succeeded.
    SQL> EXECUTE DBMS_STREAMS_AUTH.GRANT_ADMIN_PRIVILEGE(grantee => 'cdcproj'); PL/SQL procedure successfully completed.
    SQL> GRANT ALL ON PL.PROJ_HISTORY TO cdcproj;
    Grant succeeded. ). All the commands worked except last command. It is giving error i.e (GRANT ALL ON PL.PROJ_HISTORY TO cdcproj; ) error is ( table / view not exists ).
    What i can do. Any help.
    Otherwise is there any other method to grant privileges.
    Thanks in advance.

    What is your Oracle version ?
    Are you sure the object PL.PROJ_HISTORY exists ?
    What is the output of (using the Oracle account that executes the GRANT):
    select * from session_roles;
    select * from session_privs;

Maybe you are looking for

  • Time machine not adding to existing backups.

    I have a Late 2013 MBP. i7,16GB RAM and 500GB HD.My Time Machine is a WD My Passport 2GB partitioned into to two 1GB partitions. Time Machine had 472GB used of 1GB in backups. I was having issues with apps (Ableton Live 9, Serato, MS Word, and severa

  • How does one create a user with a null password in iManager?

    I'm setting up LDAP authentication and need to create a user with a null password. If you do not put a password in the password field when creating the user in iManager, a message pops up stating, No password has been defined for this user. You are g

  • Process Chain - Node untriggered.

    Hi gurus, I have faced this typical problem a couple of times now, At times, while the process chain is executing, the node that has got executed successfully is green, and everything for this node is fine, the corresponding job is finished with stat

  • Missing chain step name in events raised by the scheduler

    I use events raised by the scheduler (SYS.SCHEDULER$_EVENT_QUEUE) to monitor scheduler chains processing. For event_type = "JOB_STARTED" (chain step started in case of chains) in event message (sys.scheduler$_event_info) there is no log_id (log_id is

  • The apple symbol keeps flashing on and off and won't reboot

    I dropped my phone and now it won't start and when i plug it in all i get is the apple symbol flashing on and off every few seconds??