Ansicht
Dokumentation

NFE_CLOUD_REQ_EXT - Brazil: Extension Fields for Cloud Requests

NFE_CLOUD_REQ_EXT - Brazil: Extension Fields for Cloud Requests

Vendor Master (General Section)   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in the SLH - NFe: Electronic Nota Fiscal Services (LOD-LH-NFE) component. You use this BAdI if you need to support electronic fiscal documents for a specific city or layout, for example, that are not supported in the standard SAP system. This BAdI extends the standard mapped structure that SAP uses to send information to SAP Document Compliance, outbound invoicing for Brazil.

You must filter the group that you want to extend based on the groups listed in the Constants class for Mapping Groups (CL_NFE_CLOUD_CONSTANT_GROUPS) class.

The CLOUD_REQUEST_EXTENSION interface is composed by the Fill the Extension Fields (FILL_EXTENSION_FIELDS) method. The FILL_EXTENSION_FIELDS method returns a table with the extension fields mapped. Based on the table, you can define which are the additional fields and corresponding field values that you wish to include in the cloud request, in order to support additional electronic fiscal documents.

The method contains the following parameters:

  • MAPPED_REQUEST: this input parameter contains the cloud request on which the mapping is based.
  • FIRST_INDEX: this input parameter contains the first index level that the BAdI method processes, in case a table is processed (for example, tables about items, partners or payment methods).
  • SECOND_INDEX: this input parameter contains the second index level that the BAdI method processes, in case a table is processed (for example, taxes).
  • EXTENSION_FIELDS: this output parameter extends the standard SAP mapped structure.






ROGBILLS - Synchronize billing plans   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 1853 Date: 20240523 Time: 195201     sap01-206 ( 46 ms )