SAP C100_ENTRY_INQUIERY Function Module for NOTRANSL: EHS: Aufruf der Stoffauskunft (mit Übergabe von Material-ID's)









C100_ENTRY_INQUIERY is a standard c100 entry inquiery SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: EHS: Aufruf der Stoffauskunft (mit Übergabe von Material-ID's) 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 c100 entry inquiery FM, simply by entering the name C100_ENTRY_INQUIERY into the relevant SAP transaction such as SE37 or SE38.

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



Function C100_ENTRY_INQUIERY 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 'C100_ENTRY_INQUIERY'"NOTRANSL: EHS: Aufruf der Stoffauskunft (mit Übergabe von Material-ID's)
EXPORTING
* I_VALDAT = SY-DATUM "
* I_FLG_NEW_TASK = ESP1_FALSE "
* I_CALLID = "

IMPORTING
E_OKCODE = "

TABLES
I_MATNR_TAB = "

EXCEPTIONS
ILLEGAL_LANGU = 1 NO_MATERIALS = 2 NO_SUBSTANCES_FOUND = 3 INTERNAL_ERROR = 4 CONVMODE_SET_FAILED = 5
.



IMPORTING Parameters details for C100_ENTRY_INQUIERY

I_VALDAT -

Data type: RCGRADMSEL-VALDAT
Default: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_FLG_NEW_TASK -

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

I_CALLID -

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

EXPORTING Parameters details for C100_ENTRY_INQUIERY

E_OKCODE -

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

TABLES Parameters details for C100_ENTRY_INQUIERY

I_MATNR_TAB -

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

EXCEPTIONS details

ILLEGAL_LANGU - Specified Language Not Defined

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

NO_MATERIALS - No Materials Specified

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

NO_SUBSTANCES_FOUND -

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

INTERNAL_ERROR -

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

CONVMODE_SET_FAILED -

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

Copy and paste ABAP code example for C100_ENTRY_INQUIERY 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_e_okcode  TYPE ESP1_OKCODE_TYPE, "   
lv_i_valdat  TYPE RCGRADMSEL-VALDAT, "   SY-DATUM
lt_i_matnr_tab  TYPE STANDARD TABLE OF QMATNR, "   
lv_illegal_langu  TYPE QMATNR, "   
lv_no_materials  TYPE QMATNR, "   
lv_i_flg_new_task  TYPE ESP1_BOOLEAN, "   ESP1_FALSE
lv_i_callid  TYPE TCGEXT-CALLID, "   
lv_no_substances_found  TYPE TCGEXT, "   
lv_internal_error  TYPE TCGEXT, "   
lv_convmode_set_failed  TYPE TCGEXT. "   

  CALL FUNCTION 'C100_ENTRY_INQUIERY'  "NOTRANSL: EHS: Aufruf der Stoffauskunft (mit Übergabe von Material-ID's)
    EXPORTING
         I_VALDAT = lv_i_valdat
         I_FLG_NEW_TASK = lv_i_flg_new_task
         I_CALLID = lv_i_callid
    IMPORTING
         E_OKCODE = lv_e_okcode
    TABLES
         I_MATNR_TAB = lt_i_matnr_tab
    EXCEPTIONS
        ILLEGAL_LANGU = 1
        NO_MATERIALS = 2
        NO_SUBSTANCES_FOUND = 3
        INTERNAL_ERROR = 4
        CONVMODE_SET_FAILED = 5
. " C100_ENTRY_INQUIERY




ABAP code using 7.40 inline data declarations to call FM C100_ENTRY_INQUIERY

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 VALDAT FROM RCGRADMSEL INTO @DATA(ld_i_valdat).
DATA(ld_i_valdat) = SY-DATUM.
 
 
 
 
DATA(ld_i_flg_new_task) = ESP1_FALSE.
 
"SELECT single CALLID FROM TCGEXT INTO @DATA(ld_i_callid).
 
 
 
 


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!