Fonction SAP BAPI_ADDRESSEMPES_REQUEST - Create locked employee address

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ADDRESSTYPE BAPIP0006-SUBTY C 4 Subtype
BUSROUTE BAPIP0006LES-BUSROUTE C 3 X
CITY BAPIP0006-ORT01 C 40 X Location
COMMNUMBER1 BAPIP0006LES-COMMNUMBER1 C 20 X
COMMNUMBER2 BAPIP0006LES-COMMNUMBER2 C 20 X
COMMNUMBER3 BAPIP0006LES-COMMNUMBER3 C 20 X
COMMNUMBER4 BAPIP0006LES-COMMNUMBER4 C 20 X
COMMTYPE1 BAPIP0006LES-COMMTYPE1 C 4 X
COMMTYPE2 BAPIP0006LES-COMMTYPE2 C 4 X
COMMTYPE3 BAPIP0006LES-COMMTYPE3 C 4 X
COMMTYPE4 BAPIP0006LES-COMMTYPE4 C 4 X
COMPANYOWNEDAPT BAPIP0006-WKWNG C 1 X
CONAME BAPIP0006-NAME2 C 40 X C/O Name
COUNTRY BAPIP0006-LAND1 C 3 X Country key
DISTANCEINKM BAPIP0006LES-DISTANCEINKM P 2 X
DISTANCEINKM1 BAPIP0006LES-DISTANCEINKM1 P 2 X
DISTRICT BAPIP0006-ORT02 C 40 X
EMPLOYEENUMBER BAPIP0006-PERNR N 8 Personnel number
HOUSE_NO BAPIP0006-HSNMR C 10 X
NOCOMMIT BAPI_STAND-NO_COMMIT C 1 X
POSTA BAPIP0006-POSTA C 10 X
POSTALCODECITY BAPIP0006-PSTLZ C 10 X Postal code
SCNDADDRESSLINE BAPIP0006-LOCAT C 40 X
STATE BAPIP0006-STATE C 3 X Region
STREET BAPIP0006-STRAS C 60 X VALIDITYEND
STREETABV BAPIP0006LES-STREETABV C 2 X VALIDITYBEGIN
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
EMPLOYEENUMBER BAPIP0006-PERNR N 8 Personnel number
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 Valid from date
VALIDITYEND BAPIP0006-ENDDA D 8 Valid to date

Functionality
With this method, you can create for the infotype Addresses alocked data record.
Together with the APPROVE method, the dual control is carried out.Following this dual control, there are at least two users introducingactive record data in the data bank. One of the users creates with themethod REQUEST a locked record infotype. The other user activates therecord data with the APPROVE method.

Notes
Notifications will be assigned in parametre RETURN. In the parametredocumentation, you will find the return value and its descriptions.
The key fields used by this method are described in parametre.
This method can only be used if the ENQUEUE business object methodEMPLOYEE is called. Further information regarding the ENQUEUEmethod can be found in the function module documentation.BAPI_EMPLOYEE_ENQUEUE.
Further information on the APPROVE method can be found in the functionmodule documentation.BAPI_ADDRESSEMP_APPROVE.