BAPI_INTCONTROLCREATESUCCESSOR is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name BAPI_INTCONTROLCREATESUCCESSOR into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
PICO
Released Date:
16.09.1997
Processing type: Remote-Enabled
CALL FUNCTION 'BAPI_INTCONTROLCREATESUCCESSOR' "Create subsequent internal control record
EXPORTING
employeenumber = " bapip0032-pernr Personnel number
validitybegin = " bapip0032-begda Valid from date
validityend = " bapip0032-endda Valid To Date
* licenseplateno = " bapip0032-kfzkz License plate number
* buildingnumber = " bapip0032-gebnr Building number
* roomnumber = " bapip0032-zimnr Room number
* inhousetelno1 = " bapip0032-tel01 In-house telephone number
* inhousetelno2 = " bapip0032-tel02 In-house telephone number
* nocommit = " bapi_stand-no_commit COMMIT control at BAPI interface
IMPORTING
return = " bapireturn1 Structure for return code
employeenumber = " bapip0032-pernr Personnel number
subtype = " bapip0032-subty Subtype
objectid = " bapip0032-objps Object identification
lockindicator = " bapip0032-sprps Lock indicator for HR master record
validitybegin = " bapip0032-begda Valid from date
validityend = " bapip0032-endda Valid To Date
recordnumber = " bapip0032-seqnr Number of Infotype Record
. " BAPI_INTCONTROLCREATESUCCESSOR
The ABAP code below is a full code listing to execute function module BAPI_INTCONTROLCREATESUCCESSOR including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_return | TYPE BAPIRETURN1 , |
| ld_employeenumber | TYPE BAPIP0032-PERNR , |
| ld_subtype | TYPE BAPIP0032-SUBTY , |
| ld_objectid | TYPE BAPIP0032-OBJPS , |
| ld_lockindicator | TYPE BAPIP0032-SPRPS , |
| ld_validitybegin | TYPE BAPIP0032-BEGDA , |
| ld_validityend | TYPE BAPIP0032-ENDDA , |
| ld_recordnumber | TYPE BAPIP0032-SEQNR . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_return | TYPE BAPIRETURN1 , |
| ld_employeenumber | TYPE BAPIP0032-PERNR , |
| ld_employeenumber | TYPE BAPIP0032-PERNR , |
| ld_validitybegin | TYPE BAPIP0032-BEGDA , |
| ld_subtype | TYPE BAPIP0032-SUBTY , |
| ld_validityend | TYPE BAPIP0032-ENDDA , |
| ld_objectid | TYPE BAPIP0032-OBJPS , |
| ld_licenseplateno | TYPE BAPIP0032-KFZKZ , |
| ld_lockindicator | TYPE BAPIP0032-SPRPS , |
| ld_buildingnumber | TYPE BAPIP0032-GEBNR , |
| ld_validitybegin | TYPE BAPIP0032-BEGDA , |
| ld_roomnumber | TYPE BAPIP0032-ZIMNR , |
| ld_validityend | TYPE BAPIP0032-ENDDA , |
| ld_inhousetelno1 | TYPE BAPIP0032-TEL01 , |
| ld_recordnumber | TYPE BAPIP0032-SEQNR , |
| ld_inhousetelno2 | TYPE BAPIP0032-TEL02 , |
| ld_nocommit | TYPE BAPI_STAND-NO_COMMIT . |
You can use this method to create a subsequent
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BAPI_INTCONTROLCREATESUCCESSOR or its description.
BAPI_INTCONTROLCREATESUCCESSOR - Create subsequent internal control record BAPI_INSTMNTPLN_GETLIST - Retrieves Object Key for Search Criteria Transferred BAPI_INSTMNTPLN_GETDETAIL - Retrieves Installment Plan Object Data BAPI_INSTMNTPLN_CREATEFROMDATA - Create Installment Plan for Transferred Criteria BAPI_INSTMNTPLN_CHANGE - BAPI: Change Existing Installment Plan BAPI_INSPPOINT_GETREQUIREMENTS - Load Inspection Specifications and Inspection Points