SAP BAPI_EMPTAXTH_CREATE Function Module for Create Tax Thailand









BAPI_EMPTAXTH_CREATE is a standard bapi emptaxth create 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 Thailand 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 emptaxth create FM, simply by entering the name BAPI_EMPTAXTH_CREATE into the relevant SAP transaction such as SE37 or SE38.

Function Group: PTAX_TH
Program Name: SAPLPTAX_TH
Main Program: SAPLPTAX_TH
Appliation area: P
Release date: 01-Feb-2000
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function BAPI_EMPTAXTH_CREATE 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_EMPTAXTH_CREATE'"Create Tax Thailand
EXPORTING
INEMPLOYEENUMBER = "Personnel Number
* CHARITYAMOUNT = "Charity amount
* CHARITYCURRENCY = "Currency key
* CHILDRENFORCHILDALLOWANCE = "Number of children for child allowance
* CHILDRENFOREDUCATIONALLOWANCE = "Number of children for education allowance
* SPOUSEINSURANCEPREMIUM = "Spouse Insurance Amount for Tax Allowance TH
* SPOUSEINSURANCECURRENCY = "Currency key
* ALLTY = "Type of Allowance (Subtype)
* MFUNDINVESTMENT = "Mutual fund investment amount for Tax allowance
* MFUNDCURRENCY = "Currency Key
* HALLWCASH = "Housing allowance - Cash amount for Tax allowance
INVALIDITYBEGIN = "Start date
* HALLWCASHCURR = "Currency Key
* HALLWHIRE = "Housing allowance - Hire purchase amount for Tax allowance
* HALLWHIRECURR = "Currency Key
* PENSIONFUNDINVESTMENT = "Pension Fund amount for Tax allowance
* PENSIONFUNDCURR = "Currency Key
* LONGTERMEQUITYFUND = "Long Term Equity Fund amount for Tax allowance
* LONGTERMEQFUNDCURR = "Currency Key
* CHARITYFOREDUCATION = "Charity for Education Amount
* CHARITYFOREDUCATIONCURR = "Currency Key
* PARENTALCONTRIBUTIONFATHER = "Parental Contribution (Father) amount for Tax allowance
INVALIDITYEND = "End Date
* FATHERCONTRCURR = "Currency Key
* PARENTALCONTRIBUTIONMOTHER = "Parental Contribution (Mother) amount for Tax allowance
* MOTHERCONTRCURR = "Currency Key
* SPOUSEPARENTALCTRFATHER = "Spouse's Parental Contribution (Father) for Tax allowance
* SPOUSEFATHERCONTRCURR = "Currency Key
* SPOUSEPARENTALCTRMOTHER = "Spouse's Parental Contribution (Mother) for Tax allowance
* SPOUSEMOTHERCONTRCURR = "Currency Key
* SPORTSCONTR = "Sports Contribution for Tax allowance
* SPORTSCONTRCURR = "Currency Key
* FATHERINSPREMCTR = "Parents' Ins. Premium (Father)
* TAXID = "Tax Identification Number (TH)
* FATHERINSPREMCTRCURR = "Currency Key
* MOTHERINSPREMCTR = "Parents' Ins. Premium (Mother)
* MOTHERINSPREMCTRCURR = "Currency Key
* SPFATHINSPREMCTR = "Parents' Ins. Premium (Spouse Father)
* SPFATHINSPREMCTRCURR = "Currency Key
* SPMOTHINSPREMCTR = "Parents' Ins. Premium ( Spouse Mother)
* SPMOTHINSPREMCTRCURR = "Currency Key
* IMMOVABLEEXPENSES = "Expenses for buying immovable property
* IMMOVABLEEXPENSESCURR = "Currency Key
* DISABLEALLOWANCE = "Disabled Dependent Allowance Status (TH)
* SPOUSEALLOWANCE = "Spouse Allowance Status (TH)
* DISABLEDFORDEPENDENTALLOWANCE = "Number of Disabled for Disabled Dependent Allowance
* TOURISMEXEMPTION = "Tourism Exemption
* TOURISMEXEMPTIONCURR = "Currency Key
* LIFEINSPNSN = "Life Insurance Pension
* LIFEINSPNSNCURR = "Currency Key
* NOCOMMIT = "COMMIT control at BAPI interface
* LIFEINSURANCEPREMIUM = "Life insurance premium
* LIFEINSURANCECURRENCY = "Currency key
* MORTGAGEINTEREST = "Mortgage interest
* MORTGAGECURRENCY = "Currency key

IMPORTING
RETURN = "Structure for return code
SUBTYPE = "Subtype
OBJECTID = "Object identification
LOCKINDICATOR = "Lock indicator for HR master record
RECORDNUMBER = "Number of infotype record
EMPLOYEENUMBER = "Personnel number
VALIDITYBEGIN = "Valid from date
VALIDITYEND = "Valid to date
.



IMPORTING Parameters details for BAPI_EMPTAXTH_CREATE

INEMPLOYEENUMBER - Personnel Number

Data type: BAPIP0364-PERNR
Optional: No
Call by Reference: No ( called with pass by value option)

CHARITYAMOUNT - Charity amount

Data type: BAPIP0364-CHARITYAMOUNT
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHARITYCURRENCY - Currency key

Data type: BAPIP0364-CHARITYCURRENCY
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHILDRENFORCHILDALLOWANCE - Number of children for child allowance

Data type: BAPIP0364-CHILDRENFORCHILDALLOWANCE
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHILDRENFOREDUCATIONALLOWANCE - Number of children for education allowance

Data type: BAPIP0364-CHILDRENFOREDUCATIONALLOWANCE
Optional: Yes
Call by Reference: No ( called with pass by value option)

SPOUSEINSURANCEPREMIUM - Spouse Insurance Amount for Tax Allowance TH

Data type: BAPIP0364-SPOUSEINSURANCEPREMIUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

SPOUSEINSURANCECURRENCY - Currency key

Data type: BAPIP0364-SPOUSEINSURANCECURRENCY
Optional: Yes
Call by Reference: No ( called with pass by value option)

ALLTY - Type of Allowance (Subtype)

Data type: BAPIP0364-ALLTY
Optional: Yes
Call by Reference: No ( called with pass by value option)

MFUNDINVESTMENT - Mutual fund investment amount for Tax allowance

Data type: BAPIP0364-MFUNDINVESTMENT
Optional: Yes
Call by Reference: No ( called with pass by value option)

MFUNDCURRENCY - Currency Key

Data type: BAPIP0364-MFUNDCURRENCY
Optional: Yes
Call by Reference: No ( called with pass by value option)

HALLWCASH - Housing allowance - Cash amount for Tax allowance

Data type: BAPIP0364-HALLWCASH
Optional: Yes
Call by Reference: No ( called with pass by value option)

INVALIDITYBEGIN - Start date

Data type: BAPIP0364-BEGDA
Optional: No
Call by Reference: No ( called with pass by value option)

HALLWCASHCURR - Currency Key

Data type: BAPIP0364-HALLWCASHCURR
Optional: Yes
Call by Reference: No ( called with pass by value option)

HALLWHIRE - Housing allowance - Hire purchase amount for Tax allowance

Data type: BAPIP0364-HALLWHIRE
Optional: Yes
Call by Reference: No ( called with pass by value option)

HALLWHIRECURR - Currency Key

Data type: BAPIP0364-HALLWHIRECURR
Optional: Yes
Call by Reference: No ( called with pass by value option)

PENSIONFUNDINVESTMENT - Pension Fund amount for Tax allowance

Data type: BAPIP0364-PENSIONFUNDINVESTMENT
Optional: Yes
Call by Reference: No ( called with pass by value option)

PENSIONFUNDCURR - Currency Key

Data type: BAPIP0364-PENSIONFUNDCURR
Optional: Yes
Call by Reference: No ( called with pass by value option)

LONGTERMEQUITYFUND - Long Term Equity Fund amount for Tax allowance

Data type: BAPIP0364-LONGTERMEQUITYFUND
Optional: Yes
Call by Reference: No ( called with pass by value option)

LONGTERMEQFUNDCURR - Currency Key

Data type: BAPIP0364-LONGTERMEQFUNDCURR
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHARITYFOREDUCATION - Charity for Education Amount

Data type: BAPIP0364-CHARITYFOREDUCATION
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHARITYFOREDUCATIONCURR - Currency Key

Data type: BAPIP0364-CHARITYFOREDUCATIONCURR
Optional: Yes
Call by Reference: No ( called with pass by value option)

PARENTALCONTRIBUTIONFATHER - Parental Contribution (Father) amount for Tax allowance

Data type: BAPIP0364-PARENTALCONTRIBUTIONFATHER
Optional: Yes
Call by Reference: No ( called with pass by value option)

INVALIDITYEND - End Date

Data type: BAPIP0364-ENDDA
Optional: No
Call by Reference: No ( called with pass by value option)

FATHERCONTRCURR - Currency Key

Data type: BAPIP0364-FATHERCONTRCURR
Optional: Yes
Call by Reference: No ( called with pass by value option)

PARENTALCONTRIBUTIONMOTHER - Parental Contribution (Mother) amount for Tax allowance

Data type: BAPIP0364-PARENTALCONTRIBUTIONMOTHER
Optional: Yes
Call by Reference: No ( called with pass by value option)

MOTHERCONTRCURR - Currency Key

Data type: BAPIP0364-MOTHERCONTRCURR
Optional: Yes
Call by Reference: No ( called with pass by value option)

SPOUSEPARENTALCTRFATHER - Spouse's Parental Contribution (Father) for Tax allowance

Data type: BAPIP0364-SPOUSEPARENTALCTRFATHER
Optional: Yes
Call by Reference: No ( called with pass by value option)

SPOUSEFATHERCONTRCURR - Currency Key

Data type: BAPIP0364-SPOUSEFATHERCONTRCURR
Optional: Yes
Call by Reference: No ( called with pass by value option)

SPOUSEPARENTALCTRMOTHER - Spouse's Parental Contribution (Mother) for Tax allowance

Data type: BAPIP0364-SPOUSEPARENTALCTRMOTHER
Optional: Yes
Call by Reference: No ( called with pass by value option)

SPOUSEMOTHERCONTRCURR - Currency Key

Data type: BAPIP0364-SPOUSEMOTHERCONTRCURR
Optional: Yes
Call by Reference: No ( called with pass by value option)

SPORTSCONTR - Sports Contribution for Tax allowance

Data type: BAPIP0364-SPORTSCONTR
Optional: Yes
Call by Reference: No ( called with pass by value option)

SPORTSCONTRCURR - Currency Key

Data type: BAPIP0364-SPORTSCONTRCURR
Optional: Yes
Call by Reference: No ( called with pass by value option)

FATHERINSPREMCTR - Parents' Ins. Premium (Father)

Data type: BAPIP0364-FATHERINSPREMCTR
Optional: Yes
Call by Reference: No ( called with pass by value option)

TAXID - Tax Identification Number (TH)

Data type: BAPIP0364-TAXID
Optional: Yes
Call by Reference: No ( called with pass by value option)

FATHERINSPREMCTRCURR - Currency Key

Data type: BAPIP0364-FATHERINSPREMCTRCURR
Optional: Yes
Call by Reference: No ( called with pass by value option)

MOTHERINSPREMCTR - Parents' Ins. Premium (Mother)

Data type: BAPIP0364-MOTHERINSPREMCTR
Optional: Yes
Call by Reference: No ( called with pass by value option)

MOTHERINSPREMCTRCURR - Currency Key

Data type: BAPIP0364-MOTHERINSPREMCTRCURR
Optional: Yes
Call by Reference: No ( called with pass by value option)

SPFATHINSPREMCTR - Parents' Ins. Premium (Spouse Father)

Data type: BAPIP0364-SPFATHINSPREMCTR
Optional: Yes
Call by Reference: No ( called with pass by value option)

SPFATHINSPREMCTRCURR - Currency Key

Data type: BAPIP0364-SPFATHINSPREMCTRCURR
Optional: Yes
Call by Reference: No ( called with pass by value option)

SPMOTHINSPREMCTR - Parents' Ins. Premium ( Spouse Mother)

Data type: BAPIP0364-SPMOTHINSPREMCTR
Optional: Yes
Call by Reference: No ( called with pass by value option)

SPMOTHINSPREMCTRCURR - Currency Key

Data type: BAPIP0364-SPMOTHINSPREMCTRCURR
Optional: Yes
Call by Reference: No ( called with pass by value option)

IMMOVABLEEXPENSES - Expenses for buying immovable property

Data type: BAPIP0364-IMMOVABLEEXPENSES
Optional: Yes
Call by Reference: No ( called with pass by value option)

IMMOVABLEEXPENSESCURR - Currency Key

Data type: BAPIP0364-IMMOVABLEEXPENSESCURR
Optional: Yes
Call by Reference: No ( called with pass by value option)

DISABLEALLOWANCE - Disabled Dependent Allowance Status (TH)

Data type: BAPIP0364-DISABLEALLOWANCE
Optional: Yes
Call by Reference: No ( called with pass by value option)

SPOUSEALLOWANCE - Spouse Allowance Status (TH)

Data type: BAPIP0364-SPOUSEALLOWANCE
Optional: Yes
Call by Reference: No ( called with pass by value option)

DISABLEDFORDEPENDENTALLOWANCE - Number of Disabled for Disabled Dependent Allowance

Data type: BAPIP0364-DISABLEDFORDEPENDENTALLOWANCE
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOURISMEXEMPTION - Tourism Exemption

Data type: BAPIP0364-TOURISMEXEMPTION
Optional: Yes
Call by Reference: No ( called with pass by value option)

TOURISMEXEMPTIONCURR - Currency Key

Data type: BAPIP0364-TOURISMEXEMPTIONCURR
Optional: Yes
Call by Reference: No ( called with pass by value option)

LIFEINSPNSN - Life Insurance Pension

Data type: BAPIP0364-LIFEINSURANCEPENSION
Optional: Yes
Call by Reference: No ( called with pass by value option)

LIFEINSPNSNCURR - Currency Key

Data type: BAPIP0364-LIFEPENSIONINCURRENCY
Optional: Yes
Call by Reference: No ( called with pass by value option)

NOCOMMIT - COMMIT control at BAPI interface

Data type: BAPI_STAND-NO_COMMIT
Optional: Yes
Call by Reference: No ( called with pass by value option)

LIFEINSURANCEPREMIUM - Life insurance premium

Data type: BAPIP0364-LIFEINSURANCEPREMIUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

LIFEINSURANCECURRENCY - Currency key

Data type: BAPIP0364-LIFEINSURANCECURRENCY
Optional: Yes
Call by Reference: No ( called with pass by value option)

MORTGAGEINTEREST - Mortgage interest

Data type: BAPIP0364-MORTGAGEINTEREST
Optional: Yes
Call by Reference: No ( called with pass by value option)

MORTGAGECURRENCY - Currency key

Data type: BAPIP0364-MORTGAGECURRENCY
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for BAPI_EMPTAXTH_CREATE

RETURN - Structure for return code

Data type: BAPIRETURN1
Optional: No
Call by Reference: No ( called with pass by value option)

SUBTYPE - Subtype

Data type: BAPIP0364-SUBTY
Optional: No
Call by Reference: No ( called with pass by value option)

OBJECTID - Object identification

Data type: BAPIP0364-OBJPS
Optional: No
Call by Reference: No ( called with pass by value option)

LOCKINDICATOR - Lock indicator for HR master record

Data type: BAPIP0364-SPRPS
Optional: No
Call by Reference: No ( called with pass by value option)

RECORDNUMBER - Number of infotype record

Data type: BAPIP0364-SEQNR
Optional: No
Call by Reference: No ( called with pass by value option)

EMPLOYEENUMBER - Personnel number

Data type: BAPIP0364-PERNR
Optional: No
Call by Reference: No ( called with pass by value option)

VALIDITYBEGIN - Valid from date

Data type: BAPIP0364-BEGDA
Optional: No
Call by Reference: No ( called with pass by value option)

VALIDITYEND - Valid to date

Data type: BAPIP0364-ENDDA
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for BAPI_EMPTAXTH_CREATE 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 BAPIP0364-PERNR, "   
lv_charityamount  TYPE BAPIP0364-CHARITYAMOUNT, "   
lv_charitycurrency  TYPE BAPIP0364-CHARITYCURRENCY, "   
lv_childrenforchildallowance  TYPE BAPIP0364-CHILDRENFORCHILDALLOWANCE, "   
lv_childrenforeducationallowance  TYPE BAPIP0364-CHILDRENFOREDUCATIONALLOWANCE, "   
lv_spouseinsurancepremium  TYPE BAPIP0364-SPOUSEINSURANCEPREMIUM, "   
lv_spouseinsurancecurrency  TYPE BAPIP0364-SPOUSEINSURANCECURRENCY, "   
lv_allty  TYPE BAPIP0364-ALLTY, "   
lv_mfundinvestment  TYPE BAPIP0364-MFUNDINVESTMENT, "   
lv_mfundcurrency  TYPE BAPIP0364-MFUNDCURRENCY, "   
lv_hallwcash  TYPE BAPIP0364-HALLWCASH, "   
lv_subtype  TYPE BAPIP0364-SUBTY, "   
lv_invaliditybegin  TYPE BAPIP0364-BEGDA, "   
lv_hallwcashcurr  TYPE BAPIP0364-HALLWCASHCURR, "   
lv_hallwhire  TYPE BAPIP0364-HALLWHIRE, "   
lv_hallwhirecurr  TYPE BAPIP0364-HALLWHIRECURR, "   
lv_pensionfundinvestment  TYPE BAPIP0364-PENSIONFUNDINVESTMENT, "   
lv_pensionfundcurr  TYPE BAPIP0364-PENSIONFUNDCURR, "   
lv_longtermequityfund  TYPE BAPIP0364-LONGTERMEQUITYFUND, "   
lv_longtermeqfundcurr  TYPE BAPIP0364-LONGTERMEQFUNDCURR, "   
lv_charityforeducation  TYPE BAPIP0364-CHARITYFOREDUCATION, "   
lv_charityforeducationcurr  TYPE BAPIP0364-CHARITYFOREDUCATIONCURR, "   
lv_parentalcontributionfather  TYPE BAPIP0364-PARENTALCONTRIBUTIONFATHER, "   
lv_objectid  TYPE BAPIP0364-OBJPS, "   
lv_invalidityend  TYPE BAPIP0364-ENDDA, "   
lv_fathercontrcurr  TYPE BAPIP0364-FATHERCONTRCURR, "   
lv_parentalcontributionmother  TYPE BAPIP0364-PARENTALCONTRIBUTIONMOTHER, "   
lv_mothercontrcurr  TYPE BAPIP0364-MOTHERCONTRCURR, "   
lv_spouseparentalctrfather  TYPE BAPIP0364-SPOUSEPARENTALCTRFATHER, "   
lv_spousefathercontrcurr  TYPE BAPIP0364-SPOUSEFATHERCONTRCURR, "   
lv_spouseparentalctrmother  TYPE BAPIP0364-SPOUSEPARENTALCTRMOTHER, "   
lv_spousemothercontrcurr  TYPE BAPIP0364-SPOUSEMOTHERCONTRCURR, "   
lv_sportscontr  TYPE BAPIP0364-SPORTSCONTR, "   
lv_sportscontrcurr  TYPE BAPIP0364-SPORTSCONTRCURR, "   
lv_fatherinspremctr  TYPE BAPIP0364-FATHERINSPREMCTR, "   
lv_taxid  TYPE BAPIP0364-TAXID, "   
lv_lockindicator  TYPE BAPIP0364-SPRPS, "   
lv_fatherinspremctrcurr  TYPE BAPIP0364-FATHERINSPREMCTRCURR, "   
lv_motherinspremctr  TYPE BAPIP0364-MOTHERINSPREMCTR, "   
lv_motherinspremctrcurr  TYPE BAPIP0364-MOTHERINSPREMCTRCURR, "   
lv_spfathinspremctr  TYPE BAPIP0364-SPFATHINSPREMCTR, "   
lv_spfathinspremctrcurr  TYPE BAPIP0364-SPFATHINSPREMCTRCURR, "   
lv_spmothinspremctr  TYPE BAPIP0364-SPMOTHINSPREMCTR, "   
lv_spmothinspremctrcurr  TYPE BAPIP0364-SPMOTHINSPREMCTRCURR, "   
lv_immovableexpenses  TYPE BAPIP0364-IMMOVABLEEXPENSES, "   
lv_immovableexpensescurr  TYPE BAPIP0364-IMMOVABLEEXPENSESCURR, "   
lv_disableallowance  TYPE BAPIP0364-DISABLEALLOWANCE, "   
lv_recordnumber  TYPE BAPIP0364-SEQNR, "   
lv_spouseallowance  TYPE BAPIP0364-SPOUSEALLOWANCE, "   
lv_disabledfordependentallowance  TYPE BAPIP0364-DISABLEDFORDEPENDENTALLOWANCE, "   
lv_tourismexemption  TYPE BAPIP0364-TOURISMEXEMPTION, "   
lv_tourismexemptioncurr  TYPE BAPIP0364-TOURISMEXEMPTIONCURR, "   
lv_lifeinspnsn  TYPE BAPIP0364-LIFEINSURANCEPENSION, "   
lv_lifeinspnsncurr  TYPE BAPIP0364-LIFEPENSIONINCURRENCY, "   
lv_nocommit  TYPE BAPI_STAND-NO_COMMIT, "   
lv_employeenumber  TYPE BAPIP0364-PERNR, "   
lv_lifeinsurancepremium  TYPE BAPIP0364-LIFEINSURANCEPREMIUM, "   
lv_validitybegin  TYPE BAPIP0364-BEGDA, "   
lv_lifeinsurancecurrency  TYPE BAPIP0364-LIFEINSURANCECURRENCY, "   
lv_validityend  TYPE BAPIP0364-ENDDA, "   
lv_mortgageinterest  TYPE BAPIP0364-MORTGAGEINTEREST, "   
lv_mortgagecurrency  TYPE BAPIP0364-MORTGAGECURRENCY. "   

  CALL FUNCTION 'BAPI_EMPTAXTH_CREATE'  "Create Tax Thailand
    EXPORTING
         INEMPLOYEENUMBER = lv_inemployeenumber
         CHARITYAMOUNT = lv_charityamount
         CHARITYCURRENCY = lv_charitycurrency
         CHILDRENFORCHILDALLOWANCE = lv_childrenforchildallowance
         CHILDRENFOREDUCATIONALLOWANCE = lv_childrenforeducationallowance
         SPOUSEINSURANCEPREMIUM = lv_spouseinsurancepremium
         SPOUSEINSURANCECURRENCY = lv_spouseinsurancecurrency
         ALLTY = lv_allty
         MFUNDINVESTMENT = lv_mfundinvestment
         MFUNDCURRENCY = lv_mfundcurrency
         HALLWCASH = lv_hallwcash
         INVALIDITYBEGIN = lv_invaliditybegin
         HALLWCASHCURR = lv_hallwcashcurr
         HALLWHIRE = lv_hallwhire
         HALLWHIRECURR = lv_hallwhirecurr
         PENSIONFUNDINVESTMENT = lv_pensionfundinvestment
         PENSIONFUNDCURR = lv_pensionfundcurr
         LONGTERMEQUITYFUND = lv_longtermequityfund
         LONGTERMEQFUNDCURR = lv_longtermeqfundcurr
         CHARITYFOREDUCATION = lv_charityforeducation
         CHARITYFOREDUCATIONCURR = lv_charityforeducationcurr
         PARENTALCONTRIBUTIONFATHER = lv_parentalcontributionfather
         INVALIDITYEND = lv_invalidityend
         FATHERCONTRCURR = lv_fathercontrcurr
         PARENTALCONTRIBUTIONMOTHER = lv_parentalcontributionmother
         MOTHERCONTRCURR = lv_mothercontrcurr
         SPOUSEPARENTALCTRFATHER = lv_spouseparentalctrfather
         SPOUSEFATHERCONTRCURR = lv_spousefathercontrcurr
         SPOUSEPARENTALCTRMOTHER = lv_spouseparentalctrmother
         SPOUSEMOTHERCONTRCURR = lv_spousemothercontrcurr
         SPORTSCONTR = lv_sportscontr
         SPORTSCONTRCURR = lv_sportscontrcurr
         FATHERINSPREMCTR = lv_fatherinspremctr
         TAXID = lv_taxid
         FATHERINSPREMCTRCURR = lv_fatherinspremctrcurr
         MOTHERINSPREMCTR = lv_motherinspremctr
         MOTHERINSPREMCTRCURR = lv_motherinspremctrcurr
         SPFATHINSPREMCTR = lv_spfathinspremctr
         SPFATHINSPREMCTRCURR = lv_spfathinspremctrcurr
         SPMOTHINSPREMCTR = lv_spmothinspremctr
         SPMOTHINSPREMCTRCURR = lv_spmothinspremctrcurr
         IMMOVABLEEXPENSES = lv_immovableexpenses
         IMMOVABLEEXPENSESCURR = lv_immovableexpensescurr
         DISABLEALLOWANCE = lv_disableallowance
         SPOUSEALLOWANCE = lv_spouseallowance
         DISABLEDFORDEPENDENTALLOWANCE = lv_disabledfordependentallowance
         TOURISMEXEMPTION = lv_tourismexemption
         TOURISMEXEMPTIONCURR = lv_tourismexemptioncurr
         LIFEINSPNSN = lv_lifeinspnsn
         LIFEINSPNSNCURR = lv_lifeinspnsncurr
         NOCOMMIT = lv_nocommit
         LIFEINSURANCEPREMIUM = lv_lifeinsurancepremium
         LIFEINSURANCECURRENCY = lv_lifeinsurancecurrency
         MORTGAGEINTEREST = lv_mortgageinterest
         MORTGAGECURRENCY = lv_mortgagecurrency
    IMPORTING
         RETURN = lv_return
         SUBTYPE = lv_subtype
         OBJECTID = lv_objectid
         LOCKINDICATOR = lv_lockindicator
         RECORDNUMBER = lv_recordnumber
         EMPLOYEENUMBER = lv_employeenumber
         VALIDITYBEGIN = lv_validitybegin
         VALIDITYEND = lv_validityend
. " BAPI_EMPTAXTH_CREATE




ABAP code using 7.40 inline data declarations to call FM BAPI_EMPTAXTH_CREATE

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 BAPIP0364 INTO @DATA(ld_inemployeenumber).
 
"SELECT single CHARITYAMOUNT FROM BAPIP0364 INTO @DATA(ld_charityamount).
 
"SELECT single CHARITYCURRENCY FROM BAPIP0364 INTO @DATA(ld_charitycurrency).
 
"SELECT single CHILDRENFORCHILDALLOWANCE FROM BAPIP0364 INTO @DATA(ld_childrenforchildallowance).
 
"SELECT single CHILDRENFOREDUCATIONALLOWANCE FROM BAPIP0364 INTO @DATA(ld_childrenforeducationallowance).
 
"SELECT single SPOUSEINSURANCEPREMIUM FROM BAPIP0364 INTO @DATA(ld_spouseinsurancepremium).
 
"SELECT single SPOUSEINSURANCECURRENCY FROM BAPIP0364 INTO @DATA(ld_spouseinsurancecurrency).
 
"SELECT single ALLTY FROM BAPIP0364 INTO @DATA(ld_allty).
 
"SELECT single MFUNDINVESTMENT FROM BAPIP0364 INTO @DATA(ld_mfundinvestment).
 
"SELECT single MFUNDCURRENCY FROM BAPIP0364 INTO @DATA(ld_mfundcurrency).
 
"SELECT single HALLWCASH FROM BAPIP0364 INTO @DATA(ld_hallwcash).
 
"SELECT single SUBTY FROM BAPIP0364 INTO @DATA(ld_subtype).
 
"SELECT single BEGDA FROM BAPIP0364 INTO @DATA(ld_invaliditybegin).
 
"SELECT single HALLWCASHCURR FROM BAPIP0364 INTO @DATA(ld_hallwcashcurr).
 
"SELECT single HALLWHIRE FROM BAPIP0364 INTO @DATA(ld_hallwhire).
 
"SELECT single HALLWHIRECURR FROM BAPIP0364 INTO @DATA(ld_hallwhirecurr).
 
"SELECT single PENSIONFUNDINVESTMENT FROM BAPIP0364 INTO @DATA(ld_pensionfundinvestment).
 
"SELECT single PENSIONFUNDCURR FROM BAPIP0364 INTO @DATA(ld_pensionfundcurr).
 
"SELECT single LONGTERMEQUITYFUND FROM BAPIP0364 INTO @DATA(ld_longtermequityfund).
 
"SELECT single LONGTERMEQFUNDCURR FROM BAPIP0364 INTO @DATA(ld_longtermeqfundcurr).
 
"SELECT single CHARITYFOREDUCATION FROM BAPIP0364 INTO @DATA(ld_charityforeducation).
 
"SELECT single CHARITYFOREDUCATIONCURR FROM BAPIP0364 INTO @DATA(ld_charityforeducationcurr).
 
"SELECT single PARENTALCONTRIBUTIONFATHER FROM BAPIP0364 INTO @DATA(ld_parentalcontributionfather).
 
"SELECT single OBJPS FROM BAPIP0364 INTO @DATA(ld_objectid).
 
"SELECT single ENDDA FROM BAPIP0364 INTO @DATA(ld_invalidityend).
 
"SELECT single FATHERCONTRCURR FROM BAPIP0364 INTO @DATA(ld_fathercontrcurr).
 
"SELECT single PARENTALCONTRIBUTIONMOTHER FROM BAPIP0364 INTO @DATA(ld_parentalcontributionmother).
 
"SELECT single MOTHERCONTRCURR FROM BAPIP0364 INTO @DATA(ld_mothercontrcurr).
 
"SELECT single SPOUSEPARENTALCTRFATHER FROM BAPIP0364 INTO @DATA(ld_spouseparentalctrfather).
 
"SELECT single SPOUSEFATHERCONTRCURR FROM BAPIP0364 INTO @DATA(ld_spousefathercontrcurr).
 
"SELECT single SPOUSEPARENTALCTRMOTHER FROM BAPIP0364 INTO @DATA(ld_spouseparentalctrmother).
 
"SELECT single SPOUSEMOTHERCONTRCURR FROM BAPIP0364 INTO @DATA(ld_spousemothercontrcurr).
 
"SELECT single SPORTSCONTR FROM BAPIP0364 INTO @DATA(ld_sportscontr).
 
"SELECT single SPORTSCONTRCURR FROM BAPIP0364 INTO @DATA(ld_sportscontrcurr).
 
"SELECT single FATHERINSPREMCTR FROM BAPIP0364 INTO @DATA(ld_fatherinspremctr).
 
"SELECT single TAXID FROM BAPIP0364 INTO @DATA(ld_taxid).
 
"SELECT single SPRPS FROM BAPIP0364 INTO @DATA(ld_lockindicator).
 
"SELECT single FATHERINSPREMCTRCURR FROM BAPIP0364 INTO @DATA(ld_fatherinspremctrcurr).
 
"SELECT single MOTHERINSPREMCTR FROM BAPIP0364 INTO @DATA(ld_motherinspremctr).
 
"SELECT single MOTHERINSPREMCTRCURR FROM BAPIP0364 INTO @DATA(ld_motherinspremctrcurr).
 
"SELECT single SPFATHINSPREMCTR FROM BAPIP0364 INTO @DATA(ld_spfathinspremctr).
 
"SELECT single SPFATHINSPREMCTRCURR FROM BAPIP0364 INTO @DATA(ld_spfathinspremctrcurr).
 
"SELECT single SPMOTHINSPREMCTR FROM BAPIP0364 INTO @DATA(ld_spmothinspremctr).
 
"SELECT single SPMOTHINSPREMCTRCURR FROM BAPIP0364 INTO @DATA(ld_spmothinspremctrcurr).
 
"SELECT single IMMOVABLEEXPENSES FROM BAPIP0364 INTO @DATA(ld_immovableexpenses).
 
"SELECT single IMMOVABLEEXPENSESCURR FROM BAPIP0364 INTO @DATA(ld_immovableexpensescurr).
 
"SELECT single DISABLEALLOWANCE FROM BAPIP0364 INTO @DATA(ld_disableallowance).
 
"SELECT single SEQNR FROM BAPIP0364 INTO @DATA(ld_recordnumber).
 
"SELECT single SPOUSEALLOWANCE FROM BAPIP0364 INTO @DATA(ld_spouseallowance).
 
"SELECT single DISABLEDFORDEPENDENTALLOWANCE FROM BAPIP0364 INTO @DATA(ld_disabledfordependentallowance).
 
"SELECT single TOURISMEXEMPTION FROM BAPIP0364 INTO @DATA(ld_tourismexemption).
 
"SELECT single TOURISMEXEMPTIONCURR FROM BAPIP0364 INTO @DATA(ld_tourismexemptioncurr).
 
"SELECT single LIFEINSURANCEPENSION FROM BAPIP0364 INTO @DATA(ld_lifeinspnsn).
 
"SELECT single LIFEPENSIONINCURRENCY FROM BAPIP0364 INTO @DATA(ld_lifeinspnsncurr).
 
"SELECT single NO_COMMIT FROM BAPI_STAND INTO @DATA(ld_nocommit).
 
"SELECT single PERNR FROM BAPIP0364 INTO @DATA(ld_employeenumber).
 
"SELECT single LIFEINSURANCEPREMIUM FROM BAPIP0364 INTO @DATA(ld_lifeinsurancepremium).
 
"SELECT single BEGDA FROM BAPIP0364 INTO @DATA(ld_validitybegin).
 
"SELECT single LIFEINSURANCECURRENCY FROM BAPIP0364 INTO @DATA(ld_lifeinsurancecurrency).
 
"SELECT single ENDDA FROM BAPIP0364 INTO @DATA(ld_validityend).
 
"SELECT single MORTGAGEINTEREST FROM BAPIP0364 INTO @DATA(ld_mortgageinterest).
 
"SELECT single MORTGAGECURRENCY FROM BAPIP0364 INTO @DATA(ld_mortgagecurrency).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!