SAP Function Modules

MM_ARRANG_COMPARE_EKBO SAP Function module - Comparison of two index tables (pur. docs./invoice docs.) for difference







MM_ARRANG_COMPARE_EKBO is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name MM_ARRANG_COMPARE_EKBO into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: WNI3
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM MM_ARRANG_COMPARE_EKBO - MM ARRANG COMPARE EKBO





CALL FUNCTION 'MM_ARRANG_COMPARE_EKBO' "Comparison of two index tables (pur. docs./invoice docs.) for differences
  EXPORTING
    i_arrangement =             " kona          Rebate arrangement
*   i_turn_over_kspae = 'A'     " rwm01-kspae   Only documents still to be updated
*   i_document_paket_size = 100  " rwm01-dcstp
*   i_stat_data_delete = SPACE  " rwm02-delto
*   i_no_check_left_to_right = SPACE  " c       No check of left column against right
*   i_no_check_right_to_left = SPACE  " c       No check of right column against left
*   i_dialog_kspae = SPACE      " c             No dialog dynpro for scope of documents
    .  "  MM_ARRANG_COMPARE_EKBO

ABAP code example for Function Module MM_ARRANG_COMPARE_EKBO





The ABAP code below is a full code listing to execute function module MM_ARRANG_COMPARE_EKBO including all data declarations. The code uses 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 original method of declaring data variables up front. 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).


DATA(ld_i_arrangement) = 'Check type of data required'.

DATA(ld_i_turn_over_kspae) = some text here

DATA(ld_i_document_paket_size) = Check type of data required

DATA(ld_i_stat_data_delete) = some text here
DATA(ld_i_no_check_left_to_right) = 'Check type of data required'.
DATA(ld_i_no_check_right_to_left) = 'Check type of data required'.
DATA(ld_i_dialog_kspae) = 'Check type of data required'. . CALL FUNCTION 'MM_ARRANG_COMPARE_EKBO' EXPORTING i_arrangement = ld_i_arrangement * i_turn_over_kspae = ld_i_turn_over_kspae * i_document_paket_size = ld_i_document_paket_size * i_stat_data_delete = ld_i_stat_data_delete * i_no_check_left_to_right = ld_i_no_check_left_to_right * i_no_check_right_to_left = ld_i_no_check_right_to_left * i_dialog_kspae = ld_i_dialog_kspae . " MM_ARRANG_COMPARE_EKBO
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_i_arrangement  TYPE KONA ,
ld_i_turn_over_kspae  TYPE RWM01-KSPAE ,
ld_i_document_paket_size  TYPE RWM01-DCSTP ,
ld_i_stat_data_delete  TYPE RWM02-DELTO ,
ld_i_no_check_left_to_right  TYPE C ,
ld_i_no_check_right_to_left  TYPE C ,
ld_i_dialog_kspae  TYPE C .

ld_i_arrangement = 'Check type of data required'.

ld_i_turn_over_kspae = some text here

ld_i_document_paket_size = Check type of data required

ld_i_stat_data_delete = some text here
ld_i_no_check_left_to_right = 'Check type of data required'.
ld_i_no_check_right_to_left = 'Check type of data required'.
ld_i_dialog_kspae = 'Check type of data required'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name MM_ARRANG_COMPARE_EKBO or its description.