SAP RH_GET_OBJECTS_FROM_E071K Function Module for Extract PD Objects from Table E071k
RH_GET_OBJECTS_FROM_E071K is a standard rh get objects from e071k SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Extract PD Objects from Table E071k 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 rh get objects from e071k FM, simply by entering the name RH_GET_OBJECTS_FROM_E071K into the relevant SAP transaction such as SE37 or SE38.
Function Group: RHWM
Program Name: SAPLRHWM
Main Program: SAPLRHWM
Appliation area: H
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function RH_GET_OBJECTS_FROM_E071K 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_GET_OBJECTS_FROM_E071K'"Extract PD Objects from Table E071k.
EXPORTING
* CORRNUM = "
TABLES
* ACT_E071K = "
WF_PLOGI = "
WF_PLOGI_DEL = "
ST_PLOGI = "
ST_PLOGI_DEL = "
ST_ORIGINS = "
EXCEPTIONS
CORRNUM_DONT_EXIST = 1
IMPORTING Parameters details for RH_GET_OBJECTS_FROM_E071K
CORRNUM -
Data type: E071K-TRKORROptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RH_GET_OBJECTS_FROM_E071K
ACT_E071K -
Data type: E071KOptional: Yes
Call by Reference: No ( called with pass by value option)
WF_PLOGI -
Data type: PLOGIOptional: No
Call by Reference: No ( called with pass by value option)
WF_PLOGI_DEL -
Data type: PLOGI_DELOptional: No
Call by Reference: No ( called with pass by value option)
ST_PLOGI -
Data type: PLOGIOptional: No
Call by Reference: No ( called with pass by value option)
ST_PLOGI_DEL -
Data type: PLOGI_DELOptional: No
Call by Reference: No ( called with pass by value option)
ST_ORIGINS -
Data type: HRMDORIGINOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
CORRNUM_DONT_EXIST -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RH_GET_OBJECTS_FROM_E071K 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_corrnum | TYPE E071K-TRKORR, " | |||
lt_act_e071k | TYPE STANDARD TABLE OF E071K, " | |||
lv_corrnum_dont_exist | TYPE E071K, " | |||
lt_wf_plogi | TYPE STANDARD TABLE OF PLOGI, " | |||
lt_wf_plogi_del | TYPE STANDARD TABLE OF PLOGI_DEL, " | |||
lt_st_plogi | TYPE STANDARD TABLE OF PLOGI, " | |||
lt_st_plogi_del | TYPE STANDARD TABLE OF PLOGI_DEL, " | |||
lt_st_origins | TYPE STANDARD TABLE OF HRMDORIGIN. " |
  CALL FUNCTION 'RH_GET_OBJECTS_FROM_E071K' "Extract PD Objects from Table E071k |
EXPORTING | ||
CORRNUM | = lv_corrnum | |
TABLES | ||
ACT_E071K | = lt_act_e071k | |
WF_PLOGI | = lt_wf_plogi | |
WF_PLOGI_DEL | = lt_wf_plogi_del | |
ST_PLOGI | = lt_st_plogi | |
ST_PLOGI_DEL | = lt_st_plogi_del | |
ST_ORIGINS | = lt_st_origins | |
EXCEPTIONS | ||
CORRNUM_DONT_EXIST = 1 | ||
. " RH_GET_OBJECTS_FROM_E071K |
ABAP code using 7.40 inline data declarations to call FM RH_GET_OBJECTS_FROM_E071K
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."SELECT single TRKORR FROM E071K INTO @DATA(ld_corrnum). | ||||
Search for further information about these or an SAP related objects