SAP ABAP IMG Activity /XNFE/BADI_PO_ASSIGN (BAdI: Assignment of Purchase Order Number and Purchase Order Item)
Hierarchy
SLL-NFE (Software Component) xNFE
   SLL-NFE-MGM (Application Component) NF-e: Communication Management & Monitoring
     /XNFE/CUSB2B (Package) Customizing - Inbound
IMG Activity
ID /XNFE/BADI_PO_ASSIGN BAdI: Assignment of Purchase Order Number and Purchase Order Item  
Transaction Code /XNFE/83000010   (empty) 
Created on 20120111    
Customizing Attributes /XNFE/BADI_PO_ASSIGN   BAdI: Assignment of Purchase Order Number and Purchase Order Item 
Customizing Activity /XNFE/BADI_PO_ASSIGN   BAdI: Assignment of Purchase Order Number and Purchase Order Item 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name /XNFE/BADI_PO_ASSIGN    

Use

This Business Add-In (BAdI) is used in the SAP Nota Fiscal Eletronica area for the SLL-NFE component.

In this Customizing activity, you can implement a BAdI that makes customer-specific assignments of purchase order numbers and purchase order items to NF-e items. If an item is already completely assigned, the change is not applied. Items are considered completely assigned when, in addition to the purchase order numbers and purchase order items, the units of measure have also been assigned and verified with the ERP system. The criteria for completeness depends on the process type and the item category.

The BAdI is relevant for the following processes and steps:

Process: NORMPRCH
Step for validation: NPURVALD
Step for assignment of purchase order: POASSIGN

Process: SUBCON1A
Step for validation: SCONVALD
Step for assignment of purchase order: SCASSIGN

Process: FUTDELIV
Step for assignment of purchase order: FDASSIGN

Process: FUTDELGR
Step for validation: FDELVALD
Step for assignment of purchase order: POASSREF

Process: CONSIGGR
Step for validation: CSGRVALD
Step for assignment of purchase order: CSASSIGN

Process: CONSIGIV
Step for validation: CSIVVALD
Step for assignment of purchase order: CSASSREF

The validation steps require the assignment information to be able to carry out the validation and for when returnable packaging is involved to compare the units of measure of the returnable packaging items with the ERP system. The assignments are not stored in the validation steps.
Instead, the assignments are stored in the subsequent steps for the purchase order assignments.

When the purchase orders are manually assigned in the Fiscal Workplace, the BAdI is executed once at the beginning of the application. This way you can influence the proposal list of purchase order items available for assignment.

Requirements

The BAdI implementation is not activated in the standard system.
The BAdI is not intended for multiple use.

Standard settings

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

Activities

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

See also:

The BAdI uses interface /XNFE/IF_BADI_PO_ASSIGN.

For more information, display the interface in the Class Builder.

Example

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG /XNFE/BADI_PO_ASSIGN 0 /XNFE/KSU2000001 Nota Fiscal Eletronica (NF-e) 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on BECKOL  20120111 
SAP Release Created in 900