thitima's blog
EDITOR-CALL statement to show internal table as editor in ABAP/4
You can show the value of internal table as editor in ABAP/4 editor and you can modify data too by applying EDITOR-CALL statement.
Example
DATA: BEGIN OF itab occurs 0,
text(100),
END OF itab.
INITIALIZATION.
itab-text = ’Line1: ’.
APPEND itab.
itab-text = ’Line2: ’.
APPEND itab.
itab-text = ’Line3: ’.
APPEND itab.
itab-text = ’Line4: ’.
APPEND itab.
START-OF-SELECTION.
EDITOR-CALL FOR itab TITLE ’Testing EDITOR-CALL for internal table’.
LOOP AT itab.
WRITE:/ itab-text.
ENDLOOP.
- Add new comment
- Read more
- 1939 reads
BOX command in SAPscript
You can draw box in your SAPscript form by applying this command.
Syntax
/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
Example
We will draw box begins x origin 1 cm, y origin 2 cm, width 3 cm, height 4 cm, frame 10 tw and shade 10 %
/: BOX XPOS 1 CM YPOS 2 CM WIDTH 3 CM HEIGHT 4 CM FRAME 10 TW INTENSITY 10Output
- 4 comments
- Read more
- 16142 reads
How to insert graphics image (Bitmap) in SAPscript
You can insert graphics object (Bitmap) in SAPscript as following:
- Go to editor of SAPscript form
- Select menu Insert -> Graphics
- Select tab and input the graphic object that already uploaded to SAP by transaction SE78.
- Add new comment
- Read more
- 8112 reads
Step by step upload bitmap images to SAP
Step by step
- Go to transaction SE78.
- Select tree menu: Form Graphics -> Stroed on Document Server -> Graphics General Graphics -> BMAP Bitmap Images
- Select to import bitmap image file to SAP. System will popup screen for input file information and target name.
BOTTOM ... ENDBOTTOM Command in SAPscript
You can print text at the bottom of main window on each page by applying this command.
Syntax
/: BOTTOM
...
...
/: ENDBOTTOM
Example
SAPscript
Output
- Add new comment
- 2959 reads
Time Mask Template in command SET TIME MASK for SAPscript
Syntax
/: SET TIME MASK = ’template’
Template Description
HH Hour 2 digits
MM Minute 2 digits
SS Second 2 digits
Example
SAPscript
Output
- Add new comment
- 1386 reads
Recent comments
3 years 33 weeks ago
3 years 38 weeks ago
3 years 39 weeks ago
3 years 39 weeks ago
3 years 40 weeks ago
3 years 42 weeks ago
3 years 42 weeks ago
3 years 42 weeks ago
3 years 42 weeks ago
3 years 43 weeks ago