SAP FMHIE_CUST_READ_SORT_SEQUENCE Function Module for Read customizing of FMAA sorting sequence









FMHIE_CUST_READ_SORT_SEQUENCE is a standard fmhie cust read sort sequence SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read customizing of FMAA sorting sequence 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 fmhie cust read sort sequence FM, simply by entering the name FMHIE_CUST_READ_SORT_SEQUENCE into the relevant SAP transaction such as SE37 or SE38.

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



Function FMHIE_CUST_READ_SORT_SEQUENCE 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 'FMHIE_CUST_READ_SORT_SEQUENCE'"Read customizing of FMAA sorting sequence
EXPORTING
I_FM_AREA = "Financial Management Area
I_BS = "Name of Budget Structure
* I_FLG_BYPASS_BUFFER = ' ' "Flag: By-pass read buffer

TABLES
T_SORT_ORDER_TAB = "Table for SORT itab BY (ABAP_SORTORDER_TAB)

EXCEPTIONS
MISSING_ROLE_DEFINITION = 1
.



IMPORTING Parameters details for FMHIE_CUST_READ_SORT_SEQUENCE

I_FM_AREA - Financial Management Area

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

I_BS - Name of Budget Structure

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

I_FLG_BYPASS_BUFFER - Flag: By-pass read buffer

Data type: XFELD
Default: ' '
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for FMHIE_CUST_READ_SORT_SEQUENCE

T_SORT_ORDER_TAB - Table for SORT itab BY (ABAP_SORTORDER_TAB)

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

EXCEPTIONS details

MISSING_ROLE_DEFINITION - Hierarchy role definition is missing

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FMHIE_CUST_READ_SORT_SEQUENCE 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_fm_area  TYPE FIKRS, "   
lt_t_sort_order_tab  TYPE STANDARD TABLE OF ABAP_SORTORDER_TAB, "   
lv_missing_role_definition  TYPE ABAP_SORTORDER_TAB, "   
lv_i_bs  TYPE FMBS_NAME, "   
lv_i_flg_bypass_buffer  TYPE XFELD. "   ' '

  CALL FUNCTION 'FMHIE_CUST_READ_SORT_SEQUENCE'  "Read customizing of FMAA sorting sequence
    EXPORTING
         I_FM_AREA = lv_i_fm_area
         I_BS = lv_i_bs
         I_FLG_BYPASS_BUFFER = lv_i_flg_bypass_buffer
    TABLES
         T_SORT_ORDER_TAB = lt_t_sort_order_tab
    EXCEPTIONS
        MISSING_ROLE_DEFINITION = 1
. " FMHIE_CUST_READ_SORT_SEQUENCE




ABAP code using 7.40 inline data declarations to call FM FMHIE_CUST_READ_SORT_SEQUENCE

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_flg_bypass_buffer) = ' '.
 


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!