Fonction SAP BAPI_ADDRESSEMPFR_CHANGE - Change French Employee Address

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
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
LOCKINDICATOR BAPIP0006-SPRPS C 1 Lock indicator for HR master record
NAMEOFSTREET BAPIP0006LFR-NAMEOFSTREET C 60 X Street
NOCOMMIT BAPI_STAND-NO_COMMIT C 1 X COMMIT control at BAPI interface
OBJECTID BAPIP0006-OBJPS C 2 Object identification
POSTALCODECITY BAPIP0006-PSTLZ C 10 X Postal Code
RECORDNUMBER BAPIP0006-SEQNR N 3 Number of infotype record
SCNDADDRESSLINE BAPIP0006-LOCAT C 40 X 2nd address line
SUBTYPE BAPIP0006-SUBTY C 4 Subtype
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
RETURN BAPIRETURN1 u 470 Structure for Return Code

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

Notes
Messages are returned in the parameter RETURN. Return values and theirmeanings can be found in the documentation for this parameter.
The key fields used by this method are described under the parameters.
This method can only be used if the ENQUEUE method of the businessobject EMPLOYEE has been called up beforehand. Further informatioon the ENQUEUE method can be found in the documentation for the functionmodule
BAPI_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
Designation of the bus route

Description
Name of the location

Description
Communication number

Description
Communication number

Description
Communication 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-documentationC/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
INCLUDE BAPI_KEYFIELD

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

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

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

Description
Postal code
INCLUDE BAPI_KEYFIELD

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

Description
Telephone number
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD