Symptom
When performing a Stock Transfer using movement 891 and/or Subcontracting, the Nota Fiscal generated with missing values on fields CST e ClassTrib in Taxes II.
Environment
- SAP S/4HANA Cloud Public Edition
- Brazil
- Materials Management (MM)
Cause
The mapping of these fields in scenario for STO (movement 891) and Subcontracting is currently not supported by the Brazilian localization.
Resolution
Implementing the BAdI NFE_ADDITIONAL_FIELDS_DETERMIN (method IF_LOGBR_NFE_ADDITIONAL_FIELDS~DETERMINE) to populate the CBS/IBS fields directly during Nota Fiscal generation.
Note: In SAP S/4HANA Cloud Public Edition, BAdI implementations are created via the Custom Logic app in the Fiori launchpad. For implementation steps, please refer to the SAP Help Portal.
Fields to be populated in the NFEADDITIONALITEMFIELDS output table:
|
Field |
Description |
|
NotaFiscalItem |
NF item number |
|
IBSAndCBSIntTaxSitnCode |
Internal Tax Situation Code for CBS and IBS |
|
IbsAndCbsTaxSituationCode |
CBS/IBS Tax Situation Code (CST) |
|
IbsAndCbsTaxClfnCode |
CBS/IBS Tax Classification Code (cClassTrib) |
Available input parameters to support your business logic:
-
NOTAFISCALHEADER — Nota Fiscal header data
-
NOTAFISCALITEMS — Nota Fiscal items (includes Purchase Order reference fields)
-
NOTAFISCALTAXES — Nota Fiscal tax lines
-
MATERIALDOCUMENTHEADER — Material Document header
-
MATERIALDOCUMENTITEMS — Material Document items (includes movement type for scenario identification)
-
DOCUMENTFLOWLIST — Document flow (VBFA)
See Also
- KBA 3138033 - Standard process flow for Stock Transfer Order (STO) in Brazilian Localization
- KBA 3153630 - Standard process flow for Intracompany Stock Transport Order with Valuated Stock In Transit (STO SiT) for Brazilian Localization
- KBA 3255157 - Standard process flow for Stock Transport Order using Inbound Delivery scenario in Brazilian Localization
- KBA 2479074 - Standard process flow for Subcontracting Process with one Nota Fiscal in Brazilian Localization
- KBA 3288060 - Standard process flow for Subcontracting Process with two Notas Fiscais in Brazilian Localization
- KBA 3292068 - Standard process flow for Subcontracting Process with Deliveries in Brazilian Localization
Keywords
CBS, IBS, NF-e, Nota Fiscal, Taxes II, CST 410, cClassTrib 410002, IBSCBS group, stock transfer, STO, outbound delivery, Brazil Tax Reform, external tax engine, screen control, tax situation configuration, BAdI NFE_ADDITIONAL_FIELDS_DETERMIN , KBA , FI-LOC-MM-BR , Brazil , Problem
SAP Knowledge Base Article - Public