ABAP OO Class Methods

CL_WFA_SYNC_ORG_GRID SAP Class -







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




Methods of CL_WFA_SYNC_ORG_GRID





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



CHECK_DATA_CHANGED - Check if saving is needed before user goes to other screens
CONSTRUCTOR - CONSTRUCTOR
CONSTRUCT_TRANSPORT_KEY - Contruct the table keys for transport
FREE - free grid control and grid table
GETLOCK - get lock for the wfmc_location table when go to the screen
GET_SEL_PIDS - get selected profile ids in the grid
INIT_GRID_CTRL - initialize grid control
LOAD_GRID_TAB - load the data for grid table
CL_GUI_ALV_GRID~ON_DATA_CHANGED - Handle Data Changed on Tag field
CL_GUI_ALV_GRID~ON_F4 - Handle F4 Help
REFRESH_GRID - refresh the grid display for different content
RELEASELOCK - release the lock before leaving the screen
REMOVELINK - REMOVE LINK BETWEEN ORG MANAGEMENT AND WFM
SAVE - save changes for grid 2
SET_GRID2 - set grid 2 from global var itab_selorgs
SET_GRIDTYPE - set grid type
SET_GRID_FLD_CAT - set field catelog
SET_GRID_LAYOUT - set the grid control lay out
SET_TITLE - grid title for available org units for copying
SWITCH_EDIT_MODE - Toggle between edit and read-only mode
TRANSPORT - Create Transport Requests
VALIDATE_NAMES - validate the location profile id is unique


CL_WFA_SYNC_ORG_GRID Attributes

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


NameDescriptionInitial Value
G_CONTAINER Name of a Screen Element 'MYGRID'
G_CUSTOM_CONTAINER Container for Custom Controls in the Screen Area
ISEDITED Boolean ( True = 'X', False = ' ')
ISSAVED Boolean ( True = 'X', False = ' ') ''
M_GRID1 Available Object ID to be used
M_GRID2 Mapping of Org Mgmt Obj ID with new Org Unit
M_GRID3 Existing Mapping of Object ID and Org Units
M_GRID4 Org Unit Department Tag Mapping
M_GRIDTYPE four different grid for class cl_wfm_sync_org_grid
M_GRID_CTRL ALV List Viewer
M_SEL_ORG Selected Org Unit in when assigning department tags
M_TITLE Long Description




Events of the Class CL_WFA_SYNC_ORG_GRID

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