ABAP OO Class Methods

TH_PSJ_GLOBAL_JOURNAL SAP Class - Help Class for TDC-Based Journal Tests







TH_PSJ_GLOBAL_JOURNAL 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 TH_PSJ_GLOBAL_JOURNAL including details of:

  • Interface class implementations
  • Inheritance details
  • Methods defined within class ( including link to full details )
  • Attributes ( including initial values )
  • Class Events

Also check out the Resources section below to view useful tips, screenshots, links and general information related to this SAP class and its methods, or even add your own for future reference.




Inheritance

This OO class has a superclass assigned to it, which means it will inherit its objects and methods. The superclass for TH_PSJ_GLOBAL_JOURNAL is CL_AUNIT_ASSERT



Methods of TH_PSJ_GLOBAL_JOURNAL





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 CL_ABAP_CHAR_UTILITIES=>methodname EXPORTING/IMPORTING...



CREATE_LANDSCAPE_DOUBLE - Create Landscape Double
GET_DESCRIPTION - Get Description
GET_PROCESS_ID - Get Process Id
GET_RESULT_STEPS - Get Result Steps
GET_STEP_ENTRIES4DOUBLES - Get Step Entries4doubles
INIT_FROM_TDC - Init From Tdc
SET_RESULT_STEPS - Set Result Steps
SET_STEP_ENTRIES4DOUBLES - Set Step Entries4doubles
S_CREATE - S Create
S_CREATE_FROM_TDC - S Create From Tdc
S_CREATE_FROM_TDC_MULT - S Create From Tdc Mult
VALIDATE_RESULTS - Validate Results


TH_PSJ_GLOBAL_JOURNAL Attributes

List of attributes within class TH_PSJ_GLOBAL_JOURNAL. These can be referenced using the following syntax TH_PSJ_GLOBAL_JOURNAL=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.


NameDescriptionInitial Value
MV_FLG_USE_TDC Mv Flg Use Tdc
MV_NAME Mv Name
M_TDC_RESULT_STEPS TY_T_PROCESS_STEP_ENTRY
M_TDC_STEP_ENTRIES4DOUBLES M Tdc Step Entries4doubles




Events of the Class TH_PSJ_GLOBAL_JOURNAL

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...