Programming Standarts in SAP ABAP

The purpose of this document is to outline coding guidelines, standards and best practices in ABAP
The aim of this document is,

  • To describe a consistent set of practices so that all coding will be done using uniform conventions and techniques. Therefore, once a programmer becomes familiar with these conventions, he will have a much easier time understanding all the other custom developed programs, which also follow the same set of practices.
  • To recommend, explain and illustrate techniques that have been developed as efficient ways of handling certain situations in ABAP programming.
  • To ensure the quality of custom developed programs, without limiting creative development.

Read more

SAP Press Books Sample Chapter Collections – Part 2

Last week, i started a series for SAP Press Book’s sample chapters which are freely available. Not in any particular order, I will provide you descriptions and download links of each chapters available for direct download.

This week you will find links for Exceptions and Error handling in ABAP, a brief guide to Computer Aided Test Tool (CATT), Workflow Administration in SAP, SQL usage in SAP and Reporting Guide in SAP HR. Hope even the sample chapters would be useful for you.

Read more

A Complete Reference to ABAP Basics

Starting with the definition of R/3 Architecture Components, this document brings you to a complete overview of the almost all ABAP Basics. During the reading you will learn the common statements used in creation of ABAP Screens with given examples and then you will be introduced to Data Dictionary objects. The ongoing topics covered in this document are as follows:

  • Internal Tables : Purpose of Internal Tables, Types, Used System Variables…
  • Subroutines : Statements used in Subroutines…
  • Reports : Types of Reports…
  • Module Pool Programming (MPP) : Events used in MPP, Creation steps of a simple MPP…
  • Menu Painter
  • Batch Data Communication : Methods used in BDC: Direct Input Method, Call Transaction Method and Session Method…
  • LSMW ( Legacy System Migration Workbench) : Steps required to create LSMW
  • SAPScript : Components of SAPScript
  • Smartforms : Advantages, Components and Navigation Settings of Smartforms

Read more

Reduce Your ABAP Development by Using the Mass Maintenance Tool

There are two ways to make mass changes to master and transactional data. The core MASS transaction code enables certain master data fields to be changed all at once. This eliminates the need for users to update fields manually or write one-off ABAP code to make the change. The other way to make mass changes is via the mass change icon in the customer, vendor, or GL account open item transactions.

Did you know that there is a way to change the accounting clerk of 5,000 customers in a matter of minutes without writing a program? Did you know that you can update the baseline date for vendor invoices for a range of vendors at the same time? When you need to perform large changes to master data, do you normally write a custom program to facilitate this?

Read more

Abap Objects: An Introductory Article

The programming language like ABAP (Advanced Business Application Programming) is specially created for developing SAP applications. ABAP Objects is a new concept in R/3 System and you can find its two distinct meanings, one stands for the entire ABAP runtime environment and the other represents the new object-oriented generation of this language.

Read more

Naming Conventions for Reports

Customer report names follow the convention Yaxxxxxx or Zaxxxxxx, where:

  • The first character must be a Y or Z.
  • The second character represents the application area.
  • The maximum program length is 10.

The second character is the short form for the application area. For example, a customer report for Treasury would follow the convention Z5xxxxxx, while a logistics report would be named Z21xxxxx.

Read more