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?

Similar Messages

  • Error while trying to create new calendar to sync with google calendar

    Hello everybody!
    I successfully syncronized my google calendar account with my iCal and everything works fine when I create or delete events.
    But when I try to create from iCal a new shared calendar it says "Calendar https://www.google.com/calendar/dav/[email protected]/user/ was not found on the server."
    Anyone has any idea about how to solve that?

    Hello everybody!
    I successfully syncronized my google calendar account with my iCal and everything works fine when I create or delete events.
    But when I try to create from iCal a new shared calendar it says "Calendar https://www.google.com/calendar/dav/[email protected]/user/ was not found on the server."
    Anyone has any idea about how to solve that?

  • Error while trying to create a new company

    Hey All
    I found an error while trying to create a new company.
    the Error like - No matching Records Found - [ODBC -2028]
    This can generate only database but not any tables in that database.
    Please help me.
    Thanking you
    Hepil Doshi

    Hello,
    I would prefer local language instead of US english.....
    My tips.
    1. DID you tried to Not apply the UDO/UDF things?
    2. Do not log in to the database, start from
    3. Please post the error message itself....
    4. If you are running on MS SQL 2005 server (not express) , You can start SQL profiler, and monitor the New Database creation.... you will see in profielr where is the error message and which tables / data is missing.
    If i know well,
    When you create a new company, the SBO-COMMON database is used to deploy the new database....
    If you get stock, reinstall your sbo-common from the last applyied patch..... (Detach SBO-common, move the files another directory, and start upgarder.exe).
    Regards,
    J.

  • Getting error while trying to create the push certificate...

    I am getting the following error while trying to create a push certificate for the mdm from the apple site.
    Certificate Signature Verification failed because the signature  is invalid.
    I am mdm vendor as well as the customer. I did the following steps.
    openssl x509 -inform der -in mdm_identity.cer -out mdm.pem
    openssl x509 -inform der -in AppleWWDRCA.cer -out intermediate.pem
    openssl x509 -inform der -in AppleIncRootCertificate.cer -out root.pem
    openssl req -inform pem -outform der -in customer.csr -out customer.der
    created the plist_encoded file using a java program which uses the "SHA1WthRSA"
    When i tried to upload the plist_encoded file to the apple site (https://identity.apple.com/pushcert/), it creates a file with the following error
    {"ErrorCode":-80018,"ErrorMessage":"Certificate Signature Verification failed","ErrorDescription":"Certificate Signature Verification failed because the <a href=\"http://www.apple.com/business/mdm\" target=\"_blank\">signature<\/a> is invalid."}
    Any help would be greatly appreciated....

    Please see the solution in (The Descriptive Flexfield With Application Name Receivables (AR) and Name Party Site Information (HZ_PARTY_SITES) Is Not Frozen [ID 743262.1]).
    Thanks,
    Hussein

  • Error while trying to create tree using same EMP how to tutorial

    Hi,
    I get the following error while trying to create a sample tree similar to the one
    posted in the how-tos web page.
    The final query that creates the tree is also as follows
    The Current Query shown in my apex window and the one on the howtos tutorial is as follows
    select "EMPNO" id,
    "MGR" pid,
    "ENAME" name,
    null link,
    null a1,
    null a2
    from "RJOSEEMPCLUB"."EMP"
    where DEPTNO = 1
    The error is as follows
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    Debug:
    1: begin
    2: wwv_flow_wiz_confirm.create_tree (
    3: p_flow_id => :FB_FLOW_ID,
    4: p_region_template => replace(:F4000_P112_REGION_TEMPLATE,'%'||'null%',null),
    5: p_start_option => :F4000_P112_START_OPTION,
    6: p_owner => :F4000_P112_OWNER,
    7: p_table_name => :F4000_P112_TABLE,
    8: p_id => :F4000_P112_ID,
    9: p_pid => :F4000_P112_PID,
    10: p_name => :F4000_P112_NAME,
    11: p_link_option => :F4000_P112_LINK_OPTION,
    12: p_link_page_id => :F4000_P112_LINK_PAGE_ID,
    13: p_link_item => :F4000_P112_LINK_ITEM,
    14: p_where => :F4000_P112_WHERE,
    15: p_order_by => :F4000_P112_ORDER_BY,
    16: p_page_id => :F4000_P112_PAGE_ID,
    17: p_page_name => :F4000_P112_PAGE_NAME,
    18: p_tab_set => :F4000_P112_TAB_SET,
    19: p_tab_text => :F4000_P112_TAB_TEXT,
    20: p_region_name => :F4000_P112_REGION_NAME,
    21: p_tree_name => :F4000_P112_TREE_NAME,
    22: p_tree_type => :F4000_P112_TREE_TYPE,
    23: p_max_levels => :F4000_P112_MAX_LEVELS);
    24: end;

    Hi Kart,
    If you have the sample EMP table, the DEPTNO values are 10, 20 or 30.
    Did you specify a root value for the tree?
    Regards
    Andy

  • Portal runtime error when trying to create new Iviews in EP

    Hi
    Require an Urgent help
    getting portal runtime error when trying to create a new iView in portal. I am unable to create a single iView  in portal.
    It was working before please see this error message
      Portal Runtime Error
    An exception occurred while processing a request for :
    iView : com.sap.portal.appintegrator.sap.WebDynproPageBuilder
    Component Name : com.sap.portal.appintegrator.sap.WebDynproPageBuilder
    Error occurs during the rendering of jsp component.
    Exception id: 05:20_12/01/08_0004_17115850
    See the details for the exception ID in the log file
    AM Iworking on NW2004s sp11. I was able to create iViews on this system before
    let me know where to check the log file also. Points will be awarded
    Thank you
    Krishna Kanth
    Edited by: siddi siddi on Jan 13, 2008 12:05 AM

    Krishna Kanth,
    logs can be read from nwa, if you hv the relevant access or get portal admin to pass the defaulttrace file to you. Login to nwa, navigate to Monitoring-Logs and traces and select (either default trace or last 24hrs) to view the logs. hope this helps
    prachi

  • Error while trying to remove an object with dsrm command

    hello,
    i get an error while trying to delete an object computer with the command line tool, DSRM. i get this view:
    actually, it's a one of hundreds of commands, that help cleaning the active directory of the obsolete objects. it is saying : "Access Denied" (in french, accès refusé). i say that the account used to execute this command, is a member of domain
    admins group, and enterprise admins group too. so i cannot believe it's a mater of some missing rights... :/
    thanks in advance, for your help,
    regards
    Lotfi BOUCHERIT

    Hi,
    I was able to reproduce your issue when using a non-elevated command prompt in a 2008R2 box. So please try to elevate your command prompt and your command will most likely go through.
    In addition to above, I'd suggest you look in to PowerShell instead, which in most cases is more effective.(and doesn't need to run in an elevated prompt to make AD-Changes)
    The same as above could be done with the powershell cmdlet Remove-AdComputer.
    Remove-AdComputer -Identity "Distinguishedname"
    Hope this helps you!
    Microsoft Certified Trainer
    MCSE: Desktop, Server, Private Cloud, Messaging
    Blog: http://365lab.net

  • DAV error while trying to modify an element with linked-image

    Hi,
    When I try to modify my item's image, I get the following error message :
    DAV: ORA-00001: violation de contrainte unique (PORTAL.WWDAV$PKPATH) (WWS-18026)
    Error in the API : Error while trying to update the element
    Anyone could help ?
    Thanks for your help,
    Best Regards,
    JC.Audard

    Welcome to the forums !
    Pl see if MOS Doc 360403.1 (Launcing Discoverer Plus Fails With Error "Oracle.Discoverer.Applications.Framework.Globalexceptionhandler.Execute Null" in Application.log File) is applicable in your case
    HTH
    Srini

  • Getting error while trying to create a new customer in R12

    I am getting the following error on top of the web window when trying to create a new customer using Solution beacon - R12 instance. Below is my navigation
    OM Super User --> Customer --> Standard.
    And when the web screen opens and I click on 'Create' it gives the below 3 error message and not displaying the proper fields. Can someone help me how to fix this?
    Error
    The descriptive flexfield with application name Receivables (AR) and name Party Information (HZ_PARTIES) is not frozen. Please contact your system administrator.
    The descriptive flexfield with application name Receivables (AR) and name Customer Information (RA_CUSTOMERS_HZ) is not frozen. Please contact your system administrator.
    The descriptive flexfield with application name Receivables (AR) and name Address (Remit Address HZ) is not compiled. Please contact your system administrator.

    Please see the solution in (The Descriptive Flexfield With Application Name Receivables (AR) and Name Party Site Information (HZ_PARTY_SITES) Is Not Frozen [ID 743262.1]).
    Thanks,
    Hussein

  • Quicktime 7 will not install fully on my windows 7 64 home premium keeps stoping with an error while trying to create directory

    I have a Laptop with Windows 7 64 Home premium, I have tried a few times to install Quicktime 7 on my laptop. But keeps stopping with an error saying "An error occured while attemping to create the directory: C:\windows\Installer\{F5266D28-E0B2-4130-BFC5-EE1-55AD514DC}
    Windows is fully up todate, I have no virus or anything harmful on my computer. After clicking retry the error keeps popping up. I then click on cancel and delete the downloaded quicktime installer. I shut down my computer and try again. Same error with not luck. Any help?

    Just in case, let's check for disk/file damage.
    The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • Excel as a data source - Error when trying to create new univerise

    Hello,
    Running BO 4 Server (On Server Machine) and Client tools 4 (on my local laptop) . I have tried the following..
    Succesfully
    1. With the information tool  Created a project
    2.  Created a connection to  a excel file on a network drive as a source
    2. Published connection, created short cuts
    3. Created data foundation
    4. Creeated Business layers
    5. Linked all tables inserted summary etc (data can be viewed in the viewer)
    I publish everything above to the repository and everthing works perfectly.
    I have created the ODBC links to the excel file both on my local laptop and server using the 32 bit admin tool (ODBC) in windows.
    Current Issue
    When i log into the BI Launch pad and open web intellgence, i try to create new and use the univerise i have published. I receieve the following error.
    The dataSource cannot be generated for the specified dataSource name "zEmptyBusiness_Layer". (WIS 00000)
    com.businessobjects.sdk.core.server.CommunicationException$UnexpectedServerException: The dataSource cannot be generated for the specified dataSource name "zEmptyBusiness_Layer".
         at com.businessobjects.sdk.core.exception.ExceptionBuilder.make(ExceptionBuilder.java:144)
         at com.businessobjects.sdk.core.exception.ExceptionBuilder.make(ExceptionBuilder.java:101)
         at com.businessobjects.sdk.core.server.common.CommonRequestHandler.afterProcessing(CommonRequestHandler.java:127)
         at com.businessobjects.sdk.core.server.internal.AbstractServer.processIt(AbstractServer.java:178)
         at com.businessobjects.sdk.core.server.internal.AbstractServer.process(AbstractServer.java:133)
         at com.businessobjects.sdk.core.server.internal.InstanceServer.process(InstanceServer.java:94)
         at com.sap.sl.sdk.services.util.ServerRequestProcessor.processServerRequest(ServerRequestProcessor.java:49)
         at com.sap.sl.sdk.datasource.strategy.BuiltInDataSourceStrategyImpl.addDataProvider(BuiltInDataSourceStrategyImpl.java:99)
         at com.sap.sl.sdk.workspace.service.WorkspaceServiceImpl.addDataProvider(WorkspaceServiceImpl.java:77)
         at com.sap.sl.sdk.workspace.service.WorkspaceServiceImpl.addDataProvider(WorkspaceServiceImpl.java:60)
         at com.sap.webi.ui.context.managers.DataManager.addDataProviderFromDataSourceInfo(DataManager.java:382)
         at com.sap.webi.ui.tasks.workflows.AddDataProviderUITask.doIt(AddDataProviderUITask.java:106)
         at com.sap.webi.ui.tasks.workflows.AddDataProviderUITask.doIt(AddDataProviderUITask.java:19)
         at com.sap.webi.toolkit.ui.tasks.WebITask.doInBackground(WebITask.java:113)
         at javax.swing.SwingWorker$1.call(Unknown Source)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at javax.swing.SwingWorker.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: com.businessobjects.sdk.core.server.ServerException: The dataSource cannot be generated for the specified dataSource name "zEmptyBusiness_Layer".
         at com.businessobjects.sdk.core.server.common.CommonRequestHandler.newServerException(CommonRequestHandler.java:260)
         at com.businessobjects.sdk.core.server.common.CommonRequestHandler.createAllServerExceptions(CommonRequestHandler.java:238)
         at com.businessobjects.sdk.core.server.common.CommonRequestHandler.afterProcessing(CommonRequestHandler.java:121)
         ... 18 more
    any help at all would be much appreciated

    Hi ,
    Go to : Control Panel - > Add / Remove Programs (or "Programs and Features" on win7) 
    looks for : SAP BusinessObjects BI Platform 4.0 Client Tool   <- that's the base install
    now look for an entry called   SAP BusinessObjects BI Platform 4.0 Client Tools  SP2  Patch2.8
    these are not automatic updates, it would require an installer be launched on your PC.
    Regards,
    H

  • Error when trying to create new BP in MSA 5.0 SP08

    Hi,
    We have currently an issue in MSA 5.0 SP08 when we are trying to create a new BP. We receive the message "Relationship (Employee) - Error handler in function EvalsfakvbeztpfromReltyp reached". Looking into the code we find this error handler in the BOINTBPEMP :
    The error is triggered when the standard method CreateBusineesObject is invoked. Sfamitabt contains a guid but it's a string and as you can see, the method should wait an object. Not sure if it is the source of our problem:
    Public Overridable Function CreateBusinessObject(ByVal typeName As String, Optional ByVal parameterNames As Object = Nothing, Optional ByVal parameterValues As Object = Nothing) As SAP.MT.FW.BLL.BusinessObject
         Member of: SAP.MT.FW.BLL.BusinessFactory
    Some more investigation we did : the object Err.Number equal 0 (no internal error) and i was not able to put a break point into the class constructor for BOEMPLOYEE because it is a protected event (CreateBusinessObject("BOEMPLOYEE" should be link to the class contructor of BOEMPLOYEE when a new object is created)
    However, I can confirm that SFAMITABT contains a valid guid (i checked smomitabt) and i also tried during the debug session to change interactively the guid with an other valid one, but i still have this problem.
    I started the sql profiler but i saw nothing relevant in there.
    I modified the sensitivity for the debug in order to see if i will have more informations but without success and the MSIL (intermediate languaged) did not help me more.
    Please advise,
    Thanks
    Christophe

    Aren't customer task not used anymore?
    Or am I mixing things up here.
    Well the problem isn't a problem it is SAP standard behaviour you simply can't configure customer tasks (type T in PFTC)
    You can only configure Standard Tasks (TS) or workflow templates (WS)
    Kind regards, Rob Dielemans
    Edited by: Rob Dielemans on May 29, 2009 12:51 PM
    Just had a look at the SAP help and indeed types T aren't allowed anymore SAP gives the solution to copy the customer task, this will automatically change it to a standard task

  • 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 trying to Create Recovery Disks - Lenovo 300 N200

    Hi,
    when trying to make Recovery Disks the program starts to extract files but after a few minutes i get this error:
    "An Internal error has caused this process to fail"
    when running lenovo system update i got an error:
    "An error occurred while gathering user information."
    i tried to update the "lenovo system update" but i'm getting errors while uninstall the previous version and also when installing the new one. After i tried to update, the "system update" is no longer loading, i'm getting a windows error and it's closing.
    btw, i have vista with SP1.
    does anyone have an idea ?
    Thanks, Erez.

    Someone ?!

  • Error while trying to create a table in SQL

    I am fairly new to Visual Studio. I am using the Visual Studio 2012. So I had to create a project in MVC. I made the Views and the controllers. I did add a Database from, _AppDate->Add->New Item-> SQL Server Compact 4.0 Local Database.
    Now that I am trying to create a new table from the Server Explorer window. Right click on Tables->Create Table. I'm getting the following error.
    "Could not load file or assembly 'Microsoft.SqlServer.SqlTDiagM, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The system cannot find the file specified."
    I have no idea how to resolve this. Any help in this matter would be highly appreciated.
    Thank You.

    Hi Charvi,
    What type of database/application are you trying to connect? Are you getting any error message?
    Missing primary key message is just a warning and is not related to the issue.
    Cheers
    Mohan

Maybe you are looking for

  • Background processing of interactive alv lists

    Hi, I have an interactive alv list which works fine with online processing. When run in background it only create spool for the first list. What can be a solution other than merging all the secondary alv list to the primary list level. Can we create

  • Silentely deploy an air application

    Hi, AIR is already installed on my computer. I run a v3. Now I want to silentely install an air application (not air itself) on many computers so double clicking the air file is not an option. Anyone knows how to silentely answers the questions asked

  • I accidently deleted apple mobile device driver how do I get it back?

    I am using a Toshiba c650 laptop with windows 7 64 bit home premium . I tried system restore but to no avail I also reinstalled itunes but no good Any help would be appreciated.

  • GMS 2.0.1 and Active Directory

    I am reading through the requirements and I see this: The GroupWise Mobility Service obtains users and groups from an LDAP directory or a GroupWise system. Lightweight Directory Access Protocol (LDAP) v3 Any shipping version of NetIQ eDirectory fills

  • Maintain Folder Opened

    Hello everyone, I have 3 applications in 3 different IViews, corresponding to 3 pages ("Program1" to "Program3"). All pages are inserted in a folder "Applications". This folder is then linked to a Workset. My problem is that, when i open the portal,