Thursday, April 5, 2018

HR data Transport issue

Transport issue with Auto-retrofit and Copy-Client via SCC1

Some times Auto retrofit and SCC1 will not move HR data.  In that case do below.

<![if !supportLists]>-       <![endif]>May be try doing Dot save on HR data first

<![if !supportLists]>-       <![endif]>Then run program to put them back to TR in Retrofit system RHMOVE30 

Thursday, February 1, 2018

How to find Genil Class for UI component


To find genil class from ui component.
1. check the model component set assigned to bsp component in the run time repository. for eg ONEORDER/ALL
2. this component set will have genil components assigned to it.. genil components BT/BP etc.
3. you can find these component detail in spro customizing.
Spro->CRM->cross appl. comp.->genil->basic settings->component :
Under respective genil component you can find implementation class assigned.
for eg. BT -> cl_crm_btil
BP -> cl_crm_buil

Notes: You can put a break point in this class-method and try running the bol query in Genil_Bol_Browser – which will trigger this breakpoint

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/

Monday, October 30, 2017

Tuesday, October 17, 2017

Add entries to empty table via Debugging

Set Breakpoint in FM:- RS_TABLE_LIST_CREATE , line 274 .
Goto se16N- Enter the name of custom table . Set in Debug mode, Hit ‘Create entries:-

Now in debug mode the above FM will be called. Set dd021-mainflag = ‘X’ in debug mode.
Note:-dd02l-mainflag is called twice, thus you may have to set the value twice.