Fonction SAP BAPIADDREMPDK_SIMULATECREATION - Simulation: Create Employee Address

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ADDRESSTYPE BAPIP0006-SUBTY C 4
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
NOCOMMIT BAPI_STAND-NO_COMMIT C 1 X
POSTALCODECITY BAPIP0006-PSTLZ C 10 X
SCNDADDRESSLINE BAPIP0006-LOCAT C 40 X
STATE BAPIP0006-STATE C 3 X
STREETANDHOUSENO BAPIP0006-STRAS C 60 X
TELEPHONENUMBER BAPIP0006-TELNR C 14 X
VALIDITYBEGIN BAPIP0006-BEGDA D 8
VALIDITYEND BAPIP0006-ENDDA D 8

Paramètre Reférence Type Long. Description
EMPLOYEENUMBER BAPIP0006-PERNR N 8
LOCKINDICATOR BAPIP0006-SPRPS C 1
OBJECTID BAPIP0006-OBJPS C 2
RECORDNUMBER BAPIP0006-SEQNR N 3
RETURN BAPIRETURN1 u 470
SUBTYPE BAPIP0006-SUBTY C 4
VALIDITYBEGIN BAPIP0006-BEGDA D 8
VALIDITYEND BAPIP0006-ENDDA D 8

Functionality
You can use this method to simulate creating a data record for theAddresses infotype (0006).
When doing so, all the necessary consistency checks take place,however, the data record is not written to the database.

Notes
Messages are returned in the RETURN parameter. You can find the returnvalues and their meanings in the parameter documentation.
The key fields used by the method are decribed under the parameters.

Description
You find information on the meaning of the personnel number in therelevant data element documentation: Personnel number
.

Description
Information on the en zur Bedeutung des Sperrkennzeichens für denPersonalstammsatz finden Sie in der entsprechendenDatenelement-Dokumentation: For information on the meaning of the lockindicator for the personnel master record, refer to the relevant dataelement documentation Lock indicator for HR Master Record
.

Description
For information on object identification, refer to the relevant dataelement documentation: Object-Identification.

Description
For information on the number of infotype records with the same key,refer to the relevant data element documentation: Numberof infotype records with same key.

Description
Method return code

Value range
In the case of an error, the structure contains the followinginformation

  • Message type (Field TYPE)

  • Message code (Field CODE)

  • Message Text (Field MESSAGE)

  • If successful, the structure is blank.

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

    Description
    You can find information on the meaning of the subtype in the relevantdata element documentation: Subtype.

    Description
    You can find information on the meaning of the C/O name in the relevantdata element documentation: C/O-Name
    .

    Description
    You find information on the meaning of the country key in the relevantdata element documentation : Country key
    .

    Description
    You find information on the meaning of the personnel number in therelevant data element documentation: Personnel number
    .

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

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