Ansicht
Dokumentation

PAY_BE_TAX_COUNTRY - BAdI: BELCOTAX - Force Country/Region of Sender for the Address Info

PAY_BE_TAX_COUNTRY - BAdI: BELCOTAX - Force Country/Region of Sender for the Address Info

CL_GUI_FRONTEND_SERVICES - Frontend Services   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Payroll (PY) component. You can use this BAdI to return the country of the sender when running the FICHES 281.xx - Printing documents (RPCBWPB0) report.

Report RPCBWPB0, which is used to inform the employees about their reported tax data, can print fiches with different types of addresses (such as employee, employer, or sender).

By default, the report is set to process fiches that are sent from Belgium, so the country "Belgium" is not set in the sender address of the fiche. The report compares the country BE with the address. If the address is in Belgium, then the country is not added to the address (from country = to country).

If you want to send fiches from a country/region other than Belgium, you have to force the display of the country Belgium in the BAdI sender address. To do so, you need to implement this BAdI: depending on the type of address (employee, employer, sender) you can set a "from" country different than "BE". The BAdI returns the country of the sender. Based on this returned value, the country is added to the sender address (displayed in the fiche).

An example class has been provided with the BAdI.

For information about implementing BAdIs as part of the enhancement framework, see SAP Library for SAP NetWeaver Platform on SAP Help Portal at http://help.sap.com/nw_platform. Choose a release and then Application Help. In SAP Library, choose SAP NetWeaver Library: Function-Oriented View → Application Server → Application Server ABAP → Application Development on AS ABAP → ABAP CustomerDevelopment → Enhancement Framework.






Fill RESBD Structure from EBP Component Structure   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 2002 Date: 20240523 Time: 220747     sap01-206 ( 54 ms )