To access instances of foreign business objects, the service manager instance of your business object must be instantiated. Afterwards, all core services provided by the service manager interface /BOBF/IF_TRA_SERVICE_MGR can be used. For more information about the services, see the /BOBF/IF_TRA_SERVICE_MGR interface documentation.
" start of interaction phase DATA lo_service_manager TYPE REF TO /bobf/if_tra_service_mgr. lo_service_manager = /bobf/cl_tra_serv_mgr_factory=>get_instance( iv_bo_key = if_ci_bopf_customer_invoi_c=>sc_bo_key ). lo_service_manager->retrieve(…).