SAP FKK_RDI_DISGRP_TO_HVORG_TVORG Function Module for
FKK_RDI_DISGRP_TO_HVORG_TVORG is a standard fkk rdi disgrp to hvorg tvorg 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 rdi disgrp to hvorg tvorg FM, simply by entering the name FKK_RDI_DISGRP_TO_HVORG_TVORG into the relevant SAP transaction such as SE37 or SE38.
Function Group: FKK_RDI
Program Name: SAPLFKK_RDI
Main Program: SAPLFKK_RDI
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function FKK_RDI_DISGRP_TO_HVORG_TVORG 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_RDI_DISGRP_TO_HVORG_TVORG'".
EXPORTING
* I_RT_DISGRP = "Distribution Group Range Table
* I_DISGRP = "Group for Aggregated Revenue Distribution
* I_HVORG_LABEL = 'HVORG' "
* I_TVORG_LABEL = 'TVORG' "
* I_ABTYP_PS_LABEL = 'ABTYP_PS' "
* I_DB_ALIAS = "
IMPORTING
ET_WHERE_HVORG_TVORG = "Table Type for WHERE Clause
ET_HVORG_TVORG = "Table Type for Main and Subtransaction
ET_DISGRP_HVORG_TVORG = "Table Type for Distribution Group with Main and Subtransactn
IMPORTING Parameters details for FKK_RDI_DISGRP_TO_HVORG_TVORG
I_RT_DISGRP - Distribution Group Range Table
Data type: FKK_RT_DISGRPOptional: Yes
Call by Reference: Yes
I_DISGRP - Group for Aggregated Revenue Distribution
Data type: RDI_DISGRP_KKOptional: Yes
Call by Reference: Yes
I_HVORG_LABEL -
Data type: STRINGDefault: 'HVORG'
Optional: No
Call by Reference: Yes
I_TVORG_LABEL -
Data type: STRINGDefault: 'TVORG'
Optional: No
Call by Reference: Yes
I_ABTYP_PS_LABEL -
Data type: STRINGDefault: 'ABTYP_PS'
Optional: No
Call by Reference: Yes
I_DB_ALIAS -
Data type: STRINGOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for FKK_RDI_DISGRP_TO_HVORG_TVORG
ET_WHERE_HVORG_TVORG - Table Type for WHERE Clause
Data type: FKK_MAD_TWHERELOptional: No
Call by Reference: Yes
ET_HVORG_TVORG - Table Type for Main and Subtransaction
Data type: FKK_HVORG_TVORG_TABOptional: No
Call by Reference: Yes
ET_DISGRP_HVORG_TVORG - Table Type for Distribution Group with Main and Subtransactn
Data type: FKKRDI_DISGRP_HVORG_TVORG_TABOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for FKK_RDI_DISGRP_TO_HVORG_TVORG 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_rt_disgrp | TYPE FKK_RT_DISGRP, " | |||
lv_et_where_hvorg_tvorg | TYPE FKK_MAD_TWHEREL, " | |||
lv_i_disgrp | TYPE RDI_DISGRP_KK, " | |||
lv_et_hvorg_tvorg | TYPE FKK_HVORG_TVORG_TAB, " | |||
lv_i_hvorg_label | TYPE STRING, " 'HVORG' | |||
lv_et_disgrp_hvorg_tvorg | TYPE FKKRDI_DISGRP_HVORG_TVORG_TAB, " | |||
lv_i_tvorg_label | TYPE STRING, " 'TVORG' | |||
lv_i_abtyp_ps_label | TYPE STRING, " 'ABTYP_PS' | |||
lv_i_db_alias | TYPE STRING. " |
  CALL FUNCTION 'FKK_RDI_DISGRP_TO_HVORG_TVORG' " |
EXPORTING | ||
I_RT_DISGRP | = lv_i_rt_disgrp | |
I_DISGRP | = lv_i_disgrp | |
I_HVORG_LABEL | = lv_i_hvorg_label | |
I_TVORG_LABEL | = lv_i_tvorg_label | |
I_ABTYP_PS_LABEL | = lv_i_abtyp_ps_label | |
I_DB_ALIAS | = lv_i_db_alias | |
IMPORTING | ||
ET_WHERE_HVORG_TVORG | = lv_et_where_hvorg_tvorg | |
ET_HVORG_TVORG | = lv_et_hvorg_tvorg | |
ET_DISGRP_HVORG_TVORG | = lv_et_disgrp_hvorg_tvorg | |
. " FKK_RDI_DISGRP_TO_HVORG_TVORG |
ABAP code using 7.40 inline data declarations to call FM FKK_RDI_DISGRP_TO_HVORG_TVORG
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_hvorg_label) | = 'HVORG'. | |||
DATA(ld_i_tvorg_label) | = 'TVORG'. | |||
DATA(ld_i_abtyp_ps_label) | = 'ABTYP_PS'. | |||
Search for further information about these or an SAP related objects