Fonction SAP BAPI_EMPPREVIER_CHANGE - Change Previous Employer

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CITY BAPIP0023-ORT01 C 25 X City
COUNTRY BAPIP0023-LAND1 C 3 X Country key
EMPLOYEENUMBER BAPIP0023-PERNR N 8 Personnel number
EMPLOYER BAPIP0023-ARBGB C 60 X Name of employer
INDUSTRY BAPIP0023-BRANC C 4 X Industry key
JOB BAPIP0023-TAETE N 8 X Job at former employer(s)
LOCKINDICATOR BAPIP0023-SPRPS C 1 Lock indicator for HR master record
NOCOMMIT BAPI_STAND-NO_COMMIT C 1 X COMMIT control at BAPI interface
OBJECTID BAPIP0023-OBJPS C 2 Object identification
RECORDNUMBER BAPIP0023-SEQNR N 3 Number of infotype record
SUBTYPE BAPIP0023-SUBTY C 4 Subtype
VALIDITYBEGIN BAPIP0023-BEGDA D 8 Valid from date
VALIDITYEND BAPIP0023-ENDDA D 8 Validity end date

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN1 u 470 Structure for Return Code

Functionality
You can use this method to change a Previous Employment record(0023).

Notes
Messages are transferred to the RETURN parameter. The relevantparameter documentation contains the return values and their meanings.
The key fields used by the method are described in the parameterdocumentation.
You can only use this method if you have called the ENQUEUE method ofthe business object EMPLOYEE beforehand. For more information onthe ENQUEUE method, see the documentation on the function moduleBAPI_EMPLOYEE_ENQUEUE.
INCLUDE RETURN1 OBJECT DOKU ID TX
INCLUDE CITY OBJECT DOKU ID TX

Description
For information on the country key, read the relevant data elementdocumentation: Country key.
INCLUDE EMPLOYEENUMBER OBJECT DOKU ID TX
INCLUDE EMPLOYER OBJECT DOKU ID TX
INCLUDE INDUSTRY OBJECT DOKU ID TX
INCLUDE JOB OBJECT DOKU ID TX
INCLUDE LOCKINDICATOR OBJECT DOKU ID TX

Description
For information on COMMIT control, read the relevant data elementdocumentation: COMMIT control at BAPI interface.
INCLUDE OBJECTID OBJECT DOKU ID TX
INCLUDE RECORDNUMBER OBJECT DOKU ID TX
INCLUDE SUBTYPE OBJECT DOKU ID TX
INCLUDE VALIDITYBEGIN OBJECT DOKU ID TX
INCLUDE VALIDITYEND OBJECT DOKU ID TX