Thursday, June 30, 2016

PI tips - Notepad tips

Replace comma(,) with carriage return
First press Ctrl+H to convert text into Hexadecimal
Then press Ctrl+R to Replace and give as below
Then press Ctrl+H again

Wednesday, June 29, 2016

SNC error

We got this error intermittently.  It works if I deactivated ‘SNC’ in properties, and use userid/pwd instead. 

Basis team deactivated ‘rdisp/keepalive’ to resolve this.

In another instance, it was an issue with time zones – difference between SAP and local system.    

Tuesday, June 28, 2016

SAP history lost

History is SAP tcodes

If the History is lost or missing, follow below steps


  • Turn off history
  • Log off and completely close SAP (no process running)



  • Navigate to history folder
  • Delete all the files/sub folder
  • Launch SAP GUI Config again
  • Enable history

Tuesday, June 21, 2016

CRM Config layout based on object type and sub object type

To set Object type and Sub object type through code to differentiate between different order types - if diff order types need different CRM lay out in Web UI.

In BSP_WD_CMPWB tcode, in method DO_CONFIG_DETERMINATION

METHOD do_config_determination.
*CALL METHOD SUPER->DO_CONFIG_DETERMINATION
**  EXPORTING
**    iv_first_time = ABAP_FALSE
*    .

  DATA: lv_subtype     TYPE bsp_dlc_object_sub_type VALUE '<DEFAULT>',
        lv_object_type TYPE bsp_dlc_object_type     VALUE '<DEFAULT>'.

  lv_object_type = '<ObjectType 1>'.

  IF <Tran Type> EQ ‘ERP Sales Order’.
    lv_subtype = 'OR'.
  ELSE.
    lv_subtype = 'RE'.
  ENDIF.

*  ENDIF.
  me->set_config_keys( iv_object_type          = lv_object_type
                       iv_object_sub_type      = lv_subtype
                       iv_propagate_2_children = abap_false ).
ENDMETHOD.

We can extend the sub object type as below:
ZL_ERPORD_SUBOBJ_TYPE_CALLBACK->IF_BSP_DLC_OBJ_TYPE_CALLBACK~GET_OBJECT_SUB_TYPES 

Good Link:
http://scn.sap.com/community/crm/webclient-ui-framework/blog/2015/12/04
SPRO path:

To define new Object types:


Call back class with interface IF_BSP_DLC_OBJ_TYPE_CALLBACK


Implement the method to define Sub-Obj types


Thursday, June 16, 2016

How to find User exits for a tcode


Link to find SMOD Enhancements (User exits) for a tcode
http://scn.sap.com/community/erp/manufacturing-pp/blog/2012/11/07/how-to-find-user-exit-for-any-t-code

Wednesday, June 15, 2016

Add custom fields to Material Master - MM01

How to add custom fields to Material Master - MM01/2  - and in MARA (Append structure)


http://scn.sap.com/docs/DOC-47544
http://scn.sap.com/community/abap/blog/2015/03/06/additional-fields-on-the-material-master

Monday, June 13, 2016

Configuring new Printer Device type

Configuring new Printer Device type :
Check the note below.
SAP note 1135036

If you don’t find correct device type – You can check related device types – it work most of the times – Or you can setup new devicetype (pls see below)

Setting up new device type:
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8075b32f-d7c9-2b10-db84-97015a3a23f4?QuickLink=printing&overridelayout=true&44577465592523

Tuesday, June 7, 2016

Fiori useful links

Fiori useful links :

This explains how to start with Fiori, and many other details for Beginers -  https://scn.sap.com/thread/3297804

Video explaining Odata service creation from RFC:

https://www.youtube.com/watch?v=kICE27JZ6Sc

Thursday, June 2, 2016