Messagw while trying to create Business partner (BP) object for Recruiter

Hi,
We have upgraded E-Recruitment from EHp2 to EHP4.
When I tried to access Recruiter dash board through recruiter ID, I got error "You are not authorized to see this". After checking it is found that business partner object is not created for Recruiter ID. So tried to create through program RCF_Create_user. But while running this report, I am getting message like "candidate number is already exist" and I am not able to proced further. I checked relationship A650, also table HRP5102 for candidate details for this Recruiter personeel number. But no where it is available.
Could anybody please tell how to proceed on this? Where to see candidate details for an employee? How to delete candidate details if exists so that I can create business partner object again via program RCF_create_user.
Anybody's help is appreciated.
Regards,
Purnima

Hello Purnima,
as you started from an authorization error message, have you tried to assign SAP_ALL to the user and check if the application was working? Did you regenerated SAP_ALL after the upgrade as otherwise the authorization for the new application might still be missing.
I first thought the BP relation was missing after your upgrade but in your 2nd post you said you deleted CP-BP relation among others. Was this a typo or was the relation existing but the business partner missing. This would be very suprising as it is not that easy to get rid of one.
It is very strange if RCF_CREATE_USER is still not working after deleting all relations. If you only deleted one relation from CP it might be necessary to delete the other direction for all objects being internal. BUT be aware! Changing HRP1001 data this way will lead to inconsistencies in the system.
The only additional thing which comes to my mind is the integrated installation. Here the user for the candidate is not read from HRP1001 but directly from the PA infotype 0105. So there might be another candidate joined to the user this way if you use an integrated landscape.
But before you start changing hrp1001 by hand please always get the CP id for the candidate, go to SE80, open class cl_hrrcf_candidate and test the get method. (you need the cp id as you have to enter the first id on the method test screen, the others won't work due to the usage of "is supplied" in the method combined with the methgod tester). In the result check if there is really no BP Id resolved.
If the relation or the bp object really got lost during the upgrade, I'd check if this is a single case or more candidates were effected. If so I'd in every case get in contact w/ sap suppport.
Kind Regards
Roman
Edited by: Roman Weise on Mar 14, 2010 6:43 PM

Similar Messages

  • Trying to create a Histogram type/object for aggregate functions

    Hi,
    I am trying to create an aggregate function that will return a histogram
    type.
    It doesn't have to be an object that is returned, I don't mind returning
    a string but I would like to keep the associative array (or something
    else indexed by varchar2) as a static variable between iterations.
    I started out with the SecondMax example in
    http://www.csis.gvsu.edu/GeneralInfo/Oracle/appdev.920/a96595/dci11agg.htm#1004821
    But even seems that even a simpler aggregate function like one strCat
    below (which works) has problems because I get multiple permutations for
    every combination. The natural way to solve this would be to create an
    associative array as a static variable as part of the Histogram (see
    code below). However, apparently Oracle refuses to accept associate
    arrays in this context (PLS-00355 use of pl/sql table not allowed in
    this context).
    If there is no easy way to do the histogram quickly can we at least get
    something like strCat to work in a specific order with a "partition by
    ... order by clause"? It seems that even with "PARALLEL_ENABLE"
    commented out strCat still calls merge for function calls like:
    select hr,qtr, count(tzrwy) rwys,
    noam.strCat(cnt) rwycnt,
    noam.strCat(tzrwy) config,
    sum(cnt) cnt, min(minscore) minscore, max(maxscore) maxscore from
    ordrwys group by hr,qtr
    Not only does this create duplicate entries in the query result like
    "A,B,C" and "A,C,B" it seems that the order in rwycnt and config are not
    always the same so a user can not match the results based on their
    order.
    The difference between my functions and functions like sum and the
    secondMax demonstrated in the documentation is that secondMax does not
    care about the order in which it gets its arguments and does not need to
    maintain an ordered set in order to return the correct results. A good
    example of a built in oracle function that does care about all its
    arguments and probably has to maintain a similar data structure to the
    one I want is the PERCTILE_DISC function. If you can find the code for
    that function (or something like it) and forward a reference to me that
    in itself would be very helpful.
    Thanks,
    K.Dingle
    CREATE OR REPLACE type Histogram as object
    -- TYPE Hist10 IS TABLE OF pls_integer INDEX BY varchar2(10),
    -- retval hist10;
    -- retval number,
    retval noam.const.hist10,
    static function ODCIAggregateInitialize (sctx IN OUT Histogram)
    return number,
    member function ODCIAggregateIterate (self IN OUT Histogram,
    value IN varchar2) return number,
    member function ODCIAggregateTerminate (self IN Histogram,
    returnValue OUT varchar2,
    flags IN number) return number,
    member function ODCIAggregateMerge (self IN OUT Histogram,
    ctx2 IN Histogram) return number
    CREATE OR REPLACE type body Histogram is
    static function ODCIAggregateInitialize(sctx IN OUT Histogram) return
    number is
    begin
    sctx := const.Hist10();
    return ODCIConst.Success;
    end;
    member function ODCIAggregateIterate(self IN OUT Histogram, value IN
    varchar2)
    return number is
    begin
    if self.retval.exist(value)
    then self.retval(value):=self.retval(value)+1;
    else self.retval(value):=1;
    end if;
    return ODCIConst.Success;
    end;
    member function ODCIAggregateTerminate(self IN Histogram,
    returnValue OUT varchar2,
    flags IN number)
    return number is
    begin
    returnValue := self.retval;
    return ODCIConst.Success;
    end;
    member function ODCIAggregateMerge(self IN OUT Histogram,
    ctx2 IN Histogram) return number is
    begin
    i := ctx2.FIRST; -- get subscript of first element
    WHILE i IS NOT NULL LOOP
    if self.retval.exist(ctx2(i))
    then self.retval(i):=self.retval(i)+ctx2.retval(i);
    else self.retval(value):=ctx2.retval(i);
    end if;
    i := ctx2.NEXT(i); -- get subscript of next element
    END LOOP;
    return ODCIConst.Success;
    end;
    end;
    CREATE OR REPLACE type stringCat as object
    retval varchar2(16383), -- concat of all value to now varchar2, --
    highest value seen so far
    static function ODCIAggregateInitialize (sctx IN OUT stringCat)
    return number,
    member function ODCIAggregateIterate (self IN OUT stringCat,
    value IN varchar2) return number,
    member function ODCIAggregateTerminate (self IN stringCat,
    returnValue OUT varchar2,
    flags IN number) return number,
    member function ODCIAggregateMerge (self IN OUT stringCat,
    ctx2 IN stringCat) return number
    CREATE OR REPLACE type body stringCat is
    static function ODCIAggregateInitialize(sctx IN OUT stringCat) return
    number is
    begin
    sctx := stringCat('');
    return ODCIConst.Success;
    end;
    member function ODCIAggregateIterate(self IN OUT stringCat, value IN
    varchar2)
    return number is
    begin
    if self.retval is null
    then self.retval:=value;
    else self.retval:=self.retval || ',' || value;
    end if;
    return ODCIConst.Success;
    end;
    member function ODCIAggregateTerminate(self IN stringCat,
    returnValue OUT varchar2,
    flags IN number)
    return number is
    begin
    returnValue := self.retval;
    return ODCIConst.Success;
    end;
    member function ODCIAggregateMerge(self IN OUT stringCat,
    ctx2 IN stringCat) return number is
    begin
    self.retval := self.retval || ctx2.retval;
    return ODCIConst.Success;
    end;
    end;
    CREATE OR REPLACE FUNCTION StrCat (input varchar2) RETURN varchar2
    -- PARALLEL_ENABLE
    AGGREGATE USING StringCat;

    GraphicsConfiguration is an abstract class. You would need to subclass it. From the line of code you posted, it seems like you are going about things the wrong way. What are you trying to accomplish? Shouldn't this question be posted in the Swing or AWT forum?

  • Dump Error while creating Business Partner in FPP1

    Dear Experts,
    I am using the EHP5 IS-U component. I am getting the below dump error, when I am trying to create Business partner in T.Code: FPP1.
    **Error in the ABAP Application Program**
    **The current ABAP program "ISU_BUPA_EVENT_DINP1==========FT" had to be  terminated because it has come across a statement that unfortunately cannot be executed.**
    **The following syntax error occurred in program "SAPLES02 " in include "LES02U14  " in line 30:**
    **"The data object "BUS0DIINIT" does not have a component called "MUSTER_KUN".**
    I have searched SAP notes, but I am unable to find any suitable notes to resolve this issue.
    Could anyone help me to resolve this issue.
    Thanks in Advance,
    Regards,
    Aswin

    Hi,
    Please don't go adding fields. Aren't we talking about SAP-standard structures here?
    Have you actually checked (in transaction SE11) that the structure ISU_EKUNINIT is included in the BUS0DIINIT?
    If it is, and the field MUSTER_KUN is missing, then you should raise an OSS note.
    If the structure is not included, you should also talk to OSS. Your ISU installation might be incomplete?
    cheers
    Paul Bakker

  • Error in creating business partner through transaction FPP1 in ECC6.0

    HI,
    We have upgraded our system from 4.7E to ECC6.0.Now when we are trying to create business partner through transaction FPP1 we are getting error as " Exception condition "NO_ACTIVE_TAB" raised."
    Can any one help us in rectifying the error and tell us the possible causes of error.. .??
    Regards,
    Shruti Singh

    Hello,
    Notes  696189 & 618123 may be of some help to you....:)
    Regards
    Olivia

  • Create Business Partner-FPP1-issue with grouping

    HI
    I am trying to create business partner using FPP1 transaction with my own grouping but i am getting error.
    error "You cant create a customer with grouping PS05'.
    here PS05 is my own grouping with number range defined.
    please check the attached screens for details.What is wrong with my grouping? am not sure.
    Any help is greatly appreciated,
    regards
    giri

    Hi Giri,
    Seems like you have done the setting for BP grouping with internal number range which is fine. Please be advised that business partner groupings need to have different number ranges and different data has to be entered for each business partner type.
    If you getting this error in-spite of defining the number range and assigning the number ranges in customizing then perhaps you missed out the assignment of Business Partner (BP) Type since Business Partner types can be used to group business partners.
    When a BP is created, the "business partner type" appears on the initial screen and the control data screen. BP type offers grouping possibilities for business partners.
    You can define and assign BP types in
    Cross-Application Components->SAP Business Partner->Business Partner->Basic Settings->Define Business partner types.
    BP types are defined by a unique partner type number and a description. After this you can proceed to configure field attributes in the "field grouping" as per the selected business partner type.
    Let us know if you get the same error in-spite of maintaining the above mentioned settings.
    Thanks,
    Sagar

  • Error while creating Business Partner in Collections Management

    Hello All,
    I am trying to create Business partners for Customers in Collections Managment, specific to country Luxemburg. The error I am getting says that, 'Tax number category LU2 does not exist' and 'There is no BAPI field to screen field assignment'.
    I have checked V_TFKTAXNUMTYPE table and LU2 is not defined there.
    Appreciate if some one can help to locate where the system is picking up 'LU2' from, and help me fix this issue.
    Thanks in advance,
    Madhavi.
    Edited by: Madhavi99 on Nov 19, 2010 3:52 PM

    Krishna,
    Using T-code SM30, check the table V_TFKTAXNUMTYPE,  and you probably will not see an entry with CA0 in the table. This should be added here in this table (I am not sure how, may be it is a patch sent by SAP or an OSS note..We opened an OSS note and will let you know when I hear from SAP).
    With out adding CA0 in the above mentioned table, you might be using the field for VAT registration field while creating BP master data. I figured out from the way we were trying to create BP, Country code (for example CA in your case) 0 ie., CA0, is for the VAT registration number, Country code1 (for example CA1) is for tax number 1, and CA2 is for tax number 2 fields.
    After the above mentioned table is updated, using BP tcode, this code 'CA0' should be assigend to the business partner number that you are trying to create under identification tab.
    I hope, I made it as clear and understandable as possible. But, if you have any quesitons, please let me know.
    Regards,
    Madhavi.

  • SLG1 error while creating Business Partner

    Hi,
    Im currently working on SRM 7.0 and keep receiving the following errors in SLG1. Can you kindly advise what might be the root cause for the below errors so ican fix the issue and ensure the same error doesnt pop up going further?
    Error type 1:
    Error: Error while Creating Business Partner (BP) Module: BUPA_CREATE_FROM_DATA Vendor: XXXXX
    The region 00 is not defined for country DE
    Error type 2:
    Error: Error while Creating Business Partner (BP) Module: BUPA_CREATE_FROM_DATA Vendor: XXXXXX
    The transport zone ZOC0000001 is not defined for country YY
    Error type 3:
    Error:Error while Creating Business Partner (BP) Module: BUPA_CREATE_FROM_DATA Vendor: XXXXXX
    Email address "whatever email" is invalid
    Appreciate your feedback
    Akshay

    Hello Akshay,
    Resolution for Isuue 1:
    SAP Web Application Server -> General Settings -> Set Countries -> Insert Regions or Define Country Codes
    Region for country DE is not maintained in SPRO or bad data.
    Resolution for Issue 2:
    SAP Web Application Server - Application Server - Basis Services - Address Management - Maintain Transport Zones
    Maintain the transport zones in SRM.
    Resolution for Issue 3:
    email address should be a valid address. SRM checks the format e.g. xx @ yy . zzz
    I believe error could be due to incorrect data.
    Hope this solves.
    Ashutosh

  • Error while Creating Business partner in FPP1

    Hi,
    I can't create Business partner in standard T.code FPP1 in Test System and getting the following error
    "Application object BUPA: Table EBUPD does not exist".
    Kindly help me in solving this issue.

    Hi Venkatesh
    Please add the message class and message number - in this case R1 149 - next time you post a problem.
    There's probably an issue with your setup with for the Business Partner Screen Layout (area menu BUPT).
    The error is raised, because the EBUPD is not a table assiciated with the Business Parter (Application object BUPA). See transaction BUSG or table TBZ1H. It is in fact a dynpro structure.
    Now there's a table that links the dynpro structure fields to the db table fields, which should translate the structure EBUPD into table EKUN fields: TBZ1C. Technically, this is done in function BUS_DYNFLD_TO_DBFLD_CONVERT and it returns the dynpro structure instead of the DB table if there's no corresponding entry in TBZ1C.
    So please check if you can find following entry in TBZ1C (client dependent):
    OBJAP  DYNPTABNM  DYNPFLDNM  DBTABNM  DBFLDNM
    BUPA   EBUPD      +          EKUN     +
    Or via transaction BUSP - Screen field --> Database Field
    If the entry is missing I suggest you add it.
    Yep
    Jürgen

  • Geocode Error while creating Business Partner in Audit Management

    Hi All,
    When I try to create business partner in PLMD_AUDIT and assign it to various partner roles like Auditor, Responsible person etc. I am getting error as " Geocoder SAP0: Country specification is (Customizing) " What should be done to avoid this error?
    Found details in spro:
    For "SAP0 Geocoder" there is no function module and destination assigned, Is it the cause of error? If it is the case then what should be assigned and Let me know the standard function module.
    Regards,
    Ram.

    hi Keerthi,
    553073 is the sap note for geocode error in country specification.
    Regards,
    Ram.
    Edited by: Ramachandran Jayaraman on Jun 9, 2008 3:18 PM

  • Error in creating Business Partner using FLBPD1

    Dear All,
    While creating the Business partner using tcode FLBPD1, I get the following error.
    Also I need help to understand how to start Post Processing Office.
    No business partner could be created for customer CFM0031
    Message no. CVIC_UI018
    Diagnosis
    No business partner could be created from the customer selected.
    System Response
    An error occurred when creating a business partner from the customer selected. This error prevents data from being transferred and saved. This could be due to the following:
    Fields have been left blank in the customer that are set as required entry fields for the business partner.
    Settings for assigning Customizing values for the customer to the business partner are incorrect.
    Procedure
    Start the Post Processing Office and check the error message. Make the necessary corrections.
    Regards
    Arpita

    Hello Arpita,
    I faced exactly the same issue and we had to check the entire customer/vendor master data synchronization configurations. We found that many of them were missing when we upgraded to ECC 6.0.
    I would suggest you go through the following SAP notes and check whether all configs are in place or not. Then try again.
    Note 954816, 956054 and then also 1077616.
    Hope the first two notes will be able to help you cope with the issue.
    Regards,
    Suvarghya

  • 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?

  • 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

  • How to create Business Partner in CFM

    Hello,
    I want to Know which TCode should be use while creating Business Partner in CFM Module
    Regards
    Reshma

    Dear Reshma,
    Please, use the transaction "BP" in CFM module to create a business partner.
    Regards,
    Paulo

  • Role to create business partner

    Hi Experts,
    I am facing a problem that I want to create a role for the user and this role is for create business partner and the spacification is tat if one user careate a business partner then only that user can edit that business partner no other user can edit this business partner ( other user can see it only in display Mode).
    Regards,
    Sid

    Hi Sid,
    I must say - this is a very interesting problem !
    Can you try this approach - in the event AUTH1 (accessible from transaction BUS7), register your custom module. In this custom module, you would need to check if the BP you are trying to open has been created by you or not. Allow the activity to be 'Edit' only if you are the creator of the BP.
    Technically, you need to check if BUT000-CRUSR  = sy-uname.
    If this condition is violated, you will need to change activity mode to 03 (display).
    The event AUTH1 is triggered when you open a BP or try to switch to change mode, so it will be a good point for you to control the access.
    I hope this helps.
    Cheers,
    Rishu.

  • Create business partner with role 'Internet User' via BP

    Hi,
    We want to create business partner with role 'BUP005 Internet User'
    for purpose to link with created early user su01.
    It's work via isauseradm application, Web UI.
    Now I want to create new role 'BUP005 Interner user' via GUI. I started Tcode BP.
    I filled USERNAME, password, roles. I tried to save BP.
    I got this error:
    Enter the Internet user
    Message no. R11214
    You have maintained attributes (logon data, roles and/or fixed values) for the Internet user, without having entered the Internet user itself.
    But,
    Field 'INTERNETUSER' is not changeble.
    Denis.

    Hi, DJ
    Thank you for answer)
    1. Have you saved the BP. If Yes, just see if the INTERNET USER maintained is available in SU01.
    Yes, but I can not see  INTERNET USER in the BP.
    2. If you are not able to assign the INTERNET USER, please try to maintain the INTERNET USER in BP.
    I can not do it, because I can not change field INTERNET USER
    3. If the INTERNET USER field is not available, just check the authorization for the same.
    I has all authorization: sap_all.
    Denis

Maybe you are looking for