SKIP (ABAP Keyword)

SKIP is a keyword used in SAP ABAP programming.This tutorial covers its introduction & syntax details.

SKIP


Variants


1. SKIP.
2. SKIP n.
3. SKIP TO LINE lin.

Variant 1
SKIP.

Effect
Outputs a blank line.

Example
The statements


WRITE: 'Text 1 ......'.
SKIP.
WRITE: 'Text 2 ......'.


produce the following output:

Text 1 ......

Text 2 ......

Variant 2
SKIP n.

Effect
Outputs n blank lines.

Note
The SKIP statement is only executed if there are still enough lines on the current page. Otherwise, a new page is started (see NEW-PAGE LINE-COUNT ). At the beginning of a new page, SKIP only generates blank lines if this page is the first page of the list or if this page was explicitly requested by NEW-PAGE . Otherwise, SKIP statements are ignored at the beginning of a page. At the end of the last list page, SKIP only generates blank lines if there is more output (WRITE , ULINE ). Otherwise, SKIP statements are ignored at the end of the last page.

Variant 3
SKIP TO LINE lin.

Effect
Moves the output position to the line lin . You can move up or down to any position on the current page. The line count starts at 1.

Example
The statement


REPORT TEST NO STANDARD PAGE HEADING.

DATA: ROW TYPE I VALUE 3.

WRITE 'Line 1'.
SKIP TO LINE 5.
WRITE 'Line 5'.
SKIP TO LINE ROW
WRITE 'Line 3'.


produces the following output:

Line 1

Line 3

Line 5

Note
The statement SKIP TO LINE lin is executed only if the contents of lin lie between 1 and the maximum number of lines per page (see NEW-PAGE LINE-COUNT ).

Most readed SAP Tutorials

Latest Added SAP documents

Custom Search
ABAP Tutorials ABAP Syntax BAPI SAP Jobs SAP Glossary SAP Netweaver SAP XI SAP Download SAP Interview questions

Complete SAP Study materials | SAP JOBS | PDF Tutorials   List of SAP Companies India

Google-Translate-Chinese (Simplified) BETA Google-Translate-English to French Google-Translate-English to German Google-Translate-English to Italian Google-Translate-English to Japanese BETA Google-Translate-English to Korean BETA Google-Translate-English to Russian BETA Google-Translate-English to Spanish

All of the product names here are trademarks of their respective companies. The site sapbrainsonline.com no way affiliated with SAP AG. Use information on this site at your own risk. Information furnished in the site is collected from various sites and posts from users. This site does not host any files on its server. If any compliants about the posts please contact us at sapbrain.support@gmail.com

Sitemap
web counter