ABAP Standard Data Types

D – Date

T – Time

I – Integer

F – Float

STRING – Character string (dynamic length)

XSTRING – Hexadecimal string (dynamic length)

C – Character

N – Numerical character

X – Hexadecimal

P – Packed Number

Inactive/Active Program

When we create a new program, its state will be Inactive until we activate it.

Whenever we change an existent program, we can still work with it without changing its LOAD compilation (active version interpreted at runtime). For that, we should work in ABAP Editor (SE38), and when we have to run it, we press F8 without changing its status to Active. Saving is allowed.

Read the rest of this entry »

How to Comment Source Code

To comment a line:

- * (asterisk) at the first columm. This will comment the entire line.

-” (double quote). Comment text after double quote.

To comment a block of code, select lines and press CTRL+<. To undo uncomment, press CTRL+>.

Pretty Printer

Not only of extremely complex material we live… thinking on newbies to SAP, here is a tip on how to make source code look better!

Use Pretty Printer button for converting uppercase/lowercase letters and indent your code.

Read the rest of this entry »

Set Start Transaction

At landing screen of SAP, click on menu Extras -> Set Start Transaction. Enter transaction code, for example SE38. At next login, transaction code configured will be executed automatically.

Generate missing %_HRxxxx include

To generate missing %_HRxxxx include, run report RPUMS40CCI or RPU40CCI for all custom infotypes (9xxxx).

SHD0 – Transaction Variants

Change behavior of standard transactions.

Example: Remove create button from transaction SE16.

shd0_1

Solution:

Transaction SHD0

  Read the rest of this entry »

SCAT – Computer Aided Test Tool

Use this transaction to upload/update data.

SE51 – Screen Painter

Screen Paiter is used to create/edit screens of programs.

We enter program’s name and screen number. From there we have access to flow logic (PBO, PAI), element list, attributes and layout editor.

SE16N – Data Browser

SE16N is the new version of SE16 transaction.


This blog is intended to SAP Consultants and users interested in quick tips when working with SAP ERP Systems. Information provided by this blog comes from years of experience as an ABAP Consultant, most of it for HR module. This documentation is provided "as is" without warranty of any kind, expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose, and further without warranty that use of this documentation will not infringe the patents, copyrights or other intellectual property of third parties. In no event shall www.abapwizard.com, its authors or users be liable for incidental or consequential damages of any kind, including, but not limited to damage or injury to property and lost profits, regardless of whether www.abapwizard.com knew or had reason to know of the possibility of such an occurrence. No permission to use the name of www.abapwizard.com or any adaptation thereof is granted to any user of the content on this website, except for use in the notice of copyright provided above. Please refer to http://help.sap.com or http://www.sap.com for the most up to date documentation related to SAP Systems. This blog www.abapwizard.com is in no way affiliated with SAP AG.