SAP BAPI_EMPTAXAU_REQUEST Function Module for Create Tax Australia
BAPI_EMPTAXAU_REQUEST is a standard bapi emptaxau request SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Create Tax Australia processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for bapi emptaxau request FM, simply by entering the name BAPI_EMPTAXAU_REQUEST into the relevant SAP transaction such as SE37 or SE38.
Function Group: PTAX_AU
Program Name: SAPLPTAX_AU
Main Program:
Appliation area: P
Release date: 08-Feb-2000
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function BAPI_EMPTAXAU_REQUEST pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'BAPI_EMPTAXAU_REQUEST'"Create Tax Australia.
EXPORTING
INEMPLOYEENUMBER = "Personnel number
* NUMBEROFDEPENDANTS = "Number of Dependants
* TAXREBATE = "Rebate Key
* TAXREBATEAMOUNT = "Tax Rebate Amount
* NOCOMMIT = "COMMIT control at BAPI interface
INVALIDITYBEGIN = "Valid from date
INVALIDITYEND = "Valid to date
* TAXFILENUMBER = "Tax File Number (TFN)
* DATETFNPROVIDED = "Date tax file number was provided
* TAXSCALE = "Tax Scale
* HECSCONTRIBUTOR = "HECS Contributor
* GROUPCERTIFICATEISSUED = "Group Certificate Issued
* MEDICARELEVYEXEMPTION = "Medicare Levy Exemption
IMPORTING
RETURN = "Structure for return code
EMPLOYEENUMBER = "
SUBTYPE = "Subtype
OBJECTID = "Object identification
LOCKINDICATOR = "Lock indicator for HR master record
VALIDITYBEGIN = "
VALIDITYEND = "
RECORDNUMBER = "Number of infotype record
IMPORTING Parameters details for BAPI_EMPTAXAU_REQUEST
INEMPLOYEENUMBER - Personnel number
Data type: BAPIP0188-PERNROptional: No
Call by Reference: No ( called with pass by value option)
NUMBEROFDEPENDANTS - Number of Dependants
Data type: BAPIP0188-NODEPOptional: Yes
Call by Reference: No ( called with pass by value option)
TAXREBATE - Rebate Key
Data type: BAPIP0188-REBATOptional: Yes
Call by Reference: No ( called with pass by value option)
TAXREBATEAMOUNT - Tax Rebate Amount
Data type: BAPIP0188-TAXFIOptional: Yes
Call by Reference: No ( called with pass by value option)
NOCOMMIT - COMMIT control at BAPI interface
Data type: BAPI_STAND-NO_COMMITOptional: Yes
Call by Reference: No ( called with pass by value option)
INVALIDITYBEGIN - Valid from date
Data type: BAPIP0188-BEGDAOptional: No
Call by Reference: No ( called with pass by value option)
INVALIDITYEND - Valid to date
Data type: BAPIP0188-ENDDAOptional: No
Call by Reference: No ( called with pass by value option)
TAXFILENUMBER - Tax File Number (TFN)
Data type: BAPIP0188-TAXFNOptional: Yes
Call by Reference: No ( called with pass by value option)
DATETFNPROVIDED - Date tax file number was provided
Data type: BAPIP0188-TFNDPOptional: Yes
Call by Reference: No ( called with pass by value option)
TAXSCALE - Tax Scale
Data type: BAPIP0188-TAXSCOptional: Yes
Call by Reference: No ( called with pass by value option)
HECSCONTRIBUTOR - HECS Contributor
Data type: BAPIP0188-HECSFOptional: Yes
Call by Reference: No ( called with pass by value option)
GROUPCERTIFICATEISSUED - Group Certificate Issued
Data type: BAPIP0188-GCISSOptional: Yes
Call by Reference: No ( called with pass by value option)
MEDICARELEVYEXEMPTION - Medicare Levy Exemption
Data type: BAPIP0188-MEDEXOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for BAPI_EMPTAXAU_REQUEST
RETURN - Structure for return code
Data type: BAPIRETURN1Optional: No
Call by Reference: No ( called with pass by value option)
EMPLOYEENUMBER -
Data type: BAPIP0188-PERNROptional: No
Call by Reference: No ( called with pass by value option)
SUBTYPE - Subtype
Data type: BAPIP0188-SUBTYOptional: No
Call by Reference: No ( called with pass by value option)
OBJECTID - Object identification
Data type: BAPIP0188-OBJPSOptional: No
Call by Reference: No ( called with pass by value option)
LOCKINDICATOR - Lock indicator for HR master record
Data type: BAPIP0188-SPRPSOptional: No
Call by Reference: No ( called with pass by value option)
VALIDITYBEGIN -
Data type: BAPIP0188-BEGDAOptional: No
Call by Reference: No ( called with pass by value option)
VALIDITYEND -
Data type: BAPIP0188-ENDDAOptional: No
Call by Reference: No ( called with pass by value option)
RECORDNUMBER - Number of infotype record
Data type: BAPIP0188-SEQNROptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BAPI_EMPTAXAU_REQUEST Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_return | TYPE BAPIRETURN1, " | |||
| lv_inemployeenumber | TYPE BAPIP0188-PERNR, " | |||
| lv_numberofdependants | TYPE BAPIP0188-NODEP, " | |||
| lv_taxrebate | TYPE BAPIP0188-REBAT, " | |||
| lv_taxrebateamount | TYPE BAPIP0188-TAXFI, " | |||
| lv_nocommit | TYPE BAPI_STAND-NO_COMMIT, " | |||
| lv_employeenumber | TYPE BAPIP0188-PERNR, " | |||
| lv_invaliditybegin | TYPE BAPIP0188-BEGDA, " | |||
| lv_subtype | TYPE BAPIP0188-SUBTY, " | |||
| lv_invalidityend | TYPE BAPIP0188-ENDDA, " | |||
| lv_objectid | TYPE BAPIP0188-OBJPS, " | |||
| lv_taxfilenumber | TYPE BAPIP0188-TAXFN, " | |||
| lv_lockindicator | TYPE BAPIP0188-SPRPS, " | |||
| lv_datetfnprovided | TYPE BAPIP0188-TFNDP, " | |||
| lv_taxscale | TYPE BAPIP0188-TAXSC, " | |||
| lv_validitybegin | TYPE BAPIP0188-BEGDA, " | |||
| lv_validityend | TYPE BAPIP0188-ENDDA, " | |||
| lv_hecscontributor | TYPE BAPIP0188-HECSF, " | |||
| lv_recordnumber | TYPE BAPIP0188-SEQNR, " | |||
| lv_groupcertificateissued | TYPE BAPIP0188-GCISS, " | |||
| lv_medicarelevyexemption | TYPE BAPIP0188-MEDEX. " |
|   CALL FUNCTION 'BAPI_EMPTAXAU_REQUEST' "Create Tax Australia |
| EXPORTING | ||
| INEMPLOYEENUMBER | = lv_inemployeenumber | |
| NUMBEROFDEPENDANTS | = lv_numberofdependants | |
| TAXREBATE | = lv_taxrebate | |
| TAXREBATEAMOUNT | = lv_taxrebateamount | |
| NOCOMMIT | = lv_nocommit | |
| INVALIDITYBEGIN | = lv_invaliditybegin | |
| INVALIDITYEND | = lv_invalidityend | |
| TAXFILENUMBER | = lv_taxfilenumber | |
| DATETFNPROVIDED | = lv_datetfnprovided | |
| TAXSCALE | = lv_taxscale | |
| HECSCONTRIBUTOR | = lv_hecscontributor | |
| GROUPCERTIFICATEISSUED | = lv_groupcertificateissued | |
| MEDICARELEVYEXEMPTION | = lv_medicarelevyexemption | |
| IMPORTING | ||
| RETURN | = lv_return | |
| EMPLOYEENUMBER | = lv_employeenumber | |
| SUBTYPE | = lv_subtype | |
| OBJECTID | = lv_objectid | |
| LOCKINDICATOR | = lv_lockindicator | |
| VALIDITYBEGIN | = lv_validitybegin | |
| VALIDITYEND | = lv_validityend | |
| RECORDNUMBER | = lv_recordnumber | |
| . " BAPI_EMPTAXAU_REQUEST | ||
ABAP code using 7.40 inline data declarations to call FM BAPI_EMPTAXAU_REQUEST
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single PERNR FROM BAPIP0188 INTO @DATA(ld_inemployeenumber). | ||||
| "SELECT single NODEP FROM BAPIP0188 INTO @DATA(ld_numberofdependants). | ||||
| "SELECT single REBAT FROM BAPIP0188 INTO @DATA(ld_taxrebate). | ||||
| "SELECT single TAXFI FROM BAPIP0188 INTO @DATA(ld_taxrebateamount). | ||||
| "SELECT single NO_COMMIT FROM BAPI_STAND INTO @DATA(ld_nocommit). | ||||
| "SELECT single PERNR FROM BAPIP0188 INTO @DATA(ld_employeenumber). | ||||
| "SELECT single BEGDA FROM BAPIP0188 INTO @DATA(ld_invaliditybegin). | ||||
| "SELECT single SUBTY FROM BAPIP0188 INTO @DATA(ld_subtype). | ||||
| "SELECT single ENDDA FROM BAPIP0188 INTO @DATA(ld_invalidityend). | ||||
| "SELECT single OBJPS FROM BAPIP0188 INTO @DATA(ld_objectid). | ||||
| "SELECT single TAXFN FROM BAPIP0188 INTO @DATA(ld_taxfilenumber). | ||||
| "SELECT single SPRPS FROM BAPIP0188 INTO @DATA(ld_lockindicator). | ||||
| "SELECT single TFNDP FROM BAPIP0188 INTO @DATA(ld_datetfnprovided). | ||||
| "SELECT single TAXSC FROM BAPIP0188 INTO @DATA(ld_taxscale). | ||||
| "SELECT single BEGDA FROM BAPIP0188 INTO @DATA(ld_validitybegin). | ||||
| "SELECT single ENDDA FROM BAPIP0188 INTO @DATA(ld_validityend). | ||||
| "SELECT single HECSF FROM BAPIP0188 INTO @DATA(ld_hecscontributor). | ||||
| "SELECT single SEQNR FROM BAPIP0188 INTO @DATA(ld_recordnumber). | ||||
| "SELECT single GCISS FROM BAPIP0188 INTO @DATA(ld_groupcertificateissued). | ||||
| "SELECT single MEDEX FROM BAPIP0188 INTO @DATA(ld_medicarelevyexemption). | ||||
Search for further information about these or an SAP related objects