ABAP OO Class Methods

XO_BDT_ADAPTER SAP Class - Integration Business Data Toolset (BDT)







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


Interface class implementations

This OO class has an interface implementation which means it has access to all methods within the interface class. Here are the interface classes for XO_BDT_ADAPTER
IF_XO_CONST_ACTIVITY


IF_XO_CONST_BDT_FMOD_STATUS


IF_XO_CONST_COMPARE


IF_XO_CONST_MESSAGE



Inheritance

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



Methods of XO_BDT_ADAPTER





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



CONSTRUCTOR - CONSTRUCTOR
DATA_COLLECT - Implementation of BDT Module COLLECT
DATA_COLLECT_SINGLE - Implementation of BDT Module COLLECT (Row Type)
DATA_GET - Implementation of BDT Module GET
DATA_GET_SINGLE - Implementation of BDT Module GET (Row Type)
DATA_PAI - Implementation of BDT Module PAI
DATA_PBO - Implementation of BDT Module PBO
DELIVER_MESSAGE_TO_STORE - Provides a Message to the MESSAGE_STORE
DETERMINE_BDT_VIEW - Determines the BDT View for a Database Field
DETERMINE_DYNPRO_FIELD - Determines the Screen Field for a Database Field
GENERIC_APPLC - Implementation of BDT Module APPLC
GENERIC_AUTH1 - Implementation of BDT Module AUTH1
GENERIC_CHGD1 - Implementation of BDT Module CHGD1
GENERIC_CHGD2 - Implementation of BDT Module CHGD2
GENERIC_CHGD3 - Implementation of BDT Module CHGD3
GENERIC_CHGD4 - Implementation of BDT Module CHGD4
GENERIC_DCHCK - Implementation of BDT Module DCHCK
GENERIC_DINP0 - Implementation of BDT Module DINPO
GENERIC_DINP1 - Implementation of BDT Module DINP1
GENERIC_DINP2 - Implementation of BDT Module DINP2
GENERIC_DLVE1 - Implementation of BDT Module DLVE1
GENERIC_DLVE2 - Implementation of BDT Module DLVE2
GENERIC_DSAVC - Implementation of BDT Module DSAVC
GENERIC_DSAVE - Implementation of BDT Module DSAVE
GENERIC_DTAKE - Implementation of BDT Module DTAKE
GENERIC_FCODE - Implementation of BDT Module FCODE
GENERIC_ISDAT - Implementation of BDT Module ISDAT
GENERIC_ISSTA - Implementation of BDT Module ISSTA
GENERIC_XCHNG - Implementation of BDT Module XCHNG
GET_ACTIVITY - Returns BDT Activity
GET_CHANNEL_BDT_DATA - Returns Channel-Dependent Customizing
GET_CURRENT_BO - Returns the Current Business Object Reference for the Object
GET_CURRENT_OBJECT - Returns Current Object Key
GET_CURRENT_OBJECT_DATA - Returns the Current Data for the Requested Table
GET_DEVIATING_FIELDNAME - Returns Name That Is Not the Same for Table and DI
GET_INSTANCE - Returns an Instance of the Object
GET_MO_DATA_FOR_CHANGEDOCS - Returns the Customizing Settings for Change Documents
GET_NO_DATA_FLAG - Returns the "NO DATA" Indicator
GET_OBJAP - Returns Supported BDT Application Object




GET_TABLE_DATA - Returns Old and New Data for the Requested Table
GET_VIEW_DATES - Returns Validity Date for Data
IS_CHANGE_DOCS_ACTIVE - Indicates Whether Change Documents Are to Be Written
IS_CURRENT_OBJECT_NEW - Indicates Whether Object Being Processed Is Created
IS_DIRECT_INPUT_ACTIVE - Indicates Whether BDT Is in Direct Input Mode
SEND_MESSAGES_TO_STORE - Sends Messages to the MESSAGE_STORE
SET_CURRENT_OBJECT_DATA - Sets New Data for Object Currently Being Processed
VALIDATE_TABLE - Validation of Data for a Table


XO_BDT_ADAPTER Attributes

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


NameDescriptionInitial Value
ACTIVITY Activity Type
ACTIVITY_CREATE Activity Create
ACTIVITY_DISPLAY Activity Display
ACTIVITY_MODIFY Activity Modify
ACTIVITY_UPDATE Activity Update
CHANGE_DOCS_ACTIVE Change Document Update Active ('X' = True ' ' = False)
CHANGE_DOCS_DISPLAY_COMPLETED Change Document Formatting Complete ('X' = True ' ' = False)
CHANGE_DOC_DISPLAY_TABLES List of Tables Relevant for Displaying Change Documents
COMP_DIFFERENT_LINES Comp Different Lines
COMP_EXACT_LINES Comp Exact Lines
COMP_SAME_KEY Comp Same Key
CURRENT_BO Business Object Definition
CURRENT_OBJECT Key Parameters
DATA_ACCEPTED Data was accepted in DTAKE
DIRECT_INPUT Direct Input Is Active ('X' = True ' ' = False)
DI_TEST_RUN Direct Input in Test Run
FMOD_DISPLAY Fmod Display
FMOD_NOT_SPECIFIED Fmod Not Specified
FMOD_OPTIONAL Fmod Optional
FMOD_REQUIRED Fmod Required
FMOD_SUPPRESSED Fmod Suppressed
MSG_ABORT Msg Abort
MSG_ERROR Msg Error
MSG_EXIT Msg Exit
MSG_INFO Msg Info
MSG_SUCCESS Msg Success
MSG_WARNING Msg Warning
MY_BO_NAME Name of Business Object
MY_OBJAP BDT: Application Object
NO_DATA_FLAG Display Indicator in Direct Input for Initial Field
REF_LIST BDT Adapter for Business Object Types




TAKE_OVER_MEMORY Object Data for Transfer Mode
UPDATETASK Asynchronous Update in Update Task
VIEW_DATE Local Date for Current User
VIEW_DATE_AS_STRING Validity Date of Changes
XSAVE Data Updated Directly by BDT




Events of the Class XO_BDT_ADAPTER

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