Category: BOL Programming

How To Create Business Transaction Using BOL Programming

Here we share a simple code to illustrate how to create a business transaction using BOL programming Variables to be used: DATA: lr_core TYPE REF TO cl_crm_bol_core, lr_factory TYPE REF TO cl_crm_bol_entity_factory, lr_order TYPE REF TO cl_crm_bol_entity, lr_transaction TYPE REF TO if_bol_transaction_context, ls_params TYPE crmt_name_value_pair, lt_params TYPE crmt_name_value_pair_tab.   To be able to use any service of B
Read More »

Get order attachments with bol programming

Method: methods GET_ORDER_ATTACHMENTS importing !IV_GUID type CRMT_OBJECT_GUID returning value(RT_ATTACHMENT) type ZCRM_UI_S108_T .   Return type:   Source code: Basically we are gettng doc_key of attachments on the order to reach their content urls. METHOD get_order_attachments. DATA: lr_entity TYPE REF TO cl_crm_bol_entity, lr_entity_col TYPE REF TO if_bol_entity_col, lr_qs TYPE REF TO cl
Read More »

How To Create Business Partner Using BOL

Here is an example code for creating a business partner using BOL programming. DATA: lr_core TYPE REF TO cl_crm_bol_core, lr_entity TYPE REF TO cl_crm_bol_entity, lr_entity_role TYPE REF TO cl_crm_bol_entity, lr_entity_adr TYPE REF TO cl_crm_bol_entity, lr_entity_phone TYPE REF TO cl_crm_bol_entity, lr_entity_mail TYPE REF TO cl_crm_bol_entity, lr_entity_gender TYPE REF TO cl_crm_bol_entit
Read More »

How To Create Followup Document Using BOL

Here we demonstrate a method to create follow-up document using Business Object Layer programming. Let’s start with the data declarations we need to use DATA: lr_bol_core TYPE REF TO cl_crm_bol_core, lr_btorder TYPE REF TO cl_crm_bol_entity, lr_btadminh TYPE REF TO cl_crm_bol_entity, lr_col TYPE REF TO if_bol_bo_col, ls_params TYPE crmt_name_value_pair, lt_params TYPE crmt_name_value_pair_tab, lv_object_g
Read More »