SAP Scripts
SAP Scripts
Header
Pages
Windows
Page Windows
Paragraph Formats
Character Formats
6 The ASPplus Solutions Compan
Header
Syntax :
/: SET DATE MASK =
‘date_mask’.
Ex : /: SET DATE MASK =
‘DD/MM/YY’.
37 &DATE& = 01/01/01
The ASP plus
Solutions Compan
Include Command
3. INCLUDE : To include contents
of another text into current text.
Syntax :
/: INCLUDE name [OBJECT o] [ID i]
[LANGUAGE l] [PARAGRAPH p]
[NEW-PARAGRAPH np]
Ex :
/: INCLUDE MYTEXT LANGUAGE
'E' PARAGRAPH 'A1'
38 The ASPplus Solutions Compan
Address – EndAddress
1. ADDRESS – ENDADDRESS :
To format the address.
Syntax :
/: ADDRESS [DELIVERY] [TYPE t]
[PARAGRAPH a] [PRIORITY p] [LINES
l]
/: TITLE title
/: NAME
name1[,name2[,name3[,name4]]]
The ASP Solutions Compan
39 plus
…….Contn
/: PERSON name of natural person
[TITLE form of address]
/: DEPARTMENT department
/: STREET street name
/: LOCATION additional location
information
/: POBOX po box [CODE post code /
zip code] [CITY city]
40 The ASPplus Solutions Compan
…….Contn
/: POSTCODE post code / zip_code
/: CITY city1[,city2]
/: REGION county / state
/: COUNTRY recipient country
[LANGUAGE language code]
/: FROMCOUNTRY sender country
/: ADDRESSNUMBER address
number
/: ENDADDRESS
41 The ASPplus Solutions Compan
Perform Command
5. PERFORM : It is used to call an
ABAP/4 subroutine from any
SE38 program.
Syntax :
/: PERFORM <form_name> IN
PROGRAM <prog>
/: USING &INVAR1&…..
/: CHANGING &OUTVAR1&…..
/: ENDPERFORM
42 The ASPplus Solutions Compan
SE38 program for Perform stmt
Form <form_name>
Tables itab like itcsy,
otab like itcsy.
- - - - - - - - - - Coding
Endform