SAP C1AU_INCLUDING_SUBS_FIND Function Module for NOTRANSL: EHS: alle Stoffe ermitteln, die einen gegebenen Stoff privat(!)









C1AU_INCLUDING_SUBS_FIND is a standard c1au including subs find 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: alle Stoffe ermitteln, die einen gegebenen Stoff privat(!) 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 c1au including subs find FM, simply by entering the name C1AU_INCLUDING_SUBS_FIND into the relevant SAP transaction such as SE37 or SE38.

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



Function C1AU_INCLUDING_SUBS_FIND 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 'C1AU_INCLUDING_SUBS_FIND'"NOTRANSL: EHS: alle Stoffe ermitteln, die einen gegebenen Stoff privat(!)
EXPORTING
* I_SEARCHMODE = ESP1_SRCHMD_INIT "Search mode to find historical data
* I_VALDAT = ESP1_INITIAL_DATE "Key Date
* I_DATERANGE = "EHS: Struct. for searching via time frame (historical data)
* I_CONDITION = "EHS: Dangerous Goods Management - Transport Classification
* I_FLG_IGNORE_COMPCAT = ESP1_TRUE "DE-EN-LANG-SWITCH-NO-TRANSLATION

TABLES
X_RECN_TAB = "EHS: Minimum Key for FM Call Interface
E_RESULT_TAB = "EHS: Dangerous Goods Management - Transport Classification

EXCEPTIONS
ILLEGAL_INPUT = 1
.



IMPORTING Parameters details for C1AU_INCLUDING_SUBS_FIND

I_SEARCHMODE - Search mode to find historical data

Data type: RCGSELSCR-SEARCHMODE
Default: ESP1_SRCHMD_INIT
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_VALDAT - Key Date

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

I_DATERANGE - EHS: Struct. for searching via time frame (historical data)

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

I_CONDITION - EHS: Dangerous Goods Management - Transport Classification

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

I_FLG_IGNORE_COMPCAT - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

TABLES Parameters details for C1AU_INCLUDING_SUBS_FIND

X_RECN_TAB - EHS: Minimum Key for FM Call Interface

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

E_RESULT_TAB - EHS: Dangerous Goods Management - Transport Classification

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

EXCEPTIONS details

ILLEGAL_INPUT - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

Copy and paste ABAP code example for C1AU_INCLUDING_SUBS_FIND 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:
lt_x_recn_tab  TYPE STANDARD TABLE OF RCGSTDRECN, "   
lv_i_searchmode  TYPE RCGSELSCR-SEARCHMODE, "   ESP1_SRCHMD_INIT
lv_illegal_input  TYPE RCGSELSCR, "   
lv_i_valdat  TYPE SY-DATUM, "   ESP1_INITIAL_DATE
lt_e_result_tab  TYPE STANDARD TABLE OF EST0F, "   
lv_i_daterange  TYPE RCGDATERANGE, "   
lv_i_condition  TYPE EST0F, "   
lv_i_flg_ignore_compcat  TYPE ESP1_BOOLEAN. "   ESP1_TRUE

  CALL FUNCTION 'C1AU_INCLUDING_SUBS_FIND'  "NOTRANSL: EHS: alle Stoffe ermitteln, die einen gegebenen Stoff privat(!)
    EXPORTING
         I_SEARCHMODE = lv_i_searchmode
         I_VALDAT = lv_i_valdat
         I_DATERANGE = lv_i_daterange
         I_CONDITION = lv_i_condition
         I_FLG_IGNORE_COMPCAT = lv_i_flg_ignore_compcat
    TABLES
         X_RECN_TAB = lt_x_recn_tab
         E_RESULT_TAB = lt_e_result_tab
    EXCEPTIONS
        ILLEGAL_INPUT = 1
. " C1AU_INCLUDING_SUBS_FIND




ABAP code using 7.40 inline data declarations to call FM C1AU_INCLUDING_SUBS_FIND

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 SEARCHMODE FROM RCGSELSCR INTO @DATA(ld_i_searchmode).
DATA(ld_i_searchmode) = ESP1_SRCHMD_INIT.
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_i_valdat).
DATA(ld_i_valdat) = ESP1_INITIAL_DATE.
 
 
 
 
DATA(ld_i_flg_ignore_compcat) = ESP1_TRUE.
 


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!