Archives: Mayıs, 2015

How To Format Cell Color in BSP

It is quite simple to color cells in a BSP table using getter methods to achive a better look We start by generating the GET_P method of the attribute that we want to color conditionally   Then in the getter method, we use find method of the collection wrapper to determine current table line Next we set the value of the returning parameter under the condition(s) we provide and we are done METHOD GET_P_PARTNER_SERV. DATA: lr_collection TYPE REF TO cl_bsp_wd_collection
Read More »

How To Copy Document With CRM Actions

Here is a simple code to demonstrate how to copy a document using CRM actions. In the action method we implemented, we first declare the variables we are going to use DATA: lc_action_execute TYPE REF TO cl_action_execute. DATA: lv_guid_ref TYPE crmt_object_guid, lv_actionname TYPE ppfdtt, lv_actiontext TYPE ppfdttt.   Next we get the information of the reference document using action object CREATE OBJECT lc_action_execute. * g
Read More »