Ansicht
Dokumentation

BAPI_ADDREMPPL_CREATESUCCESSOR - Create subs.employee address record

BAPI_ADDREMPPL_CREATESUCCESSOR - Create subs.employee address record

Vendor Master (General Section)   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this method to create a successor record for the Addresses infotype (Infotype 0006).

Example:

The address "A Street, City A" is maintained for an employee in the Addresses infotype (Infotype 0006) with a validity period of 01.01.1990 - 31.12.9999.

The employee moves on 01.01.1997. The new address is: "B Street, City B".

You can use the CREATESUCCESSOR method to create a successor record with the new address. This successor record is filled with data from the previos record; only the field Street and house no. has to be overwritten with the new information.

The previous record is delimited on 31.12.1996.

Notes

Messages are returned in the Return parameter. The parameter documentation shows the return codes and their meanings.

The key fields used by the method are described in the parameter documentation.

You can use this method only if you have called the ENQUEUE method of the business object EMPLOYEE beforehand. For more information on the ENQUEUE method, read the documentation on the function module BAPI_EMPLOYEE_ENQUEUE.





Parameters

ADDRESSTYPE
CITY
COMMNUMBER1
COMMNUMBER2
COMMNUMBER3
COMMNUMBER4
COMMNUMBER5
COMMNUMBER6
COMMTYPE1
COMMTYPE2
COMMTYPE3
COMMTYPE4
COMMTYPE5
COMMTYPE6
CONAME
COUNTRY
DISTRICT
EMPLOYEENUMBER
EMPLOYEENUMBER
LOCKINDICATOR
MUNICIPALCODE
NOCOMMIT
OBJECTID
POSTALCODECITY
RECORDNUMBER
RETURN
SCNDADDRESSLINE
STATE
STREETANDHOUSENO
SUBTYPE
TELEPHONENUMBER
VALIDITYBEGIN
VALIDITYBEGIN
VALIDITYEND
VALIDITYEND

Exceptions

Function Group

PADR_PL

PERFORM Short Reference   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 2112 Date: 20240523 Time: 102606     sap01-206 ( 48 ms )