SAP ABAP IMG Activity CL_SD_NFTYPE (BAdI: Redetermination of Nota Fiscal Type per Line Item)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM-LOC-BR (Application Component) Brazil
     J1BA (Package) Localization Brazil
IMG Activity
ID CL_SD_NFTYPE BAdI: Redetermination of Nota Fiscal Type per Line Item  
Transaction Code S_P6D_40000149   (empty) 
Created on 20070305    
Customizing Attributes BR_NFE_BADI   NF-e BAdIs 
Customizing Activity CL_SD_NFTYPE   BAdI: Redetermination of Nota Fiscal Type per Line Item 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name CL_SD_NFTYPE    

Use

Normally the system determines the nota fiscal (NF) type as follows:

Step 1 is referred to as classic NF type determination, while steps 2 and 3 enable you to configure the system to take an alternative NF type for the business place or region (provided step 1 is fulfilled). This enables you, for example, to specify an alternative NF type in case NF-e processing is required.

The process begins when you enter a sales order in Sales and Distribution (SD), for which you specify a sales document type in the Order Type field (for example, ORB for Standard Order Brazil). The system determines the NF type as follows:

  1. The system checks if an NF type is assigned to the sales document type you specify in the sales order; the system checks this assignment in the activity Assign Nota Fiscal Type to Sales Document Types.
  2. If an NF type is assigned to the sales document type (from step 1), the system then checks in the activity Define NF Type Redetermination per Business Place whether an alternative NF type has been specified at the level of the business place.
  3. If an NF type is assigned to the sales document type (from step 1) and the system does not find an assignment to alternative NF type at business-place level (from step 2), then the system checks in the activity Define NF Type Redetermination per Region whether an alternative NF type has been specified at the level of the region.

You can use this Business Add-In to determine a different NF type for each line item, as described in the method documentation.

Requirements

Standard settings

Activities

Example

See also

Method Modify NF Type per Line Item

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency I   Valid for countries specified 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20070306 
SAP Release Created in