SAP Function Modules

FI_EDEL_BUKRS_CHECK SAP Function module







FI_EDEL_BUKRS_CHECK 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 FI_EDEL_BUKRS_CHECK into the relevant SAP transaction such as SE37 or SE80.

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


Pattern for FM FI_EDEL_BUKRS_CHECK - FI EDEL BUKRS CHECK





CALL FUNCTION 'FI_EDEL_BUKRS_CHECK' "
  EXPORTING
    entity =                    " entcopy02-domname  Organizational unit domain
    tabname =                   " entcopy02-tabname  Table to be processed
    value_source_entity =       "               Organizational unit value (from)
*   value_target_entity =       "               Organizational unit value (to)
*   action =                    " entcopy02-functype  Action of function module on organizational unit
*   order =                     " e071k-trkorr  Order number, if function module transported
*   task =                      " e071k-trkorr  Task number if function module transported
  IMPORTING
    retcode =                   " sy-subrc      Return code
* TABLES
*   list_of_objects =           "               List of object entries processed in function module
    .  "  FI_EDEL_BUKRS_CHECK

ABAP code example for Function Module FI_EDEL_BUKRS_CHECK





The ABAP code below is a full code listing to execute function module FI_EDEL_BUKRS_CHECK 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_retcode  TYPE SY-SUBRC ,
it_list_of_objects  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_list_of_objects  LIKE LINE OF it_list_of_objects .


SELECT single DOMNAME
FROM ENTCOPY02
INTO @DATA(ld_entity).


SELECT single TABNAME
FROM ENTCOPY02
INTO @DATA(ld_tabname).

DATA(ld_value_source_entity) = 'some text here'.
DATA(ld_value_target_entity) = 'some text here'.

SELECT single FUNCTYPE
FROM ENTCOPY02
INTO @DATA(ld_action).


SELECT single TRKORR
FROM E071K
INTO @DATA(ld_order).


SELECT single TRKORR
FROM E071K
INTO @DATA(ld_task).


"populate fields of struture and append to itab
append wa_list_of_objects to it_list_of_objects. . CALL FUNCTION 'FI_EDEL_BUKRS_CHECK' EXPORTING entity = ld_entity tabname = ld_tabname value_source_entity = ld_value_source_entity * value_target_entity = ld_value_target_entity * action = ld_action * order = ld_order * task = ld_task IMPORTING retcode = ld_retcode * TABLES * list_of_objects = it_list_of_objects . " FI_EDEL_BUKRS_CHECK
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_retcode  TYPE SY-SUBRC ,
ld_entity  TYPE ENTCOPY02-DOMNAME ,
it_list_of_objects  TYPE STANDARD TABLE OF STRING ,
wa_list_of_objects  LIKE LINE OF it_list_of_objects,
ld_tabname  TYPE ENTCOPY02-TABNAME ,
ld_value_source_entity  TYPE STRING ,
ld_value_target_entity  TYPE STRING ,
ld_action  TYPE ENTCOPY02-FUNCTYPE ,
ld_order  TYPE E071K-TRKORR ,
ld_task  TYPE E071K-TRKORR .


SELECT single DOMNAME
FROM ENTCOPY02
INTO ld_entity.


"populate fields of struture and append to itab
append wa_list_of_objects to it_list_of_objects.

SELECT single TABNAME
FROM ENTCOPY02
INTO ld_tabname.

ld_value_source_entity = 'some text here'.
ld_value_target_entity = 'some text here'.

SELECT single FUNCTYPE
FROM ENTCOPY02
INTO ld_action.


SELECT single TRKORR
FROM E071K
INTO ld_order.


SELECT single TRKORR
FROM E071K
INTO ld_task.

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 FI_EDEL_BUKRS_CHECK or its description.