SAP FKK_ORDER_CHECK_CHANGE_DELETE Function Module for









FKK_ORDER_CHECK_CHANGE_DELETE is a standard fkk order check change delete 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 fkk order check change delete FM, simply by entering the name FKK_ORDER_CHECK_CHANGE_DELETE into the relevant SAP transaction such as SE37 or SE38.

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



Function FKK_ORDER_CHECK_CHANGE_DELETE 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 'FKK_ORDER_CHECK_CHANGE_DELETE'"
EXPORTING
I_FKKORDER_OLD = "Requests: Header Data
I_FKKORDER = "Requests: Header Data
I_ACTION = "Actions for Requests
* I_SPLITT = "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* I_NO_DIALOG = ' ' "External Call Without Dialog
I_NOTICE_CHANGED = "Indicator: Change made

IMPORTING
E_SUBRC = "Return Value, Return Value after ABAP Statements

TABLES
T_FKKORDERPOS_OLD = "Requests: Items
T_FKKORDERPOS = "Requests: Items
* T_FKKORDERLOCKS = "Requests: Processing Locks
* T_FKKORDERLOCKS_OLD = "Requests: Processing Locks
* T_FKKORDERDUE_OLD = "Requests: Due Dates
* T_FKKORDERDUE = "Requests: Due Dates

EXCEPTIONS
HEAD_ERROR = 1
.



IMPORTING Parameters details for FKK_ORDER_CHECK_CHANGE_DELETE

I_FKKORDER_OLD - Requests: Header Data

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

I_FKKORDER - Requests: Header Data

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

I_ACTION - Actions for Requests

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

I_SPLITT - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')

Data type: BOOLE-BOOLE
Optional: Yes
Call by Reference: Yes

I_NO_DIALOG - External Call Without Dialog

Data type: X_NO_DIALOG_KK
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_NOTICE_CHANGED - Indicator: Change made

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

EXPORTING Parameters details for FKK_ORDER_CHECK_CHANGE_DELETE

E_SUBRC - Return Value, Return Value after ABAP Statements

Data type: SY-SUBRC
Optional: No
Call by Reference: Yes

TABLES Parameters details for FKK_ORDER_CHECK_CHANGE_DELETE

T_FKKORDERPOS_OLD - Requests: Items

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

T_FKKORDERPOS - Requests: Items

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

T_FKKORDERLOCKS - Requests: Processing Locks

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

T_FKKORDERLOCKS_OLD - Requests: Processing Locks

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

T_FKKORDERDUE_OLD - Requests: Due Dates

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

T_FKKORDERDUE - Requests: Due Dates

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

EXCEPTIONS details

HEAD_ERROR - Error in Header Data

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FKK_ORDER_CHECK_CHANGE_DELETE 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_subrc  TYPE SY-SUBRC, "   
lv_head_error  TYPE SY, "   
lv_i_fkkorder_old  TYPE FKKORDER, "   
lt_t_fkkorderpos_old  TYPE STANDARD TABLE OF FKKORDERPOS, "   
lv_i_fkkorder  TYPE FKKORDER, "   
lt_t_fkkorderpos  TYPE STANDARD TABLE OF FKKORDERPOS, "   
lv_i_action  TYPE ACTION_KK, "   
lt_t_fkkorderlocks  TYPE STANDARD TABLE OF DFKKORDERLOCKS, "   
lv_i_splitt  TYPE BOOLE-BOOLE, "   
lt_t_fkkorderlocks_old  TYPE STANDARD TABLE OF DFKKORDERLOCKS, "   
lv_i_no_dialog  TYPE X_NO_DIALOG_KK, "   SPACE
lt_t_fkkorderdue_old  TYPE STANDARD TABLE OF FKKORDERDUE, "   
lt_t_fkkorderdue  TYPE STANDARD TABLE OF FKKORDERDUE, "   
lv_i_notice_changed  TYPE EENO_CHANG. "   

  CALL FUNCTION 'FKK_ORDER_CHECK_CHANGE_DELETE'  "
    EXPORTING
         I_FKKORDER_OLD = lv_i_fkkorder_old
         I_FKKORDER = lv_i_fkkorder
         I_ACTION = lv_i_action
         I_SPLITT = lv_i_splitt
         I_NO_DIALOG = lv_i_no_dialog
         I_NOTICE_CHANGED = lv_i_notice_changed
    IMPORTING
         E_SUBRC = lv_e_subrc
    TABLES
         T_FKKORDERPOS_OLD = lt_t_fkkorderpos_old
         T_FKKORDERPOS = lt_t_fkkorderpos
         T_FKKORDERLOCKS = lt_t_fkkorderlocks
         T_FKKORDERLOCKS_OLD = lt_t_fkkorderlocks_old
         T_FKKORDERDUE_OLD = lt_t_fkkorderdue_old
         T_FKKORDERDUE = lt_t_fkkorderdue
    EXCEPTIONS
        HEAD_ERROR = 1
. " FKK_ORDER_CHECK_CHANGE_DELETE




ABAP code using 7.40 inline data declarations to call FM FKK_ORDER_CHECK_CHANGE_DELETE

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 SUBRC FROM SY INTO @DATA(ld_e_subrc).
 
 
 
 
 
 
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_splitt).
 
 
DATA(ld_i_no_dialog) = ' '.
 
 
 
 


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!