Ansicht
Dokumentation

FI_RFIDITINV_PARTNER - BAdI: Modify Partner Addr. Data for Invoice Data Declaration

FI_RFIDITINV_PARTNER - BAdI: Modify Partner Addr. Data for Invoice Data Declaration

Addresses (Business Address Services)   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the Financial Accounting (FI) component only for Italy. You can use this BAdI to modify the address data of business partners or to add a fiscal representative for a customer or vendor for the Invoice Data Declaration (Italy) report (RFIDITINV), to replace characters that are not accepted by the tax agency.

This BAdI definition contains the following methods:

  • CHANGE_CUSTOMER_ADDRESS (ct_customer)
    Table ct_customer contains all master data from customers that are read for the current run. If an entry is modified, the modified data is used for the ALV and XML output. If an entry is deleted from table ct_customer, the data in report RFIDITINV remains unchanged for this customer.
  • CHANGE_SUPPLIER_ADDRESS (ct_supplier)
    Table ct_supplier contains all master data from suppliers that are read for the current run. If an entry is modified, the modified data is used for the ALV and XML output. If an entry is deleted from table ct_supplier, the data in report RFIDITINV remains unchanged for this supplier.
  • CHANGE_ONETIMEPARTNER_ADDRESS (is_onetime_partner, cs_onetime_partner_data)
    The key of a document with a one time-partner is imported with parameter is_onetime_partner. The customer or supplier number of the one-time partner account is included. The address data that is read from the document is passed by cs_ontime_partner_data. If the data in cs_ontime_partner_data is modified, the modified data is used for the ALV and XML output.
  • CHANGE_ADDRESS_WO_PARTNER (is_address_wo_partner, cs_address_wo_partner_data)
    The key of a document without a specified partner is imported with parameter is_address_wo_partner. The address data that is read from the document is passed by cs_address_wo_partner_data. If the data in cs_address_wo_partner_data is modified, the modified data is used for the ALV and XML output.

For every method above, the mapping is as follows:

  • Name1: Company Name or Last Name of the Partner
  • Name2: First Name of the Partner or empty

Note: With this BAdI, a fiscal representative is added for a specific customer/vendor. All documents of this partner are reported with a fiscal representative in the output.

For more information about the standard settings (filters, single or multiple uses), see the Enh. Spot Element Definitions tab in the BAdI Builder (transaction SE18).

For information about the implementation of BAdIs in the context of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.






ABAP Short Reference   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 3717 Date: 20240523 Time: 201011     sap01-206 ( 118 ms )