CreateSuccessor
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 recordwith 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. NotesMessages are returned in the Return parameter. The parameterdocumentation 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.
|