SAP _SCI_OBJ_PROVIDER_SYNTAX_PROG Function Module for Syntax Analysis









_SCI_OBJ_PROVIDER_SYNTAX_PROG is a standard sci obj provider syntax prog SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Syntax Analysis processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for sci obj provider syntax prog FM, simply by entering the name _SCI_OBJ_PROVIDER_SYNTAX_PROG into the relevant SAP transaction such as SE37 or SE38.

Function Group: SCI_OBJECT_PROVIDER_SYNTAX
Program Name: SAPLSCI_OBJECT_PROVIDER_SYNTAX
Main Program: SAPLSCI_OBJECT_PROVIDER_SYNTAX
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled + BasXML supported
Update:



Function _SCI_OBJ_PROVIDER_SYNTAX_PROG pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION '_SCI_OBJ_PROVIDER_SYNTAX_PROG'"Syntax Analysis
EXPORTING
I_PROG_NAME = "ABAP Program Name
* I_LANGUAGE = 'E' "Language Key for Analysis

IMPORTING
E_SYNTAX_ERRORS = "Syntax Errors
E_SYNTAX_WARNINGS = "Syntax Warnings
E_SYNTAX_INFO_MESSAGES = "Info Messages

EXCEPTIONS
SYNTAX_CHECK_FAILED = 1
.



IMPORTING Parameters details for _SCI_OBJ_PROVIDER_SYNTAX_PROG

I_PROG_NAME - ABAP Program Name

Data type: PROGNAME
Optional: No
Call by Reference: No ( called with pass by value option)

I_LANGUAGE - Language Key for Analysis

Data type: SYLANGU
Default: 'E'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for _SCI_OBJ_PROVIDER_SYNTAX_PROG

E_SYNTAX_ERRORS - Syntax Errors

Data type: RSLINMSGS
Optional: No
Call by Reference: No ( called with pass by value option)

E_SYNTAX_WARNINGS - Syntax Warnings

Data type: RSLINMSGS
Optional: No
Call by Reference: No ( called with pass by value option)

E_SYNTAX_INFO_MESSAGES - Info Messages

Data type: RSLINMSGS
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

SYNTAX_CHECK_FAILED - Symtax Check was not possible

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for _SCI_OBJ_PROVIDER_SYNTAX_PROG Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_i_prog_name  TYPE PROGNAME, "   
lv_e_syntax_errors  TYPE RSLINMSGS, "   
lv_syntax_check_failed  TYPE RSLINMSGS, "   
lv_i_language  TYPE SYLANGU, "   'E'
lv_e_syntax_warnings  TYPE RSLINMSGS, "   
lv_e_syntax_info_messages  TYPE RSLINMSGS. "   

  CALL FUNCTION '_SCI_OBJ_PROVIDER_SYNTAX_PROG'  "Syntax Analysis
    EXPORTING
         I_PROG_NAME = lv_i_prog_name
         I_LANGUAGE = lv_i_language
    IMPORTING
         E_SYNTAX_ERRORS = lv_e_syntax_errors
         E_SYNTAX_WARNINGS = lv_e_syntax_warnings
         E_SYNTAX_INFO_MESSAGES = lv_e_syntax_info_messages
    EXCEPTIONS
        SYNTAX_CHECK_FAILED = 1
. " _SCI_OBJ_PROVIDER_SYNTAX_PROG




ABAP code using 7.40 inline data declarations to call FM _SCI_OBJ_PROVIDER_SYNTAX_PROG

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
DATA(ld_i_language) = 'E'.
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!