SAP R/3
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
- thitima's blog
- Add new comment
- 1352 reads
SAP invests EUR 2.2 million to open grid research center in Belfast
SAP, Europe’s largest software firm, has announced that it is to invest EUR 2.2 million in a new research center to be located in Belfast. Invest Northern Ireland has offered a Start programme package of EUR 1.3 million towards the establishment of the centre, which will focus on carrying out leading-edge research in the emerging field of grid computing. (read more).
SAP seems to sense the potential of grid technology in back office business area. Many major vendors have already jumped to early adopt grid technology. However, there is only solution in data grid. Computational grid or grid computing is very popular in scientific area but never heard in business sector. This is a good start next to SAP NetWeaver platform.
- sugree's blog
- Add new comment
- Read more
- 1835 reads
Date Mask Template in command SET DATE MASK for SAPscript
Syntax
/: SET DATE MASK = ’template’
Template Description
DD Day 2 digits
DDD Short name of day
DDDD Long name of day
MM Month 2 digits
MMM Short name of month
MMMM Long name of month
YY Year 2 digits
YYYY Year 4 digits
Example
SAPscript
- thitima's blog
- Add new comment
- Read more
- 4900 reads
How to initial value of SELECT-OPTIONS in ABAP/4
We can initial value of SELECT-OPTIONS in event INITIALIZATION.
Example
TABLES: sflight.
SELECT-OPTIONS: s_carrid FOR sflight-carrid.
INITIALIZATION.
s_carrid-sign = ’I’.
s_carrid-option = ’EQ’.
s_carrid-low = ’AA’.
APPEND s_carrid.
s_carrid-low = ’AB’.
APPEND s_carrid.
s_carrid-low = ’AC’.
APPEND s_carrid.
The output is:
- thitima's blog
- 1 comment
- Read more
- 14338 reads
Loop ... Assigning & Loop ... Into in ABAP/4
Loop ... Into
LOOP AT itab INTO wa_tab.
...
...
...
wa_tab-fld1 = ’X’.
MODIFY itab FROM wa_tab.
ENDLOOP.
Loop ... Assigning
Loop ... Assigning is faster than Loop ... Into because when you modify field-symbol, system automatically update data in internal table.
LOOP AT itab ASSIGNING.
...
...
...-fld1 = ’X’.
ENDLOOP.
- thitima's blog
- Add new comment
- 6735 reads
ABAP/4 Example Code: Download ABAP Spool to PDF
*** This program receive spool id and destination file name ***
DATA: it_pdf TYPE TABLE OF TLINE WITH HEADER LINE,
gv_string TYPE string.
PARAMETERS: p_spool LIKE TSP01-RQIDENT,
p_file LIKE RLGRAP-FILENAME.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION ’KD_GET_FILENAME_ON_F4’
EXPORTING
* PROGRAM_NAME = SYST-REPID
* &nb
- thitima's blog
- Add new comment
- Read more
- 3866 reads
Recent comments
3 years 29 weeks ago
3 years 34 weeks ago
3 years 35 weeks ago
3 years 35 weeks ago
3 years 35 weeks ago
3 years 38 weeks ago
3 years 38 weeks ago
3 years 38 weeks ago
3 years 38 weeks ago
3 years 38 weeks ago