Fonction SAP BAPIW4W5INFOUSSIMULATECREATION - Employee W4/W5 Information: Simulate Record Creation

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
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
TAXAUTHORITYTYPE BAPIP0210-TAXAUTHORITYTYPE C 4 Tax authority record type
TAXEXMPTINDIC BAPIP0210-TAXEXMPTINDIC C 1 X Tax exemption indicator
TAXSTATUS BAPIP0210-TAXSTATUS N 2 Tax status
VALIDITYBEGIN BAPIP0210-VALIDBEGIN D 8 Start date
VALIDITYEND BAPIP0210-VALIDEND D 8 '99991231' X End date

Paramètre Reférence Type Long. 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
RETURN BAPIRETURN1 u 470 Return messages
SUBTYPE BAPIP0210-SUBTYPE C 4 Subtype
VALIDITYBEGIN BAPIP0210-VALIDBEGIN D 8 Start date
VALIDITYEND BAPIP0210-VALIDEND D 8 End date

Functionality
You can use this method to simulate the creation of W4/W5 records forUS employees (infotype 0210).
During the simulation all necessary consistency checks are performed,but the record is not written to the database.

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

Description
INCLUDE BAPI_TABLE

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

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.

Description
For more information on the definition of commit control atBAPI 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.

Description
Tax authority levying withholding tax.

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.