SAP FTI_LDB_READ_HM_DATA_GENERAL Function Module for ### Read HM Data - General









FTI_LDB_READ_HM_DATA_GENERAL is a standard fti ldb read hm data general 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 HM Data - General 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 fti ldb read hm data general FM, simply by entering the name FTI_LDB_READ_HM_DATA_GENERAL into the relevant SAP transaction such as SE37 or SE38.

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



Function FTI_LDB_READ_HM_DATA_GENERAL 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 'FTI_LDB_READ_HM_DATA_GENERAL'"###  Read HM Data - General
EXPORTING
I_CCSEL = "
I_CCSF = "

IMPORTING
E_TAB_HEDGEPLAN = "TTYP: Hedge Plan Header Information
E_TAB_NSH_HEDGE_ID = "
E_TAB_NSH_HEDGE_REL = "
E_TAB_NSH_EFF_VAL = "
E_TAB_ERRORS = "Table Type for Error Handling
E_TAB_EXPOSURE = "TTYP: TR-LDB Hedge: Exposure
E_TAB_EXP_TRANS = "TTYP: TR-LDB Hedge: Exposure Transaction
E_TAB_HEDGE_ID = "TTYP: TR-LDB Hedge: Hedged Item
E_TAB_HEDGE_RELATION = "TTYP: TR-LDB Hedge: Hedging Relationship
E_TAB_EXP_HEDGE_REL = "TTYP: TR-LDB Hedge: Relationship of Exposure - Hedged Item
E_TAB_EFF_VAL = "TTYP: TR-LDB Hedge: Effectiveness Results
E_TAB_NSH_EXP = "
E_TAB_NSH_EXP_TRANS = "
.



IMPORTING Parameters details for FTI_LDB_READ_HM_DATA_GENERAL

I_CCSEL -

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

I_CCSF -

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

EXPORTING Parameters details for FTI_LDB_READ_HM_DATA_GENERAL

E_TAB_HEDGEPLAN - TTYP: Hedge Plan Header Information

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

E_TAB_NSH_HEDGE_ID -

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

E_TAB_NSH_HEDGE_REL -

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

E_TAB_NSH_EFF_VAL -

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

E_TAB_ERRORS - Table Type for Error Handling

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

E_TAB_EXPOSURE - TTYP: TR-LDB Hedge: Exposure

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

E_TAB_EXP_TRANS - TTYP: TR-LDB Hedge: Exposure Transaction

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

E_TAB_HEDGE_ID - TTYP: TR-LDB Hedge: Hedged Item

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

E_TAB_HEDGE_RELATION - TTYP: TR-LDB Hedge: Hedging Relationship

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

E_TAB_EXP_HEDGE_REL - TTYP: TR-LDB Hedge: Relationship of Exposure - Hedged Item

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

E_TAB_EFF_VAL - TTYP: TR-LDB Hedge: Effectiveness Results

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

E_TAB_NSH_EXP -

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

E_TAB_NSH_EXP_TRANS -

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

Copy and paste ABAP code example for FTI_LDB_READ_HM_DATA_GENERAL 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_ccsel  TYPE FTIS_YS_SINGLE_DAT_LDB_SEL, "   
lv_e_tab_hedgeplan  TYPE FTI_LDB_TR_HM_HEGDEPLAN_T, "   
lv_e_tab_nsh_hedge_id  TYPE FTI_LDB_TR_HM_NSH_HEDGE_ID_T, "   
lv_e_tab_nsh_hedge_rel  TYPE FTI_LDB_TR_HM_NSH_HEDGE_REL_T, "   
lv_e_tab_nsh_eff_val  TYPE FTI_LDB_TR_HM_NSH_EFF_VAL_T, "   
lv_e_tab_errors  TYPE BAPIERR_T, "   
lv_i_ccsf  TYPE RSFS_FIELDS, "   
lv_e_tab_exposure  TYPE FTI_LDB_TR_HM_EXPOSURE_T, "   
lv_e_tab_exp_trans  TYPE FTI_LDB_TR_HM_EXP_TRANS_T, "   
lv_e_tab_hedge_id  TYPE FTI_LDB_TR_HM_HEDGE_ID_T, "   
lv_e_tab_hedge_relation  TYPE FTI_LDB_TR_HM_HEDGE_REL_T, "   
lv_e_tab_exp_hedge_rel  TYPE FTI_LDB_TR_HM_EXP_HDG_REL_T, "   
lv_e_tab_eff_val  TYPE FTI_LDB_TR_HM_EFF_VAL_T, "   
lv_e_tab_nsh_exp  TYPE FTI_LDB_TR_HM_NSH_EXP_T, "   
lv_e_tab_nsh_exp_trans  TYPE FTI_LDB_TR_HM_NSH_EXP_TR_T. "   

  CALL FUNCTION 'FTI_LDB_READ_HM_DATA_GENERAL'  "### Read HM Data - General
    EXPORTING
         I_CCSEL = lv_i_ccsel
         I_CCSF = lv_i_ccsf
    IMPORTING
         E_TAB_HEDGEPLAN = lv_e_tab_hedgeplan
         E_TAB_NSH_HEDGE_ID = lv_e_tab_nsh_hedge_id
         E_TAB_NSH_HEDGE_REL = lv_e_tab_nsh_hedge_rel
         E_TAB_NSH_EFF_VAL = lv_e_tab_nsh_eff_val
         E_TAB_ERRORS = lv_e_tab_errors
         E_TAB_EXPOSURE = lv_e_tab_exposure
         E_TAB_EXP_TRANS = lv_e_tab_exp_trans
         E_TAB_HEDGE_ID = lv_e_tab_hedge_id
         E_TAB_HEDGE_RELATION = lv_e_tab_hedge_relation
         E_TAB_EXP_HEDGE_REL = lv_e_tab_exp_hedge_rel
         E_TAB_EFF_VAL = lv_e_tab_eff_val
         E_TAB_NSH_EXP = lv_e_tab_nsh_exp
         E_TAB_NSH_EXP_TRANS = lv_e_tab_nsh_exp_trans
. " FTI_LDB_READ_HM_DATA_GENERAL




ABAP code using 7.40 inline data declarations to call FM FTI_LDB_READ_HM_DATA_GENERAL

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!