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 NameDescriptionVisability
CHECK_SELECTIONCheck selection tableProtected
CALL METHOD /bsnagt/cl_file_oper=>CHECK_SELECTION...more details

CLEAR_BUFFERClears the file bufferPublic
CALL METHOD /bsnagt/cl_file_oper=>CLEAR_BUFFER...more details

CLEAR_EXTHD_BUFFERClears the Extended Header BufferPublic
CALL METHOD /bsnagt/cl_file_oper=>CLEAR_EXTHD_BUFFER...more details

CLEAR_IHSTEP_BUFFERClears the Steps bufferPublic
CALL METHOD /bsnagt/cl_file_oper=>CLEAR_IHSTEP_BUFFER...more details

COMMIT_WORK_AND_WAITExecute 'COMMIT WORK AND WAIT'Public
CALL METHOD /bsnagt/cl_file_oper=>COMMIT_WORK_AND_WAIT...more details

CONSTRUCTORConstructorProtected
CALL METHOD /bsnagt/cl_file_oper=>CONSTRUCTOR...more details

CREATE_FSNMESSAGES_BY_BULK_XMLCreate Messages by Bulk XMLPublic
CALL METHOD /bsnagt/cl_file_oper=>CREATE_FSNMESSAGES_BY_BULK_XML...more details

CREATE_FSNMESSAGE_BY_FILECreates a FSN-Message Object by the file structurePublic
CALL METHOD /bsnagt/cl_file_oper=>CREATE_FSNMESSAGE_BY_FILE...more details

CREATE_IHSTEP_BY_CONFCreate IH-Step entry by Conf entryPublic
CALL METHOD /bsnagt/cl_file_oper=>CREATE_IHSTEP_BY_CONF...more details

DELETE_EXTHDDelete Extended Header ParameterPublic
CALL METHOD /bsnagt/cl_file_oper=>DELETE_EXTHD...more details

DELETE_MESSAGEPublic
CALL METHOD /bsnagt/cl_file_oper=>DELETE_MESSAGE...more details

DISPLAY_SXMBDisplay message in SXMB_MONIPublic
CALL METHOD /bsnagt/cl_file_oper=>DISPLAY_SXMB...more details

EXT_HEADER_DDIC2XMLTransform DDIC rep. of Extended Header to XML rep.Public
CALL METHOD /bsnagt/cl_file_oper=>EXT_HEADER_DDIC2XML...more details

EXT_HEADER_XML2DDICTransform XML rep. of Extended Header to DDIC rep.Public
CALL METHOD /bsnagt/cl_file_oper=>EXT_HEADER_XML2DDIC...more details

GET_FSNMESSAGES_BY_GUIDSReturns FSN-Message Objects by the specified GUIDsPublic
CALL METHOD /bsnagt/cl_file_oper=>GET_FSNMESSAGES_BY_GUIDS...more details

GET_FSNMESSAGE_BY_GUIDReturns FSN-Message Object by the specified GUIDPublic
CALL METHOD /bsnagt/cl_file_oper=>GET_FSNMESSAGE_BY_GUID...more details

GET_INSTANCEReturns InstancePublic
CALL METHOD /bsnagt/cl_file_oper=>GET_INSTANCE...more details

GET_MAX_MESSAGE_IDReturns max message idPublic
CALL METHOD /bsnagt/cl_file_oper=>GET_MAX_MESSAGE_ID...more details

GET_MESSAGE_ID_FROM_NROReturns a number from number range for Message IDPublic
CALL METHOD /bsnagt/cl_file_oper=>GET_MESSAGE_ID_FROM_NRO...more details

GET_STATUS_TEXTGet long text of file statusPublic
CALL METHOD /bsnagt/cl_file_oper=>GET_STATUS_TEXT...more details

GET_TRANS_STATUSGet transport layer statusPublic
CALL METHOD /bsnagt/cl_file_oper=>GET_TRANS_STATUS...more details

INSERTInsert MessagePublic
CALL METHOD /bsnagt/cl_file_oper=>INSERT...more details

INSERT_EXTHDInsert Extended Header ParameterPublic
CALL METHOD /bsnagt/cl_file_oper=>INSERT_EXTHD...more details

INSERT_IHSTEPInsert Inbound Processing Step ResultPublic
CALL METHOD /bsnagt/cl_file_oper=>INSERT_IHSTEP...more details

MAP_EXTHD_2_EXTENDED_HEADERMap EXTHD entries to Extended Header objectPublic
CALL METHOD /bsnagt/cl_file_oper=>MAP_EXTHD_2_EXTENDED_HEADER...more details

MAP_FILE_2_FSNMESSAGEMaps the File view structure to a FSN MessagePublic
CALL METHOD /bsnagt/cl_file_oper=>MAP_FILE_2_FSNMESSAGE...more details

MAP_FSNMESSAGE_2_FILEMaps the FSNMessage structure to the File viewPublic
CALL METHOD /bsnagt/cl_file_oper=>MAP_FSNMESSAGE_2_FILE...more details

PREPARE_COMMITPrepare Commit (e.g. call insert/update FMs)Public
CALL METHOD /bsnagt/cl_file_oper=>PREPARE_COMMIT...more details

READRead MessagePublic
CALL METHOD /bsnagt/cl_file_oper=>READ...more details

READ_DB_WITH_GUIDRead DB with guid (fills buffer)Protected
CALL METHOD /bsnagt/cl_file_oper=>READ_DB_WITH_GUID...more details

READ_EXTHDRead Extended Header ParameterPublic
CALL METHOD /bsnagt/cl_file_oper=>READ_EXTHD...more details

READ_EXTHD_BY_MESSAGERead Extended Header ParameterPublic
CALL METHOD /bsnagt/cl_file_oper=>READ_EXTHD_BY_MESSAGE...more details

READ_FROM_CDSPublic
CALL METHOD /bsnagt/cl_file_oper=>READ_FROM_CDS...more details

READ_GUIDRead GUIDs by selection criteriaPublic
CALL METHOD /bsnagt/cl_file_oper=>READ_GUID...more details

READ_IHSTEPRead Inbound Processing Step ResultPublic
CALL METHOD /bsnagt/cl_file_oper=>READ_IHSTEP...more details

READ_IHSTEP_BY_CONFRead Inbound Processing Step Result by Step ConfPublic
CALL METHOD /bsnagt/cl_file_oper=>READ_IHSTEP_BY_CONF...more details

READ_IHSTEP_BY_MESSAGERead Inbound Processing Step ResultPublic
CALL METHOD /bsnagt/cl_file_oper=>READ_IHSTEP_BY_MESSAGE...more details

READ_OPT_FOR_ALERTINGOptimized reading for alerting (no buffering)Public
CALL METHOD /bsnagt/cl_file_oper=>READ_OPT_FOR_ALERTING...more details

TEARDOWNPublic
CALL METHOD /bsnagt/cl_file_oper=>TEARDOWN...more details

TEARDOWN_INSTANCETeardown Instance (e.g. event deregistration)Public
CALL METHOD /bsnagt/cl_file_oper=>TEARDOWN_INSTANCE...more details

UPDATEUpdate MessagePublic
CALL METHOD /bsnagt/cl_file_oper=>UPDATE...more details

UPDATE_BUFFERUpdates buffer with the given filePublic
CALL METHOD /bsnagt/cl_file_oper=>UPDATE_BUFFER...more details

UPDATE_EXTHDUpdate Extended Header ParameterPublic
CALL METHOD /bsnagt/cl_file_oper=>UPDATE_EXTHD...more details

UPDATE_IHSTEPUpdate Inbound Processing Step ResultPublic
CALL METHOD /bsnagt/cl_file_oper=>UPDATE_IHSTEP...more details

UPDATE_STEP_NAV_REF_FROM_DBUpdates the nav ref in the step buffer for a given step-guidPublic
CALL METHOD /bsnagt/cl_file_oper=>UPDATE_STEP_NAV_REF_FROM_DB...more details

WRITE_TO_DBWrite buffers to DBPublic
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.

NameLevelDescriptionInitial ValueTypeVisability
CV_CRTConstantCreate record state'CRT'LIKE
/BSNAGT/RECORD_STATE
Protected
CV_DELConstantDelete Record state'DEL'LIKE
/BSNAGT/RECORD_STATE
Protected
CV_INITConstantInit record state'INIT'LIKE
/BSNAGT/RECORD_STATE
Protected
CV_UPDConstantUpdate record state'UPD'LIKE
/BSNAGT/RECORD_STATE
Protected
MR_INSTANCEStatic AttributeFile Operation ClassLIKE
/BSNAGT/CL_FILE_OPER
Protected
MT_BUFFER_EXTHDInstance AttributeBuffer - Extended Header ParameterLIKE
/BSNAGT/TTY_BUFFER_EXTHD
Protected
MT_BUFFER_IHSTEPInstance AttributeBuffer - Inbound Processing Step ResultLIKE
/BSNAGT/TTY_BUFFER_IHSTEP
Protected
MT_FILE_BUFFERInstance AttributeFile-Table - sortedLIKE
/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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!