Fonction SAP BAPI_W4W5INFOUS_CHANGE - Employee W4/W5 Information: Change Record

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ADDEXEMPAMOUNT BAPIP0210-ADDEXEMPAMOUNT P 12 X Additional exemption amount
ADDTAXAMOUNT BAPIP0210-ADDTAXAMOUNT P 12 X Additional tax amount
ADDTAXPERCENT BAPIP0210-ADDTAXPERCENT P 3 X Additional tax percentage
CURRENCY BAPIP0210-CURRENCY C 5 'USD' X Currency key
EICSTATUS BAPIP0210-EICSTATUS C 1 X EIC status
EMPLOYEENUMBER BAPIP0210-EMPLOYEENO N 8 Personnel number
EXEMPTIONAMOUNT BAPIP0210-EXEMPTIONAMOUNT P 12 X Exemption amount
FORMULANUMBER BAPIP0210-FORMULANUMBER N 1 X Formula number
LOCKINDICATOR BAPIP0210-LOCKINDIC C 1 Lock indicator
NOCOMMIT BAPI_STAND-NO_COMMIT C 1 X Commit control at BAPI interface
NOOFADDEXEMPT BAPIP0210-NOOFADDEXEMPT N 2 X Number of additional exemptions
NOOFDEPEXMPT BAPIP0210-NOOFDEPEXMPT N 2 X Number of dependent exemptions
NOOFEXEMPTIONS BAPIP0210-NOOFEXEMPTIONS N 2 X Number of exemptions
NOOFPERSEXMPT BAPIP0210-NOOFPERSEXMPT N 2 X Number of personal exemptions
NRATAX BAPIP0210-NRATX C 1 X Non-resident tax calculation indicator
OBJECTID BAPIP0210-OBJECTID C 2 Object ID
RECORDNUMBER BAPIP0210-RECORDNR N 3 Record number
SUBTYPE BAPIP0210-SUBTYPE C 4 Subtype
TAXEXMPTINDIC BAPIP0210-TAXEXMPTINDIC C 1 X Tax exemption indicator
TAXSTATUS BAPIP0210-TAXSTATUS N 2 X Tax status
VALIDITYBEGIN BAPIP0210-VALIDBEGIN D 8 Start date
VALIDITYEND BAPIP0210-VALIDEND D 8 End date

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN1 u 470 Return messages

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

Notes
INCLUDE BAPI_RET
The key fields used by the method are described in the parameterdocumentation.
You can use this method only if you have called the ENQUEUEmethod of the business object EMPLOYEE beforehand.

Further information
For more information on the ENQUEUE method, read the documentation onthe function module BAPI_EMPLOYEE_ENQUEUE.

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,,PA,,017,,Applicant number not yet assigned.
E,,PG,,001,,Personnel number not yet assigned.
E,,PG,,009,,No data stored for record in selected period.
E,,PG,,184,,The employee/applicant is not yet locked.
E,,PG,,429,,Not possible to specify a view indicator for
,,,,,,applicant.
E,,PG,,430,,The employee is assigned to a different view
,,,,,,indicator.
E,,RP,,060,,The personnel number(s) could not be locked.
E,,S&,,040,,Not possible to convert the currency amount.
E,,S&,,041,,The external currency amount is too large.
,,,,,,Conversion not possible.
E,,S&,,042,,The number of decimal places exceeds the maximum
,,,,,,allowed.
Other types of messages
Type,,ID,,Code,,Message
A,,PN,,018,,Cannot determine database table of the infotype.
E,,PG,,428,,A complex application error has occurred.

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

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.
INCLUDE BAPI_KEYFIELD

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.
INCLUDE BAPI_KEYFIELD

Description
For information on the definition of commit control at BAPI interface,see the corresponding data element documentation:Commit control at BAPI interface.

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.
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD
INCLUDE BAPI_KEYFIELD

Description
For more information on the tax exemption indicator, please see therelevant data element documentation: Tax exemptionindicator

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

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