A business partner creates a new employee

Hi there.
In transaction u201CBBPMAINEXTu201D (Process user data), a business partner can create a new employee, example a bidder employee.
When he populates and send request, the system shows us next message: u201CYour registration application was received and will be forwarded to the processor responsibleu201D
I have some question?
¿Is it sent an email to any one?¿Is there any WF in order to approve the creation?¿Is there any transaction in order to supervise the new employee?
I suppose that there is any way in order to inform the system administration or the buyer. Is it necessary any role in order to receive the email or the WF.
Thanks in advance.
Raúl.

Hi,
Approval of external user master records (WS10000209)
Approval of external business partner registration
(vendor, bidder) and their contact persons.
The approver must be entered as a possible agent in the agent
assignment of the standard task TS10008109.
If the external business partner and employee have not yet been registered, external
employees can register the company as a vendor, bidder, or portal bidder and register themselves as
the contact person of that company. When the registration application is saved, the approver
responsible (a professional purchaser or system administrator) receives a work item in the Enterprise
Buyer system. Using the work item, approvers reach the application Managing External Business
Partners, where they can adopt and complete the relevant data from the registration application.
Approvers must inform the applicant of the approval or rejection of their registration application and
of the relevant logon data for the Enterprise Buyer system. This can be done via e-mail using the
application Managing External Business Partners, if necessary. Prerequisites: You must have
defined the responsible processor. To do this, enter the processor as a possible agent in the agent
assignment of the standard task TS10008109
Could be helpful..
Thanks
prasad.s

Similar Messages

  • No Business Partner generated for new employee transfer from ECC to SRM

    Hi All,
    I am working on SRM 5.0 with ECC 6.0 backend. The HR structure is replicated from ECC using ALE, message type:HRMD_ABA.
    When I am trying to replicate a new employee from ECC to SRM, I run the O-insert first, then the S-insert and then the P-insert using PFAL transaction.
    The Org structure was already in place in SRM, so it just adds the new position to it by A003 relation. The S-insert generated idoc shows status as '53' in both ECC and SRT with the relation A003, B007 and A008. But, when I check the table HRP1001, the A008 entry is missing. Due to this, no CP is generated for this position and also no business partner is generated for this user.
    When I run the P-insert for this employee, the idoc is posted in ECC. But, the status of the idoc in SRT is '52' and the message shown is "The Parameter Country Has Not been Entered During Naming Format Check" Message No. R11206.
    I checked the Name Format for this employee, and it is maintained as 2.
    Where am I going wrong? Why is no CP person generated even when the idoc status is 53? Why isn't the new employee getting transferred to SRM server?
    I have checked the SAP notes related to HR-ECC Org transfer, but I am unable to figure out the reason for this problem.
    Could anyone help me out in this?
    Regards,
    Ancy

    Maintained the name format tables (SA13)on ECC and SRM side.

  • Error with creating a new employee - PA40

    When creating a new employee record using PA40, the PERNR gets generated as soon as Infotype 0000 is updated. How do we capture the new PERNR, if a BDC recording of PA40 fails midway during the process
    I would appreciate and reward any valuable ideas!

    create a session for error messages....and u can go to sm35 and check what has ahppened.....if not use format_message and display what has happened as report output....in case of BDC fail......!!!!!
    it will be like....
    call transaction 'PA40' using it_bdctab
    mode 'N'
    update 'S'
    messages into it_bdcmsgcoll.
    if sy-subrc <> 0.
    *--store the pernr for which bdc failed......here!!!
    call function 'bdc_open_group'
    call function 'bdc_insert'
    call function format_message
    call function 'bdc_close_group'
    *---check error and try to rectify it.....
    Regards
    Vasu

  • Create a new employee

    Hello,
    we want use HR_MAINTAIN_MASTERDATA for create a new employee.
    after lunch this FM we insert new PERNR code and some different data but after execution we cannot see any new entry in PA30 or PA40.
    Any suggestion?
    thanks
    Alex

    Hi,
    You can use 'HR_MAINTAIN_MASTERDATA'  to create/hire a new employee since its simulates the BDC PA30/40.
    But you need to pass NO_EXISTENCE_CHECK as 'X' to hire a new employee, also you need to pass all the mandatory fields of infotypes which are used to hire a employee (IT0000, IT0001, IT0002 etc) at one go.
    Still it's not able to update then check the error message (or Check the screen flow in Dialog Mode = 2).
    PS: If you use this FM, Dynamic action wont be triggered, so you need to explicitly code if any dynamic actions need to be triggred.
    Good luck,
    Shrinivas

  • Create an new employee fucntion Module/SAP pgm

    Hi All,
    I would like to know if there is any fucntion module to create an employee in batch program, I do not want to use BDC for PA40 and when I tried using the fucntion module HR_MAINTAIN_MASTERDATA, it is creating the new employee but not creating a record in HRD1001.
    Any help is appreciated.

    Hi
    Refer- http://help.sap.com/bp_hcmv1500/HRBP_Canada_V1_500/HTML/hcm_toc.htm

  • IS-U/CRM business partner created in SD results in data loss

    Dear experts,
    I have been investigating a strange issue with a customer.
    It concerns a IS-U/CRM architecture, where also the SD customers are exchanged.
    - All IS-U business partners are exchanged. Not all of these business partners have an SD customer (with same number) linked.
    - Some SD customers (some account groups) have no IS-U business partner linked
    Now when in IS-U a business partner is extended for SD (via reference customer) a bdoc is sent to crm, containing next changes :
    - is_customer is set to X
    - Sd account group is filled
    On the R/3-ISU side the customer is created in SD. But when processing the BDoc sent to CRM, crm answers also with a customer create (??) which results in the SD customer to be overwritten
    --> this is clear because we have blocked the queues and after extending the BP in ISU the SD customer was created with userid of the employee (ERNAM), and after processing BDoc the SD customer creator (ERNAM) was changed to the RFC customer.
    This also leads to the fact that data which was copied in from the ref.customer into the SD customer was overwritetn again by the CRM insert.
    Has anybody ever been confronted with a similar problem or can give me some advice how to handle this. As we are already in production, and this leads to data loss, In don't need to say this is a very urgent issue for us.
    Thank you very much, and of course points will be rewarded!!
    Regards,
    Michiel Strybol

    Hi Alin,
    Thank you for your reply.
    I'll try to explain these in some more detail :
    1/ We have a system landscape which includes ECC/IS-U & CRM
    2/ We have different scenarios active:
    - We have a scenario where IS-U is not involved, meaning SD customers (=ECC customers in the Sales & Distribution Module (KNA1)) are replicated to CRM
    - IS-U business partners are replicated to CRM. But not all IS-U business partners have an SD customer record active. When billing needs to be done for such a customer, an SD customer is created for this ISU business partner (from within ISU), using a reference customer in SD. Apparently this also seems to trigger a SD customer create sent from CRM which causes our problem ...
    There is no master system. Business partners can be created both in ISU and CRM, and should the be replicated in the other system
    Hopefully this clarifies it for you.
    Thank you very much in advance!!
    Michiel

  • Business partner number of an employee

    Hi,
    How to get business partner of an employee.
    Any standard data source is there for the same.
    Regards,
    Kiran

    Hi,
    You can get the BP assigned to an Employee from the table HRP1001.
    Give OTYPE = 'CP', OBJID = Personnel number of the employee.
    The field SOBID will give you the BP number.
    Using the BP number, you can get all the business partner central details from BUT000.
    Regards,
    Rishu.

  • Business Partner Contacts Define new is blank when addon runs

    version 2007 PL 15
    When my addon is running the business partner contacts tab is missing the "Define New" option and contacts cannot be added.
    When the addon is stopped then the businness partner contacts tab functions normally.
    There is nothing in the addon that affects or references the business partner form, and the event filters have been set carefully to exclude any unnecessary events.
    Has anyone had this strange problem or does anyone have any ideas?
    Thanks,
    Mel

    Mel,
    the problem must be in your addon. I think that you dont catch correctly the events or you work on incorrect form. For solution I recomend to find out the item no in BP contact (its 13) and search  through your code where is the 13 and check if is it correct. Maybe the problem is, that contacts in BP are only in ok form mode - check if have somewhere in code changing of formmode for BP form.
    Petr

  • How to create a new employee?

    Hi Guru,
    I have a problem with create new employee how do we do?Could you pls send me details path and T-CODE.
    Thanks
    Manju

    I will add to Joe's comments.
    Goto TCode PA40, select the line with action "Hire" and execute, it will take you through some screens like a wizard and you will enter information regarding the employee. If you do not know the position then for testing you can enter 9999999 as position. Keep saving you entries for each screen and keep going, at the end you will end up with a new employee. You can note down that pernr and change anything through PA30.

  • My business partner created our website on her personal computer, then downloaded it on a USB drive. I pluggeed in my drive, after I upgraded my MAC to Lion,and now only see the initial start up in 2009. HELP!

    I upgraded my computer to Lion recently and have been having major problems, Most importantly with managing my website on iweb.
    my website is managed from a USB Drive, since the original creation was made on an ex-partners computer.
    When I plugged the drive in today, the original set up of the website from 2009 comes up.

    In Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    To open your domain file in Lion or to switch between multiple domain files Cyclosaurus has provided us with the following script that you can make into an Applescript application with Script Editor. Open Script Editor, copy and paste the script below into Script Editor's window and save as an application.
    do shell script "/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath -boolean no"delay 1
    tell application "iWeb" to activate
    You can download an already compiled version with this link: iWeb Switch Domain.
    Just launch the application, find and select the domain file you want to open and it will open with iWeb. It modifies the iWeb preference file each time it's launched so one can switch between domain files.
    WARNING: iWeb Switch Domain will overwrite an existing Domain.sites2 file if you select to create a new domain in the same folder.  So rename your domain files once they've been created to something other than the default name.
    OT

  • ORA-20001: PAY_7599_SYS_SUP_DT_OUTDATE when trying to create a new employee

    hello.
    I hope someone can help. My script below takes record(s) from a temporary table and loads them into ORACLE Financials via several APIs but on initial testing (using 1 NEW Record) it fails with the error message:
    Employee No: 00020206
    ORACLE error occurred processing record.. ORA-20001: PAY_7599_SYS_SUP_DT_OUTDATE
    Ive tried to google the error message but nothing - can someone either suggest what this may be or shsow me another way of getting a more precise reason for the problem?
    /* Formatted on 2009/04/29 11:52 (Formatter Plus v4.8.7) */
    SET serveroutput ON SIZE 1000000 FORMAT WRAPPED
    SET verify OFF
    SET feedback OFF
    DECLARE
    -- Debugging/error handling
    -- Work variables
       l_employ_start_date        DATE:= TO_DATE ('01-APR-1999', 'DD-MON-YYYY');
       v_ora_loc_code number                     := 0;
       p_emp_number                     VARCHAR2 (14);
       v_rec_cnt                        NUMBER                          := 0;
       insert_flag                      VARCHAR2 (8);
       err_num                          NUMBER;
       err_msg                          VARCHAR2 (150);
       err_line                         VARCHAR2 (350);
       err_seq                          NUMBER                          := 0;
       l_validate                       BOOLEAN                     DEFAULT FALSE;
       l_std_business_group_id          NUMBER                          := '0';
       l_default_code_comb_id           NUMBER                        := '218048';
       l_organization_id                NUMBER                          := '0';
       l_set_of_books_id                NUMBER                          := '1';
       l_job_id                         NUMBER                          := '10';
       l_obj                            NUMBER;
       l_datetrack_update_mode          VARCHAR2 (30)             := 'CORRECTION';
       l_assignment_sequence            NUMBER;
       l_name_combination_warning       BOOLEAN                         := FALSE;
       l_assign_payroll_warning         BOOLEAN                         := FALSE;
       l_org_now_no_manager_warning     BOOLEAN;
       l_other_manager_warning          BOOLEAN;
       l_spp_delete_warning             BOOLEAN;
       l_entries_changed_warning        VARCHAR2 (30);
       l_tax_district_changed_warning   BOOLEAN;
       l_person_id                      NUMBER;
       l_assignment_id                  NUMBER;
       l_assignment_id2           NUMBER;  -- := '28262';
       l_special_ceiling_step_id        NUMBER;
       l_per_effective_end_date         DATE:= TO_DATE ('11-Jul-2049', 'DD-MON-YYYY');
       l_people_group_id                NUMBER;
       l_group_name                     VARCHAR2 (30);
       l_assignment_number              VARCHAR2 (35);
       l_effective_end_date             DATE := TO_DATE ('11-Jul-2049', 'DD-MON-YYYY');
       l_date                           DATE                           := SYSDATE;
       ip_p_address_id                  per_addresses.address_id%TYPE;
       ip_p_object_version_number       NUMBER;
       ip_p_party_id                    per_addresses.party_id%TYPE;
       l_per_object_version_number      NUMBER;
       l_asg_object_version_number      NUMBER;
       l_full_name                      VARCHAR2 (240);
       l_per_comment_id                 NUMBER;
       l_per_effective_start_date       DATE;
       l_concatenated_segments          VARCHAR2 (240);
       l_soft_coding_keyflex_id         NUMBER;
       l_comment_id                     NUMBER;
       l_no_managers_warning            BOOLEAN;
    -- Get employee details info from work table
       CURSOR get_employee_details
       IS
          SELECT std_hire_date, std_last_name, std_sex, std_date_of_birth,
                 std_email_address, std_emp_status,
                 LPAD (std_employee_number, 8, '0') std_employee_number,
                 std_first_name, std_marital_status, std_middle_names,
                 std_nationality, std_title, std_national_identifier,
                 std_address_line1, std_address_line2, std_address_line3,
                 std_address_line4, std_post_code, std_telephone_1, std_country,
                 std_region, std_location_id, std_organization_id,
                 std_supervisor_id, std_person_id, std_position_id
            FROM SU_TEMPLOYEE_DETAILS;
    -- Get EXISTING employee details info from ORACLE tables
       CURSOR get_existing_employee_details
       IS
          SELECT per.person_id, per.business_group_id, per.last_name,
                 per.start_date, per.date_of_birth, per.email_address,
                 per.employee_number, per.first_name, per.marital_status,
                 per.middle_names, per.nationality, per.national_identifier,
                 per.sex, per.title, padd.address_id, padd.primary_flag,
                 padd.address_line1, padd.address_line2, padd.address_line3,
                 padd.town_or_city, padd.postal_code, padd.telephone_number_1, paas.assignment_id,
                 paas.assignment_number, paas.object_version_number, paas.EFFECTIVE_START_DATE,
         paas.job_id, paas.position_id, paas.location_id, paas.organization_id, paas.assignment_type, paas.supervisor_id,
                 paas.default_code_comb_id, paas.set_of_books_id, paas.period_of_service_id
          FROM   per_all_people_f per,
                 per_all_assignments_f paas,
                 per_addresses padd
           WHERE
         per.person_id = padd.person_id
         --        AND paas.person_id(+) = per.person_id;
            AND paas.person_id(+) = per.person_id;
    -- checks employee details info from PER_ALL_PEOPLE_F table
       CURSOR c_check_employee (p_emp_number VARCHAR2)
       IS
          SELECT per.person_id, per.business_group_id, per.last_name,
                 per.start_date, per.date_of_birth, per.email_address,
                 per.employee_number, per.first_name, per.marital_status,
                 per.middle_names, per.nationality, per.national_identifier,
                 per.sex, per.title, padd.address_id, padd.primary_flag,
                 padd.address_line1, padd.address_line2, padd.address_line3,
                 padd.town_or_city, padd.postal_code, padd.telephone_number_1, paas.assignment_id,
                 paas.assignment_number, paas.object_version_number, paas.EFFECTIVE_START_DATE,
         paas.job_id, paas.position_id, paas.location_id, paas.organization_id, paas.assignment_type, paas.supervisor_id,
                 paas.default_code_comb_id, paas.set_of_books_id, paas.period_of_service_id
          FROM   per_all_people_f per,
                 per_all_assignments_f paas,
                 per_addresses padd
           WHERE per.employee_number = p_emp_number
             AND per.person_id = padd.person_id
             AND paas.person_id(+) = per.person_id;
       emp_rec                          c_check_employee%ROWTYPE;
    -- Cursor retrieves latest Object Version Number from per_assignments_f table..
       CURSOR csr_ovn (cp_person_id IN per_all_people_f.person_id%TYPE)
       IS
          SELECT MAX (paas.object_version_number)
            FROM per_assignments_f paas, per_all_people_f per
           WHERE paas.person_id = per.person_id
             AND per.employee_number = paas.assignment_number
             AND per.person_id = cp_person_id;
    -- Cursor to get Oracle_Loc_Code from SU CHRIS vs ORACLE Locations Table into a variable..
    CURSOR csr_ora_loc_code (cp_location_id IN SU_TEMPLOYEE_DETAILS.std_location_id%TYPE)
    IS
          SELECT sil.ORACLE_LOC_CODE
         FROM SU_TEMPLOYEE_DETAILS std, SU_IEXP_LOCATIONS sil
         WHERE std.STD_LOCATION_ID = sil.CHRIS_LOC_code
         AND std.STD_LOCATION_ID = cp_location_id;
    BEGIN
    -- Process each record in the work table
       FOR v_emp IN get_employee_details
       LOOP
    -- determine whether customer already exists
          OPEN c_check_employee (v_emp.std_employee_number);
          FETCH c_check_employee
           INTO emp_rec;
           l_assignment_id2 := emp_rec.assignment_id;
          IF v_emp.std_emp_status = 'N' and c_check_employee%NOTFOUND
          THEN
             insert_flag := 'I';
             DBMS_OUTPUT.PUT_LINE ('Employee No: ' || v_emp.std_employee_number);
          ELSIF v_emp.std_emp_status = 'C'
          THEN
           -- if c_check_employee%NOTFOUND then raise no_data_found;
            -- elsif l_assignment_id2 is null then
             if l_assignment_id2 is null then
              raise_application_error (-20010, 'Employee No: ' || v_emp.std_employee_number  || ' exists but has no assignment id!');
            end if;
               DBMS_OUTPUT.PUT_LINE ('Employee No: ' || v_emp.std_employee_number ||  '  already exists, making changes.. '   );
               insert_flag := 'C';
          -- RAISE_APPLICATION_ERROR (-20001,  'Employee No: ' || v_emp.std_employee_number  || '  already exists '    );
           END IF;
          CLOSE c_check_employee;
    -- Obtain the most recent Object Version Number..
          OPEN csr_ovn (v_emp.std_person_id);
          FETCH csr_ovn
           INTO l_obj;
          -- IF csr_ovn%NOTFOUND     THEN        RAISE NO_DATA_FOUND;   END IF;
          CLOSE csr_ovn;
    -- Open Oracle Location Code cursor
    OPEN csr_ora_loc_code(v_emp.std_location_id); 
          FETCH csr_ora_loc_code
           INTO v_ora_loc_code;
          CLOSE csr_ora_loc_code;
    -- Create new PER_ALL_PEOPLE_F and PER_ADDRESSES record from
    --            info in  table record
          IF insert_flag = 'I'
          THEN
    --                      -- Importing Employee Procedure --
             Hr_Employee_Api.create_gb_employee
                     (p_validate                       => l_validate,
                      p_hire_date                      => l_employ_start_date,
                      p_business_group_id              => l_std_business_group_id,
                      p_date_of_birth                  => v_emp.std_date_of_birth,
                      p_email_address                  => v_emp.std_email_address,
                      p_first_name                     => v_emp.std_first_name,
                      p_middle_names                   => v_emp.std_middle_names,
                      p_last_name                      => v_emp.std_last_name,
                      p_sex                            => v_emp.std_sex,
                      p_ni_number                      => v_emp.std_national_identifier,
                      p_employee_number                => v_emp.std_employee_number,
                      p_person_id                      => l_person_id,
                      p_title                          => v_emp.std_title,
                      p_assignment_id                  => l_assignment_id,
                      p_per_object_version_number      => l_per_object_version_number,
                      p_asg_object_version_number      => l_asg_object_version_number,
                      p_per_effective_start_date       => l_per_effective_start_date,
                      p_per_effective_end_date         => l_per_effective_end_date,
                      p_full_name                      => l_full_name,
                      p_per_comment_id                 => l_per_comment_id,
                      p_assignment_sequence            => l_assignment_sequence,
                      p_assignment_number              => l_assignment_number,
                      p_name_combination_warning       => l_name_combination_warning,
                      p_assign_payroll_warning         => l_assign_payroll_warning
             Hr_Person_Address_Api.create_person_address
                                      (p_validate                     => l_validate,
                        --            p_effective_date               => v_emp.std_hire_date,
                                       p_effective_date              =>  l_employ_start_date,
                                       p_pradd_ovlapval_override      => NULL,
                                       p_validate_county              => NULL,
                                       p_person_id                    => l_person_id,
                                       p_primary_flag                 => 'Y',
                                       p_style                        => 'GB_GLB',
                                       p_date_from                    => SYSDATE,
                                       p_date_to                      => NULL,
                                       p_address_type                 => NULL,
                                       p_comments                     => NULL,
                                       p_address_line1                => v_emp.std_address_line1,
                                       p_address_line2                => v_emp.std_address_line2,
                                       p_address_line3                => v_emp.std_address_line3,
                                       p_town_or_city                 => v_emp.std_address_line4,
                                       p_region_1                     => NULL,
                                       p_region_2                     => NULL,
                                       p_region_3                     => NULL,
                                       p_postal_code                  => v_emp.std_post_code,
                                       p_country                      => v_emp.std_nationality,
                                       p_telephone_number_1           => NULL,
                                       p_telephone_number_2           => NULL,
                                       p_telephone_number_3           => NULL,
                                       p_party_id                     => ip_p_party_id,
                                       p_address_id                   => ip_p_address_id,
                                       p_object_version_number        => l_obj
             Hr_Assignment_Api.update_emp_asg
                            (p_validate                    => l_validate,
                             p_effective_date              => SYSDATE,  -- l_date,
                             p_datetrack_update_mode       => l_datetrack_update_mode,
                             p_assignment_id               => l_assignment_id,
                             p_object_version_number       => l_obj,
                             p_supervisor_id               => v_emp.std_supervisor_id,
                             p_default_code_comb_id        => l_default_code_comb_id,
                             p_set_of_books_id             => l_set_of_books_id,
                             p_concatenated_segments       => l_concatenated_segments,
                             --IN/OUT
                             p_soft_coding_keyflex_id      => l_soft_coding_keyflex_id,
                             --IN/OUT
                             p_comment_id                  => l_comment_id,
                             --IN/OUT
                             p_effective_start_date        => l_date,     --IN/OUT
                             p_effective_end_date          => l_effective_end_date,
                             --IN/OUT
                             p_no_managers_warning         => l_no_managers_warning,
                             --IN/OUT
                             p_other_manager_warning       => l_other_manager_warning
                            --IN/OUT
             Hr_Assignment_Api.update_emp_asg_criteria
                 (p_validate                          => l_validate,
                  p_effective_date                    => SYSDATE,       -- l_date,
                  p_datetrack_update_mode             => l_datetrack_update_mode,
                  p_assignment_id                     => l_assignment_id,
                  p_object_version_number             => l_obj,
                  p_organization_id                   => l_organization_id,
                  p_location_id                       => v_ora_loc_code,
                  p_job_id                            => l_job_id,
                  p_position_id                       => v_emp.std_position_id,
                  p_special_ceiling_step_id           => l_special_ceiling_step_id,
                  p_effective_start_date              => l_date,
                  --per_effective_start_date,
                  p_effective_end_date                => l_effective_end_date,
                  --IN/OUT
                  p_people_group_id                   => l_people_group_id,
                  --IN/OUT
                  p_group_name                        => l_group_name,    --IN/OUT
                  p_org_now_no_manager_warning        => l_org_now_no_manager_warning,
                  --IN/OUT
                  p_other_manager_warning             => l_other_manager_warning,
                  --IN/OUT
                  p_spp_delete_warning                => l_spp_delete_warning,
                  --IN/OUT
                  p_entries_changed_warning           => l_entries_changed_warning,
                  --IN/OUT
                  p_tax_district_changed_warning      => l_tax_district_changed_warning
                 --IN/OUT
             v_rec_cnt := v_rec_cnt + 1;
             DBMS_OUTPUT.PUT (CHR (10));
             DBMS_OUTPUT.PUT_LINE (   'There were '
                                   || v_rec_cnt
                                   || '  records read in..'
    -- Updating PER_ALL_PEOPLE_F and PER_ADDRESSES record from
    --            info in  table record
       ELSE IF insert_flag = 'C'
          THEN
    -- ===================================================
    -- these next 6 lines is for the initial mass update of existing employee records only     
    -- ===================================================
    /*IF emp_rec.default_code_comb_id is NULL THEN
         l_default_code_comb_id = 218048;
         END IF;     
         IF emp_rec.job_id is NULL THEN
         l_job_id = 10;
         END IF;      */
    -- =========
    -- Section end
    -- =========
             Hr_Assignment_Api.update_emp_asg
                            (p_validate                    => l_validate,
                    p_effective_date              => emp_rec.EFFECTIVE_START_DATE,
                             p_datetrack_update_mode       => l_datetrack_update_mode,
                             p_assignment_id               => l_assignment_id2,
                             p_object_version_number       => l_obj,
                             p_supervisor_id               => v_emp.std_supervisor_id,
                             p_default_code_comb_id        => emp_rec.default_code_comb_id,
                             p_set_of_books_id             => emp_rec.set_of_books_id,
                             p_concatenated_segments       => l_concatenated_segments,
                             --IN/OUT
                             p_soft_coding_keyflex_id      => l_soft_coding_keyflex_id,
                             --IN/OUT
                             p_comment_id                  => l_comment_id,
                             --IN/OUT
                             p_effective_start_date        => l_date,     --IN/OUT
                             p_effective_end_date          => l_effective_end_date,
                             --IN/OUT
                             p_no_managers_warning         => l_no_managers_warning,
                             --IN/OUT
                             p_other_manager_warning       => l_other_manager_warning
                            --IN/OUT
             Hr_Assignment_Api.update_emp_asg_criteria
                 (p_validate                          => l_validate,
                  p_effective_date                    => emp_rec.EFFECTIVE_START_DATE,
                  p_datetrack_update_mode             => l_datetrack_update_mode,
                  p_assignment_id                     => l_assignment_id2,
                  p_object_version_number             => l_obj,
                  p_organization_id                   => emp_rec.organization_id,
                  p_location_id                       => v_ora_loc_code,
                  p_job_id                            => emp_rec.job_id,
                  p_position_id                       => emp_rec.position_id,
                  p_special_ceiling_step_id           => l_special_ceiling_step_id,
                  p_effective_start_date              => emp_rec.EFFECTIVE_START_DATE,
                  p_effective_end_date                => l_effective_end_date,
                  --IN/OUT
                  p_people_group_id                   => l_people_group_id,
                  --IN/OUT
                  p_group_name                        => l_group_name,    --IN/OUT
                  p_org_now_no_manager_warning        => l_org_now_no_manager_warning,
                  --IN/OUT
                  p_other_manager_warning             => l_other_manager_warning,
                  --IN/OUT
                  p_spp_delete_warning                => l_spp_delete_warning,
                  --IN/OUT
                  p_entries_changed_warning           => l_entries_changed_warning,
                  --IN/OUT
                  p_tax_district_changed_warning      => l_tax_district_changed_warning
                 --IN/OUT
             v_rec_cnt := v_rec_cnt + 1;
             DBMS_OUTPUT.PUT (CHR (10));
             DBMS_OUTPUT.PUT_LINE (   'There were '
                                   || v_rec_cnt
                                   || '  records read in..'
             DBMS_OUTPUT.PUT (CHR (10));
    -- End of customer related details
          END IF;
          END IF;
       END   LOOP;
       COMMIT;
    EXCEPTION
       WHEN NO_DATA_FOUND
        THEN
         ROLLBACK;
          err_num := TO_CHAR (SQLCODE);
          err_msg := SUBSTR (SQLERRM, 1, 150);
          err_line :=   'ORACLE error occurred processing record.. ' ||  err_msg;
          DBMS_OUTPUT.PUT_LINE (err_line);
          INSERT INTO SU_ERROR_LOG  VALUES (err_msg, 'TEMPLOYEE_DTLS.sql', SYSTIMESTAMP);
        WHEN OTHERS
       THEN
          ROLLBACK;
          err_num := TO_CHAR (SQLCODE);
          err_msg := SUBSTR (SQLERRM, 1, 150);
          err_line :=   'ORACLE error occurred processing record.. ' ||  err_msg;
          DBMS_OUTPUT.PUT_LINE (err_line);
          INSERT INTO SU_ERROR_LOG  VALUES (err_msg, 'TEMPLOYEE_DTLS.sql', SYSTIMESTAMP);
    END;
    EXIT;Many thanks
    Steven

    It looks like the Supervisor employee is not active for the duration of the Employee Record.
    Using the correct Supervisor record should resolve the issue.

  • Error on Creating New Business Partner

    Hi All,
    We have client who are using SAP Business One 2007 A (8.00.181) SP:00 PL: 49; they have been using the system for more than three years perfectly good .Now they have started to face a problem of Creating new Business Partners and System is recurring with an error message that u201CThis entry is already exist on the following tables u2018Business Partnersu2019 (OCRD) (ODBC u2013 2085) [Message 131 u2013 183]u201D while there is no such kind of record exist on the system. So can any one help on this problem?
    Best Regards,

    Hi.........
    Please check OCRD and ACRD table.
    OCRD table is for whether the Business Partner Master is already present or not.
    And ACRD is for whether the Business Partner Created and Deleted from OCRD and logs manitained in ACRD.......
    Please check you get some Clue........
    Regards,
    Rahul

  • Create business partner for existing employee for SAP version 4.7

    Hi all !
    Do you know of a similar program of function like the HR_SYNC_PERSON in ECC 6.0 but work for version 4.7 ?
    I have look in OSS and SAP forum but I have not found.
    Our company need to create business partner for all existing employee but for our SAP 4.7 version.
    Thanks
    Hugo Nguyen

    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Transaction Code - MM41                     Create Material &
    Exit Name           Description
    MGW00001            Material Master (Retail): Additional Data
    MGW00002            Material Master (Retail): Number Assignment
    No of Exits:          2
    Transaction Code - MM42                     Change Material &
    Exit Name           Description
    MGW00001            Material Master (Retail): Additional Data
    MGW00002            Material Master (Retail): Number Assignment
    No of Exits:          2
    Rewards if useful.........
    Minal

  • Error while creating new employee in CAF Core application

    Hi
    I am novice to the CAF, this is my first CAF Core application which I have created and deployed in J2EE engine successfully. It’s ready for Testing, here  I am trying to create a  new employee but while saving it, giving error like:-
    ERROR. Exception thrown in method createEmployee. The transaction is marked for rollback.: Exception thrown in method create. The transaction is marked for rollback.: com/sap/caf/rt/exception/CAFIllegalAccessException
    Anyone can help out me.
    Regards
    Srikanth

    Hi Cindy Herrman,
      FYI , that check box already unchecked, while setup the employee entity only that Permission check box unchecked, still I am getting same problem.
    -Srikanth

  • BAPI for create new employee

    Hi,
    There is any BAPI for create a new employee (transaction pa40)?
    Basically a bapi that create employee number and assign personnel area, EE group,...
    I suppose that BAPI_PARTNEREMPLOYEE_CREATE is for external customer users... not the bapi that we are looking for...
    Regards.Thanks.

    Hi Garcia,
    The FM calls the transaction PA30/PA20 based on your activity whether to create/display.
    If you do not have the FM HR_MAINTAIN_MASTERDATA
    You can use even BDC to create the employee data.
    Fill all the required data for an employee and call the transaction PA30 for each infotype.
    Also HR_INFOTYPE_OPERATION implicitely calls the HR_MAINTAIN_MASTERDATA .
    search for the same ..and also look for the include LHRMMU03.
    Check for Function group HRMM which has these FM's

Maybe you are looking for

  • Is there a way to play to 2 blue tooth devices at the same time?

    is there a way to play to 2 blue tooth devices at the same time from my ipad?

  • Help Very Very Very Ugent

    Hi I have problem with installing Oracle Developer Suite 10g (9.04.01) on Windows XP 2002 , sp2. The Universal Installer Comes and then checks the requirement then says all requirements met please wait after that it vanishes.I do not know what to do?

  • PDF Scrolling in Safari

    Pdfs scroll very badly in Safari. It is jerky, very sensitive, too fast. This has come up before in the Communities, but the solutions I've found either don't work or aren't relevant after OSX updates. In preview scrolling is well behaved.  Any updat

  • Can anyone help with apachectl error messages in Terminal?

    Does anyone here understand apachectl error messages? When I use the command: apachectl configtest  Terminal gives me: Warning: DocumentRoot [/usr/docs/dummy-host.example.com] does not exist Warning: DocumentRoot [/usr/docs/dummy-host2.example.com] d

  • Is the problem where parts of the page don't show up only on firefox?

    facebook parts of it and other websites are not showing up anyone else have this problem on other browsers it works fine.. it seems a firefox problem with the recent upgrades.