complex complex selection screen report screen selection SELECTION-SCREEN
When you have to enter a text greater than 50 characters to describe a field in the selection screen, or need to have more control over the position of the items in the selection screen, use technique below. This can also be used when you need to insert for example two radio buttons in the same line.
REPORT ZSELECTION_SCREEN.
* Text-symbols
*001 Lorem ipsum ei mei affert eruditi necessitatibus, id nec tota ullum
*002 Nibh maluisset scripserit et
**********************************************************************
* Selection Screen
**********************************************************************
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_radio1 type SPRPS RADIOBUTTON GROUP a1.
SELECTION-SCREEN: COMMENT 4(67) text-001.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_radio2 type SPRPS RADIOBUTTON GROUP a1.
SELECTION-SCREEN: COMMENT 4(28) text-002.
SELECTION-SCREEN END OF LINE.
abap application component OSS OSS Message OSS Note RSSTATUS SAP Standard Program
Program to verify application component of object. It can be used to inform details of object when opening OSS Message for example.

header list list header program
To edit list header:
- Running ABAP program, go to System–> List –>List Header
- While editing program, go to Goto–>Text Elements–>List Headers
breakpoint 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.
character lenght size strlen variable
Statement “length = STRLEN( variable ).” provides lenght of character variable.
data type type variable variables
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
active code compilation inactive load compilation program source source code
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 »
comment source 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+>.
indent pretty printer source code
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 »
personalize personalize sap gui start start transaction 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.