Ansicht
Dokumentation

BAPI_ADDREMPDK_CREATESUCCESSOR - Create Subs.Employee Address Record

BAPI_ADDREMPDK_CREATESUCCESSOR - Create Subs.Employee Address Record

BAL_S_LOG - Application Log: Log header data   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

With this method, you can create a subsequent record in the Addresses infotype (0006).

Example

For the validity period Jan 1 1990 - Dec 31 1999, an employee's address is maintained in the Addresses infotype (0006) as A Street in A City.

On Jan 1, the employee moves. The new address is: B Street in A City.

With the method CREATESUCCESSOR you can create a subsequent record with the new address. This subsequent record is filled with the data from the previous record, but the field Street/house number is overwritten with the new street name.

The previous record is delimited to 31 Dec 1996.

Notes

Messages are returned in the RETURN parameter. The return values and their meanings are displayed in the parameter documentation.

The key fields used by the method are described under the parameters.

This method can only be used if the method if the ENQUEUE method in the business object EMPLOYEE was called previously. For more information on the ENQUEUE method, refer to the function module documentation: BAPI_EMPLOYEE_ENQUEUE.





Parameters

ADDRESSTYPE
BUS_ROUTE
CITY
CITY_DISTRICT
COMMNUMBER1
COMMNUMBER2
COMMNUMBER3
COMMNUMBER4
COMMNUMBER5
COMMNUMBER6
COMMTYPE1
COMMTYPE2
COMMTYPE3
COMMTYPE4
COMMTYPE5
COMMTYPE6
COMPANY_APARTMENT
CONAME
COUNTRY
COUNTY_CDE
DISTANCE
DISTANCE2
DISTRICT
EMPLOYEENUMBER
EMPLOYEENUMBER
HOUSE_ID
HOUSE_NO
LOCKINDICATOR
NOCOMMIT
OBJECTID
POSTALCODECITY
RECORDNUMBER
RETURN
SCNDADDRESSLINE
STATE
STREETANDHOUSENO
SUBTYPE
TELEPHONENUMBER
VALIDITYBEGIN
VALIDITYBEGIN
VALIDITYEND
VALIDITYEND

Exceptions

Function Group

PADR_DK

rdisp/max_wprun_time - Maximum work process run time   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 5049 Date: 20240523 Time: 090807     sap01-206 ( 57 ms )