This is the continuation of the previous blog How many lines of custom ABAP code are inside your system? published at the beginning of 2009 by Sergio Ferrari, my colleague and SAP Mentor.
The SLOC, the number of line of ABAP code of custom objects, is one of the most interesting indicators provided during a software assessment as described here.
In this new weblog I am going to share with the great SDN community the new version of the ABAP ZSDN_SIMPLE_ABAP_SLOC_COUNT, developed at night, during the few hours of free time.
Let me summarize briefly the improvements and extensions that this new version introduces.
Continue reading “How many lines of custom ABAP code are inside your system? Part2”
in this video I would like to show you how is possible to create a WebService in ECC 6.0 and identify the correct WSDL.
I apologize for the audio but my mic is out of order; but I’m confident that video is very simple to understand.
In this period I’m involved in many upgrade projects and one of the biggest effort is to adjust ABAP copied from SAPstandard ones that I call CLONEs.
In my experience pure custom ABAPs require few adaptations (obsolete statements, obsolete function modules and so on),modifications are also well managed by modification assistant but rearranging clones is a nightmare! They usually contain a lot of INCLUDEs and call a lot of Function Modules that change so much during the upgrade.
The first step to solve a problem is to know where it is. In this case it means to have a working list of CLONEs.
Sergio Ferrari, colleague of mine and SAP mentor, suggested to me to have a look to the function module ‘RS_COMPARE_WORDS_SIMILAR’;it is very powerful and during a night I developed the report that follows.
We extended it with a lot of other logic andit’s now part of the Techedge X-RAY toolbox that we use to analyze SAP ERP system before upgrades and EhP.
The Simple ABAP Clone Hunter (lite), that I’mgoing to share with the community, tries to match each custom ABAP object witha standard one comparing the report name.
The scope of this report is not to identify univocallya standard one but is to give a rated list of possible matches.
Continue reading “Simple ABAP Clone Hunter”
This class give you a collection of static method in order to access to the Frontend Services such as:
- File functions
- Directory functions
- Write to / read from clipboard
- Upload / download files
- Execute programs / open documents
- Query functions, such as Windows directory, Windows version, and so on
- Standard dialogs (open, save, directory selection)
Continue reading “SAP obsolete functions (2) – CL_GUI_FRONTEND_SERVICES”