Fonction SAP BAPI_W4W5INFOUS_GETDETAIL - Employee W4/W5 Information: Read Record

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
EMPLOYEENUMBER BAPIP0210-EMPLOYEENO N 8 Personnel number
LOCKINDICATOR BAPIP0210-LOCKINDIC C 1 Lock indicator
OBJECTID BAPIP0210-OBJECTID C 2 Object ID
RECORDNUMBER BAPIP0210-RECORDNR N 3 Record number
SUBTYPE BAPIP0210-SUBTYPE C 4 Subtype
VALIDITYBEGIN BAPIP0210-VALIDBEGIN D 8 Start date
VALIDITYEND BAPIP0210-VALIDEND D 8 End date

Paramètre Reférence Type Long. Description
ADDEXEMPAMOUNT BAPIP0210-ADDEXEMPAMOUNT P 12 Additional exemption amount
ADDEXMPTCODE BAPIP0210-ADDEXMPTCODE N 1 Additional tax exempt amount code
ADDTAXAMOUNT BAPIP0210-ADDTAXAMOUNT P 12 Additional tax amount
ADDTAXPERCENT BAPIP0210-ADDTAXPERCENT P 3 Additional tax percentage
CURRENCY BAPIP0210-CURRENCY C 5 Currency key
EICSTATUS BAPIP0210-EICSTATUS C 1 EIC status
EXEMPTIONAMOUNT BAPIP0210-EXEMPTIONAMOUNT P 12 Exemption amount
FORMULANUMBER BAPIP0210-FORMULANUMBER N 1 Formula number
IRSLIMITINDIC BAPIP0210-IRSLIMITINDIC C 1 IRS limits indicator
NAMEOFEICSTATUS BAPIP0210-NAMEOFEICSTATUS C 60 Name of EIC status
NAMEOFFORMULA BAPIP0210-NAMEOFFORMULA C 15 Name of formula
NAMEOFSUPPLMETH BAPIP0210-NAMEOFSUPPLMETH C 50 Name of supplemental method
NAMEOFTAXAUTH BAPIP0210-NAMEOFTAXAUTH C 30 Name of tax authority
NAMEOFTAXLEVEL BAPIP0210-NAMEOFTAXLEVEL C 15 Name of tax level
NAMEOFTAXSTATUS BAPIP0210-NAMEOFTAXSTATUS C 40 Name of tax status
NAMEOFTAXTYPE BAPIP0210-NAMEOFTAXTYPE C 35 Name of tax type
NOOFADDEXEMPT BAPIP0210-NOOFADDEXEMPT N 2 Number of additional exemptions
NOOFDEPEXMPT BAPIP0210-NOOFDEPEXMPT N 2 Number of dependent exemptions
NOOFEXEMPTIONS BAPIP0210-NOOFEXEMPTIONS N 2 Number of exemptions
NOOFPERSEXMPT BAPIP0210-NOOFPERSEXMPT N 2 Number of personal exemptions
NRATAX BAPIP0210-NRATX C 1 Non-resident tax calculation indicator
RETURN BAPIRETURN1 u 470 Return messages
SUPPLMETHOD BAPIP0210-SUPPLMETHOD C 2 Supplemental method
TAXAUTHORITYTYPE BAPIP0210-TAXAUTHORITYTYPE C 4 Tax authority record type
TAXEXMPTINDIC BAPIP0210-TAXEXMPTINDIC C 1 Tax exemption indicator
TAXLEVEL BAPIP0210-TAXLEVEL C 1 Tax level
TAXSTATUS BAPIP0210-TAXSTATUS N 2 Tax status
TAXTYPE BAPIP0210-TAXTYPE N 2 Tax type

Functionality
You can use this method to read W4/W5 records for US employees(infotype 0210).

Notes
INCLUDE BAPI_RET
The key fields used by the method are described in the parameterdocumentation.

Description
Additional amount exempt from taxation.
Only certain states allow additional tax exemptions.

Description
For more information on the definition of additional tax exempt amountcode, see the corresponding data element documentation:Additional tax exempt amount code.

Description
Additional amount to be withheld, at the employee's request, for thepayment of taxes.

Description
For more information on the definition of additional tax percentage,see the corresponding data element documentation:Additional tax percentage.

Description
For more information on the definition of currency, see thecorresponding data element documentation: Currency.

Description
For more information on the definition of EIC status, see thecorresponding data element documentation: EIC status.

Description
Tax exemption amount from the employee's withholding allowancecertificate.

Description
For more information on the definition of formula number, see thecorresponding data element documentation: Formulanumber.

Description
Indicates whether an employee has a limit set by the IRS on the numberof exemptions they may claim.
This data is held in the IRS Limits record (infotype 0161).

Description
Name of EIC status

Description
Name of formula

Description
Name of supplemental method

Description
Name of tax authority

Description
Name of tax level

Description
Name of tax status

Description
Name of tax type

Description
Number of additional exemptions claimed by the employee. This field isonly valid for certain authorities. If it does not appear on thewithholding form, do not enter a value here.

Description
Number of dependent exemptions claimed by the employee. This field isonly valid for certain authorities. If it does not appear on thewithholding form, do not enter a value here.

Description
Number of exemptions claimed by the employee.

Description
Number of personal exemptions claimed by the employee. This field isonly valid for certain authorities. If it does not appear on thewithholding form, do not enter a value here.

Description
INCLUDE BAPI_TABLE

Value range
Authorization messages
Type,,ID,,Code,,Message
E,,PG,,185,,No read authorization for record.
Messages on data input
Type,,ID,,Code,,Message
E,,PG,,009,,No data stored for record in selected period.

Description
For more information on the definition of supplemental method, see thecorresponding data element documentation: Supplementalmethod.

Description
Tax authority levying withholding tax.

Description
For more information on the definition of tax exemption indicator,please see the relevant data element documentation: Taxexemption indicator.

Description
For more information on the definition of tax level, see thecorresponding data element documentation: Tax level.

Description
For more information on the definition of tax status, see thecorresponding data element documentation: Tax status.

Description
For more information on the definition of tax type, see thecorresponding data element documentation: Tax type.
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD

998722TAX: IT0210/FED: New "Non-res. tax. calc." checkbox; in ESS.