SAP ABAP Class /XNFE/CL_WD_NFE_ACT_ASSIGN (Assistance Class NF-e Action: (Purchase Order) Assignments)
Hierarchy
SLL-NFE (Software Component) xNFE
   SLL-NFE-MGM (Application Component) NF-e: Communication Management & Monitoring
     /XNFE/USIB2B (Package) NF-e: User Interface - Inbound
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  /XNFE/CL_WD_NFE_ACTION_ASSIST Assistance Class for WD NF-e User Actions 20130208
Properties
Class /XNFE/CL_WD_NFE_ACT_ASSIGN  
Short Description Assistance Class NF-e Action: (Purchase Order) Assignments    
Super Class /XNFE/CL_WD_NFE_ACTION_ASSIST Assistance Class for WD NF-e User Actions 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /XNFE/USIB2B   NF-e: User Interface - Inbound 
Created 20130208   SAP 
Last change 20141107    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 /XNFE/CL_WD_NFE_ACTIONS_ASSIST Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 /XNFE/IF_WD_CONSTANTS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 CL_WD_TABLE Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class /XNFE/CL_WD_NFE_ACT_ASSIGN has no interface implemented.
Friends
Class /XNFE/CL_WD_NFE_ACT_ASSIGN has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MT_ASSIGNED_REF Instance attribute Private Type reference (TYPE) /XNFE/NFEASSIGN_T Assignment Table for Reference NF-e(s) 20130208
2 MT_AV_ITEMS Instance attribute Private Type reference (TYPE) /XNFE/SEARCH_RES_T Results Table for Search of Possible Purchase Orders 20130208
3 MT_AV_ITEMS_GLOBAL Instance attribute Private Type reference (TYPE) /XNFE/SEARCH_RES_T Table with (All) Available Assignment Items 20130208
Methods
# Method Level Visibility Method type Description Created on
1 ADJUST_ASSIGNMENTS Instance method Private Method Modifications to Assignments After Validation and UoM Conv. 20130208
2 ASSIGN_PO_SIMUL_POSSIBLE Instance method Private Method Check if PO Simulation Is Currently Possible 20130208
3 ASSIGN_SEARCH_POSSIBLE Instance method Private Method Check if Search for POs Is Possible 20130208
4 CHANGE_ASSIGNMENT_MODE Instance method Public Method Change Mode for Assignments 20130208
5 CHECK_ASSIGNMENTS Instance method Public Method Check Whether Existing Assignments Are Correct 20130208
6 CHECK_ASSIGNMENT_ALLOWED Instance method Public Method Check if Editing Assignments Is Allowed 20130208
7 CHECK_ASSIGN_ACTIONS Instance method Public Method Check Which Actions Are Possible for PO Assignment 20130208
8 CHECK_UNASSIGN_ENTRY Instance method Public Method Check if Unassign Is Possible 20130208
9 COMPLETE_ASSIGNMENTS Instance method Public Method Complete Assignments for Save (without RTP, Comp.) 20130208
10 CONVERT_UOM Instance method Private Method Convert Units of Measure 20130208
11 DO_ASSIGNMENT Instance method Public Method Complete NF-e Assignment for Purchase Order 20130208
12 FILTER_SEARCH_RESULT Instance method Public Method Filter Available POs by Selected Item 20130208
13 FILTER_SEARCH_RESULT_GLOBAL Instance method Public Method Filter Available POs in Global Mode 20130208
14 GET_INVOLVED_CNPJ Instance method Public Method Return Involved Sender and Recipient CNPJ Numbers 20130208
15 GET_SEARCH_RESULTS Instance method Public Method Return Results for the PO Search 20130208
16 GET_SEARCH_SUGGEST_VALUES Instance method Public Method Return Default Values for the Manual PO Search 20130208
17 IS_COMP_ASSIGNMENT_STILL_VALID Instance method Private Method Are all component assignments still valid? 20130208
18 POSTVALIDATE_ASSIGNMENTS Instance method Private Method Subsequent Check Whether All Assignment Fields Are Filled 20130208
19 PREVALIDATE_ASSIGNMENTS Instance method Private Method Prevalidation of PO Assignments 20130208
20 SPLIT_ASSIGNMENTS Instance method Public Method Allocation of Assignments 20130208
21 UNASSIGN Instance method Private Method Cancel Existing Assignment 20130208
22 UNDO_ASSIGNMENTS Instance method Public Method Cancel PO Assignments for Selected Entries 20130208
23 VALIDATE_ASSIGNMENTS Instance method Private Method Validation of Assignments (Purchase Order, UoMs) 20130208
Events
Class /XNFE/CL_WD_NFE_ACT_ASSIGN has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 T_NITEM Private See coding Table with Item Numbers 20130208 T_NITEM type standard table of /xnfe/nitem
Method Signatures

Method ADJUST_ASSIGNMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ASSIGNMENTS Call by reference Type reference (TYPE) /XNFE/WD_NFEASSIGN_ASSIGN_T WD Anzeigestruktur für (PO-) Zuordnungen 20130208
2 Importing IT_UNITS Call by reference Type reference (TYPE) /XNFE/NFE_VALIDATION_T Struktur zur Validierung der XML Positionsdaten im ERP 20130208
3 Importing IT_UNITS_COMP Call by reference Type reference (TYPE) /XNFE/NFE_VALIDATION_T Struktur zur Validierung der XML Positionsdaten im ERP 20130208

Method ADJUST_ASSIGNMENTS on class /XNFE/CL_WD_NFE_ACT_ASSIGN has no exception.

Method ASSIGN_PO_SIMUL_POSSIBLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ASSIGNED Call by reference Type reference (TYPE) /XNFE/WD_NFEASSIGN_ASSIGN_T Zugeordnete Positionen 20130208
2 Importing IT_TO_ASSIGN Call by reference Type reference (TYPE) /XNFE/WD_NFEASSIGN_ASSIGN_T Zuordnung NFe Bestellung Lieferung 20130208

Method ASSIGN_PO_SIMUL_POSSIBLE on class /XNFE/CL_WD_NFE_ACT_ASSIGN has no exception.

Method ASSIGN_SEARCH_POSSIBLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_TO_ASSIGN Call by reference Type reference (TYPE) /XNFE/WD_NFEASSIGN_ASSIGN_T Offene Zuordnungen 20130208
2 Importing IV_ITEMTYPE Call by reference Type reference (TYPE) /XNFE/ITEMTYPE NF-e Positionstyp 20130208

Method ASSIGN_SEARCH_POSSIBLE on class /XNFE/CL_WD_NFE_ACT_ASSIGN has no exception.

Method CHANGE_ASSIGNMENT_MODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MODE Call by reference Type reference (TYPE) /XNFE/ASSIGNMENT_MODE Modus der Suche 20130208

Method CHANGE_ASSIGNMENT_MODE on class /XNFE/CL_WD_NFE_ACT_ASSIGN has no exception.

Method CHECK_ASSIGNMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ASSIGNED Call by reference Type reference (TYPE) /XNFE/WD_NFEASSIGN_ASSIGN_T Zuordnung NFe Bestellung Lieferung 20130208
2 Exporting EV_ALL_CONVERTED Call by reference Type reference (TYPE) WDY_BOOLEAN Alle Einträge bereits konvertiert? 20130208
3 Exporting EV_SIMUL_POSSIBLE Call by reference Type reference (TYPE) WDY_BOOLEAN Simulation möglich und erlaubt 20130208

Method CHECK_ASSIGNMENTS on class /XNFE/CL_WD_NFE_ACT_ASSIGN has no exception.

Method CHECK_ASSIGNMENT_ALLOWED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_VALID Value transfer Type reference (TYPE) WDY_BOOLEAN Aktion erlaubt? 20130208

Method CHECK_ASSIGNMENT_ALLOWED on class /XNFE/CL_WD_NFE_ACT_ASSIGN has no exception.

Method CHECK_ASSIGN_ACTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_CONTEXT Call by reference Object reference (TYPE REF TO) IF_WD_CONTEXT_NODE WebDynpro: Schnittstelle für Kontext Knoten 20130312
2 Importing IT_ASSIGNED Call by reference Type reference (TYPE) /XNFE/WD_NFEASSIGN_ASSIGN_T Tabelle mit allen bereits zugeordneten Positionen 20130208
3 Importing IT_TO_ASSIGN Call by reference Type reference (TYPE) /XNFE/WD_NFEASSIGN_ASSIGN_T Tabelle mit noch nicht zugeordneten Positionen 20130208
4 Importing IV_ITEMTYPE Call by reference Type reference (TYPE) /XNFE/ITEMTYPE NF-e Positionstyp 20130208

Method CHECK_ASSIGN_ACTIONS on class /XNFE/CL_WD_NFE_ACT_ASSIGN has no exception.

Method CHECK_UNASSIGN_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LINE_SELECTED Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE A line is selected to remove the assignment 20130208

Method CHECK_UNASSIGN_ENTRY on class /XNFE/CL_WD_NFE_ACT_ASSIGN has no exception.

Method COMPLETE_ASSIGNMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ASSIGNMENTS Call by reference Type reference (TYPE) /XNFE/WD_NFEASSIGN_ASSIGN_T Zuordnungstabelle 20130208
2 Exporting EV_OPEN_ITEMS Call by reference Type reference (TYPE) I Anzahl noch nicht zugeordneter Positionen 20130208
3 Importing IT_TO_ASSIGN Call by reference Type reference (TYPE) /XNFE/WD_NFEASSIGN_ASSIGN_T Nicht zugeordnete Positionen 20130208

Method COMPLETE_ASSIGNMENTS on class /XNFE/CL_WD_NFE_ACT_ASSIGN has no exception.

Method CONVERT_UOM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ISO_CODE Call by reference Type reference (TYPE) /XNFE/UOM_ISO Mengeneinheit ISO Code 20130208
2 Importing IV_NITEM Call by reference Type reference (TYPE) /XNFE/NITEM Positionsnummer 20130208
3 Returning RV_INT_UNIT Value transfer Type reference (TYPE) /XNFE/INTUNITGRC Konvertierte interne Mengeneinheit GRC aus ISO Code ERP 20130208

Method CONVERT_UOM on class /XNFE/CL_WD_NFE_ACT_ASSIGN has no exception.

Method DO_ASSIGNMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_PO_ITEM Call by reference Type reference (TYPE) /XNFE/SEARCH_RES_S Ergebnis Suche Bestellungen komplett 20130208
2 Importing IS_TO_ASSIGN Call by reference Type reference (TYPE) /XNFE/WD_NFEASSIGN_ASSIGN Zuordnungsstruktur vor Zuweisung 20130208
3 Returning RS_ASSIGNED Value transfer Type reference (TYPE) /XNFE/WD_NFEASSIGN_ASSIGN Zuordnungsstruktur nach Zuweisung 20130208

Method DO_ASSIGNMENT on class /XNFE/CL_WD_NFE_ACT_ASSIGN has no exception.

Method FILTER_SEARCH_RESULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ASSIGNMENTS Call by reference Type reference (TYPE) /XNFE/WD_NFEASSIGN_ASSIGN_T Aktuell zugeordnete Positionen 20130215
2 Importing IV_ITEMTYPE Call by reference Type reference (TYPE) /XNFE/ITEMTYPE NF-e Positionstyp 20130208
3 Importing IV_NITEM Call by reference Type reference (TYPE) /XNFE/NITEM Positionsnummer 20130208
4 Returning RT_AV_PO_ITEMS Value transfer Type reference (TYPE) /XNFE/SEARCH_RES_T Tabelle mit verfügbaren Bestellungen 20130208

Method FILTER_SEARCH_RESULT on class /XNFE/CL_WD_NFE_ACT_ASSIGN has no exception.

Method FILTER_SEARCH_RESULT_GLOBAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ASSIGNED Call by reference Type reference (TYPE) /XNFE/WD_NFEASSIGN_ASSIGN_T WD Anzeigestruktur für (PO-) Zuordnungen 20130208
2 Importing IV_COUNT_TO_ASSIGN Call by reference Type reference (TYPE) INT4 Natürliche Zahl 20130208
3 Returning RT_AV_ITEMS Value transfer Type reference (TYPE) /XNFE/SEARCH_RES_T Ergebnis Suche Bestellungen komplett 20130208

Method FILTER_SEARCH_RESULT_GLOBAL on class /XNFE/CL_WD_NFE_ACT_ASSIGN has no exception.

Method GET_INVOLVED_CNPJ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CNPJ_DEST Call by reference Type reference (TYPE) /XNFE/CNPJ_DEST CNPJ-Nummer des NF-e-Empfängers 20130208
2 Exporting EV_CNPJ_EMIT Call by reference Type reference (TYPE) /XNFE/CNPJ_EMIT CNPJ-Nummer des NF-e-Senders 20130208

Method GET_INVOLVED_CNPJ on class /XNFE/CL_WD_NFE_ACT_ASSIGN has no exception.

Method GET_SEARCH_RESULTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_SEARCH_PARAMS Call by reference Type reference (TYPE) /XNFE/WD_PO_MANUAL_SEARCH NFe Incoming: WD Struktur für manuelle Suche 20130208
2 Importing IT_ASSIGNMENTS Call by reference Type reference (TYPE) /XNFE/WD_NFEASSIGN_ASSIGN_T Tabelle mit Zuordnungen (zugeordnet und nicht zugeordnet) 20130215
3 Importing IV_IS_AUTO Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Vordefinierte Suche 20130208
4 Importing IV_MODE Call by reference Type reference (TYPE) /XNFE/ASSIGNMENT_MODE Modus der Suche 20130208

Method GET_SEARCH_RESULTS on class /XNFE/CL_WD_NFE_ACT_ASSIGN has no exception.

Method GET_SEARCH_SUGGEST_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_SEARCH_STRUC Call by reference Type reference (TYPE) /XNFE/WD_PO_MANUAL_SEARCH NFe Incoming: WD Struktur für manuelle Suche 20130208
2 Importing IV_NITEM Call by reference Type reference (TYPE) /XNFE/NITEM Positionsnummer 20130208

Method GET_SEARCH_SUGGEST_VALUES on class /XNFE/CL_WD_NFE_ACT_ASSIGN has no exception.

Method IS_COMP_ASSIGNMENT_STILL_VALID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ASSIGNED Call by reference Type reference (TYPE) /XNFE/WD_NFEASSIGN_ASSIGN_T Tabelle mit zugeordneten Bestellpositionen 20130208
2 Changing CT_DEL_ASSIGN Call by reference Type reference (TYPE) /XNFE/CL_WD_NFE_ACTIONS_ASSIST=>T_NITEM Tabelle mit aufzuhebenden Bestellpositionen 20130208
3 Changing CT_TO_ASSIGN Call by reference Type reference (TYPE) /XNFE/WD_NFEASSIGN_ASSIGN_T Zuordnungstabelle mit allen fertig zugeordneten Werten 20130208
4 Exporting EV_COMP_UNASSIGNED Call by reference Type reference (TYPE) ABAP_BOOL Wurde eine Komponentenzuordnung zurückgenommen 20130208
5 Importing IS_MAIN_ASSIGNMENT Call by reference Type reference (TYPE) /XNFE/WD_NFEASSIGN_ASSIGN Zugeordnete Hauptposition 20130208

Method IS_COMP_ASSIGNMENT_STILL_VALID on class /XNFE/CL_WD_NFE_ACT_ASSIGN has no exception.

Method POSTVALIDATE_ASSIGNMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ASSIGNMENTS Call by reference Type reference (TYPE) /XNFE/WD_NFEASSIGN_ASSIGN_T WD Anzeigestruktur für (PO-) Zuordnungen 20130208

Method POSTVALIDATE_ASSIGNMENTS on class /XNFE/CL_WD_NFE_ACT_ASSIGN has no exception.

Method PREVALIDATE_ASSIGNMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_ASSIGNMENTS Call by reference Type reference (TYPE) /XNFE/WD_NFEASSIGN_ASSIGN_T WD Anzeigestruktur für (PO-) Zuordnungen 20130208
2 Returning RV_MULTIPOS Value transfer Type reference (TYPE) /XNFE/FLAG_MULTIPOS Flag, if XML handles multiple positions to the same PO item 20130208

Method PREVALIDATE_ASSIGNMENTS on class /XNFE/CL_WD_NFE_ACT_ASSIGN has no exception.

Method SPLIT_ASSIGNMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ASSIGNED Call by reference Type reference (TYPE) /XNFE/WD_NFEASSIGN_ASSIGN_T Tabelle mit vollständigen Zuordnungen 20130208
2 Exporting ET_TO_ASSIGN Call by reference Type reference (TYPE) /XNFE/WD_NFEASSIGN_ASSIGN_T Tabelle mit nicht vollständigen Zuordnungen 20130208

Method SPLIT_ASSIGNMENTS on class /XNFE/CL_WD_NFE_ACT_ASSIGN has no exception.

Method UNASSIGN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_TO_ASSIGN Call by reference Type reference (TYPE) /XNFE/WD_NFEASSIGN_ASSIGN_T WD Anzeigestruktur für (PO-) Zuordnungen 20130208
2 Exporting EV_COMP_UNASSIGNED Call by reference Type reference (TYPE) ABAP_BOOL Für eine Kompoenten wurde die Zuordnung aufgehoben 20130208
3 Importing IV_NITEM Call by reference Type reference (TYPE) /XNFE/NITEM Positionsnummer 20130208

Method UNASSIGN on class /XNFE/CL_WD_NFE_ACT_ASSIGN has no exception.

Method UNDO_ASSIGNMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_ASSIGNED Call by reference Type reference (TYPE) /XNFE/WD_NFEASSIGN_ASSIGN_T WD Anzeigestruktur für (PO-) Zuordnungen 20130208
2 Changing CT_TO_ASSIGN Call by reference Type reference (TYPE) /XNFE/WD_NFEASSIGN_ASSIGN_T WD Anzeigestruktur für (PO-) Zuordnungen 20130208
3 Exporting EV_UPDATE_REQUESTED Call by reference Type reference (TYPE) ABAP_BOOL Update der Suche notwendig 20130208
4 Importing IT_SELECTED_ASSIGNMENTS Call by reference Type reference (TYPE) WDR_CONTEXT_ELEMENT_SET Web Dynpro: Menge von Elementen eines Context-Knotens 20130208
5 Importing IV_ASSIGNMENT_MODE Call by reference Type reference (TYPE) /XNFE/ASSIGNMENT_MODE Modus der Suche 20130208

Method UNDO_ASSIGNMENTS on class /XNFE/CL_WD_NFE_ACT_ASSIGN has no exception.

Method VALIDATE_ASSIGNMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_UNITS Call by reference Type reference (TYPE) /XNFE/NFE_VALIDATION_T Struktur zur Validierung der XML Positionsdaten im ERP 20130208
2 Exporting ET_UNITS_COMP Call by reference Type reference (TYPE) /XNFE/NFE_VALIDATION_T Struktur zur Validierung der XML Positionsdaten im ERP 20130208
3 Importing IT_UNITS Call by reference Type reference (TYPE) /XNFE/NFE_VALIDATION_T Struktur zur Validierung der XML Positionsdaten im ERP 20130208
4 Importing IT_UNITS_COMP Call by reference Type reference (TYPE) /XNFE/NFE_VALIDATION_T Struktur zur Validierung der XML Positionsdaten im ERP 20130208
5 Importing IV_MULTIPOS Call by reference Type reference (TYPE) /XNFE/FLAG_MULTIPOS Flag, if XML handles multiple positions to the same PO item 20130208

Method VALIDATE_ASSIGNMENTS on class /XNFE/CL_WD_NFE_ACT_ASSIGN has no exception.
History
Last changed by/on SAP  20141107 
SAP Release Created in 900