GET_BO_SERVICE SAP Method Get BO Service









Below is documentation, parameters and attributes of ABAP Method GET_BO_SERVICE within SAP class /BOBF/IF_LIB_AUTH_CUSTOM_GEN. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /BOBF/IF_LIB_AUTH_CUSTOM_GEN into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method GET_BO_SERVICE can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method GET_BO_SERVICE

.

NameTypeData TypeDescriptionDefault Value
IS_CTXImportingTYPE
/BOBF/S_FRW_CTX_AUTH
Context Information for Authority Check
IV_AUTHORIZATION_OBJECTImportingTYPE
XUOBJECT
Authorization Object
EV_AUTH_OBJ_HAS_NO_BO_SERVICEExportingTYPE
BOOLE_D
Authority object has no BO service field
EV_BO_SERVICEExportingTYPE
/BOBF/AUTH_SERVICE_NAME
BO service name for authorization checks
EV_CHECK_DUMMYExportingTYPE
BOOLE_D
Check BO service auth field with dummy



Exceptions of Method GET_BO_SERVICE

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /BOBF/IF_LIB_AUTH_CUSTOM_GEN.
DATA: lv_EV_AUTH_OBJ_HAS_NO_BO_SERVICE TYPE BOOLE_D,
lv_EV_BO_SERVICE TYPE /BOBF/AUTH_SERVICE_NAME,
lv_EV_CHECK_DUMMY TYPE BOOLE_D,
lv_IS_CTX TYPE /BOBF/S_FRW_CTX_AUTH,
lv_IV_AUTHORIZATION_OBJECT TYPE XUOBJECT,
lv_other TYPE c.

CALL METHOD lo_class=>GET_BO_SERVICE(
EXPORTING
IS_CTX = lv_IS_CTX
IV_AUTHORIZATION_OBJECT = lv_IV_AUTHORIZATION_OBJECT
IMPORTING
EV_AUTH_OBJ_HAS_NO_BO_SERVICE = lv_EV_AUTH_OBJ_HAS_NO_BO_SERVICE
EV_BO_SERVICE = lv_EV_BO_SERVICE
EV_CHECK_DUMMY = lv_EV_CHECK_DUMMY ).

Links to Related Class(s)

/BOBF/IF...
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!