Tic-Tac-Toe Game in SAP

August 24, 2009

The main objective of this program is to develop a game in abap. The game is called as “Tic Tac Toe” which can be played against a computer. Simple procedures are used to write this program. Use of selection screen concepts are done in this game.

Tic-Tac-Toe Game
Tic-Tac-Toe Game


Convert Spool Request to PDF in SAP

August 22, 2009

The following program converts the spool requests (can be seen using SP01) to PDF format on your PC.

At Program execution, specify the path where to download the PDF file.

 

Spool Request-To-PDF
Spool Request-To-PDF

 

Read the rest of this entry »


Formatting SAPScript / SMARTFORMS in SAP

August 21, 2009

There are few formatting options available in SAP for text formatting in SAPScript as well as Smartforms.

 

SAPScript Formatting

SAPScript Formatting

 

 

Smartforms Formatting

Smartforms Formatting

 

Read the rest of this entry »


Deactivate an Account in SAP

August 20, 2009

This report de-activates the account of the specified user. This can be used as a utility to SAP BASIS people.

Please be cautious of its use, and thus should be used correctly.

Read the rest of this entry »


Lock Objects in SAP

August 19, 2009

Lock objects are use in SAP to avoid the inconsistancy at the time of data is being insert/change into database.

SAP Provide three type of Lock objects.  

- Read Lock(Shared Locked) 
   protects read access to an object. The read lock allows other  transactions read access but not write access to the locked area of  the table

- Write Lock(exclusive lock) 
   protects write access to an object. The write lock allows other  transactions neither read nor write access to the locked area of the  table.

- Enhanced write lock (exclusive lock without cumulating) 
  works like a write lock except that the enhanced write lock also  protects from further accesses from the same transaction.

 

Type of Locks

Type of Locks

 

Read the rest of this entry »


Field Exit in SAP

August 12, 2009

Field exit are use to create programming logic for any data element.It carry out any checks,Conversions or Business related processing of screen fields. Important thing is it can not be debugged.It have its own naming convention FIELD_EXIT_.

In transaction code CMOD choose Text element -> Field exit.

Field Exit Initial Screen
Field Exit Initial Screen

 

Read the rest of this entry »


Check Tables and Value Tables in SAP

August 11, 2009

Many ABAPers gets confused initially with these tables. The difference lies in there Implementation and Behavior. Lets have a closer look at each to understand them better.

 

Read the rest of this entry »


Unicode in SAP

August 10, 2009

To have a better idea about what is Unicode, let us first look at what is a CodePage.

CodePage

A Code page is another name for character encoding (A character encoding system consists of a code that pairs each character from a given repertoire with something else, such as a sequence of natural numbers, octets or electrical pulses, in order to facilitate the transmission of data (generally numbers and/or text) through telecommunication networks or storage of text in computers).

Code Page

Code Page

Read the rest of this entry »