BAPI_EMPTAXPL_SIMULATECREATN 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_EMPTAXPL_SIMULATECREATN into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
PTAX_PL
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'BAPI_EMPTAXPL_SIMULATECREATN' "Simulation: Create personal data
* EXPORTING
* toidn = " bapip0413-toidn
* costr = " bapip0413-costr
* contr = " bapip0413-contr
* dnind = " bapip0413-dnind
* nocommit = " bapi_stand-no_commit
IMPORTING
return = " bapireturn1
employeenumber = " bapip0413-pernr
subtype = " bapip0413-subty
objectid = " bapip0413-objps
lockindicator = " bapip0413-sprps
validitybegin = " bapip0413-begda
validityend = " bapip0413-endda
recordnumber = " bapip0413-seqnr
. " BAPI_EMPTAXPL_SIMULATECREATN
The ABAP code below is a full code listing to execute function module BAPI_EMPTAXPL_SIMULATECREATN 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 BAPIP0413-PERNR , |
| ld_subtype | TYPE BAPIP0413-SUBTY , |
| ld_objectid | TYPE BAPIP0413-OBJPS , |
| ld_lockindicator | TYPE BAPIP0413-SPRPS , |
| ld_validitybegin | TYPE BAPIP0413-BEGDA , |
| ld_validityend | TYPE BAPIP0413-ENDDA , |
| ld_recordnumber | TYPE BAPIP0413-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 BAPIP0413-PERNR , |
| ld_subtype | TYPE BAPIP0413-SUBTY , |
| ld_objectid | TYPE BAPIP0413-OBJPS , |
| ld_toidn | TYPE BAPIP0413-TOIDN , |
| ld_lockindicator | TYPE BAPIP0413-SPRPS , |
| ld_costr | TYPE BAPIP0413-COSTR , |
| ld_validitybegin | TYPE BAPIP0413-BEGDA , |
| ld_contr | TYPE BAPIP0413-CONTR , |
| ld_validityend | TYPE BAPIP0413-ENDDA , |
| ld_dnind | TYPE BAPIP0413-DNIND , |
| ld_recordnumber | TYPE BAPIP0413-SEQNR , |
| ld_nocommit | TYPE BAPI_STAND-NO_COMMIT . |
You can use this method to simulate creation of a
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_EMPTAXPL_SIMULATECREATN or its description.
BAPI_EMPTAXPL_SIMULATECREATN - Simulation: Create personal data BAPI_EMPTAXPL_GETLIST - Read instances BAPI_EMPTAXPL_GETDETAILEDLIST - Read instances with data BAPI_EMPTAXPL_GETDETAIL - Read personal data BAPI_EMPTAXPL_DELIMIT - Delimit personal data validity period BAPI_EMPTAXPL_DELETE - Delete personal data