Fonction SAP BAPI_APPLICANT_CREATE - Create Applicant

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
2ND_ADD_LN BAPIAPLADR-2ND_ADD_LN C 30 X 2nd Address Line
2ND_TITLE BAPIAPLPER-2ND_TITLE C 15 X Second Title
ADVERT BAPIAPPLIC-ADVERT N 8 X Advertisement
AFFIX BAPIAPLPER-AFFIX C 15 X Name Prefix
AP_GROUP BAPIAPLORG-AP_GROUP C 1 Applicant Group
AP_SUBGRP BAPIAPLORG-AP_SUBGRP C 2 Applicant Range
ARI_TITLE BAPIAPLPER-ARI_TITLE C 15 X Aristocratic Title
BIRTHNAME BAPIAPLPER-BIRTHNAME C 25 X Name at Birth
BIRTHPLACE BAPIAPLPER-BIRTHPLACE C 25 X Birthplace
B_DATE BAPIAPLPER-B_DATE D 8 X Date of Birth
CITY BAPIAPLADR-CITY C 25 City
CNTRY BAPIAPLADR-CNTRY C 3 X Country Key
COMMUNICATION_TYPE BAPIP0105B-USERTYPE C 4 X Communication Type
C_O BAPIAPLADR-C_O C 25 X C/O Name
DISTRICT BAPIAPLADR-DISTRICT C 25 X District
EMPLOYEENUMBER BAPIP0001-PERNR N 8 X Internal Applicant's Personnel Number
E_MAIL BAPIHR0105-E_MAIL C 241 X Internet Mail (SMTP) Address
FOA_KEY BAPIAPLPER-FOA_KEY C 1 X Form of Address
F_NAME BAPIAPLPER-F_NAME C 25 First Name
GENDER BAPIAPLPER-GENDER C 1 X Gender Key
INITIALS BAPIAPLPER-INITIALS C 10 X Initials
KNOWN_AS BAPIAPLPER-KNOWN_AS C 25 X Known As
LANGU BAPIAPLPER-LANGU C 1 Correspondence Language
L_NAME BAPIAPLPER-L_NAME C 25 Last Name
MAR_STAT BAPIAPLPER-MAR_STAT C 1 X Marital Status
MEDIUM BAPIAPPLIC-MEDIUM N 2 X Medium
NATION BAPIAPLPER-NATION C 3 X Nationality
PCD_CITY BAPIAPLADR-PCD_CITY C 10 Postal Code
PERSONNEL BAPIAPLORG-PERSONNEL C 3 X Personnel Officer
PERS_AREA BAPIAPLORG-PERS_AREA C 4 Personnel Area
PREFIX_2 BAPIAPLPER-PREFIX_2 C 15 X Second Name Prefix
P_SUBAREA BAPIAPLORG-P_SUBAREA C 4 Personnel Subarea
REGION BAPIAPLADR-REGION C 3 X Region
SECONDNAME BAPIAPLPER-LAST_NAME2 C 25 X Second Last Name
SSN BAPIAPLPER-SSN C 20 X Social Security Number
STREET BAPIAPLADR-STREET C 30 House No. and Street
TEL_NO BAPIAPLADR-TEL_NO C 14 X Telephone Number
TITLE BAPIAPLPER-TITLE C 15 X Title
UNSAPPGP BAPIAPPLIC-UNSAPPGP N 3 X Unsolicited Application Group

Paramètre Reférence Type Long. Description
APPLICANTNUMBER BAPIAPPL-PERNR N 8 Applicant No.
RETURN BAPIRETURN u 452 Structure for Return Code

Paramètre Reférence Long. Facultatif Description
EDUCATION BAPIEDUC 62 X Education
PREVIOUS_EMPLOYMENT BAPIEMPLOY 238 X Previous Employers
QUALIFICATION BAPIQUALI 13 X Skills
VACANCY_ASSIGNMENT BAPIVACASS 15 X Vacancies

Functionality
You can use this method to create an applicant.
The system carries out all the consistency checks performed whenentering applicant data using the R/3 transactions. An applicant isonly created when all checks have been performed successfully. Thesystem returns the applicant number it has assigned and a return code.

Notes
Depending on how you have customized infotype screen control, you canincrease the number of obligatory parameters.
Depending on whether an applicant wrote an unsolicited application orresponded to a specific advertisement, either the parameterUNSAPPGP or the parameter ADVERT is obligatory.
Messages are issued in the RETURN parameter. Please refer to thedocumentation on this parameter to find out what the return values areand what they mean.
The first error message to be issued from the R/3 consistency checks isto be found in the ERRORTEXT parameter.

Description
For information on what the applicant number means, please refer to thedocumentation on the data element applicant number

Value range
ABAP/4 Dictionary data type: NUMC (field length 8)

Description
Return code of method
Value range
If an error occurs, the structure might, for example, contain thefollowing information:

  • Message type (field TYPE), ABAP/4 Dictionary data type: CHAR
  • (field length 1)
    • Message code (field CODE), ABAP/4 Dictionary data type: CHAR
    • (field length 5)
      • Message text (field MESSAGE), ABAP/4 Dictionary data type: CHAR
      • (field length 220)
        If no errors occur, the structure remains empty.

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 30)

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 15)

        Description
        For information on what a job advertisement is, please refer to thefollowing data element documentation: job advertisement

        Value range
        ABAP/4 Dictionary data type: NUMC (field length 8)

        Description
        For information on what a name affix is, please refer to the followingdata element documentation: name affix

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 15)

        Description
        For information on what an applicant group is, please refer to thefollowing data element documentation: applicant group.

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 1)

        Description
        For information on what an applicant range is, please refer to thefollowing data element documentation:
        applicant range

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 2)

        Description
        For information on what an aristocratic title is, please refer to thefollowing data element documentation: aristocratictitle

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 15)

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 25)

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 25)

        Description
        For information on what a date of birth is, please refer to thefollowing data element documentation: Date of birth

        Value range
        ABAP/4 Dictionary data type: DATS (field length 8)

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 25)

        Description
        For information on what the country key is, please refer to thefollowing data element documentation: country key

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 3)

        Description
        You will find information on the meaning of the region in the relevantdata element documentation: Communication type

        Value range
        Dictionary data type: CHAR (field length 4)

        Description
        For information on what a c/o name is, please refer to the followingdata element documentation: C/O name

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 25)

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 25)

        Value range
        Dictionary data type: NUMC (field length 8)

        Value range
        Dictionary data type: CHAR (field length 241)

        Description
        For information on what the form of address is, please refer to thefollowing data element documentation: form of address

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 1)

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 25)

        Description
        For information on what the gender key is, please refer to thefollowing data element documentation: gender key

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 1)

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 10)

        Description
        For information on what a person is known as, please refer to thefollowing data element documentation: known as

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 25)

        Value range
        ABAP/4 Dictionary data type: LANG (field length 1)

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 25)

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 1)

        Description
        For information on what a medium is, please refer to the following dataelement documentation: Medium

        Value range
        ABAP/4 Dictionary data type: NUMC (field length 2)

        Description
        For information on what nationality is, please refer to the followingdata element documentation: nationality

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 3)

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 10)

        Description
        For information on what a personnel officer is, please refer to thefollowing data element documentation: personnel officer

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 3)

        Description
        For information on what a personnel area is, please refer to thefollowing data element documentation: personnel area

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 4)

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 15)

        Description
        For information on what a personnel subarea is, please refer to thefollowing data element documentation: personnel subarea

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 4)

        Description
        For information on what a region is, please refer to the following dataelement documentation: Region

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 3)

        Value range
        Dictionary data type Char (Field length 25)

        Description
        For information on what a social insurance number is, please refer tothe following data element documentation: social insurancenumber

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 20)

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 30)

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 14)

        Description
        For information on what a title is, please refer to the following dataelement documentation: title

        Value range
        ABAP/4 Dictionary data type: CHAR (field length 15)

        Description
        For information on what an unsolicited application group is, pleaserefer to the following data element documentation:unsolicited application group

        Value range
        ABAP/4 Dictionary data type: NUMC (field length 3)

        • FROM_DATE

        • ABAP/4 Dictionary data type: DATS (field length 8)
          • TO_DATE

          • ABAP/4 Dictionary data type: DATS (field length 8)
            • EDUC_EST

            • ABAP/4 Dictionary data type: CHAR (field length 2)
              • INSTITUTE

              • ABAP/4 Dictionary data type: CHAR (field length 25)
                • CNTRY

                • ABAP/4 Dictionary data type: CHAR (field length 3)
                  • CERTIFIC

                  • ABAP/4 Dictionary data type: CHAR (field length 2)
                    • BR_STUDY_1

                    • ABAP/4 Dictionary data type: NUMC (field length 5)
                      • BR_STUDY_2

                      • ABAP/4 Dictionary data type: NUMC (field length 5)
                        • FROM_DATE

                        • ABAP/4 Dictionary data type: DATS (field length 8)
                          • TO_DATE

                          • ABAP/4 Dictionary data type: DATS (field length 8)
                            • EMPLOYER

                            • ABAP/4 Dictionary data type: CHAR (field length 20)
                              • CITY

                              • ABAP/4 Dictionary data type: CHAR (field length 25)
                                • CNTRY

                                • ABAP/4 Dictionary data type: CHAR (field length 3)
                                  • INDUSTRY

                                  • ABAP/4 Dictionary data type: CHAR (field length 4)
                                    • JOB

                                    • ABAP/4 Dictionary data type: NUMC (field length 8)
                                      • QUALIF

                                      • ABAP/4 Dictionary data type: NUMC (field length 8)
                                        • PROFIC

                                        • ABAP/4 Dictionary data type: NUMC (field length 1)
                                          • VACANCY

                                          • ABAP/4 Dictionary data type: NUMC (field length 8)
                                            • VA_STATUS

                                            • ABAP/4 Dictionary data type: CHAR (field length 1)
                                              • STAT_REA

                                              • ABAP/4 Dictionary data type: NUMC (field length 2)
                                                • PRIORITY

                                                • ABAP/4 Dictionary data type: CHAR (field length 4)