Fonction SAP BAPI_ADDRESSEMPFR_CREATE - Create French Employee Address

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ADDRESSTYPE BAPIP0006-SUBTY C 4 Subtype
BUSROUTE BAPIP0006LFR-BUSROUTE C 3 X Bus route
CITY BAPIP0006-ORT01 C 40 X Area
COMMNUMBER1 BAPIP0006LFR-COMMNUMBER1 C 20 X Communications number
COMMNUMBER2 BAPIP0006LFR-COMMNUMBER2 C 20 X Communications number
COMMNUMBER3 BAPIP0006LFR-COMMNUMBER3 C 20 X Communications number
COMMTYPE1 BAPIP0006LFR-COMMTYPE1 C 4 X Communication method
COMMTYPE2 BAPIP0006LFR-COMMTYPE2 C 4 X Communication method
COMMTYPE3 BAPIP0006LFR-COMMTYPE3 C 4 X Communication method
COMPANYAPARTM BAPIP0006LFR-COMPANYAPARTM C 1 X Company housing
CONAME BAPIP0006-NAME2 C 40 X C/O name
COUNTRY BAPIP0006-LAND1 C 3 X Country key
DISTANCEINKM BAPIP0006LFR-DISTANCEINKM P 2 X Distance in kilometers
DISTANCEINKM1 BAPIP0006LFR-DISTANCEINKM1 P 2 X Distance in kilometers
DISTRICT BAPIP0006-ORT02 C 40 X District
EMPLOYEENUMBER BAPIP0006-PERNR N 8 Personnel no.
HOUSENUMBER BAPIP0006LFR-HOUSENUMBER C 10 X House number
NAMEOFSTREET BAPIP0006LFR-NAMEOFSTREET C 60 X Street
NOCOMMIT BAPI_STAND-NO_COMMIT C 1 X COMMIT control at BAPI interface
POSTALCODECITY BAPIP0006-PSTLZ C 10 X Postal Code
SCNDADDRESSLINE BAPIP0006-LOCAT C 40 X 2nd address line
TELEPHONENUMBER BAPIP0006-TELNR C 14 X Telephone number
VALIDITYBEGIN BAPIP0006-BEGDA D 8 Valid from date
VALIDITYEND BAPIP0006-ENDDA D 8 Valid to date

Paramètre Reférence Type Long. Description
KEYEMPLOYEENUMBER BAPIP0006-PERNR N 8 Personnel no.
KEYLOCKINDICATOR BAPIP0006-SPRPS C 1 Lock indicator for HR master record
KEYOBJECTID BAPIP0006-OBJPS C 2 Object identification
KEYRECORDNUMBER BAPIP0006-SEQNR N 3 Number of infotype record
KEYSUBTYPE BAPIP0006-SUBTY C 4 Subtype
KEYVALIDITYBEGIN BAPIP0006-BEGDA D 8 Valid from date
KEYVALIDITYEND BAPIP0006-ENDDA D 8 Valid to date
RETURN BAPIRETURN1 u 470 Structure for Return Code

Functionality
A data record can be applied for the infotype Addresses (0006)using this method.

Notes
Messages are returned in the RETURN parameter. The return values andtheir meanings can be found in the documentation for this parameter.
The key fields used by this method are described under the parameters.
This method may only be used if the ENQUEUE method of the businessobject EMPLOYEE has been called up beforehand. Furtherinformation on the ENQUEUE method can be found in the documentation forthe function module BAPI_EMPLOYEE_ENQUEUE
.
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD

Description
INCLUDE BAPI_TABLE

Value range
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.

Meaning
Information on the meaning of the subtype can be found in thecorresponding data element-documentation: Subtype.

Description
Designation of the bus route

Description
Name of the location

Description
Commmunication number

Description
Commmunication number

Description
Commmunication number

Description
Information on the meaning of the communication type can be found in thecorresponding data element-documentation:
Communication type.

Description
Information on the meaning of the communication type can be found in thecorresponding data element-documentation:
Communication type.

Description
Information on the meaning of the communication type can be found in thecorresponding data element-documentation:
Communication type.

Description
Information on the meaning of the company-owned apartment can be foundin the corresponding data element-documentation:
Company-owned apartment.

Description
Information on the meaning of the C/O name can be found in thecorresponding data element-documentation: C/O name.

Description
Information on the meaning of the country key can be found in thecorresponding data element-documentation: Country key
.

Description
Information on the meaning of the distance in kilometers can be found inthe corresponding data element-documentation:
Distance in kilometers.

Description
Information on the meaning of the distance in kilometers can be found inthe corresponding data element-documentation:
Distance in kilometers.

Description
Name of the district

Description
Information on the meaning of the personnel number can be found in thecorresponding data element-documentation:
Personnel number.

Description
Information on the meaning of the house number can be found in thecorresponding data element-documentation: House
number.

Description
Enter the name of the street for the person here (without Housenumber!).

Description
Information on the meaning of the commit control can be found in thecorresponding data element-documentation: Commitcontrol at the BAPI-Interface.

Description
Postal code

Description
Information on the meaning of the address affix can be found here in thecorresponding data element-documentation:
Adress affix.

Description
Telephone number

Description
Validity start date

Description
Validity end date