Tag: modify

BOL Programming - Basic Collection Operations

Here we tried to summarize some of the basic methods you can use to manipulate BO collections How To Search in BOL Collection In order to search for a BO in a collection, the FIND method is used. You can use one of the two input parameters IV_INDEX and IV_ENTITY for the search. However, be aware that only one of these parameters are used for the search so you should provide only one. In case you export both of the parameters, the search will be executed according to the index. DATA: lr_col TYP
Read More »

Introduction to BOL Programming

Business Object Layer Programming provides various advantages such as simple and easy use due to Object Oriented structure and faster applications due to built-in buffer. Let us start with the most commonly used classes of BOL programming CL_CRM_BOL_QUERY_SERVICE      --> Query class to select Business Objects IF_BOL_TRANSACTION_CONTEXT --> For access to transaction context CL_CRM_BOL_ENTITY                    
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 »