Archive

Posts Tagged ‘BADI’

BADI in SAP SD

April 18th, 2010 No comments

I found some great posts about BADIs in SD module and summarized them in this post. Hope this can help you.
Read more…

How to find BADI

December 30th, 2009 No comments

There are several ways to find BADIs in the program.

1. Set a beark-point in method ‘CL_EXITHANDLER=>GET_INSTANCE’. Because old BAID technology will always call this method to get the BADI instance.

2. Search string ‘CL_EXITHANDLER=>GET_INSTANCE’ in the program. This drawback of this method is that the program may call another program in the runtime. In this case, you will be able to find the BADI in another program.

3. You can also go the t-code SPRO, you can also find plenty of BADIs in the related area.

4. You can also find the BADI call using ST05. Below is the steps:

  • Go to ST05, then choose ‘table buffer trace’ and activate the trace.
  • Run the t-code from where you want to find the BADI.
  • Deactive the trace and then display trace.
  • using selection criteria object ‘V_EXT_IMP’ and ‘V_EXT_ACT’ and then you can get called BADI list.

This analyzing technique is based on the fact that all BAdIs are registrated in SAP database tables. So for each BAdI call these database tables will be accessed. The BAdI database tables are SXS_INTER, SXC_EXIT, SXC_CLASS and SXC_ATTR. These tables are always accessed by the views V_EXT_IMP and V_EXT_ACT. So these two ABAP views (T: SE11) will be the basis for the trace.

SAP CRM Web Channel BADI

November 15th, 2009 No comments

Here I listed some useful BADIs for CRM web channel development, especially for b2b applications. All the function modules for web channel one order functionality is located in function group CRM_ISALES_ORDER(CRM Internet Sales Basket & Order).

This function group contains all the function modules for crm basket. It contains all the basket/order related data at runtime in the memory. Each time, user choose update or simulate button at frontend. The order will be save to the backend and rebuild it in the java side.

CRM_ISA_BASKET_HEAD       BADI for Customer-Specific Enhancement of Basket Headers

CRM_ISA_BASKET_ITEMS      BADI for Customer-Specific Enhancement of Basket Items

CRM_ISA_BASKET_TEXT        Text Maintenance in ISA

CRM_ISA_GEN_DOC_SEL       ISA: Generic Document Search

CRM_ISA_STAT_DETAIL        Filling the Extension Tables of _BASKET_STATUS_ENH

Function group CRM_ISALES_SHOP(WebAPI Internet Sales: Shop).This function group is used for shop processing. Function module ‘CRM_ISA_SHOP_DATA_GET’ is for reading the detail shop data. But there is no BADI for reading extension data of the shop. You must copy this function module out and add your custom extension in it.

Other BADIs which are also important in CRM.

CRM_SHIPPING_BADI              BAdI to Process SHIPPING

CRM_DATAEXCHG_BADI        CRM_DATAEXCH_AFTER_BAPI_FILL

SAP SRM BADI – Updated

September 28th, 2009 No comments

This post will list as many BADI in SAP SRM as I can. It will be updated once I encounter new one;-).

BBP_DET_TAXCODE_BADI Exit for Determination of Tax Code

You can extend the current determination (that occurs via the domestic/international indicator and category ID), deviating from the settings in table BBP_DET_TAX_CODE Determine Tax Code for Country/Product Category.

SAP Enhancement Technologies

September 15th, 2009 No comments

This article aims to give a brief introduction about the SAP Enhancement technologies. The standard deliveried sap programs do not always meet the requirement, so enhancment is an very importment part in the ABAP development. SAP provide several technologies to support developer to enhance the standard logic.

1. User exit.

Actually user exit is not part of enhancement technology, as it need us to enter access key to modify it. But sap delivery these user exit form routines in seperate include files and will not overwrite them in the upgrade version. So we can feel free to modify them.

Read more…