SAP C1F3_RAWREP_DEFAULT_PARAMETER Function Module for NOTRANSL: EHS: Default-Werte für Parametersymbole eines Berichtes ermittel









C1F3_RAWREP_DEFAULT_PARAMETER is a standard c1f3 rawrep default parameter 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: Default-Werte für Parametersymbole eines Berichtes ermittel 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 c1f3 rawrep default parameter FM, simply by entering the name C1F3_RAWREP_DEFAULT_PARAMETER into the relevant SAP transaction such as SE37 or SE38.

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



Function C1F3_RAWREP_DEFAULT_PARAMETER 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 'C1F3_RAWREP_DEFAULT_PARAMETER'"NOTRANSL: EHS: Default-Werte für Parametersymbole eines Berichtes ermittel
EXPORTING
I_VARIANT_HEADER = "EHS: IOTAB for substance report variants
I_REPORT_HEADER = "
* I_INITIATOR = "
* I_VALDAT = SY-DATUM "
* I_SUBID = "
* I_RTIME_FROM = "Expansion date for a report symbol
* I_RTIME_TO = "Expansion date for a report symbol

TABLES
I_APPLOBJ_TAB = "
* I_APPLOBJ_PARAM_TAB = "
E_PARAM_TAB = "Structure for transfer of symbol values
* E_PROTOCOL_TAB = "Application Log: APPL_LOG_WRITE_MESSAGES interface
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLC1F3_001 EHS: Checking Assignment in Report Header

IMPORTING Parameters details for C1F3_RAWREP_DEFAULT_PARAMETER

I_VARIANT_HEADER - EHS: IOTAB for substance report variants

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

I_REPORT_HEADER -

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

I_INITIATOR -

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

I_VALDAT -

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

I_SUBID -

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

I_RTIME_FROM - Expansion date for a report symbol

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

I_RTIME_TO - Expansion date for a report symbol

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

TABLES Parameters details for C1F3_RAWREP_DEFAULT_PARAMETER

I_APPLOBJ_TAB -

Data type: ESPRE_APPLOBJ_TAB_TYPE
Optional: No
Call by Reference: Yes

I_APPLOBJ_PARAM_TAB -

Data type: ESP9_APPLOBJ_PARAM_TAB_TYPE
Optional: Yes
Call by Reference: Yes

E_PARAM_TAB - Structure for transfer of symbol values

Data type: CVDDP
Optional: No
Call by Reference: Yes

E_PROTOCOL_TAB - Application Log: APPL_LOG_WRITE_MESSAGES interface

Data type: BALMI
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for C1F3_RAWREP_DEFAULT_PARAMETER 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_i_applobj_tab  TYPE STANDARD TABLE OF ESPRE_APPLOBJ_TAB_TYPE, "   
lv_i_variant_header  TYPE RCGLPIOT, "   
lv_i_report_header  TYPE ESPRE_APIDH_WA_TYPE, "   
lt_i_applobj_param_tab  TYPE STANDARD TABLE OF ESP9_APPLOBJ_PARAM_TAB_TYPE, "   
lt_e_param_tab  TYPE STANDARD TABLE OF CVDDP, "   
lv_i_initiator  TYPE CVDDH-INITIATOR, "   
lv_i_valdat  TYPE SY-DATUM, "   SY-DATUM
lt_e_protocol_tab  TYPE STANDARD TABLE OF BALMI, "   
lv_i_subid  TYPE ESTDH-SUBID, "   
lv_i_rtime_from  TYPE TCGA6-LSYRTIM, "   
lv_i_rtime_to  TYPE TCGA6-LSYRTIM. "   

  CALL FUNCTION 'C1F3_RAWREP_DEFAULT_PARAMETER'  "NOTRANSL: EHS: Default-Werte für Parametersymbole eines Berichtes ermittel
    EXPORTING
         I_VARIANT_HEADER = lv_i_variant_header
         I_REPORT_HEADER = lv_i_report_header
         I_INITIATOR = lv_i_initiator
         I_VALDAT = lv_i_valdat
         I_SUBID = lv_i_subid
         I_RTIME_FROM = lv_i_rtime_from
         I_RTIME_TO = lv_i_rtime_to
    TABLES
         I_APPLOBJ_TAB = lt_i_applobj_tab
         I_APPLOBJ_PARAM_TAB = lt_i_applobj_param_tab
         E_PARAM_TAB = lt_e_param_tab
         E_PROTOCOL_TAB = lt_e_protocol_tab
. " C1F3_RAWREP_DEFAULT_PARAMETER




ABAP code using 7.40 inline data declarations to call FM C1F3_RAWREP_DEFAULT_PARAMETER

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 INITIATOR FROM CVDDH INTO @DATA(ld_i_initiator).
 
"SELECT single DATUM FROM SY INTO @DATA(ld_i_valdat).
DATA(ld_i_valdat) = SY-DATUM.
 
 
"SELECT single SUBID FROM ESTDH INTO @DATA(ld_i_subid).
 
"SELECT single LSYRTIM FROM TCGA6 INTO @DATA(ld_i_rtime_from).
 
"SELECT single LSYRTIM FROM TCGA6 INTO @DATA(ld_i_rtime_to).
 


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!