Thursday, November 9, 2017

CRM ABAP load Core with component set


Code to set Core to a particular component.  This works if u r writing a stand-alone program or function.  If this is not written, then you may not get relations loaded and get issues.  You need to put right component set name (in place of 'IUICALL') in below code

DATA:  lr_core            TYPE REF TO cl_crm_bol_core.


  lr_core cl_crm_bol_core=>get_instance).

  CHECK lr_core IS BOUND.

  TRY.
      lr_core->load_component_setiv_component_set_name 'IUICALL' ).
    CATCH cx_crm_genil_general_error .
  ENDTRY.

Tuesday, November 7, 2017

BRF plus Links



Good Links:

http://www.xpertminds.net/blog/2015/3/9/brfplus-a-hidden-gem-within-your-sap-system

https://blogs.sap.com/2015/06/13/brf-much-more-than-just-mapping-z-tables/

https://archive.sap.com/discussions/thread/3959270


How to call BRF+ function from your ABAP code :
https://blogs.sap.com/2015/10/18/brfplus-basics-how-to-call-a-function/

 
Calling ABAP Function module inside BRF+ (you may need this some times):
https://blogs.sap.com/2016/04/22/creation-of-procedure-call-in-sap-brf/