How many exit routines are active in your SAP ERP system?

How many exit routines are active in your SAP ERP system?

Let's check with X-it RAY Eye 

In all upgrade projects in which I was involved I prepared a checklist of standard modifications and implemented userexits.
 
This kind of analysis performed before the upgrade, as well as give an overview of the system complexity, is helpful to prepare the testing sessions and identify a dangerous situations such as the missing call to an exit routine.

Standard tools?

The question is: how do I get a list of these customizations with minimal effort? Which are the available SAP tools?

The standard modifications can be identified using the transaction SE95 (Modification browser) that is, in my opinion, the most effective tool for this type of analysis.

But for the userexit? Is it possible to draw a map of all exit routines active in SAP ERP before an Upgrade ?  

image

There are different types of exits in an ERP system and many tools that you can use to perform an analysis, but the result can not be achieved in a short time ...

Let’s start with the cataloguing ...

Userexits and VOFM Routines

The Modification browser is helpful if you have to look up at the implementations of include Userexits and VOFM Routines

image

It's not a simple task, but it is better than search the userexits among the transport requests or recognize “custom” VOFM form routines by browsing directly in the transaction VOFM...

Inside transaction VOFM you have to:

Select the Category Group

image

Select the Custom Routine...

 image

and finally access to the source code

 image

 

 

Field-Exits 

Fortunately for the Field-Exits the manual effort is reduced to the minimum because there is the standard report RSMODPRF

 

image

The function key "Edit FM" allows to access directly to the source code

image 

 

Validations and Substitutions Exits 

Managing the Validation Exit and the Substitution Exit from the maintenance transactions can become extremely boring!!!

It is necessary to explode all validation/substitution steps 'till you find a step that contains an exit routine...

 

image 

Otherwise, there are reports RGUGBR31 (Validation Directory) and RGUGBR32 (Substitution Directory) but they are not interactive reports

image 

So the formpool must be determined into the view V_T80D

image

 

Customer Exits, Screen Exits and Menu Exits

Customer Exit, Screen Exit and Menu Exit  are managed by transaction CMOD where the situation is slightly better.

Again, in order to access to the source code of the exit many steps are required.

First of all you need to select the active projects; so from CMOD transaction select in the menu: GOTO -> FIND

image 

Then deselect the "Inactive" enhancement component checkbox

image 

 

and for each project selected you have to jump to the assigned components and to the implementations

Select the project...

image

Access to the components list...

image

And then jump to the implementation...

image

But this is not enough, another double click is needed in order to browse the source code of the exit...
image 

 

Business Transaction Events (BTEs)

Active Business Transaction Events can be reached by transaction BERE but again many steps are required!

Run the report with the checkbox "Only BTEs with active Products" selected...

image 

 

Then select the event from the list...

image 

and finally check whether the active component has inside custom elements...

image 

Last but not least BAdI Implementations.

The Modification Browser transaction (SE95) returns the list of BAdI implementations regardless of activation status (On/Off) but I personally prefer the Respository Browser (SE84) because is possible to select "Only Active" implementations

 

image

 

The selection result...

image

double-click to browse the implementation...

image 

and then to the source code.... :-(

I would like an ABAP that... 

Customers and colleagues often asked me if I knew a single tool that lists all the active userexits. I always answered no, proposing as approach the list of steps shown above. 

Across the years I have tried to collect and automate (the first version dates back to the release 3.1I) every step of analysis in an ABAP program, but I never had time to optimize the code, so I always quickly adapted the same source to the various releases, making it unreadable and impossible to share.

image 

One day my colleague Sergio Ferrari (SAP Mentor) asked me: "Hey Andrea, why don't you take a look to the Abap SNIF?"

I must be honest, I understood everything by that name...

What's SNIF?

Finally the SAP has developed a kind of "Exit Browser" that avoids launching dozen of transactions in the system (excluding the various checks).

I investigated thru the implementation of this program concluding that even if the idea is wonderful and the program is useful it could be enhanced to include other type of exits And now I’m glad to share with the great SDN Community my own extended version of the SNIF that detects all types of missing exits.

X-it RAY EYE was born

X-it RAY Eye means ... X-Ray Eye + X-it (= Exit) =>  X-it RAY Eye

Thus the abap that I would like to share in this blog is the "son" of the SNIF program, because it uses his "architecture" with the difference that extends the search to the following types of exit:

 

  • Include USEREXITS
  • VOFM Form Routines
  • Exit for VALIDATIONS
  • Exit for SUBSTITUTIONS
  • SCREEN EXIT
  • MENU EXIT
  • CHANGED KEYWORDS

The ECC Version of X-it Ray Eye extends the search to the enhancement implementations:

 

  • SOURCE CODE Enhancements 
  • FUNCTION Enhancements
  • CLASS Enhancements
  • BAdI Enhancements

Some of these items are not properly ABAP, however I've collected them in the tool.

Selection Screen:

image

Output results:

image 

Navigation:

image

Download results in Excel:

image

image 

 

I summarize briefly the main features:

 

  • The X-it Scanner detects only the active implementations of existing exit routines developed in the customer name range with the exception of include userexits and Vofm routines
  • For the VOFM routines the "customer" name range is determined by the group indicator
  • The original section of the "BAPI usage" by custom programs has been removed
  • In the X-it Scanner version for SAP R/3 Enterprise 4.7 the new concept of Enhancement introduced by ECC is out of scope 
  • Original language: EN English

 

Out of Scope:

 

  • Screen Variants & Transaction variants 
 

Versions:

  • ZSDN_EXIT_SCANNER for SAP R/3 Enterprise
  • ZSDN_EXIT_SCANNER60 for SAP ECC
Related Content

Thread: VOFM Transaction

Userexit in Validations and Substitutions Rules

Enhancement Framework

The new Enhancement Framework and the new kernel-based BAdI

 

Relevant SAP Notes

381348 - Using Userexit, Customer Exit, VOFM in SD

842318 - FAQs about validations + substitutions

356737 - Customer name range for VOFM routines

327220 - VOFM function and its objects

29377 - FAQs: Field exits (CMOD)

729358 - Display report to find active customer enhancements

 

Special thanks

I would like to thanks my colleagues @ Techedge:

Sergio Ferrari (SAP Mentor) for his advices

Ivan Femia for his help

 

and Enzo Gala my friend and SAP Admin @ Bayer Business Solutions for his support during the unit test phase in rel. 4.7 Enterprise. 

 

How to install?

Download the nugget file from http://code.google.com/p/abapexitrayeye/ and import it in your SAP system using SAPLink.

image

Then goto your inactive object list and activate all objects

image


 

At last, run ZSDN_EXIT_SCANNER by SE38 and... Scan'em All!

I hope you like it.

 

 

Andrea Olivieri is a senior consultant for www.techedge.it

 

Add to: del.icio.us | Digg | Reddit


Comment on this article
Comment on this weblog

Showing messages 1 through 5 of 5.

Titles Only Main Topics Oldest First

  • Thank you so much
    2009-05-24 08:10:26 Pablo Casamayor Business Card [Reply]

    This is what´s SDN all about.
    Thanks for sharing your work and making the life of developers easier.
    Thanks again.
  • Great work
    2009-05-22 11:55:40 Silvio Miranda Business Card [Reply]

    A very good work Andrea!
    This toll will be very helpfull to me.
    Thank you!!!


    Silvio Miranda

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值