Thursday, 26 November 2015

Building an SAP Query with ABAP Code

ABAP code is used with SAP query tool to enhance the query output.

You can write down the code under the Extras tab for the Infoset in the SQ02 Tcode.

Building an SAP Query with ABAP Code

Tuesday, 10 November 2015

Best font for ABAP Editor?

Which font are you - ABAP developers using in code editor (either in SAP GUI SE38/SE80/SE24... or in Eclipse IDE)?
I have done little research in other programming languages and I found that one of the most preffered non-default one is called Consolas.
So I gave it a try and now I can say that it is great

It is one of the pre-installed fonts in MS Windows since Vista I think...

Here is comparison between default SAP GUI font:

Saturday, 26 September 2015

ABAP News for Release 7.40 - Table Expressions

Table expressions with the syntax

... itab[ ... ] ...

are a new way for accessing table lines in operand positions. You can view a table expression simply as a short form of a READ TABLE statement. The result of a table expression is a single table line. All you have to know is the syntax that does the same as a given READ TABLE statement.

If a table line is not found, the exception CX_SY_ITAB_LINE_NOT_FOUND is raised. No sy-subrc from expressions, of course.

Thursday, 24 September 2015

Creating code inspector Check Variant for client specific naming conventions

1. Creating Check Variant


1.a) Run transaction SCI
 Enter  Check  Variant name and press Create button.

Creating code inspector Check Variant for client specific naming conventions

Sunday, 12 July 2015

Text Types used in Smartforms

Introduction:

To start with there are four types of text types available, they are:

     1) Dynamic Text (D)
     2) Text Element  (E)
     3) Include Text    (I)
     4) Text Module    (M)

You can see the same in the below screen shot which gives you a better idea(Marked in Red below):

Friday, 28 November 2014

Introduction to ABAP Channels

Overview

ABAP Channels infrastructure was delivered with SAP NetWeaver AS ABAP 7.40 support package 2 (SP2) for simple tests and prototyping and released with 7.40 support package 5 (SP5).

The basic idea of the ABAP Channels (see Figure 1) is the native support of interactive and collaborative scenarios based on event-driven architecture. The scope of ABAP Channels consists of the following communication channels:
  • ABAP Push Channel for bi-directional communication with user agents via WebSockets in ABAP. In the Figure 1 the documents tagged with letter "P" mark the ABAP Push Channel communication paths.
  • Publish/subscribe infrastructure for exchange of messages between either user sessions (Session C => Session A) or user session and user agents

Saturday, 15 February 2014

Transactional RFC and Common issues

The blog post contains,
  1. Transactional RFC
  2. tRFC process flow diagram
  3. Common issues and trouble shooting
  4. Important transaction codes

1. Transactional RFC

Tuesday, 3 December 2013

New Open SQL Enhancement in 740

The following open SQL statement looks a little werid, however it could really works in 740.

New Open SQL Enhancement in 740