SAP ABAP Class /SPE/CL_EGR_CONTROL (Expected GR documents)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-SPM-INB (Application Component) Goods Receipt Process
     /SPE/ID_HANDLING (Package) Inbound delivery handling
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  /SPE/IF_CONST Constants 20060614
2 Interface implementation (CLASS c. INTERFACES i_ref)  /SPE/IF_REPL_CLASS For replaceable classes 20060614
Properties
Class /SPE/CL_EGR_CONTROL  
Short Description Expected GR documents    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /SPE/ID_HANDLING   Inbound delivery handling 
Created 20060614   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class /SPE/CL_EGR_CONTROL has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 /SPE/IF_CONST Constants 20060614
2 /SPE/IF_REPL_CLASS For replaceable classes 20060614
Friends
Class /SPE/CL_EGR_CONTROL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 AO_ID Instance attribute Protected Object reference (TYPE REF TO) /SPE/CL_ID_HANDLING ID handling with dispatching and filtering 20060614
2 AO_MESSAGER Instance attribute Public Object reference (TYPE REF TO) /SPE/CL_INB_MSG_COLLECTOR Message collector 20060614
3 AR_BADI Instance attribute Protected Object reference (TYPE REF TO) /SPE/EX_EGR_CONTROL Interface for BAdI: /SPE/INB_EX_GR_DOC 20060614
4 AS_PROT Instance attribute Protected Type reference (TYPE) YS_PROT Values for the protocol 20060617
5 AS_T001W Static Attribute Private Type reference (TYPE) T001W Werke/Niederlassungen 20061117
6 AS_T134M Static Attribute Private Type reference (TYPE) T134M Steuerung Mengen-/Wertfortschreibung 20061116
7 AS_T156SC Static Attribute Private Type reference (TYPE) T156SC Bewegungsart Mengen/Wertbuchung: Kundentabelle; ab Rel. 4.6A 20061116
8 AS_T320 Static Attribute Private Type reference (TYPE) T320 Zuordnung IM-Lagerort zu WM-Lagernummer 20061116
9 AS_T321 Static Attribute Private Type reference (TYPE) T321 Zuordnung Bewegungsart RM-MAT --> Bewegungsart RM-LVS 20061116
10 AS_TCOKO Static Attribute Private Type reference (TYPE) TCOKO Konstanten für PPS-Aufträge 20061116
11 AT_PO_ITEMS Instance attribute Protected Type reference (TYPE) /SPE/INB_PO_ITEM_T Table for PO or SA items 20060614
12 AT_PROD_ITEMS Instance attribute Protected Type reference (TYPE) /SPE/INB_PROD_ITEM_T Table for Production Order Items 20060617
13 A_DELETION_ONLY Instance attribute Public Type reference (TYPE) XFELD SPACE Deletion only? 20070223
14 A_DLV_DATE_FROM Instance attribute Protected Type reference (TYPE) TZNTSTMPS UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20060614
15 A_DLV_DATE_TO Instance attribute Protected Type reference (TYPE) TZNTSTMPS UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20060614
16 A_LFART Instance attribute Protected Type reference (TYPE) LFART Delivery Type 20060617
17 A_LGNUM Instance attribute Protected Type reference (TYPE) LGNUM Warehouse Number / Warehouse Complex 20060614
18 A_PROC_MODE Instance attribute Public Type reference (TYPE) Y_PROC_MODE Processing Mode 20060617
19 A_TEST Instance attribute Public Type reference (TYPE) XFELD SPACE Test run 20060616
20 CS_PROC_MODE Constant Public See coding Processing Mode 20060617
21 C_EWM_FM_DEL_POSA Constant Public Type reference (TYPE) CHAR30 '/SCWM/ERP_EGR_PUR_DELETE' FM name ine EWM fro delete EGR documenst for PO/SA 20060621
22 C_EWM_FM_DEL_PROD Constant Public Type reference (TYPE) CHAR30 '/SCWM/ERP_EGR_PROD_DELETE' 20061205
23 C_FALSE Instance attribute Public Attribute reference (LIKE) 20060614
24 C_LIKP_INFO Constant Public Type reference (TYPE) CHAR10 'EGR_DELETE' Queue name 20060621
25 C_MINUS Instance attribute Public Attribute reference (LIKE) 20060614
26 C_MSGTY Instance attribute Public Attribute reference (LIKE) 20060614
27 C_NO Instance attribute Public Attribute reference (LIKE) 20060614
28 C_NOT_DEFINED Instance attribute Public Attribute reference (LIKE) 20060614
29 C_PLUS Instance attribute Public Attribute reference (LIKE) 20060614
30 C_RESULT Instance attribute Public Attribute reference (LIKE) 20060614
31 C_TRUE Instance attribute Public Attribute reference (LIKE) 20060614
32 C_TZONE_UTC Constant Public Type reference (TYPE) SYSTZONLO 'UTC' UTC time Zone 20060614
33 C_UPDKZ Instance attribute Public Attribute reference (LIKE) 20060614
34 C_XFELD Instance attribute Public Attribute reference (LIKE) 20060614
35 C_YES Instance attribute Public Attribute reference (LIKE) 20060614
Methods
# Method Level Visibility Method type Description Created on
1 COLLECT_MESSAGE Instance method Public Method Collect message 20060614
2 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20060614
3 CREATE_1_EGR_FOR_POSA Instance method Protected Method Create single EGR Document for PO or SA 20060614
4 CREATE_1_EGR_FOR_PROD Instance method Protected Method Create single EGR Document for PO or SA 20060617
5 CREATE_EGR_FOR_POSA Instance method Public Method Create EGR Documents for PO or SA 20060614
6 CREATE_EGR_FOR_PROD Instance method Public Method Create EGR Documents for Production Orders 20060614
7 DELETE_EWM_EGR_DOC_POSA Instance method Public Method Delete all Expected GR Documents for PO/SA in the EWM system 20060614
8 DELETE_EWM_EGR_DOC_PROD Instance method Public Method Delete all Exp. GR Doc. for Prod. Order in the EWM system 20060614
9 DELIVERY_TYPE_DET_PROD Static method Private Method Determine delivery type for Poduction Order Item 20061116
10 GEN_OPEN_TAB_OPEN_QTY Instance method Protected Method Generate a table for the open quantities 20070223
11 INIT_ID_FOR_POSA Instance method Protected Method Create single EGR Document for PO or SA 20060614
12 INIT_ID_FOR_PROD Instance method Protected Method Create single EGR Document for PO or SA 20060617
13 SELECT_ALL_POSA Instance method Public Method Select all PO or SA items 20060614
14 SELECT_ALL_PROD Instance method Public Method Select all Production order items 20060614
Events
# Event Type Visibility Description Created on
1 EGR_IS_CREATED_FOR_POSA Instance Event
(0)
Public
(2)
EGR is create d for PO or SA 20060616
2 EGR_IS_CREATED_FOR_PROD Instance Event
(0)
Public
(2)
EGR is create d for Production Order 20060617
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 YS_OQTY Protected See coding Open quantity per date 20070223 BEGIN OF ys_oqty, eindt TYPE eket-eindt, uzeit TYPE eket-uzeit, "n_1344719 sum_eket_menge TYPE eket-menge, sum_ekes_menge TYPE ekes-menge, sum_ekes_dabmg TYPE ekes-dabmg, END OF ys_oqty
2 YS_PROT Protected See coding Values for the protocol 20060617 BEGIN OF ys_prot, error_posa TYPE i, woerr_posa TYPE i, error_prod TYPE i, woerr_prod TYPE i, END OF ys_prot
3 YT_LGNUM Protected See coding Table for Plant / Storage location / Warehouse 20060728 yt_lgnum TYPE STANDARD TABLE OF t320
4 YT_OQTY Protected See coding Open quantity per date 20070223 yt_oqty TYPE STANDARD TABLE OF ys_oqty
5 Y_PROC_MODE Public Type reference (TYPE) CHAR01 Processing mode 20060617
Method Signatures

Method COLLECT_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHECK_GRP1 Call by reference Type reference (TYPE) /SPE/INB_CHECK_GRP Check Group 20060614
2 Importing I_CHECK_GRP2 Call by reference Type reference (TYPE) /SPE/INB_CHECK_GRP Check Group 20060614
3 Importing I_CHECK_GRP3 Call by reference Type reference (TYPE) /SPE/INB_CHECK_GRP Check Group 20060614
4 Importing I_CHECK_GRP4 Call by reference Type reference (TYPE) /SPE/INB_CHECK_GRP Check Group 20060614
5 Importing I_CHECK_ID Call by reference Type reference (TYPE) /SPE/INB_CHECK_ID Check method identification 20060614
6 Importing I_MSGID Call by reference Type reference (TYPE) ANY Message ID 20060614
7 Importing I_MSGNO Call by reference Type reference (TYPE) ANY Message number 20060614
8 Importing I_MSGTY Call by reference Type reference (TYPE) MSGTY Message type 20060614
9 Importing I_MSGV1 Call by reference Type reference (TYPE) ANY message variable 1 20060614
10 Importing I_MSGV2 Call by reference Type reference (TYPE) ANY message variable 2 20060614
11 Importing I_MSGV3 Call by reference Type reference (TYPE) ANY message variable 3 20060614
12 Importing I_MSGV4 Call by reference Type reference (TYPE) ANY message variable 4 20060614
13 Importing I_NOT_ERROR Call by reference Type reference (TYPE) XFELD SPACE Error ('E') will be converted to warning ('W') 20060614
14 Importing I_NO_HOLD Call by reference Type reference (TYPE) CHAR01 C_NOT_DEFINED Don't save the inbound delivery in HOLDmode 20060614
15 Importing I_NO_REAL Call by reference Type reference (TYPE) CHAR01 C_NOT_DEFINED Don't save the inbound delivery in REAL mode 20060614
16 Importing I_POSNR Call by reference Type reference (TYPE) LIPS-POSNR Delivery item 20060614
17 Importing I_VBELN Call by reference Type reference (TYPE) LIPS-VBELN Object Key (VBELN) 20060614

Method COLLECT_MESSAGE on class /SPE/CL_EGR_CONTROL has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class /SPE/CL_EGR_CONTROL has no parameter.
Method CONSTRUCTOR on class /SPE/CL_EGR_CONTROL has no exception.

Method CREATE_1_EGR_FOR_POSA Signature

Method CREATE_1_EGR_FOR_POSA on class /SPE/CL_EGR_CONTROL has no parameter.
Method CREATE_1_EGR_FOR_POSA on class /SPE/CL_EGR_CONTROL has no exception.

Method CREATE_1_EGR_FOR_PROD Signature

Method CREATE_1_EGR_FOR_PROD on class /SPE/CL_EGR_CONTROL has no parameter.
Method CREATE_1_EGR_FOR_PROD on class /SPE/CL_EGR_CONTROL has no exception.

Method CREATE_EGR_FOR_POSA Signature

Method CREATE_EGR_FOR_POSA on class /SPE/CL_EGR_CONTROL has no parameter.
Method CREATE_EGR_FOR_POSA on class /SPE/CL_EGR_CONTROL has no exception.

Method CREATE_EGR_FOR_PROD Signature

Method CREATE_EGR_FOR_PROD on class /SPE/CL_EGR_CONTROL has no parameter.
Method CREATE_EGR_FOR_PROD on class /SPE/CL_EGR_CONTROL has no exception.

Method DELETE_EWM_EGR_DOC_POSA Signature

Method DELETE_EWM_EGR_DOC_POSA on class /SPE/CL_EGR_CONTROL has no parameter.
Method DELETE_EWM_EGR_DOC_POSA on class /SPE/CL_EGR_CONTROL has no exception.

Method DELETE_EWM_EGR_DOC_PROD Signature

Method DELETE_EWM_EGR_DOC_PROD on class /SPE/CL_EGR_CONTROL has no parameter.
Method DELETE_EWM_EGR_DOC_PROD on class /SPE/CL_EGR_CONTROL has no exception.

Method DELIVERY_TYPE_DET_PROD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning E_DLVTY Value transfer Type reference (TYPE) LFART Lieferart 20061116
2 Importing IS_PROD_ITEM Call by reference Type reference (TYPE) /SPE/INB_PROD_ITEM 20061116

Method DELIVERY_TYPE_DET_PROD on class /SPE/CL_EGR_CONTROL has no exception.

Method GEN_OPEN_TAB_OPEN_QTY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_OQTY Call by reference Type reference (TYPE) YS_OQTY Open quantity per date 20070223
2 Exporting ET_OQTY Call by reference Type reference (TYPE) YT_OQTY Open quantity per date 20070223
3 Importing IT_EKES Call by reference Type reference (TYPE) MEOUT_T_EKES Table Type EKES 20070223
4 Importing IT_EKET Call by reference Type reference (TYPE) EKET_TT Table Type: Scheduling Agreement Schedule Lines 20070223

Method GEN_OPEN_TAB_OPEN_QTY on class /SPE/CL_EGR_CONTROL has no exception.

Method INIT_ID_FOR_POSA Signature

Method INIT_ID_FOR_POSA on class /SPE/CL_EGR_CONTROL has no parameter.
Method INIT_ID_FOR_POSA on class /SPE/CL_EGR_CONTROL has no exception.

Method INIT_ID_FOR_PROD Signature

Method INIT_ID_FOR_PROD on class /SPE/CL_EGR_CONTROL has no parameter.
Method INIT_ID_FOR_PROD on class /SPE/CL_EGR_CONTROL has no exception.

Method SELECT_ALL_POSA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_BSART Call by reference Type reference (TYPE) WPOCS_BSART_RANGE_TAB Range Table for Order Type 20060614
2 Importing IT_BSTAE Call by reference Type reference (TYPE) SHP_BSTAE_RANGE_T Ranges Table for Confirmation Control Key 20060614
3 Importing IT_EBELN Call by reference Type reference (TYPE) SHP_EBELN_RANGE_T Table Type for Ranges Table for Sales Document 20060614
4 Importing IT_LIFNR Call by reference Type reference (TYPE) BAPI1172_LIFNR_RANGE_TAB Range Table for Vendors 20060614
5 Importing IT_MATNR Call by reference Type reference (TYPE) /SPE/MATNR_RANGE_T Range table for material numbers 20060614
6 Importing I_DEL2 Call by reference Type reference (TYPE) /SPE/EGR_DELETE Delete EGR's 20101109
7 Importing I_DLV_DATE_FROM Call by reference Type reference (TYPE) TZNTSTMPS UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20060614
8 Importing I_DLV_DATE_TO Call by reference Type reference (TYPE) TZNTSTMPS UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20060614
9 Importing I_LGNUM Call by reference Type reference (TYPE) LGNUM Warehouse Number / Warehouse Complex 20060614

Method SELECT_ALL_POSA on class /SPE/CL_EGR_CONTROL has no exception.

Method SELECT_ALL_PROD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_AUART Call by reference Type reference (TYPE) SHP_AUART_RANGE_T 20060617
2 Importing IT_AUFNR Call by reference Type reference (TYPE) SHP_AUFNR_RANGE_T 20060617
3 Importing IT_MATNR Call by reference Type reference (TYPE) /SPE/MATNR_RANGE_T 20060617
4 Importing I_DEL2 Call by reference Type reference (TYPE) /SPE/EGR_DELETE Delete EGR's 20101109
5 Importing I_DLV_DATE_FROM Call by reference Type reference (TYPE) TZNTSTMPS 20060617
6 Importing I_DLV_DATE_TO Call by reference Type reference (TYPE) TZNTSTMPS 20060617
7 Importing I_LGNUM Call by reference Type reference (TYPE) LGNUM 20060617

Method SELECT_ALL_PROD on class /SPE/CL_EGR_CONTROL has no exception.
Event Signatures

Event EGR_IS_CREATED_FOR_POSA Signature
# Parameter Type Pass Value Optional Typing Method Associated Type Default value Description Created on
1 ID Exporting Value transfer Object reference (TYPE REF TO) /SPE/CL_ID_HANDLING Inbound delivery 20060616
2 LIFEX Exporting Value transfer Type reference (TYPE) LIFEX External Identification of Delivery Note 20060616
3 MESSAGES Exporting Value transfer Object reference (TYPE REF TO) /SPE/CL_INB_MSG_COLLECTOR Message collector 20060616
4 VBELN Exporting Value transfer Type reference (TYPE) VBELN Sales and Distribution Document Number 20060616

Event EGR_IS_CREATED_FOR_PROD Signature
# Parameter Type Pass Value Optional Typing Method Associated Type Default value Description Created on
1 ID Exporting Value transfer Object reference (TYPE REF TO) /SPE/CL_ID_HANDLING Inbound delivery 20060617
2 LIFEX Exporting Value transfer Type reference (TYPE) LIFEX External Identification of Delivery Note 20060617
3 MESSAGES Exporting Value transfer Object reference (TYPE REF TO) /SPE/CL_INB_MSG_COLLECTOR Message collector 20060617
4 VBELN Exporting Value transfer Type reference (TYPE) VBELN Sales and Distribution Document Number 20060617
History
Last changed by/on SAP  20130531 
SAP Release Created in 700