SAP /BSNAGT/CL_FILE_OPER OO Class - File Operation Class
/BSNAGT/CL_FILE_OPER is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class /BSNAGT/CL_FILE_OPER including details of:
- Interface class implementations
- Inheritance details
- Methods defined within class ( including link to full details )
- Attributes ( including initial values )
- Class Events
Method list of /BSNAGT/CL_FILE_OPER SAP class
A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD.
Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...
| Method Name | Description | Visability |
| CHECK_SELECTION | Check selection table | Protected |
| CALL METHOD /bsnagt/cl_file_oper=>CHECK_SELECTION...more details | ||
| CLEAR_BUFFER | Clears the file buffer | Public |
| CALL METHOD /bsnagt/cl_file_oper=>CLEAR_BUFFER...more details | ||
| CLEAR_EXTHD_BUFFER | Clears the Extended Header Buffer | Public |
| CALL METHOD /bsnagt/cl_file_oper=>CLEAR_EXTHD_BUFFER...more details | ||
| CLEAR_IHSTEP_BUFFER | Clears the Steps buffer | Public |
| CALL METHOD /bsnagt/cl_file_oper=>CLEAR_IHSTEP_BUFFER...more details | ||
| COMMIT_WORK_AND_WAIT | Execute 'COMMIT WORK AND WAIT' | Public |
| CALL METHOD /bsnagt/cl_file_oper=>COMMIT_WORK_AND_WAIT...more details | ||
| CONSTRUCTOR | Constructor | Protected |
| CALL METHOD /bsnagt/cl_file_oper=>CONSTRUCTOR...more details | ||
|
| ||
| CREATE_FSNMESSAGES_BY_BULK_XML | Create Messages by Bulk XML | Public |
| CALL METHOD /bsnagt/cl_file_oper=>CREATE_FSNMESSAGES_BY_BULK_XML...more details | ||
| CREATE_FSNMESSAGE_BY_FILE | Creates a FSN-Message Object by the file structure | Public |
| CALL METHOD /bsnagt/cl_file_oper=>CREATE_FSNMESSAGE_BY_FILE...more details | ||
| CREATE_IHSTEP_BY_CONF | Create IH-Step entry by Conf entry | Public |
| CALL METHOD /bsnagt/cl_file_oper=>CREATE_IHSTEP_BY_CONF...more details | ||
| DELETE_EXTHD | Delete Extended Header Parameter | Public |
| CALL METHOD /bsnagt/cl_file_oper=>DELETE_EXTHD...more details | ||
| DELETE_MESSAGE | Public | |
| CALL METHOD /bsnagt/cl_file_oper=>DELETE_MESSAGE...more details | ||
| DISPLAY_SXMB | Display message in SXMB_MONI | Public |
| CALL METHOD /bsnagt/cl_file_oper=>DISPLAY_SXMB...more details | ||
| EXT_HEADER_DDIC2XML | Transform DDIC rep. of Extended Header to XML rep. | Public |
| CALL METHOD /bsnagt/cl_file_oper=>EXT_HEADER_DDIC2XML...more details | ||
| EXT_HEADER_XML2DDIC | Transform XML rep. of Extended Header to DDIC rep. | Public |
| CALL METHOD /bsnagt/cl_file_oper=>EXT_HEADER_XML2DDIC...more details | ||
| GET_FSNMESSAGES_BY_GUIDS | Returns FSN-Message Objects by the specified GUIDs | Public |
| CALL METHOD /bsnagt/cl_file_oper=>GET_FSNMESSAGES_BY_GUIDS...more details | ||
| GET_FSNMESSAGE_BY_GUID | Returns FSN-Message Object by the specified GUID | Public |
| CALL METHOD /bsnagt/cl_file_oper=>GET_FSNMESSAGE_BY_GUID...more details | ||
| GET_INSTANCE | Returns Instance | Public |
| CALL METHOD /bsnagt/cl_file_oper=>GET_INSTANCE...more details | ||
| GET_MAX_MESSAGE_ID | Returns max message id | Public |
| CALL METHOD /bsnagt/cl_file_oper=>GET_MAX_MESSAGE_ID...more details | ||
| GET_MESSAGE_ID_FROM_NRO | Returns a number from number range for Message ID | Public |
| CALL METHOD /bsnagt/cl_file_oper=>GET_MESSAGE_ID_FROM_NRO...more details | ||
| GET_STATUS_TEXT | Get long text of file status | Public |
| CALL METHOD /bsnagt/cl_file_oper=>GET_STATUS_TEXT...more details | ||
| GET_TRANS_STATUS | Get transport layer status | Public |
| CALL METHOD /bsnagt/cl_file_oper=>GET_TRANS_STATUS...more details | ||
| INSERT | Insert Message | Public |
| CALL METHOD /bsnagt/cl_file_oper=>INSERT...more details | ||
| INSERT_EXTHD | Insert Extended Header Parameter | Public |
| CALL METHOD /bsnagt/cl_file_oper=>INSERT_EXTHD...more details | ||
| INSERT_IHSTEP | Insert Inbound Processing Step Result | Public |
| CALL METHOD /bsnagt/cl_file_oper=>INSERT_IHSTEP...more details | ||
| MAP_EXTHD_2_EXTENDED_HEADER | Map EXTHD entries to Extended Header object | Public |
| CALL METHOD /bsnagt/cl_file_oper=>MAP_EXTHD_2_EXTENDED_HEADER...more details | ||
| MAP_FILE_2_FSNMESSAGE | Maps the File view structure to a FSN Message | Public |
| CALL METHOD /bsnagt/cl_file_oper=>MAP_FILE_2_FSNMESSAGE...more details | ||
| MAP_FSNMESSAGE_2_FILE | Maps the FSNMessage structure to the File view | Public |
| CALL METHOD /bsnagt/cl_file_oper=>MAP_FSNMESSAGE_2_FILE...more details | ||
| PREPARE_COMMIT | Prepare Commit (e.g. call insert/update FMs) | Public |
| CALL METHOD /bsnagt/cl_file_oper=>PREPARE_COMMIT...more details | ||
| READ | Read Message | Public |
| CALL METHOD /bsnagt/cl_file_oper=>READ...more details | ||
| READ_DB_WITH_GUID | Read DB with guid (fills buffer) | Protected |
| CALL METHOD /bsnagt/cl_file_oper=>READ_DB_WITH_GUID...more details | ||
| READ_EXTHD | Read Extended Header Parameter | Public |
| CALL METHOD /bsnagt/cl_file_oper=>READ_EXTHD...more details | ||
| READ_EXTHD_BY_MESSAGE | Read Extended Header Parameter | Public |
| CALL METHOD /bsnagt/cl_file_oper=>READ_EXTHD_BY_MESSAGE...more details | ||
| READ_FROM_CDS | Public | |
| CALL METHOD /bsnagt/cl_file_oper=>READ_FROM_CDS...more details | ||
| READ_GUID | Read GUIDs by selection criteria | Public |
| CALL METHOD /bsnagt/cl_file_oper=>READ_GUID...more details | ||
| READ_IHSTEP | Read Inbound Processing Step Result | Public |
| CALL METHOD /bsnagt/cl_file_oper=>READ_IHSTEP...more details | ||
| READ_IHSTEP_BY_CONF | Read Inbound Processing Step Result by Step Conf | Public |
| CALL METHOD /bsnagt/cl_file_oper=>READ_IHSTEP_BY_CONF...more details | ||
| READ_IHSTEP_BY_MESSAGE | Read Inbound Processing Step Result | Public |
| CALL METHOD /bsnagt/cl_file_oper=>READ_IHSTEP_BY_MESSAGE...more details | ||
| READ_OPT_FOR_ALERTING | Optimized reading for alerting (no buffering) | Public |
| CALL METHOD /bsnagt/cl_file_oper=>READ_OPT_FOR_ALERTING...more details | ||
| TEARDOWN | Public | |
| CALL METHOD /bsnagt/cl_file_oper=>TEARDOWN...more details | ||
| TEARDOWN_INSTANCE | Teardown Instance (e.g. event deregistration) | Public |
| CALL METHOD /bsnagt/cl_file_oper=>TEARDOWN_INSTANCE...more details | ||
| UPDATE | Update Message | Public |
| CALL METHOD /bsnagt/cl_file_oper=>UPDATE...more details | ||
| UPDATE_BUFFER | Updates buffer with the given file | Public |
| CALL METHOD /bsnagt/cl_file_oper=>UPDATE_BUFFER...more details | ||
| UPDATE_EXTHD | Update Extended Header Parameter | Public |
| CALL METHOD /bsnagt/cl_file_oper=>UPDATE_EXTHD...more details | ||
| UPDATE_IHSTEP | Update Inbound Processing Step Result | Public |
| CALL METHOD /bsnagt/cl_file_oper=>UPDATE_IHSTEP...more details | ||
| UPDATE_STEP_NAV_REF_FROM_DB | Updates the nav ref in the step buffer for a given step-guid | Public |
| CALL METHOD /bsnagt/cl_file_oper=>UPDATE_STEP_NAV_REF_FROM_DB...more details | ||
| WRITE_TO_DB | Write buffers to DB | Public |
| CALL METHOD /bsnagt/cl_file_oper=>WRITE_TO_DB...more details | ||
/BSNAGT/CL_FILE_OPER attributes
List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.
| Name | Level | Description | Initial Value | Type | Visability |
| CV_CRT | Constant | Create record state | 'CRT' | LIKE /BSNAGT/RECORD_STATE | Protected |
| CV_DEL | Constant | Delete Record state | 'DEL' | LIKE /BSNAGT/RECORD_STATE | Protected |
| CV_INIT | Constant | Init record state | 'INIT' | LIKE /BSNAGT/RECORD_STATE | Protected |
| CV_UPD | Constant | Update record state | 'UPD' | LIKE /BSNAGT/RECORD_STATE | Protected |
| MR_INSTANCE | Static Attribute | File Operation Class | LIKE /BSNAGT/CL_FILE_OPER | Protected | |
| MT_BUFFER_EXTHD | Instance Attribute | Buffer - Extended Header Parameter | LIKE /BSNAGT/TTY_BUFFER_EXTHD | Protected | |
| MT_BUFFER_IHSTEP | Instance Attribute | Buffer - Inbound Processing Step Result | LIKE /BSNAGT/TTY_BUFFER_IHSTEP | Protected | |
| MT_FILE_BUFFER | Instance Attribute | File-Table - sorted | LIKE /BSNAGT/TTY_BUFFER_FILE_INF | Protected |
Events of Class /BSNAGT/CL_FILE_OPER
Events are created within your class using special event handler methods. These must be registered at runtime for the event and can then be triggered using the ABAP syntax: RAISE EVENT EXPOTING... WRITE_TO_DB_EVENT -Links to Related Class(s)
/BSNAGT/...Full list of available SAP object classes
Search for further information about these or an SAP related objects