Tag Archives: sap ecc6

How many lines of custom ABAP code are inside your system? Part2


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

Invoke SAP web services with flex using Cairngorm framework

In this weblog I would like to give you a tutorial in order to invoke SAP web services with Flex using
Cairngorm framework.


1. What is Cairngorm?

2. How Cairngorm works?

3. Flow logic during a request/response

4. What you need?

5. Ok let’s start

5.1. Create a web service in SAP

5.2. Create a new Flex Cairngorm project

5.3. Create Model Locator

5.4. Create Front Controller

5.5. Initialize MXML Application

5.6. Create Delegate Object and remote repository

5.7. Create Value Object

5.8. Create Views

5.9. Register event handler and implement the business logic

6. Happy ending

Continue reading Invoke SAP web services with flex using Cairngorm framework

Create a web service with ECC 6.0


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.




Simple ABAP Clone Hunter


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

SAP obsolete functions (1) – POPUP_TO_CONFIRM

When you upgrade your SAP system some functions became obsolete. (List of Obsolete Function Modules in ECC 6.0)

In this first part I would like to analyze one of the most used function module in SAP: POPUP_TO_CONFIRM

This is its signature with all the possible parameters:

*   TITLEBAR                    = ‘ ‘
*   DIAGNOSE_OBJECT             = ‘ ‘

TEXT_QUESTION               =
*   TEXT_BUTTON_1               = ‘Ja'(001)
*   ICON_BUTTON_1               = ‘ ‘
*   TEXT_BUTTON_2               = ‘Nein'(002)
*   ICON_BUTTON_2               = ‘ ‘
*   DEFAULT_BUTTON              = ‘1’
*   USERDEFINED_F1_HELP         = ‘ ‘
*   START_COLUMN                = 25
*   START_ROW                   = 6
*   POPUP_TYPE                  =
*   IV_QUICKINFO_BUTTON_1       = ‘ ‘
*   IV_QUICKINFO_BUTTON_2       = ‘ ‘
*   ANSWER                      =
*   PARAMETER                   =
*   TEXT_NOT_FOUND              = 1
*   OTHERS                      = 2


POPUP_TO_CONFIRM in ECC600 have to be used instead of the obsolete function module:


Even if most of these function modules are obsolete also in SAP 4.7, I would like to analyze it because are largely used. Below for each obsolete function module I give the new coding (default use) through POPUP_TO_CONFIRM.

Continue reading SAP obsolete functions (1) – POPUP_TO_CONFIRM