Tag Archives: SAP ECC

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

Intro

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.

Index

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

Hi,

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.

http://www.youtube.com/watch?v=UQK–LWp1xY

Bye,

Ivan

Simple ABAP Clone Hunter

image

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 (2) – CL_GUI_FRONTEND_SERVICES

CL_GUI_FRONTEND_SERVICES

This class give you a collection of static method in order to access to the Frontend Services such as:

  • File functions
  • Directory functions
  • Registry
  • Environment
  • 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