Fonction SAP BAPI_ADDRESSEMPDK_CHANGE - Change Employee Address

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
BUS_ROUTE BAPIP0006-BUSRT C 3 X
CITY BAPIP0006-ORT01 C 40 X
CITY_DISTRICT BAPIP0006LDK-CITY_DISTRICT C 40 X City/district (katakana)
COMMNUMBER1 BAPIP0006LDK-COMMNUMBER1 C 20 X Communication Number
COMMNUMBER2 BAPIP0006LDK-COMMNUMBER2 C 20 X Communication Number
COMMNUMBER3 BAPIP0006LDK-COMMNUMBER3 C 20 X Communication Number
COMMNUMBER4 BAPIP0006LDK-COMMNUMBER4 C 20 X Communication Number
COMMNUMBER5 BAPIP0006LDK-COMMNUMBER5 C 20 X Communication Number
COMMNUMBER6 BAPIP0006LDK-COMMNUMBER6 C 20 X Communication Number
COMMTYPE1 BAPIP0006LDK-COMMTYPE1 C 4 X Communication type
COMMTYPE2 BAPIP0006LDK-COMMTYPE2 C 4 X Communication type
COMMTYPE3 BAPIP0006LDK-COMMTYPE3 C 4 X Communication type
COMMTYPE4 BAPIP0006LDK-COMMTYPE4 C 4 X Communication type
COMMTYPE5 BAPIP0006LDK-COMMTYPE5 C 4 X Communication type
COMMTYPE6 BAPIP0006LDK-COMMTYPE6 C 4 X Communication type
COMPANY_APARTMENT BAPIP0006-WKWNG C 1 X
CONAME BAPIP0006-NAME2 C 40 X
COUNTRY BAPIP0006-LAND1 C 3 X
COUNTY_CDE BAPIP0006LDK-COUNTY_CDE C 3 X County code
DISTANCE BAPIP0006-ENTKM P 2 X
DISTANCE2 BAPIP0006-ENTK2 P 2 X
DISTRICT BAPIP0006-ORT02 C 40 X
EMPLOYEENUMBER BAPIP0006-PERNR N 8
HOUSE_ID BAPIP0006LDK-HOUSE_ID C 10 X Identification of an apartment in a building
HOUSE_NO BAPIP0006LDK-HOUSE_NO C 10 X House number
LOCKINDICATOR BAPIP0006-SPRPS C 1
NOCOMMIT BAPI_STAND-NO_COMMIT C 1 X
OBJECTID BAPIP0006-OBJPS C 2
POSTALCODECITY BAPIP0006-PSTLZ C 10 X
RECORDNUMBER BAPIP0006-SEQNR N 3
SCNDADDRESSLINE BAPIP0006-LOCAT C 40 X
STATE BAPIP0006-STATE C 3 X
STREETANDHOUSENO BAPIP0006-STRAS C 60 X
SUBTYPE BAPIP0006-SUBTY C 4
TELEPHONENUMBER BAPIP0006-TELNR C 14 X
VALIDITYBEGIN BAPIP0006-BEGDA D 8
VALIDITYEND BAPIP0006-ENDDA D 8

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

Functionality
With this method, a data record in the Addresses infotype (0006)can be changed.

Notes
Messages are returned in the RETURN parameter. You can find returnvalues and their meaning in the parameter documentation.
The key fields used by this method are described in the parameters.
This method can only be used if the ENQUEUE method in the businessobject EMPLOYEE was called previously. For more information onthe ENQUEUE method, refer to the function module documentation: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
City

Description
Communication number corresponding to the communication type in thepreceding field, such as fax, telephone, pager, and so on.

Description
Communication number corresponding to the communication type in thepreceding field, such as fax, telephone, pager, and so on.

Description
Communication number corresponding to the communication type in thepreceding field, such as fax, telephone, pager, and so on.

Description
Communication number corresponding to the communication type in thepreceding field, such as fax, telephone, pager, and so on.

Description
Communication number corresponding to the communication type in thepreceding field, such as fax, telephone, pager, and so on.

Description
The communication type indicates the type of number entered in thefields that follow.

Description
The communication type indicates the type of number entered in thefields that follow.

Description
The communication type indicates the type of number entered in thefields that follow.

Description
The communication type indicates the type of number entered in thefields that follow.

Description
The communication type indicates the type of number entered in thefields that follow.

Description
The communication type indicates the type of number entered in thefields that follow.

Description
Communication number corresponding to the communication type in thepreceding field, such as fax, telephone, pager, and so on.

Description
For information on the C/O name, refer to the relevant data elementdocumentation: C/O-Name
.

Description
For information on the coutry key, refer to the relevant data elementdocumentation: Country key
.

Description
District

Description
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD

Description
For information on the commit control, refer to the relevant dataelement documentation: Commit control at BAPIinterface.
INCLUDE BAPI_KEYFIELD

Description
Postal code

INCLUDE BAPI_KEYFIELD

Description
Second address line

MEANING&
For information on the region, refer to the relevant data elementdocumentation: Region.

Description
Use this field to identify the street name and house number.
To do so:

  • Type in the street address, up to a maximum of 30 characters.

  • INCLUDE BAPI_KEYFIELD

    Description
    Telephone number
    INCLUDE BAPI_KEYFIELD
    INCLUDE BAPI_KEYFIELD