Ansicht
Dokumentation

ABAPSYNTAX-CHECK_FOR_PROGRAM - SYNTAX-CHECK FOR PROGRAM

ABAPSYNTAX-CHECK_FOR_PROGRAM - SYNTAX-CHECK FOR PROGRAM

BAL Application Log Documentation   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

SYNTAX-CHECK FOR PROGRAM

This statement is for internal use only.
It must not be used in application programs.


SYNTAX-CHECK FOR PROGRAM prog
                 MESSAGE mess LINE lin WORD wrd
                 $[WITH CURRENT SWITCHSTATES$]
$[error_handling$]
                 $[REPLACING itab$]
                 $[SHORTDUMP-ID sid$]
                 $[TRACE-TABLE trt$]
                 $[ID id TABLE idt$]
                 $[FILTER flt$].

Additions

1. ... REPLACING itab

2. ... SHORTDUMP-ID sid

3. ... TRACE-TABLE trt

4. ... ID id TABLE idt

5. ... FILTER flt

Effect

This statement performs a syntax check for the program specified in prog. prog must be a character-like data object that contains the name of an existing ABAP program. If the program specified does not exist, sy-subrc is set to 8. The attributes of the specified program are used for the syntax check. The same applies to the additions MESSAGE, LINE, WORD, and error_handling and the return codes in sy-subrc as to the statement SYNTAX-CHECK FOR itab.

Addition 1

... REPLACING itab

Effect

itab expects a standard table without secondary keys of table type SREPTAB with the line type SREPTABLN from the ABAP Dictionary, containing a replacement list for the include programs specified in the checked program. Each include program specified after INCLUDE in the program specified in prog is found in the column NAME of the internal table. If the name is found, the syntax check includes the source code referenced by the column SOURCE and not the specified include program. The attributes used for the check are taken from the structure referenced by the column TRDIR.

Addition 2

... SHORTDUMP-ID sid

Addition 3

... TRACE-TABLE trt

Addition 4

... ID id TABLE idt

Addition 5

... FILTER flt

Effect

These additions work as described in SYNTAX-CHECK - Internal Additions.






RFUMSV00 - Advance Return for Tax on Sales/Purchases   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 5016 Date: 20240329 Time: 070340     sap01-206 ( 70 ms )