Functionality With this method, you can create a subsequent record in theAddresses> infotype (0006). Example> For the validity period Jan 1 1990 - Dec 31 1999, an employee's addressis maintained in the Addresses> infotype (0006) as A Street in ACity. 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 withthe new address. This subsequent record is filled with the data fromthe previous record, but the field Street/house number> isoverwritten 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 andtheir 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 thebusiness object EMPLOYEE> was called previously. For moreinformation on the ENQUEUE method, refer to the function moduledocumentation: BAPI_EMPLOYEE_ENQUEUE. INCLUDE BAPI_KEYFIELD INCLUDE BAPI_KEYFIELD INCLUDE BAPI_KEYFIELD INCLUDE BAPI_KEYFIELDDescription INCLUDE BAPI_TABLE Value range Messages on data input> Type,,ID,,Code,,Message> E,,PA,,017,,Applicant number not yet assigned. E,,PG,,001,,Personnel number not yet assigned. E,,PG,,009,,No data stored for record in selected period. E,,PG,,184,,The employee/applicant is not yet locked. E,,PG,,429,,Not possible to specify a view indicator for ,,,,,,applicant. E,,PG,,430,,The employee is assigned to a different view ,,,,,,indicator. E,,RP,,060,,The personnel number(s) could not be locked. Other types of messages> Type,,ID,,Code,,Message> A,,PN,,018,,Cannot determine database table of the infotype. E,,PG,,428,,A complex application error has occurred. INCLUDE BAPI_KEYFIELD INCLUDE BAPI_KEYFIELD INCLUDE BAPI_KEYFIELDDescription For information on the subtype, refer to the relevant data elementdocumentation: Subtyp>.Description City Description Communication number corresponding to the communication type in thepreceding field, such as fax, telephone, pager, and so on. Description Communication number corresponding to the communication type in thepreceding field, such as fax, telephone, pager, and so on. Description Communication number corresponding to the communication type in thepreceding field, such as fax, telephone, pager, and so on. Description Communication number corresponding to the communication type in thepreceding field, such as fax, telephone, pager, and so on. Description Communication number corresponding to the communication type in thepreceding field, such as fax, telephone, pager, and so on. Description Communication number corresponding to the communication type in thepreceding field, such as fax, telephone, pager, and so on. Description Communication type Description Communication type Description Communication type Description Communication type Description Communication type Description Communication type Description For information on the C/O name, refer to the relevant data elementdocumentation: C/O-Name >.Description For information on the country key, refer to the relevant data elementdocumentation: Country key >.Description District INCLUDE BAPI_KEYFIELD Description For information on the commit control, refer to the relevant dataelement documentation: Commit control at BAPIinterface>.Description Postal code Description Second address line Description For information on the region, refer to the relevant data elementdocuentation: Region>.Description Use this field to identify the street name and house number. To do so:
|