SAP ABAP Class /XNFE/CL_WD_NFE_ACT_SIMULATE (Assistance Class NF-e Action: Simulation)
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 20130211
Properties
Class /XNFE/CL_WD_NFE_ACT_SIMULATE  
Short Description Assistance Class NF-e Action: Simulation    
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_SIMULATE has no interface implemented.
Friends
Class /XNFE/CL_WD_NFE_ACT_SIMULATE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MS_NFE_ICMS_TOT Instance attribute Private Type reference (TYPE) /XNFE/WD_SIMUL_ICMS_TOT WD Display Total Values ICMS 20140723
2 MS_NFE_ISSQN_TOT Instance attribute Private Type reference (TYPE) /XNFE/WD_SIMUL_ISSQN_TOT WD Display Total Values ISSQN 20140723
3 MS_NFE_RETTRIB_TOT Instance attribute Private Type reference (TYPE) /XNFE/WD_SIMUL_RETTRIB_TOT WD Display Total Values Withholding taxes 20140723
4 MS_SIMUL_ICMS_TOT Instance attribute Private Type reference (TYPE) /XNFE/WD_SIMUL_ICMS_TOT WD Display Total Values ICMS 20140723
5 MS_SIMUL_ISSQN_TOT Instance attribute Private Type reference (TYPE) /XNFE/WD_SIMUL_ISSQN_TOT WD Display Total Values ISSQN 20140723
6 MS_SIMUL_RETTRIB_TOT Instance attribute Private Type reference (TYPE) /XNFE/WD_SIMUL_RETTRIB_TOT WD Display Total Values Withholding taxes 20140723
7 MT_CFOPS Instance attribute Private Type reference (TYPE) /XNFE/ERP_CFOPS_T Table for CFOP Codes 20130208
8 MT_MSG_ITEMS Instance attribute Private Type reference (TYPE) /XNFE/MESSAGE_DISPLAY_T Item-Related Errors from Feeder System 20130319
9 MT_NFE_ITEM Instance attribute Private Type reference (TYPE) /XNFE/WD_SIMUL_ITEM_DATA_T NF-e Simulation - Item Data for Display 20140723
10 MT_NFE_TAX Instance attribute Private Type reference (TYPE) /XNFE/WD_SIMUL_ITEM_TAXES_T NF-e Simulation - Control Data of Item for Display 20140723
11 MT_SIMUL_ITEM Instance attribute Private Type reference (TYPE) /XNFE/WD_SIMUL_ITEM_DATA_T NF-e Simulation - Item Data for Display 20140723
12 MT_SIMUL_TAX Instance attribute Private Type reference (TYPE) /XNFE/WD_SIMUL_ITEM_TAXES_T NF-e Simulation - Control Data of Item for Display 20140723
13 MT_TAXCODES Instance attribute Private Type reference (TYPE) /XNFE/ERP_TAXCODES_T Table for F4 Help for Control Characters 20130208
14 MV_SIMUL_RESULT Instance attribute Private Type reference (TYPE) /XNFE/STEPSTAT Result of Last Simulation (Process Step Level) 20130208
15 MV_STATUS_SET Instance attribute Public Type reference (TYPE) ABAP_BOOL Step Status Was Changed 20130312
Methods
# Method Level Visibility Method type Description Created on
1 ADAPT_AFTER_SIMULATION Instance method Private Method Adjust Simulation Parameters After Simulation Run 20130424
2 ADAPT_AND_BIND_FOR_SIMULATION Instance method Public Method Modifications for Simulation Screen/Modifiability 20130411
3 CHECK_CHANGE_PARAMS_ALLOWED Instance method Public Method Can user change simulation parameters? 20130208
4 CHECK_FOR_SAME_MWSKZ Instance method Public Method Check Tax Indicators for Same PO Item 20130208
5 CLEAR_SIMULATION_TABLES Instance method Private Method Delete All Internally Held Items and Tax Tables 20130208
6 CLEAR_TAX_F4_HELPS Instance method Private Method Reset Buffered F4 Help 20130208
7 FILL_COMP_TABLE Instance method Private Method Fill Comparison Table for a Structure 20130208
8 FILL_SIMULATION_NFE_ITEM Instance method Private Method Update Content for Taxes for the Selected Item 20130208
9 FILL_SIMULATION_SIMUL_ITEM Instance method Private Method Update Content for Taxes for the Selected Item 20130208
10 FILL_SIMULATION_VALUES_COMP Instance method Private Method Fill Context of Simulation with All NF-e Values 20130208
11 FILTER_F4_VALUES_FOR_MWSKZ Instance method Public Method Filter F4 Help Control Characters 20130208
12 FILTER_INN_CFOP_FOR_F4HLP Instance method Public Method Filter F4 Help CFOP Code after Outgoing CFOP 20130208
13 GET_MESSAGE_LONGTEXT Instance method Public Method Gets long text for a message 20130319
14 GET_SIMULATION_RESULT Instance method Public Method Return Results for PO Simulation 20130208
15 GET_TAX_F4_HELPS Instance method Private Method Read Data for F4 Help from ERP 20130208
16 INSERT_TAX_GROUP Instance method Private Method Insert a Specific Tax Group for Comparison 20130208
17 INVALIDATE_SIMUL_RESULT Instance method Private Method Invalidate Simulation Results for Selected Item 20130208
18 LAST_SIMULATION_RESULT Instance method Public Method Return Step Result of Last Performed Simulation 20130208
19 MAP_MESSAGES Instance method Private Method Maps messages (from feeder system) for display 20130319
20 MAP_NFE_VALUES Instance method Private Method Preparation of Simulation Results for Display 20140723
21 MAP_SIMULATION_VALUES Instance method Private Method Preparation of Simulation Results for Display 20140723
22 RETRIEVE_NFE_VALUES Instance method Private Method Loading of NF-e Data for Simulation Comparison 20140723
23 SORT_TAX_TABLES Instance method Private Method Ensure Defined Sort Sequence of Tax Data 20130208
24 SPLIT_MESSAGES Instance method Private Method Divide BAPIRET2 into General and Item-Related Messages 20130319
25 UPDATE_SIMULATION_ITEMS Instance method Public Method Update Simulation Comparison for Selected Item 20130208
Events
Class /XNFE/CL_WD_NFE_ACT_SIMULATE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 T_NITEM Public See coding Table with Item Numbers 20130208 T_NITEM type standard table of /xnfe/nitem
Method Signatures

Method ADAPT_AFTER_SIMULATION 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_SIMULATE_T WD Anzeigestruktur für Simulation 20130424

Method ADAPT_AFTER_SIMULATION on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no exception.

Method ADAPT_AND_BIND_FOR_SIMULATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_NODE Call by reference Object reference (TYPE REF TO) IF_WD_CONTEXT_NODE Kontextknoten Zuordnungen 20130411
2 Importing IT_ASSIGNMENTS Call by reference Type reference (TYPE) /XNFE/WD_NFEASSIGN_SIMULATE_T WD Anzeigestruktur für Simulation 20130411

Method ADAPT_AND_BIND_FOR_SIMULATION on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no exception.

Method CHECK_CHANGE_PARAMS_ALLOWED Signature

Method CHECK_CHANGE_PARAMS_ALLOWED on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no parameter.
Method CHECK_CHANGE_PARAMS_ALLOWED on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no exception.

Method CHECK_FOR_SAME_MWSKZ 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_SIMULATE_T WD Anzeigestruktur für Simulation 20130215
2 Returning RV_VALID Value transfer Type reference (TYPE) WDY_BOOLEAN Steuerkennzeichen gültig 20130208

Method CHECK_FOR_SAME_MWSKZ on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no exception.

Method CLEAR_SIMULATION_TABLES Signature

Method CLEAR_SIMULATION_TABLES on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no parameter.
Method CLEAR_SIMULATION_TABLES on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no exception.

Method CLEAR_TAX_F4_HELPS Signature

Method CLEAR_TAX_F4_HELPS on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no parameter.
Method CLEAR_TAX_F4_HELPS on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no exception.

Method FILL_COMP_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_STRUCTURE_NFE Call by reference Type reference (TYPE) ANY Struktur mit Werten aus der NF-e 20130208
2 Importing IS_STRUCTURE_SIM Call by reference Type reference (TYPE) ANY Struktur mit Werten aus der Simulation 20130208
3 Importing IV_STRUC_NAME Call by reference Type reference (TYPE) DDOBJNAME Name eines ABAP Dictionary-Objekts 20130208
4 Returning RT_TABLE Value transfer Type reference (TYPE) /XNFE/WD_SIMUL_COMP_T NF-e Incoming: Vergleich NF-e Werte mit Simulationswerten 20130208

Method FILL_COMP_TABLE on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no exception.

Method FILL_SIMULATION_NFE_ITEM 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 20130208
2 Importing IV_PO_NUMBER Call by reference Type reference (TYPE) /XNFE/PONUM Nummer einer Bestellung 20130208
3 Importing IV_SELECTED Call by reference Type reference (TYPE) /XNFE/NITEM Positionsnummer 20130208

Method FILL_SIMULATION_NFE_ITEM on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no exception.

Method FILL_SIMULATION_SIMUL_ITEM 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 20130208
2 Importing IV_SELECTED Call by reference Type reference (TYPE) /XNFE/NITEM Positionsnummer 20130208

Method FILL_SIMULATION_SIMUL_ITEM on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no exception.

Method FILL_SIMULATION_VALUES_COMP 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 20130208
2 Importing IV_SELECTED Call by reference Type reference (TYPE) /XNFE/NITEM Positionsnummer 20130208
3 Importing IV_SELECTED_PO Call by reference Type reference (TYPE) /XNFE/PONUM Nummer einer Bestellung 20130220

Method FILL_SIMULATION_VALUES_COMP on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no exception.

Method FILTER_F4_VALUES_FOR_MWSKZ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_POITEM Call by reference Type reference (TYPE) /XNFE/POITEM Nummer einer Bestellposition 20130208
2 Importing IV_PONUM Call by reference Type reference (TYPE) /XNFE/PONUM Nummer einer Bestellung 20130208
3 Returning RT_TAXCODES Value transfer Type reference (TYPE) /XNFE/ERP_TAXCODES_T Tabellentyp Gültige Steuerkennzeichen für Bestellpos. ERP 20130208

Method FILTER_F4_VALUES_FOR_MWSKZ on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no exception.

Method FILTER_INN_CFOP_FOR_F4HLP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OUTBOUND_CFOP Call by reference Type reference (TYPE) /XNFE/CFOP NF-e-CFOP-Code und Erweiterung 20130208
2 Returning RT_CFOPS Value transfer Type reference (TYPE) /XNFE/ERP_CFOPS_T Tabelle für CFOP Werte aus ERP 20130208

Method FILTER_INN_CFOP_FOR_F4HLP on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no exception.

Method GET_MESSAGE_LONGTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_MESSAGE Call by reference Type reference (TYPE) /XNFE/MESSAGE_DISPLAY Meldung aus Vorsystem 20130319
2 Returning RV_LONGTEXT Value transfer Type reference (TYPE) STRING Langtext (formatiert) 20130319

Method GET_MESSAGE_LONGTEXT on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no exception.

Method GET_SIMULATION_RESULT 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_SIMULATE_T WD Anzeigestruktur für Simulation 20130215
2 Exporting EV_NORES Call by reference Type reference (TYPE) ABAP_BOOL Kein Resultat von gerufenen System erhalten 20130215
3 Importing IO_CONTEXT Call by reference Object reference (TYPE REF TO) IF_WD_CONTEXT_NODE WebDynpro: Schnittstelle für Kontext Knoten 20130208

Method GET_SIMULATION_RESULT on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no exception.

Method GET_TAX_F4_HELPS Signature

Method GET_TAX_F4_HELPS on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no parameter.
Method GET_TAX_F4_HELPS on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no exception.

Method INSERT_TAX_GROUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_NFE_TAX Call by reference Type reference (TYPE) /XNFE/WD_SIMUL_ITEM_TAXES_T NF-e Simulation Steuerdaten einer Position für Anzeige 20130208
2 Importing IT_SIMUL_TAX Call by reference Type reference (TYPE) /XNFE/WD_SIMUL_ITEM_TAXES_T NF-e Simulation Steuerdaten einer Position für Anzeige 20130208
3 Importing IV_TAXGROUP Call by reference Type reference (TYPE) /XNFE/TAXGRP Steuergruppe 20130208

Method INSERT_TAX_GROUP on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no exception.

Method INVALIDATE_SIMUL_RESULT 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 20130208

Method INVALIDATE_SIMUL_RESULT on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no exception.

Method LAST_SIMULATION_RESULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CLEAR_RESULT Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Löschen der Schrittergebnissen der letzten Simulation 20130208
2 Returning RV_STEP_STATUS Value transfer Type reference (TYPE) /XNFE/STEPSTAT Status des Prozessschrittes 20130208

Method LAST_SIMULATION_RESULT on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no exception.

Method MAP_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MESSAGES Call by reference Type reference (TYPE) /XNFE/MESSAGE_DISPLAY_T Meldung aus Vorsystem 20130319
2 Returning RT_MESSAGES Value transfer Type reference (TYPE) /XNFE/WD_MESSAGE_DISPLAY_T Aufbereitete Meldungen zur Anzeige 20130319

Method MAP_MESSAGES on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no exception.

Method MAP_NFE_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ICMS_TOT Call by reference Type reference (TYPE) /XNFE/ERP_ICMS_TOT Totals für ICMS Block W 20140723
2 Importing IS_ISSQN_TOT Call by reference Type reference (TYPE) /XNFE/ERP_ISSQN_TOT Totals für ISSQN - Block V 20140723
3 Importing IS_RETTRIB_TOT Call by reference Type reference (TYPE) /XNFE/ERP_RETTRIB_TOT Withholding taxes - Block V 20140723
4 Importing IT_ITEM Call by reference Type reference (TYPE) /XNFE/ERP_IN_ITEM_T Tabellentyp zu /XNFE/ERP_IN_ITEM_S 20140723
5 Importing IT_TAX Call by reference Type reference (TYPE) /XNFE/ERP_IN_GOOD_TAX_T Tabellentyp zu /XNFE/ERP_IN_GOOD_TAX_S 20140723

Method MAP_NFE_VALUES on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no exception.

Method MAP_SIMULATION_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_ICMS_TOT Call by reference Type reference (TYPE) /XNFE/ERP_ICMS_TOT Totals für ICMS Block W 20140723
2 Importing IS_ISSQN_TOT Call by reference Type reference (TYPE) /XNFE/ERP_ISSQN_TOT Totals für ISSQN - Block V 20140723
3 Importing IS_RETTRIB_TOT Call by reference Type reference (TYPE) /XNFE/ERP_RETTRIB_TOT Withholding taxes - Block V 20140723
4 Importing IT_ITEM Call by reference Type reference (TYPE) /XNFE/ERP_IN_ITEM_T Tabellentyp zu /XNFE/ERP_IN_ITEM_S 20140723
5 Importing IT_TAX Call by reference Type reference (TYPE) /XNFE/ERP_IN_GOOD_TAX_T Tabellentyp zu /XNFE/ERP_IN_GOOD_TAX_S 20140723

Method MAP_SIMULATION_VALUES on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no exception.

Method RETRIEVE_NFE_VALUES Signature

Method RETRIEVE_NFE_VALUES on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no parameter.
Method RETRIEVE_NFE_VALUES on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no exception.

Method SORT_TAX_TABLES Signature

Method SORT_TAX_TABLES on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no parameter.
Method SORT_TAX_TABLES on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no exception.

Method SPLIT_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_BAPIRET2 Call by reference Type reference (TYPE) BAPIRETTAB Tabelle mit BAPI Return Informationen 20130319
2 Returning RT_MSG_HEADER Value transfer Type reference (TYPE) /XNFE/MESSAGE_DISPLAY_T Meldung aus Vorsystem 20130319

Method SPLIT_MESSAGES on class /XNFE/CL_WD_NFE_ACT_SIMULATE has no exception.

Method UPDATE_SIMULATION_ITEMS 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 20130208
2 Importing IV_PONUM Call by reference Type reference (TYPE) /XNFE/PONUM Nummer einer Bestellung 20130208
3 Importing IV_SELECTED_ITEM Call by reference Type reference (TYPE) /XNFE/NITEM Positionsnummer 20130208

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