Fonction SAP BAPI_ADDRESSEMPDK_GETDETAIL - Read Employee Address

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
EMPLOYEENUMBER BAPIP0006-PERNR N 8
LOCKINDICATOR BAPIP0006-SPRPS C 1
OBJECTID BAPIP0006-OBJPS C 2
RECORDNUMBER BAPIP0006-SEQNR N 3
SUBTYPE BAPIP0006-SUBTY C 4
VALIDITYBEGIN BAPIP0006-BEGDA D 8
VALIDITYEND BAPIP0006-ENDDA D 8

Paramètre Reférence Type Long. Description
ADDRESSTYPE BAPIP0006-SUBTY C 4
BUS_ROUTE BAPIP0006-BUSRT C 3
CITY BAPIP0006-ORT01 C 40
CITY_DISTRICT BAPIP0006LDK-CITY_DISTRICT C 40 City/district (katakana)
COMMNUMBER1 BAPIP0006LDK-COMMNUMBER1 C 20 Communication Number
COMMNUMBER2 BAPIP0006LDK-COMMNUMBER2 C 20 Communication Number
COMMNUMBER3 BAPIP0006LDK-COMMNUMBER3 C 20 Communication Number
COMMNUMBER4 BAPIP0006LDK-COMMNUMBER4 C 20 Communication Number
COMMTYPE1 BAPIP0006LDK-COMMTYPE1 C 4 Communication type
COMMTYPE2 BAPIP0006LDK-COMMTYPE2 C 4 Communication type
COMMTYPE3 BAPIP0006LDK-COMMTYPE3 C 4 Communication type
COMMTYPE4 BAPIP0006LDK-COMMTYPE4 C 4 Communication type
COMPANY_APARTMENT BAPIP0006-WKWNG C 1
CONAME BAPIP0006-NAME2 C 40
COUNTRY BAPIP0006-LAND1 C 3
COUNTY_CDE BAPIP0006LDK-COUNTY_CDE C 3 County code
DISTANCE BAPIP0006-ENTKM P 2
DISTANCE2 BAPIP0006-ENTK2 P 2
DISTRICT BAPIP0006-ORT02 C 40
HOUSE_ID BAPIP0006LDK-HOUSE_ID C 10 Identification of an apartment in a building
HOUSE_NO BAPIP0006LDK-HOUSE_NO C 10 House number
NAMEOFCOUNTRY BAPIP0006-NAMEOFLAND1 C 15
NAMEOFSTATE BAPIP0006-NAMEOFSTATE C 20
POSTALCODECITY BAPIP0006-PSTLZ C 10
RETURN BAPIRETURN1 u 470
SCNDADDRESSLINE BAPIP0006-LOCAT C 40
STATE BAPIP0006-STATE C 3
STREETANDHOUSENO BAPIP0006-STRAS C 60
TELEPHONENUMBER BAPIP0006-TELNR C 14

Functionality
You can use this method to read an Addresses record (0006).

Notes
Messages are transferred to the RETURN parameter. The relevantparameter documentation contains the return values and their meanings.
The key fields used by the method are described in the parameterdocumentation.

Description
For information on the subtype, read the relevant data elementdocumentation: Subtype.

Description
City

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

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

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

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

Description
Communication type

Description
Communication type

Description
Communication type

Description
Communication type

Description
For information on the C/O name, read the relevant data elementdocumentation: C/O name.

Description
For information on the country key, read the relevant data elementdocumentation: Country key.

Description
District

Description
Name of country

Description
Name of state

Description
Postal code

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,,PG,,009,,No data stored for record in selected period.

Description
Second address line.

Description
For information on the region (state, province, county), read therelevant data element documentation: 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.
  • Description
    Telephone number
    INCLUDE BAPI_KEYFIELD
    INCLUDE BAPI_KEYFIELD
    INCLUDE BAPI_KEYFIELD
    INCLUDE BAPI_KEYFIELD
    INCLUDE BAPI_KEYFIELD
    INCLUDE BAPI_KEYFIELD
    INCLUDE BAPI_KEYFIELD