Month: January 2009

SU20 – Create Authorization Object

SU20 – Create Authorization Object

Use transaction SU20 to create an authorization object. If you don’t have an object class yet, create it first through transaction SU21.

Table TACT contain all activity codes for field ACTVT. TACTZ contains activities permitted for specific objects.

Watchpoint

Watchpoint

Watchpoint are conditional breakpoints. You can define a relational operator and comparison field value in order to the breakpoint happen.

There is a limit of up to 10 Watchpoints set at the same time.

ABAP Standard Data Types

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

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 More Read More

How to Comment Source Code

How to Comment Source Code

To comment ABAP source code, you can:

  • Type * (asterisk) in the first columm. This will comment the entire line;
  • (double quote). Text after double quote will be commented;
  • To comment a block of code, select lines and press ‘CTRL+,‘. To undo uncomment, press ‘CTRL+.‘.
Set Start Transaction

Set Start Transaction

Whenever you login into SAP, you have the option to set a default transaction, so next time you login into the system, it will open automatically transaction you have configured.

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.