You are on page 1of 1

Lv_query_service = cl_crm_bol_query_service=>get_instance( BTQuery1O ). Lv_query_service ->set_property( iv_attr_name = OBJECT_ID lv_search_result ?= qs->get_query_result( ). lv_entity ?= lv_search_result ->get_first( ).

lv_entity = lv_entity ->get_related_entity( BTOrderHeader ). lv_entity ->get_property_as_value ( exporting iv_attr_name = DESCRIPTION importing ev_resutl = descr_string). iv_value = 12345 ).

Listing 2.1: Querying and Reading Transaction Data with BOL API

You might also like