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 | Instance attribute | Protected | Object reference (TYPE REF TO) | /SPE/CL_ID_HANDLING | ID handling with dispatching and filtering | 20060614 | |||
| 2 | Instance attribute | Public | Object reference (TYPE REF TO) | /SPE/CL_INB_MSG_COLLECTOR | Message collector | 20060614 | |||
| 3 | Instance attribute | Protected | Object reference (TYPE REF TO) | /SPE/EX_EGR_CONTROL | Interface for BAdI: /SPE/INB_EX_GR_DOC | 20060614 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | YS_PROT | Values for the protocol | 20060617 | |||
| 5 | Static Attribute | Private | Type reference (TYPE) | T001W | Werke/Niederlassungen | 20061117 | |||
| 6 | Static Attribute | Private | Type reference (TYPE) | T134M | Steuerung Mengen-/Wertfortschreibung | 20061116 | |||
| 7 | Static Attribute | Private | Type reference (TYPE) | T156SC | Bewegungsart Mengen/Wertbuchung: Kundentabelle; ab Rel. 4.6A | 20061116 | |||
| 8 | Static Attribute | Private | Type reference (TYPE) | T320 | Zuordnung IM-Lagerort zu WM-Lagernummer | 20061116 | |||
| 9 | Static Attribute | Private | Type reference (TYPE) | T321 | Zuordnung Bewegungsart RM-MAT --> Bewegungsart RM-LVS | 20061116 | |||
| 10 | Static Attribute | Private | Type reference (TYPE) | TCOKO | Konstanten für PPS-Aufträge | 20061116 | |||
| 11 | Instance attribute | Protected | Type reference (TYPE) | /SPE/INB_PO_ITEM_T | Table for PO or SA items | 20060614 | |||
| 12 | Instance attribute | Protected | Type reference (TYPE) | /SPE/INB_PROD_ITEM_T | Table for Production Order Items | 20060617 | |||
| 13 | Instance attribute | Public | Type reference (TYPE) | XFELD | SPACE | Deletion only? | 20070223 | ||
| 14 | Instance attribute | Protected | Type reference (TYPE) | TZNTSTMPS | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | 20060614 | |||
| 15 | Instance attribute | Protected | Type reference (TYPE) | TZNTSTMPS | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | 20060614 | |||
| 16 | Instance attribute | Protected | Type reference (TYPE) | LFART | Delivery Type | 20060617 | |||
| 17 | Instance attribute | Protected | Type reference (TYPE) | LGNUM | Warehouse Number / Warehouse Complex | 20060614 | |||
| 18 | Instance attribute | Public | Type reference (TYPE) | Y_PROC_MODE | Processing Mode | 20060617 | |||
| 19 | Instance attribute | Public | Type reference (TYPE) | XFELD | SPACE | Test run | 20060616 | ||
| 20 | Constant | Public | See coding | Processing Mode | 20060617 | ||||
| 21 | Constant | Public | Type reference (TYPE) | CHAR30 | '/SCWM/ERP_EGR_PUR_DELETE' | FM name ine EWM fro delete EGR documenst for PO/SA | 20060621 | ||
| 22 | Constant | Public | Type reference (TYPE) | CHAR30 | '/SCWM/ERP_EGR_PROD_DELETE' | 20061205 | |||
| 23 | Instance attribute | Public | Attribute reference (LIKE) | 20060614 | |||||
| 24 | Constant | Public | Type reference (TYPE) | CHAR10 | 'EGR_DELETE' | Queue name | 20060621 | ||
| 25 | Instance attribute | Public | Attribute reference (LIKE) | 20060614 | |||||
| 26 | Instance attribute | Public | Attribute reference (LIKE) | 20060614 | |||||
| 27 | Instance attribute | Public | Attribute reference (LIKE) | 20060614 | |||||
| 28 | Instance attribute | Public | Attribute reference (LIKE) | 20060614 | |||||
| 29 | Instance attribute | Public | Attribute reference (LIKE) | 20060614 | |||||
| 30 | Instance attribute | Public | Attribute reference (LIKE) | 20060614 | |||||
| 31 | Instance attribute | Public | Attribute reference (LIKE) | 20060614 | |||||
| 32 | Constant | Public | Type reference (TYPE) | SYSTZONLO | 'UTC' | UTC time Zone | 20060614 | ||
| 33 | Instance attribute | Public | Attribute reference (LIKE) | 20060614 | |||||
| 34 | Instance attribute | Public | Attribute reference (LIKE) | 20060614 | |||||
| 35 | Instance attribute | Public | Attribute reference (LIKE) | 20060614 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Collect message | 20060614 | |
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20060614 | |
| 3 | Instance method | Protected | Method | Create single EGR Document for PO or SA | 20060614 | |
| 4 | Instance method | Protected | Method | Create single EGR Document for PO or SA | 20060617 | |
| 5 | Instance method | Public | Method | Create EGR Documents for PO or SA | 20060614 | |
| 6 | Instance method | Public | Method | Create EGR Documents for Production Orders | 20060614 | |
| 7 | Instance method | Public | Method | Delete all Expected GR Documents for PO/SA in the EWM system | 20060614 | |
| 8 | Instance method | Public | Method | Delete all Exp. GR Doc. for Prod. Order in the EWM system | 20060614 | |
| 9 | Static method | Private | Method | Determine delivery type for Poduction Order Item | 20061116 | |
| 10 | Instance method | Protected | Method | Generate a table for the open quantities | 20070223 | |
| 11 | Instance method | Protected | Method | Create single EGR Document for PO or SA | 20060614 | |
| 12 | Instance method | Protected | Method | Create single EGR Document for PO or SA | 20060617 | |
| 13 | Instance method | Public | Method | Select all PO or SA items | 20060614 | |
| 14 | 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 | I_CHECK_GRP1 | Call by reference | Type reference (TYPE) | /SPE/INB_CHECK_GRP | Check Group | 20060614 | |||
| 2 | I_CHECK_GRP2 | Call by reference | Type reference (TYPE) | /SPE/INB_CHECK_GRP | Check Group | 20060614 | |||
| 3 | I_CHECK_GRP3 | Call by reference | Type reference (TYPE) | /SPE/INB_CHECK_GRP | Check Group | 20060614 | |||
| 4 | I_CHECK_GRP4 | Call by reference | Type reference (TYPE) | /SPE/INB_CHECK_GRP | Check Group | 20060614 | |||
| 5 | I_CHECK_ID | Call by reference | Type reference (TYPE) | /SPE/INB_CHECK_ID | Check method identification | 20060614 | |||
| 6 | I_MSGID | Call by reference | Type reference (TYPE) | ANY | Message ID | 20060614 | |||
| 7 | I_MSGNO | Call by reference | Type reference (TYPE) | ANY | Message number | 20060614 | |||
| 8 | I_MSGTY | Call by reference | Type reference (TYPE) | MSGTY | Message type | 20060614 | |||
| 9 | I_MSGV1 | Call by reference | Type reference (TYPE) | ANY | message variable 1 | 20060614 | |||
| 10 | I_MSGV2 | Call by reference | Type reference (TYPE) | ANY | message variable 2 | 20060614 | |||
| 11 | I_MSGV3 | Call by reference | Type reference (TYPE) | ANY | message variable 3 | 20060614 | |||
| 12 | I_MSGV4 | Call by reference | Type reference (TYPE) | ANY | message variable 4 | 20060614 | |||
| 13 | I_NOT_ERROR | Call by reference | Type reference (TYPE) | XFELD | SPACE | Error ('E') will be converted to warning ('W') | 20060614 | ||
| 14 | I_NO_HOLD | Call by reference | Type reference (TYPE) | CHAR01 | C_NOT_DEFINED | Don't save the inbound delivery in HOLDmode | 20060614 | ||
| 15 | I_NO_REAL | Call by reference | Type reference (TYPE) | CHAR01 | C_NOT_DEFINED | Don't save the inbound delivery in REAL mode | 20060614 | ||
| 16 | I_POSNR | Call by reference | Type reference (TYPE) | LIPS-POSNR | Delivery item | 20060614 | |||
| 17 | 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 | E_DLVTY | Value transfer | Type reference (TYPE) | LFART | Lieferart | 20061116 | |||
| 2 | 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 | ES_OQTY | Call by reference | Type reference (TYPE) | YS_OQTY | Open quantity per date | 20070223 | |||
| 2 | ET_OQTY | Call by reference | Type reference (TYPE) | YT_OQTY | Open quantity per date | 20070223 | |||
| 3 | IT_EKES | Call by reference | Type reference (TYPE) | MEOUT_T_EKES | Table Type EKES | 20070223 | |||
| 4 | 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 | IT_BSART | Call by reference | Type reference (TYPE) | WPOCS_BSART_RANGE_TAB | Range Table for Order Type | 20060614 | |||
| 2 | IT_BSTAE | Call by reference | Type reference (TYPE) | SHP_BSTAE_RANGE_T | Ranges Table for Confirmation Control Key | 20060614 | |||
| 3 | IT_EBELN | Call by reference | Type reference (TYPE) | SHP_EBELN_RANGE_T | Table Type for Ranges Table for Sales Document | 20060614 | |||
| 4 | IT_LIFNR | Call by reference | Type reference (TYPE) | BAPI1172_LIFNR_RANGE_TAB | Range Table for Vendors | 20060614 | |||
| 5 | IT_MATNR | Call by reference | Type reference (TYPE) | /SPE/MATNR_RANGE_T | Range table for material numbers | 20060614 | |||
| 6 | I_DEL2 | Call by reference | Type reference (TYPE) | /SPE/EGR_DELETE | Delete EGR's | 20101109 | |||
| 7 | I_DLV_DATE_FROM | Call by reference | Type reference (TYPE) | TZNTSTMPS | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | 20060614 | |||
| 8 | I_DLV_DATE_TO | Call by reference | Type reference (TYPE) | TZNTSTMPS | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | 20060614 | |||
| 9 | 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 | IT_AUART | Call by reference | Type reference (TYPE) | SHP_AUART_RANGE_T | 20060617 | ||||
| 2 | IT_AUFNR | Call by reference | Type reference (TYPE) | SHP_AUFNR_RANGE_T | 20060617 | ||||
| 3 | IT_MATNR | Call by reference | Type reference (TYPE) | /SPE/MATNR_RANGE_T | 20060617 | ||||
| 4 | I_DEL2 | Call by reference | Type reference (TYPE) | /SPE/EGR_DELETE | Delete EGR's | 20101109 | |||
| 5 | I_DLV_DATE_FROM | Call by reference | Type reference (TYPE) | TZNTSTMPS | 20060617 | ||||
| 6 | I_DLV_DATE_TO | Call by reference | Type reference (TYPE) | TZNTSTMPS | 20060617 | ||||
| 7 | 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 |