|
SAPscript Commands
Description
ADDRESS Formatting of addresses The ADDRESS-ENDADDRESS command formats addresses according to the postal norms of the recipient's country, as defined in the country parameter. /: ADDRESS DELIVERY PARAGRAPH AD
BOTTOM, ENDBOTTOM Define footer text in a window BOX, POSITION, SIZE Boxes, lines and shading CASE, ENDCASE Case distinction DEFINE Value assignment to text symbols HEX, ENDHEX Hexadecimal values IF, ENDIF Conditional text output INCLUDE Include other texts /: include &VBDPA-TDNAME& OBJECT VBBP ID 0002 Language EN PARAGRAPH CN Where CN is a paragraph defined as centered. NEW-PAGE Explicit forms feed NEW-WINDOW Next window MAIN PERFORM, ENDPERFORM Calling ABAP Subroutines PRINT-CONTROL Insert print control character PROTECT, ENDPROTECT Protect from page break With the command pair PROTECT. ENDPROTECT, SAPscript offers you the option of individually defining protection from a page break. If you parenthesize the text in question using these commands, SAPscript automatically guarantees that all the lines it contains are printed together on one page. If the lines fit on the current output page, they are output there, in exactly the same way as if the PROTECT command was not used. If, however, the space is not sufficient, the PROTECT command then works as a NEW-PAGE and generates a form feed .For this reason, you can view PROTECT/ENDPROTECT as a conditional NEW-PAGE command, whose condition consists of whether the included lines fit into the current window MAIN or not. Syntax: /: PROTECT
The lines to be protected lie between the two commands. RESET Initialize outline paragraphs SET COUNTRY Country-specific formatting SET DATE MASK Formatting of date fields SET SIGN Position of +/- sign SET TIME MASK Formatting of time fields STYLE Change style SUMMING Summing variables TOP Set header text in window MAIN |
|
Fast Links:
ABAP Books
SAP Scripts Tips
Best regards,
All the site contents are Copyright © www.erpgreat.com
and the content authors. All rights reserved.
|