SAP ISH_GET_SCORING_DATA Function Module for









ISH_GET_SCORING_DATA is a standard ish get scoring data SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 ish get scoring data FM, simply by entering the name ISH_GET_SCORING_DATA into the relevant SAP transaction such as SE37 or SE38.

Function Group: NASC
Program Name: SAPLNASC
Main Program: SAPLNASC
Appliation area: N
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ISH_GET_SCORING_DATA 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 'ISH_GET_SCORING_DATA'"
EXPORTING
EINRI = "
ENTL_BIS = "
ENTL_VON = "
* FILE_SYSTEM = 'R3' "
* FILE_NAME = ' ' "
* FILE_UPLOAD = 1 "
* MELDUNG = 'VR' "

IMPORTING
QNT_ERRORS = "
QNT_MAILS = "

TABLES
* ITRAN = "
* ITRAN_ERR = "

EXCEPTIONS
BAD_DOWNLOAD = 1 BAD_PARM = 2 BAD_SYSTEM = 3 BAD_UPLOAD = 4 NO_BDC_DATA = 5
.



IMPORTING Parameters details for ISH_GET_SCORING_DATA

EINRI -

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

ENTL_BIS -

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

ENTL_VON -

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

FILE_SYSTEM -

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

FILE_NAME -

Data type: RNSTAT-FILENAME
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

FILE_UPLOAD -

Data type: RNCOM-FLAG
Default: 1
Optional: Yes
Call by Reference: No ( called with pass by value option)

MELDUNG -

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

EXPORTING Parameters details for ISH_GET_SCORING_DATA

QNT_ERRORS -

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

QNT_MAILS -

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

TABLES Parameters details for ISH_GET_SCORING_DATA

ITRAN -

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

ITRAN_ERR -

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

EXCEPTIONS details

BAD_DOWNLOAD -

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

BAD_PARM -

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

BAD_SYSTEM -

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

BAD_UPLOAD -

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

NO_BDC_DATA -

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

Copy and paste ABAP code example for ISH_GET_SCORING_DATA 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_einri  TYPE TN01-EINRI, "   
lt_itran  TYPE STANDARD TABLE OF RNRTRAN, "   
lv_qnt_errors  TYPE NCST-ENERRQNT, "   
lv_bad_download  TYPE NCST, "   
lv_bad_parm  TYPE NCST, "   
lv_entl_bis  TYPE NBEW-BWIDT, "   
lt_itran_err  TYPE STANDARD TABLE OF RNRTRAN, "   
lv_qnt_mails  TYPE NCST-ENQNT, "   
lv_entl_von  TYPE NBEW-BWIDT, "   
lv_bad_system  TYPE NBEW, "   
lv_bad_upload  TYPE NBEW, "   
lv_file_system  TYPE NBEW, "   'R3'
lv_file_name  TYPE RNSTAT-FILENAME, "   SPACE
lv_no_bdc_data  TYPE RNSTAT, "   
lv_file_upload  TYPE RNCOM-FLAG, "   1
lv_meldung  TYPE RNCOM. "   'VR'

  CALL FUNCTION 'ISH_GET_SCORING_DATA'  "
    EXPORTING
         EINRI = lv_einri
         ENTL_BIS = lv_entl_bis
         ENTL_VON = lv_entl_von
         FILE_SYSTEM = lv_file_system
         FILE_NAME = lv_file_name
         FILE_UPLOAD = lv_file_upload
         MELDUNG = lv_meldung
    IMPORTING
         QNT_ERRORS = lv_qnt_errors
         QNT_MAILS = lv_qnt_mails
    TABLES
         ITRAN = lt_itran
         ITRAN_ERR = lt_itran_err
    EXCEPTIONS
        BAD_DOWNLOAD = 1
        BAD_PARM = 2
        BAD_SYSTEM = 3
        BAD_UPLOAD = 4
        NO_BDC_DATA = 5
. " ISH_GET_SCORING_DATA




ABAP code using 7.40 inline data declarations to call FM ISH_GET_SCORING_DATA

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.

"SELECT single EINRI FROM TN01 INTO @DATA(ld_einri).
 
 
"SELECT single ENERRQNT FROM NCST INTO @DATA(ld_qnt_errors).
 
 
 
"SELECT single BWIDT FROM NBEW INTO @DATA(ld_entl_bis).
 
 
"SELECT single ENQNT FROM NCST INTO @DATA(ld_qnt_mails).
 
"SELECT single BWIDT FROM NBEW INTO @DATA(ld_entl_von).
 
 
 
DATA(ld_file_system) = 'R3'.
 
"SELECT single FILENAME FROM RNSTAT INTO @DATA(ld_file_name).
DATA(ld_file_name) = ' '.
 
 
"SELECT single FLAG FROM RNCOM INTO @DATA(ld_file_upload).
DATA(ld_file_upload) = 1.
 
DATA(ld_meldung) = 'VR'.
 


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!