BOL Programming
BOL Programming
• 1.Get the BOL Core instance
LR_CORE =
CL_CRM_BOL_CORE=>get_instance( ).
2. Load the component set
LR_CORE->LOAD_COMPONENT_SET( 'ZMOB_cmpset' ).
3.Create the query instance by passing the search
object name
lr_query = CL_CRM_BOL_DQUERY_SERVICE=>get_ins
tance( iv_query_name = ’AdvancedMobileSearch' ).
BOL PROGRAMMING.. Continue..
• *adding query parameters
ls_param-name = 'MAX_HITS'.
LS_PARAM-VALUE = '2'.
APPEND LS_PARAM TO LT_PARAM.
LR_QUERY->SET_QUERY_PARAMETERS( LT_PARAM ).
Local Iterator
Standard Interface to access properties of
Business Objects
Interface classes
BOL PROGRAMMING
• 1.Get the BOL Core instance
LR_CORE =
CL_CRM_BOL_CORE=>get_instance( ).
2. Load the component set
LR_CORE->LOAD_COMPONENT_SET( 'ZMOB' ).
3.Create the query instance by passing the search
object name
lr_query = CL_CRM_BOL_dQUERY_SERVICE=>get_i
nstance( iv_query_name = '' ).
BOL PROGRAMMING.. Continue..
• *adding query parameters
ls_param-name = 'MAX_HITS'.
LS_PARAM-VALUE = '2'.
APPEND LS_PARAM TO LT_PARAM.
LR_QUERY->SET_QUERY_PARAMETERS( LT_PARAM ).