SAP SAMPLE_PROCESS_FKKC9940 Function Module for









SAMPLE_PROCESS_FKKC9940 is a standard sample process fkkc9940 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 sample process fkkc9940 FM, simply by entering the name SAMPLE_PROCESS_FKKC9940 into the relevant SAP transaction such as SE37 or SE38.

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



Function SAMPLE_PROCESS_FKKC9940 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 'SAMPLE_PROCESS_FKKC9940'"
EXPORTING
* I_REF_LOG = CL_EFG_LOG=>NULL "
I_DFKKCOH = "
I_ITCPO = "
I_EFGPP = "
* I_ARCHIVE_PARAMS = "
* I_ARCHIVE_INDEX = "
* I_OBJECT_ID_LONG_VERSION = "

EXCEPTIONS
ERROR_OCCURRED = 1
.



IMPORTING Parameters details for SAMPLE_PROCESS_FKKC9940

I_REF_LOG -

Data type: IF_EFG_LOG
Default: CL_EFG_LOG=>NULL
Optional: Yes
Call by Reference: Yes

I_DFKKCOH -

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

I_ITCPO -

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

I_EFGPP -

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

I_ARCHIVE_PARAMS -

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

I_ARCHIVE_INDEX -

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

I_OBJECT_ID_LONG_VERSION -

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

EXCEPTIONS details

ERROR_OCCURRED -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for SAMPLE_PROCESS_FKKC9940 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_ref_log  TYPE IF_EFG_LOG, "   CL_EFG_LOG=>NULL
lv_error_occurred  TYPE IF_EFG_LOG, "   
lv_i_dfkkcoh  TYPE DFKKCOH, "   
lv_i_itcpo  TYPE ITCPO, "   
lv_i_efgpp  TYPE EFG_PRINTPARAMS, "   
lv_i_archive_params  TYPE ARC_PARAMS, "   
lv_i_archive_index  TYPE TOA_DARA, "   
lv_i_object_id_long_version  TYPE FKK_CORR_VERSION_KK. "   

  CALL FUNCTION 'SAMPLE_PROCESS_FKKC9940'  "
    EXPORTING
         I_REF_LOG = lv_i_ref_log
         I_DFKKCOH = lv_i_dfkkcoh
         I_ITCPO = lv_i_itcpo
         I_EFGPP = lv_i_efgpp
         I_ARCHIVE_PARAMS = lv_i_archive_params
         I_ARCHIVE_INDEX = lv_i_archive_index
         I_OBJECT_ID_LONG_VERSION = lv_i_object_id_long_version
    EXCEPTIONS
        ERROR_OCCURRED = 1
. " SAMPLE_PROCESS_FKKC9940




ABAP code using 7.40 inline data declarations to call FM SAMPLE_PROCESS_FKKC9940

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_ref_log) = CL_EFG_LOG=>NULL.
 
 
 
 
 
 
 
 


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!