Hierarchy
⤷
⤷
Properties
| Class | CL_SLDW_TRANSFER | |
| Short Description | File Transfer for Generic Whitelists | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SLDW | Generic Whitelist Administration |
| Created | 20130923 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_SLDW_TRANSFER has no forward declaration.
Interfaces
Class CL_SLDW_TRANSFER has no interface implemented.
Friends
Class CL_SLDW_TRANSFER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | XUBNAME | '............' | Dummy user name for customers | 20130930 | ||
| 2 | Constant | Public | Type reference (TYPE) | BOOLE_D | 'X' | X = failed | 20130930 | ||
| 3 | Constant | Private | Type reference (TYPE) | XUBNAME | 'SAP' | Dummy user name for SAP | 20130930 | ||
| 4 | Instance attribute | Private | Type reference (TYPE) | TS_CTRL | Global Control Information | 20130930 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | TT_R | Active version object list | 20130930 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | TT_D | Definition object list | 20130930 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | TT_LINE | Internal table for file | 20130930 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | TT_RH | Active version header data | 20130930 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | TT_DH | Definition header data | 20130930 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | TT_KEY_H | Scenario name list | 20130930 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | TT_TLOG | Table type for log | 20130930 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | TT_DT | Definition texts | 20130930 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Get whitelist data from the database | 20130930 | |
| 2 | Instance method | Private | Method | Load element list for a whitelist definition from the file | 20130930 | |
| 3 | Instance method | Private | Method | Load element list for a whitelist definition from the file | 20130930 | |
| 4 | Instance method | Private | Method | Generate download as internal table | 20130930 | |
| 5 | Instance method | Private | Method | Copy active whitelists to file | 20130930 | |
| 6 | Instance method | Private | Method | Copy whitelist definitions to file | 20130930 | |
| 7 | Instance method | Private | Method | Create file header | 20130930 | |
| 8 | Instance method | Private | Method | Copy whitelist short texts to file | 20130930 | |
| 9 | Instance method | Private | Method | Set column attributes for log | 20130930 | |
| 10 | Instance method | Private | Method | Set log header data | 20130930 | |
| 11 | Instance method | Private | Method | Collect log information | 20130930 | |
| 12 | Instance method | Public | Method | Start file download for whitelists | 20130930 | |
| 13 | Instance method | Private | Method | File transfer to frontend | 20130930 | |
| 14 | Instance method | Private | Method | Analyze and format file | 20130930 | |
| 15 | Instance method | Private | Method | Format data record and transfer to internal table | 20130930 | |
| 16 | Instance method | Private | Method | Identify table names | 20130930 | |
| 17 | Instance method | Private | Method | Prepare DB update | 20130930 | |
| 18 | Instance method | Private | Method | Log display for whitelist data transfer | 20130930 | |
| 19 | Instance method | Public | Method | Start file upload for whitelists | 20130930 | |
| 20 | Instance method | Private | Method | Load SLDW text file from front end | 20130930 | |
| 21 | Instance method | Private | Method | Update whitelist definition with loaded data | 20130930 | |
| 22 | Instance method | Private | Method | Save active whitelists from file | 20130930 |
Events
Class CL_SLDW_TRANSFER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TD_INFO | Public | See coding | 20130930 | td_info TYPE c LENGTH 128
|
||
| 2 | TD_LINE | Public | See coding | 20130930 | td_line TYPE c LENGTH 1200
|
||
| 3 | TD_STEP | Public | See coding | 20130930 | td_step TYPE c LENGTH 60
|
||
| 4 | TS_CTRL | Public | See coding | 20130930 | BEGIN OF ts_ctrl,
mode TYPE c LENGTH 1, "U or D
transf_def TYPE boole_d,
transf_act TYPE boole_d,
bname TYPE xubname,
replace TYPE boole_d,
copy_d_a TYPE boole_d,
copy_a_d TYPE boole_d,
sldc_cts TYPE boole_d,
test TYPE boole_d,
END OF ts_ctrl
|
||
| 5 | TS_KEY_H | Public | See coding | 20130930 | BEGIN OF ts_key_h,
name TYPE sldw_name,
END OF ts_key_h
|
||
| 6 | TS_TLOG | Public | See coding | 20130930 | BEGIN OF ts_tlog,
stat TYPE iconname,
step TYPE td_step,
info TYPE td_info,
END OF ts_tlog
|
||
| 7 | TT_D | Public | See coding | 20130930 | tt_d TYPE STANDARD TABLE OF sldw_elements
|
||
| 8 | TT_DH | Public | See coding | 20130930 | tt_dh TYPE STANDARD TABLE OF sldw_header
|
||
| 9 | TT_DT | Public | See coding | 20130930 | tt_dt TYPE STANDARD TABLE OF sldw_headert
|
||
| 10 | TT_KEY_H | Public | See coding | 20130930 | tt_key_h TYPE STANDARD TABLE OF ts_key_h
|
||
| 11 | TT_LINE | Public | See coding | 20130930 | tt_line TYPE STANDARD TABLE OF td_line
|
||
| 12 | TT_R | Public | See coding | 20130930 | tt_r TYPE STANDARD TABLE OF sldw_elements_rt
|
||
| 13 | TT_RH | Public | See coding | 20130930 | tt_rh TYPE STANDARD TABLE OF sldw_header_rt
|
||
| 14 | TT_R_NAME | Public | See coding | 20130930 | tt_r_name TYPE RANGE OF sldw_name
|
||
| 15 | TT_TLOG | Public | See coding | 20130930 | tt_tlog TYPE STANDARD TABLE OF ts_tlog
|
Method Signatures
Method GET_DATA_FROM_DB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_FAILED | Value transfer | Type reference (TYPE) | BOOLE_D | X - Keine Daten zur Selektion | 20130930 | |||
| 2 | IT_R_NAME | Call by reference | Type reference (TYPE) | TT_R_NAME | Range für WL-namen | 20130930 |
Method GET_DATA_FROM_DB on class CL_SLDW_TRANSFER has no exception.
Method GET_LOADED_ELE_ACT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ELE | Value transfer | Type reference (TYPE) | SLDW_T_ELEMENTS_RT | Tabellentyp SLDW_ELEMENTS | 20130930 | |||
| 2 | ID_NAME | Call by reference | Type reference (TYPE) | SLDW_NAME | Szenarioname für schaltbare Berechtigungsprüfung | 20130930 |
Method GET_LOADED_ELE_ACT on class CL_SLDW_TRANSFER has no exception.
Method GET_LOADED_ELE_DEF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ELE | Value transfer | Type reference (TYPE) | SLDW_T_ELEMENTS | Tabellentyp SLDW_ELEMENTS | 20130930 | |||
| 2 | ID_NAME | Call by reference | Type reference (TYPE) | SLDW_NAME | Szenarioname für schaltbare Berechtigungsprüfung | 20130930 |
Method GET_LOADED_ELE_DEF on class CL_SLDW_TRANSFER has no exception.
Method PREPARE_DOWNLOAD_FILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_ANONYM | Call by reference | Type reference (TYPE) | BOOLE_D | X = Anonymisieren | 20130930 |
Method PREPARE_DOWNLOAD_FILE on class CL_SLDW_TRANSFER has no exception.
Method PREPARE_DOWNLOAD_FILE_ACT Signature
Method PREPARE_DOWNLOAD_FILE_ACT on class CL_SLDW_TRANSFER has no parameter.
Method PREPARE_DOWNLOAD_FILE_ACT on class CL_SLDW_TRANSFER has no exception.
Method PREPARE_DOWNLOAD_FILE_DEF Signature
Method PREPARE_DOWNLOAD_FILE_DEF on class CL_SLDW_TRANSFER has no parameter.
Method PREPARE_DOWNLOAD_FILE_DEF on class CL_SLDW_TRANSFER has no exception.
Method PREPARE_DOWNLOAD_FILE_HEADER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_ANONYM | Call by reference | Type reference (TYPE) | BOOLE_D | X = Anonymisieren | 20130930 |
Method PREPARE_DOWNLOAD_FILE_HEADER on class CL_SLDW_TRANSFER has no exception.
Method PREPARE_DOWNLOAD_FILE_TXT Signature
Method PREPARE_DOWNLOAD_FILE_TXT on class CL_SLDW_TRANSFER has no parameter.
Method PREPARE_DOWNLOAD_FILE_TXT on class CL_SLDW_TRANSFER has no exception.
Method SALV_SET_COLUMNS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_ALV | Call by reference | Object reference (TYPE REF TO) | CL_SALV_TABLE | Basisklasse für einfache Tabellen | 20130930 |
Method SALV_SET_COLUMNS on class CL_SLDW_TRANSFER has no exception.
Method SALV_SET_HEADER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_ALV | Call by reference | Object reference (TYPE REF TO) | CL_SALV_TABLE | Basisklasse für einfache Tabellen | 20130930 |
Method SALV_SET_HEADER on class CL_SLDW_TRANSFER has no exception.
Method SLDW_COLLECT_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_RESULT | Call by reference | Type reference (TYPE) | SY-SUBRC | Ergebniswert | 20130930 | |||
| 2 | ID_STEP | Call by reference | Type reference (TYPE) | TD_STEP | Id. für Arbeitsschritt | 20130930 | |||
| 3 | ID_VAR1 | Call by reference | Type reference (TYPE) | ANY | Variable | 20130930 | |||
| 4 | ID_VAR2 | Call by reference | Type reference (TYPE) | ANY | Variable | 20130930 |
Method SLDW_COLLECT_LOG on class CL_SLDW_TRANSFER has no exception.
Method SLDW_DOWNLOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_ACT | Call by reference | Type reference (TYPE) | BOOLE_D | Aktive Whitelist übertragen | 20130930 | |||
| 2 | ID_ANONYM | Call by reference | Type reference (TYPE) | BOOLE_D | Zeitstempel anonymisieren | 20130930 | |||
| 3 | ID_DEF | Call by reference | Type reference (TYPE) | BOOLE_D | Whitelistdefinition übertragen | 20130930 | |||
| 4 | IT_R_NAME | Call by reference | Type reference (TYPE) | TT_R_NAME | Range für Whitelistnamen | 20130930 |
Method SLDW_DOWNLOAD on class CL_SLDW_TRANSFER has no exception.
Method SLDW_DOWNLOAD_FILE Signature
Method SLDW_DOWNLOAD_FILE on class CL_SLDW_TRANSFER has no parameter.
Method SLDW_DOWNLOAD_FILE on class CL_SLDW_TRANSFER has no exception.
Method SLDW_PARSE_FILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_NAMES | Call by reference | Type reference (TYPE) | TT_R_NAME | 20130930 |
Method SLDW_PARSE_FILE on class CL_SLDW_TRANSFER has no exception.
Method SLDW_PARSE_FILE_COLLECT_REC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_REC | Call by reference | Type reference (TYPE) | TD_LINE | Datensatz | 20130930 | |||
| 2 | ID_TAB | Call by reference | Type reference (TYPE) | TABNAME | Aktuelle Tabelle | 20130930 |
Method SLDW_PARSE_FILE_COLLECT_REC on class CL_SLDW_TRANSFER has no exception.
Method SLDW_PARSE_FILE_TABNAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_TABNAME | Value transfer | Type reference (TYPE) | TABNAME | Tabellenname | 20130930 | |||
| 2 | ID_REC | Call by reference | Type reference (TYPE) | TD_LINE | Datensatz | 20130930 |
Method SLDW_PARSE_FILE_TABNAME on class CL_SLDW_TRANSFER has no exception.
Method SLDW_PREPARE_UPD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ED_FAILED | Value transfer | Type reference (TYPE) | BOOLE_D | X = mindestens 1 schwerer Fehler | 20130930 |
Method SLDW_PREPARE_UPD on class CL_SLDW_TRANSFER has no exception.
Method SLDW_TRANSFER_SHOW_LOG Signature
Method SLDW_TRANSFER_SHOW_LOG on class CL_SLDW_TRANSFER has no parameter.
Method SLDW_TRANSFER_SHOW_LOG on class CL_SLDW_TRANSFER has no exception.
Method SLDW_UPLOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_ACT | Call by reference | Type reference (TYPE) | BOOLE_D | Aktive Whlisten übertragen | 20130930 | |||
| 2 | ID_COPY_DEF | Call by reference | Type reference (TYPE) | BOOLE_D | Geladene Definitionen in aktive Version übertragen | 20130930 | |||
| 3 | ID_DEF | Call by reference | Type reference (TYPE) | BOOLE_D | Whitelistendefinition übertragen | 20130930 | |||
| 4 | ID_REPLACE | Call by reference | Type reference (TYPE) | BOOLE_D | Existierende Whitelisten ersetzen | 20130930 | |||
| 5 | ID_TEST_ONLY | Call by reference | Type reference (TYPE) | BOOLE_D | Testupload only | 20130930 | |||
| 6 | ID_TRAN_SLDC | Call by reference | Type reference (TYPE) | BOOLE_D | Transportaufzeichnung für SLDC | 20130930 | |||
| 7 | IT_R_NAME | Call by reference | Type reference (TYPE) | TT_R_NAME | Range für Whitelistennamen | 20130930 |
Method SLDW_UPLOAD on class CL_SLDW_TRANSFER has no exception.
Method SLDW_UPLOAD_FILE Signature
Method SLDW_UPLOAD_FILE on class CL_SLDW_TRANSFER has no parameter.
Method SLDW_UPLOAD_FILE on class CL_SLDW_TRANSFER has no exception.
Method UPDATE_SLDD_FROM_FILE Signature
Method UPDATE_SLDD_FROM_FILE on class CL_SLDW_TRANSFER has no parameter.
Method UPDATE_SLDD_FROM_FILE on class CL_SLDW_TRANSFER has no exception.
Method UPDATE_SUCC_FROM_FILE Signature
Method UPDATE_SUCC_FROM_FILE on class CL_SLDW_TRANSFER has no parameter.
Method UPDATE_SUCC_FROM_FILE on class CL_SLDW_TRANSFER has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |