Fonction SAP BAPI_FAMILYZA_CHANGE - Family US: Change record

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CITY BAPIP0021US-CITY C 25 X City
COBRA BAPIP0021US-COBRA C 1 X COBRA indicator
COUNTRY BAPIP0021US-COUNTRY C 3 X Country
DATEDISABLEARNED BAPIP0021US-DATEDISABLEARN D 8 X Date employer learned of employee's disability
DATEOFBIRTH BAPIP0021-FGBDT D 8 X Date of birth
DATEOFDISABILITY BAPIP0021US-DATEOFDISAB D 8 X Date of disability
DATEOFSEPARATION BAPIP0021US-DATEOFSEP D 8 X Legal separation date
DISABILITY BAPIP0021US-DISABILITY C 1 X Disability indicator
EMPLOYEENUMBER BAPIP0021-PERNR N 8 Personnel number
FIRSTNAME BAPIP0021-FAVOR C 40 X First name
GENDER BAPIP0021-FASEX C 1 X Gender key
IDNUMBER BAPIP0021US-IDNUMBER C 20 X ID number
LASTNAME BAPIP0021-FANAM C 40 X Last name
LOCKINDICATOR BAPIP0021-SPRPS C 1 Lock indicator for HR master record
MAIDENNAME BAPIP0021-FGBNA C 40 X Maiden name
MARITAL_STATUS BAPIP0021US-MARITAL_STATUS C 1 X Marital Status Key
MEDICARE BAPIP0021US-MEDICARE C 1 X Medicare indicator
NAMEOFPHYSICIAN1 BAPIP0021US-NAMEOFPHYS1 C 30 X Name of physician 1
NAMEOFPHYSICIAN2 BAPIP0021US-NAMEOFPHYS2 C 30 X Name of physician 2
NATIONALITY BAPIP0021-FANAT C 3 X Nationality
NATIONALITY2 BAPIP0021-FANA2 C 3 X Second nationality
NATIONALITY3 BAPIP0021-FANA3 C 3 X Third nationality
NOCOMMIT BAPI_STAND-NO_COMMIT C 1 X COMMIT control at BAPI interface
OBJECTID BAPIP0021-OBJPS C 2 Object identification
PHONENUMBER BAPIP0021US-PHONENUMBER C 14 X Telephone number
PHYSICIANID1 BAPIP0021US-PHYSICIANID1 C 20 X ID of physician 1
PHYSICIANID2 BAPIP0021US-PHYSICIANID2 C 20 X ID of physician 2
POSTALCODE BAPIP0021US-POSTALCODE C 10 X Postal code
RECORDNUMBER BAPIP0021-SEQNR N 3 Number of infotype record
REFPERSNO BAPIP0021US-REFPERSNO C 12 X Reference personnel number
SECONDADDRESSLINE BAPIP0021US-SECONDADDRLINE C 30 X Second address line
SMOKER BAPIP0021US-SMOKER C 1 X Smoker indicator
STATE BAPIP0021US-STATE C 3 X State
STREETANDHOUSENO BAPIP0021US-STREETANDHOUSE C 30 X Street and house number
STUDENT BAPIP0021US-STUDENT C 1 X Student indicator
SUBTYPE BAPIP0021-SUBTY C 4 Subtype
VALIDITYBEGIN BAPIP0021-BEGDA D 8 Valid from date
VALIDITYEND BAPIP0021-ENDDA D 8 Valid to date

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN1 u 470 Return messages

Functionality
You can use this method to change family/related-person records for USemployees (infotypes 0021/0106).

Notes
INCLUDE BAPI_RET
The key fields used by the method are described in the parameterdocumentation.
You can use this method only if you have called the ENQUEUEmethod of the business object EMPLOYEE beforehand. For more informationon the ENQUEUE method, read the documentation on the function moduleBAPI_EMPLOYEE_ENQUEUE.

Description
INCLUDE BAPI_TABLE

Value range
Authorization messages
Type,,ID,,Code,,Message
E,,PG,,185,,No read authorization for record.
Messages on data input
Type,,ID,,Code,,Message
E,,PA,,017,,Applicant number not yet assigned.
E,,PG,,001,,Personnel number not yet assigned.
E,,PG,,009,,No data stored for record in selected period.
E,,PG,,184,,The employee/applicant is not yet locked.
E,,PG,,429,,Not possible to specify a view indicator for
,,,,,,applicant.
E,,PG,,430,,The employee is assigned to a different view
,,,,,,indicator.
E,,RP,,060,,The personnel number(s) could not be locked.
Other types of messages
Type,,ID,,Code,,Message
A,,PN,,018,,Cannot determine database table of the infotype.
E,,PG,,428,,A complex application error has occurred.

Description
City

Description
For more information on the definition of COBRA indicator, see thecorresponding data element documentation: COBRAindicator.

Description
For more information on the definition of country, see thecorresponding data element documentation: Country.

Description
Date employer learned of employee's disability

Description
For more information on the definition of date of birth, see thecorresponding data element documentation: Date ofbirth.

Description
Date disability began

Description
Legal separation date

Description
For more information on the definition of disability indicator, see thecorresponding data element documentation: Disabilityindicator.
INCLUDE BAPI_KEYFIELD

Description
First name

Description
Gender key

Description
For more information on the definition of ID number, see thecorresponding data element documentation: ID number.

Description
Last name
INCLUDE BAPI_KEYFIELD

Description
Last name at birth

Description
Marital Status key.

Description
For more information on the definition of Medicare indicator, see thecorresponding data element documentation: Medicareindicator.

Description
For more information on the definition of name of physician, see thecorresponding data element documentation: Name ofphysician.

Description
For more information on the definition of name of physician, see thecorresponding data element documentation: Name ofphysician.

Description
The field indicates the person's nationality.

Description
This field indicates the person's second nationality.

Description
This field indicates the person's third nationality.

Description
For more information on the definition of COMMIT control at BAPIinterface, see the corresponding data element documentation:COMMIT control at BAPI interface.
INCLUDE BAPI_KEYFIELD

Description
Telephone number

Description
For more information on the definition of physician ID, see thecorresponding data element documentation: PhysicianID.

Description
For more information on the definition of physician ID, see thecorresponding data element documentation: PhysicianID.

Description
For more information on the definition of postal code, see thecorresponding data element documentation: Postal code.
INCLUDE BAPI_KEYFIELD

Description
For more information on the definition of reference personnel number,see the corresponding data element documentation:Reference personnel number of family member.

Description
Second address line

Description
For more information on the definition of smoker indicator, see thecorresponding data element documentation: Smokerindicator.

Description
For more information on the definition of state, see the correspondingdata element documentation: State.

Description
For more information on the definition of house number and street, seethe corresponding data element documentation: House numberand street.

Description
For more information on the definition of student indicator, see thecorresponding data element documentation: Studentindicator.
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD