SAP ABAP Class CL_WRMA_OUTBOUND_PROCESS (RMA Period Close)
Hierarchy
☛
BI_CONT (Software Component) Business Intelligence Content
⤷
BW-BCT-ISR-RSL (Application Component) Retail Stock Ledger
⤷
RS_AA_WRMA_RE (Package) Interfaces between RMA Engine and R/3
⤷
⤷
Properties
| Class | CL_WRMA_OUTBOUND_PROCESS | |
| Short Description | RMA Period Close | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | WRMA1 | |
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | RS_AA_WRMA_RE | Interfaces between RMA Engine and R/3 |
| Created | 20070731 | SAP |
| Last change | 20141101 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_WRMA_OUTBOUND_PROCESS has no interface implemented.
Friends
Class CL_WRMA_OUTBOUND_PROCESS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | I | 5000 | Max. Number of IDoc Segments | 20070820 | ||
| 2 | Constant | Public | Type reference (TYPE) | STRUKNAME | 'E1WRMA_REV_ELEVEL' | Header Segment Structure | 20070815 | ||
| 3 | Constant | Public | Type reference (TYPE) | EDI_MESTYP | 'WRMA_REV_DATA' | Message Type | 20070815 | ||
| 4 | Static Attribute | Private | Type reference (TYPE) | AS_T_RNG_ARCHIV | Ranges Table for the Selection of Archive Files | 20080416 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | BUDAT | Posting Date in the Document | 20070731 | |||
| 6 | Static Attribute | Private | Type reference (TYPE) | XFELD | Read from Archive Wanted | 20080416 | |||
| 7 | Static Attribute | Private | Type reference (TYPE) | XFELD | Use Archive Information Structure | 20080416 | |||
| 8 | Static Attribute | Private | Type reference (TYPE) | XFELD | Read from DB Wanted | 20080416 | |||
| 9 | Static Attribute | Public | Type reference (TYPE) | WRMA_DE_RMA_PROF | RMA Customizing Profile | 20070817 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | /RTF/DE_PLANT | Location | 20070731 | |||
| 11 | Static Attribute | Private | Type reference (TYPE) | WRMA_T_OUT_H_KEY | Table of Period Closes on DB | 20070817 | |||
| 12 | Static Attribute | Private | Type reference (TYPE) | WRMA_T_OUT_I_SORTED | Table of Items for RMA Period Close | 20070817 | |||
| 13 | Static Attribute | Public | Type reference (TYPE) | WRMA_TT_TABLE | Table Type for Condition Tables | 20070817 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | NTYPE_T_OBJECTS | Table of Instances of Period Close Runs | 20070919 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | WRMA_T_OBJECT_RANGES | Select Options for RMA Valuation Object | 20070731 | |||
| 16 | Static Attribute | Private | Type reference (TYPE) | WRMA_TS_OUT_INDOC | Buffer with Run Number for Each Document (Table) | 20080418 | |||
| 17 | Static Attribute | Public | Type reference (TYPE) | WRMA_TT_R3TRANS | Table Type for Transfer Table | 20070817 | |||
| 18 | Static Attribute | Public | Type reference (TYPE) | WRMA_TT_UPDR_STD | Update Rules | 20070903 | |||
| 19 | Static Attribute | Public | Type reference (TYPE) | XFELD | Indicator: Standard Update Rules | 20090706 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Check if Calculation Schema Can Be Changed | 20071213 | |
| 2 | Static method | Public | Constructor | Class constructor | 20070817 | |
| 3 | Instance method | Public | Method | Reset Instance-Dependent Data in Main Memory | 20070815 | |
| 4 | Instance method | Private | Constructor | Constructor | 20070731 | |
| 5 | Static method | Public | Method | Create Instance(s) for Period Close (Runs) | 20070731 | |
| 6 | Static method | Public | Method | User Decision Whether Archive Access is Wanted | 20080416 | |
| 7 | Static method | Public | Method | Display RMA Inbound Document | 20080418 | |
| 8 | Static method | Public | Method | Display Application Log (ERP) | 20070802 | |
| 9 | Static method | Public | Method | Display Application Log (BW) | 20070802 | |
| 10 | Instance method | Private | Method | Split RMA Objects over Several IDocs (if Required) | 20070820 | |
| 11 | Static method | Public | Method | Provide RMA Inbound Documents with Status | 20080417 | |
| 12 | Static method | Public | Method | Check if Period Can Be Affected by Archiving | 20080416 | |
| 13 | Static method | Public | Method | Check Whether Reversal Is Possible | 20070921 | |
| 14 | Instance method | Public | Method | Provide RMA Data | 20070815 | |
| 15 | Static method | Public | Method | Read Period Close Run(s) | 20070801 | |
| 16 | Static method | Public | Method | Read Period-End Closing Run(s) for Site (Unbuffered) | 20080410 | |
| 17 | Static method | Private | Method | Read Period-End Closing Run(s) from Archive | 20080416 | |
| 18 | Static method | Private | Method | Read Single Object from Archive | 20080417 | |
| 19 | Static method | Public | Method | Reverse Period Close Run | 20070802 | |
| 20 | Instance method | Public | Method | Post Period Close Run and Create IDoc | 20070802 |
Events
Class CL_WRMA_OUTBOUND_PROCESS has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | NTYPE_S_OBJECTS | Public | See coding | Instance Period Close Run | 20070731 | BEGIN OF ntype_s_objects,
r_single_run TYPE REF TO cl_wrma_outbound_single_run,
END OF ntype_s_objects
|
|
| 2 | NTYPE_TH_WRMA_OBJECTS | Public | See coding | Hash Table of Individual RMA Objects | 20070821 | ntype_th_wrma_objects TYPE HASHED TABLE OF wrma_s_object_nodes
WITH UNIQUE KEY object
|
|
| 3 | NTYPE_T_OBJECTS | Public | See coding | Table of Instances of Period Close Runs | 20070919 | ntype_t_objects TYPE TABLE OF ntype_s_objects
|
|
| 4 | NTYPE_T_OBJECT_RANGES | Public | See coding | Table of RMA Object Ranges (for Several IDocs) | 20070820 | ntype_t_object_ranges TYPE TABLE OF wrma_t_object_ranges
|
|
| 5 | NTYPE_T_T685Z | Public | See coding | Table of Access Condition Types | 20070802 | ntype_t_t685z TYPE TABLE OF wrma_t685z
|
Method Signatures
Method CHECK_CALC_SCHEMA_CHANGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DISTR_CHAN | Value transfer | Type reference (TYPE) | /RTF/DE_DISTR_CHAN | Vertriebsweg | 20071213 | |||
| 2 | I_SALESORG | Value transfer | Type reference (TYPE) | /RTF/DE_SALESORG | Verkaufsorganisation | 20071213 |
Method CHECK_CALC_SCHEMA_CHANGE on class CL_WRMA_OUTBOUND_PROCESS has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_WRMA_OUTBOUND_PROCESS has no parameter.
Method CLASS_CONSTRUCTOR on class CL_WRMA_OUTBOUND_PROCESS has no exception.
Method CLOSE Signature
Method CLOSE on class CL_WRMA_OUTBOUND_PROCESS has no parameter.
Method CLOSE on class CL_WRMA_OUTBOUND_PROCESS has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_OUT_NR | Value transfer | Type reference (TYPE) | WRMA_OUT_NR | Nummer des RMA-Periodenabschlusslaufs | 20070801 | |||
| 2 | I_PSTNG_DATE | Value transfer | Type reference (TYPE) | BUDAT | Buchungsdatum im Beleg | 20070731 | |||
| 3 | I_SITE | Value transfer | Type reference (TYPE) | /RTF/DE_PLANT | Lokation | 20070731 | |||
| 4 | I_T_OBJECT_RANGES | Call by reference | Type reference (TYPE) | WRMA_T_OBJECT_RANGES | Select-Options für RMA-Bewertungsobjekt | 20070731 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | ALE-Schnittstelle nicht initialisiert | 20070815 | ||
| 2 | Buchungskreis nicht vorhanden | 20070802 | ||
| 3 | Customizing unvollständig | 20070802 | ||
| 4 | Fehler bei Erzeugen Application Log | 20070802 | ||
| 5 | Fehler bei Nummernvergabe | 20070802 | ||
| 6 | Fehler bei Parameterübergabe | 20070821 | ||
| 7 | Betrieb nicht vorhanden | 20070802 | ||
| 8 | Inkonsistenz | 20070802 |
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_PROCESS | Call by reference | Object reference (TYPE REF TO) | CL_WRMA_OUTBOUND_PROCESS | Referenz auf Periodenabschluss-Instanz | 20070802 | |||
| 2 | IT_OBJECT_RANGES | Call by reference | Type reference (TYPE) | WRMA_T_OBJECT_RANGES | Select-Options für RMA-Bewertungsobjekt | 20070731 | |||
| 3 | I_OUT_NR | Value transfer | Type reference (TYPE) | WRMA_OUT_NR | Nummer des RMA-Periodenabschlusslaufs | 20070801 | |||
| 4 | I_PSTNG_DATE | Value transfer | Type reference (TYPE) | BUDAT | Buchungsdatum im Beleg | 20070731 | |||
| 5 | I_SITE | Value transfer | Type reference (TYPE) | /RTF/DE_PLANT | Lokation | 20070731 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | ALE-Interface nicht initialisiert | 20070815 | ||
| 2 | Buchungskreis nicht vorhanden | 20070802 | ||
| 3 | Kein Eintrag in WRMA_COMPCODE | 20070802 | ||
| 4 | Fehler bei Erzeugen Application Log | 20070802 | ||
| 5 | Fehler bei Nummernvergabe | 20070802 | ||
| 6 | Fehler bei Parameterübergabe | 20070821 | ||
| 7 | Betrieb nicht vorhanden | 20070802 | ||
| 8 | Inkonsistenz | 20070802 |
Method DATASOURCE_SELECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FORCE_READAR | Value transfer | Type reference (TYPE) | XFELD | Lesen aus Archiv erzwingen | 20080520 | |||
| 2 | I_FORCE_READAS | Value transfer | Type reference (TYPE) | XFELD | Archivinformationsstruktur benutzen | 20080520 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Archivinfostruktur gefunden | 20080416 | ||
| 2 | Inkonsistenz | 20080416 |
Method DISPLAY_DOCUMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DOC_NR | Value transfer | Type reference (TYPE) | WRMA_WBELN | Agenturgeschäft: Belegnummer (für RFC) | 20080418 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Eingangsbeleg nicht gefunden | 20080418 |
Method DISPLAY_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_OUT_NR | Value transfer | Type reference (TYPE) | WRMA_OUT_NR | Nummer des RMA-Periodenabschlusslaufs | 20070802 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Ermittlung des Logs | 20070820 |
Method DISPLAY_LOG_BW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_OUT_NR | Value transfer | Type reference (TYPE) | WRMA_OUT_NR | Nummer des RMA-Periodenabschlusslaufs | 20070802 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Logermittlung | 20070820 |
Method DIVIDE_WORK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_OBJECT_RANGES | Call by reference | Type reference (TYPE) | NTYPE_T_OBJECT_RANGES | Tabelle von RMA-Objekt-Ranges (für mehrere IDOCs) | 20070820 |
Method DIVIDE_WORK on class CL_WRMA_OUTBOUND_PROCESS has no exception.
Method GET_DOCUMENTS_FOR_RUN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_TRANS_RFC_DOC | Call by reference | Type reference (TYPE) | WRMA_T_TRANS_RFC_TARGET_DOC | Eingangsbelegdaten zum Periodenabschlusslauf (Tabelle) | 20080417 | |||
| 2 | I_OUT_NR | Value transfer | Type reference (TYPE) | WRMA_OUT_NR | Nummer des RMA-Periodenabschlusslaufs | 20080417 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Kein Eingangsbeleg gefunden | 20080418 | ||
| 2 | Inkonsistenz | 20080418 |
Method IS_ARCHIVING_POSSIBLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_ARCHIVING_POSSIBLE | Call by reference | Type reference (TYPE) | XFELD | Periode ist archivierbar | 20080416 | |||
| 2 | I_COMP_CODE | Value transfer | Type reference (TYPE) | /RTF/DE_COMP_CODE | Buchungskreis | 20080416 | |||
| 3 | I_FISCPER | Value transfer | Type reference (TYPE) | /RTF/DE_FISCPER | Geschäftsjahr / Periode | 20080416 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Periodenabschluss nicht erlaubt | 20080416 | ||
| 2 | Inkonsistenz | 20080416 |
Method IS_REVERSAL_POSSIBLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_IS_POSSIBLE | Value transfer | Type reference (TYPE) | XFELD | Storno ist möglich | 20070921 | |||
| 2 | I_OUT_NR | Value transfer | Type reference (TYPE) | WRMA_OUT_NR | Nummer des zu stornierenden Laufs | 20070921 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Inkonsistenz | 20070921 |
Method PROVIDE_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_CHANGED | Value transfer | Type reference (TYPE) | XFELD | Änderungen vorhanden | 20070912 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Datenbereitstellung fehlgeschlagen | 20070816 |
Method READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_OUT_H | Call by reference | Type reference (TYPE) | WRMA_T_OUT_H | Tabelle von Periodenabschlussläufen (Kopfdaten) | 20070801 | |||
| 2 | E_T_OUT_I | Call by reference | Type reference (TYPE) | WRMA_T_OUT_I | Tabelle von Positionen zu RMA-Periodenabschluss | 20070817 | |||
| 3 | E_T_TRANS_RFC | Call by reference | Type reference (TYPE) | WRMA_T_TRANS_RFC | Tabelle von Periodenabschlussläufen (Daten aus ERP) | 20070801 | |||
| 4 | I_BUFFER_REFRESH | Value transfer | Type reference (TYPE) | XFELD | Puffer zurücksetzen | 20070817 | |||
| 5 | I_FISCPER | Value transfer | Type reference (TYPE) | RSFISCPER | Geschäftsjahr / Periode | 20070801 | |||
| 6 | I_FISCVAR | Value transfer | Type reference (TYPE) | PERIV | Geschäftsjahresvariante | 20070801 | |||
| 7 | I_NO_REVERSALS | Value transfer | Type reference (TYPE) | XFELD | Keine Storno- oder stornierte Läufe lesen | 20070817 | |||
| 8 | I_SITE | Value transfer | Type reference (TYPE) | /RTF/DE_PLANT | Lokation | 20070801 | |||
| 9 | I_STATUS_SUCCESS_ONLY | Value transfer | Type reference (TYPE) | XFELD | Nur erfolgreiche Läufe lesen | 20070817 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Lesen aus Archiv nicht möglich | 20080417 | ||
| 2 | Keinen Lauf gefunden | 20070817 | ||
| 3 | RFC-Destination fehlerhaft | 20070820 | ||
| 4 | Inkonsistenz | 20070821 |
Method READ_BY_SITE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_T_OUT_H | Call by reference | Type reference (TYPE) | WRMA_T_OUT_H | Tabelle von Periodenabschlussläufen (Kopfdaten) | 20080410 | |||
| 2 | I_NO_REVERSALS | Value transfer | Type reference (TYPE) | XFELD | Keine Storno- oder stornierte Läufe lesen | 20080410 | |||
| 3 | I_SITE | Value transfer | Type reference (TYPE) | /RTF/DE_PLANT | Lokation | 20080410 | |||
| 4 | I_STATUS_SUCCESS_ONLY | Value transfer | Type reference (TYPE) | XFELD | Nur erfolgreiche Läufe lesen | 20080410 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keinen Lauf gefunden | 20080410 | ||
| 2 | RFC-Destination fehlerhaft | 20080410 | ||
| 3 | Inkonsistenz | 20080410 |
Method READ_FROM_ARCHIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_OUT_H | Call by reference | Type reference (TYPE) | WRMA_T_OUT_H | Tabelle von Periodenabschlussläufen (Kopfdaten) | 20080416 | |||
| 2 | ET_OUT_I | Call by reference | Type reference (TYPE) | WRMA_T_OUT_I | Tabelle von Positionen zu RMA-Periodenabschluss | 20080416 | |||
| 3 | I_FISCPER | Value transfer | Type reference (TYPE) | /RTF/DE_FISCPER | Geschäftsjahr / Periode | 20080416 | |||
| 4 | I_FISCVARNT | Value transfer | Type reference (TYPE) | /RTF/DE_FISCVARNT | Geschäftsjahresvariante | 20080416 | |||
| 5 | I_PLANT | Value transfer | Type reference (TYPE) | /RTF/DE_PLANT | Lokation | 20080416 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Keine Archivdatei gefunden | 20080417 | ||
| 2 | Keine Archivinfostruktur gefunden | 20080416 | ||
| 3 | Keine Berechtigung zum Lesen | 20080416 | ||
| 4 | Keinen Lauf gefunden | 20080416 | ||
| 5 | Inkonsistenz | 20080416 |
Method READ_SINGLE_OBJ_FROM_AR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_OUT_H | Call by reference | Type reference (TYPE) | WRMA_T_OUT_H | Tabelle von Periodenabschlussläufen (Kopfdaten) | 20080417 | |||
| 2 | ET_OUT_I | Call by reference | Type reference (TYPE) | WRMA_T_OUT_I | Tabelle von Positionen zu RMA-Periodenabschluss | 20080417 | |||
| 3 | IT_OBJ_DATA | Call by reference | Type reference (TYPE) | AS_T_TABLEBUFFER | AS: Tabelle von Tabellenpuffern | 20080417 | |||
| 4 | IT_SELECTIONS | Call by reference | Type reference (TYPE) | RSDS_FRANGE_T | Selektionen | 20080417 |
Method READ_SINGLE_OBJ_FROM_AR on class CL_WRMA_OUTBOUND_PROCESS has no exception.
Method REVERSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_OUT_NR | Value transfer | Type reference (TYPE) | WRMA_OUT_NR | Nummer des RMA-Periodenabschlusslaufs | 20070802 | |||
| 2 | I_PSTNG_DATE | Value transfer | Type reference (TYPE) | BUDAT | Buchungsdatum im Beleg | 20070802 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Buchungskreis nicht vorhanden | 20070802 | ||
| 2 | Kein Eintrag in WRMA_COMPCODE | 20070802 | ||
| 3 | Fehler bei Erzeugen Application Log | 20070802 | ||
| 4 | Fehler bei Nummernvergabe | 20070802 | ||
| 5 | Zu stornierenden Lauf nicht gefunden | 20070802 | ||
| 6 | Betrieb nicht vorhanden | 20070802 | ||
| 7 | Inkonsistenz | 20070802 |
Method SAVE Signature
Method SAVE on class CL_WRMA_OUTBOUND_PROCESS has no parameter.
Method SAVE on class CL_WRMA_OUTBOUND_PROCESS has no exception.
History
| Last changed by/on | SAP | 20141101 |
| SAP Release Created in | 703 |