SAP RH_DISTRIBUTED_INFOTYPES Function Module for









RH_DISTRIBUTED_INFOTYPES is a standard rh distributed infotypes 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 rh distributed infotypes FM, simply by entering the name RH_DISTRIBUTED_INFOTYPES into the relevant SAP transaction such as SE37 or SE38.

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



Function RH_DISTRIBUTED_INFOTYPES 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 'RH_DISTRIBUTED_INFOTYPES'"
EXPORTING
MESSAGE_TYPE = "Message Type
* RECEIVING_SYSTEM = "Receiving system
* CHECK_MODEL = "Check distribution model

TABLES
DISTRIBUTED_INFTY_SUBTY = "distributed infotypes/subtypes
* DISTRIBUTED_OTYPES = "distributed object types
* DISTRIBUTED_RELA_SUBTY = "
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLRHA0_001 HR-CA: ALE Outbound Processing With Receiver Determination Enhancement
EXIT_SAPLRHA0_002 HR-CA: Export Parameters of ALE Inbound Processing IDOC_INPUT_HRMD
EXIT_SAPLRHA0_003 HR-CA: Import Parameters of ALE Inbound Processing IDOC_INPUT_HRMD
EXIT_SAPLRHA0_004 HR-CA: ALE Outbound Processing: Control Record
EXIT_SAPLRHA0_005 HR-CA: ALE Inbound Processing: Check Object
EXIT_SAPLRHA0_006 HR-CA: ALE Outbound Processing: Check Object

IMPORTING Parameters details for RH_DISTRIBUTED_INFOTYPES

MESSAGE_TYPE - Message Type

Data type: EDI_MESTYP
Optional: No
Call by Reference: No ( called with pass by value option)

RECEIVING_SYSTEM - Receiving system

Data type: EDI_RCVPRN
Optional: Yes
Call by Reference: No ( called with pass by value option)

CHECK_MODEL - Check distribution model

Data type: FLAG
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for RH_DISTRIBUTED_INFOTYPES

DISTRIBUTED_INFTY_SUBTY - distributed infotypes/subtypes

Data type: T788U
Optional: No
Call by Reference: No ( called with pass by value option)

DISTRIBUTED_OTYPES - distributed object types

Data type: HROTYPE
Optional: Yes
Call by Reference: Yes

DISTRIBUTED_RELA_SUBTY -

Data type: T788U
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for RH_DISTRIBUTED_INFOTYPES 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_message_type  TYPE EDI_MESTYP, "   
lt_distributed_infty_subty  TYPE STANDARD TABLE OF T788U, "   
lv_receiving_system  TYPE EDI_RCVPRN, "   
lt_distributed_otypes  TYPE STANDARD TABLE OF HROTYPE, "   
lv_check_model  TYPE FLAG, "   
lt_distributed_rela_subty  TYPE STANDARD TABLE OF T788U. "   

  CALL FUNCTION 'RH_DISTRIBUTED_INFOTYPES'  "
    EXPORTING
         MESSAGE_TYPE = lv_message_type
         RECEIVING_SYSTEM = lv_receiving_system
         CHECK_MODEL = lv_check_model
    TABLES
         DISTRIBUTED_INFTY_SUBTY = lt_distributed_infty_subty
         DISTRIBUTED_OTYPES = lt_distributed_otypes
         DISTRIBUTED_RELA_SUBTY = lt_distributed_rela_subty
. " RH_DISTRIBUTED_INFOTYPES




ABAP code using 7.40 inline data declarations to call FM RH_DISTRIBUTED_INFOTYPES

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!