Tag: web ui

How To Create Counter Reading Using BOL Programming

Here is a sample code I used to create counter reading using BOL programming We start by declaring the variables to be used DATA: lr_core TYPE REF TO cl_crm_bol_core, lr_btorder TYPE REF TO cl_crm_bol_entity, lr_btadmin_h TYPE REF TO cl_crm_bol_entity, lr_counter_h TYPE REF TO cl_crm_bol_entity, lr_reading_h TYPE REF TO cl_crm_bol_entity, lr_transaction TYPE REF TO if_bol_transaction_context. DATA
Read More »

How To Modify Configuration of Form View Dynamically

Here we want to modify the configuration of a form view. The idea is very simple, to convert the XML formatted configuration data to ABAP, modify and convert it back to XML We achive this in the .hml file of our view We start with the variables to be used DATA: lr_view_desc TYPE REF TO if_bsp_dlc_view_descriptor, lv_xml TYPE string, lv_xml_inp TYPE bsp_dlc_xml, ls_config TYPE bsp_dlc_table_descr, lt_adv_conf TYPE bsp_dlct_adv_conf_itm,
Read More »

WEB UI Navigation to BOL Entity

This is a couple of sample code blocks to demonstrate how to navigate to an entity in SAP CRM Web UI. Let’s assume that we need to navigate to an order from our BSP application. Frist we need to create the order entity that we want to navigate to. For that, we need the GUID of the order. Let’s say have the guid in a local variable named by lv_guid DATA: lr_core TYPE REF TO cl_crm_bol_core, lr_order TYPE REF TO cl_crm_bol_entity, lv_guid
Read More »