SAP RH_SHOW_MOVEPART Function Module for Display attendee to be rebooked









RH_SHOW_MOVEPART is a standard rh show movepart SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Display attendee to be rebooked 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 show movepart FM, simply by entering the name RH_SHOW_MOVEPART into the relevant SAP transaction such as SE37 or SE38.

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



Function RH_SHOW_MOVEPART 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_SHOW_MOVEPART'"Display attendee to be rebooked
EXPORTING
BEGDA = "Start date of selection period
ENDDA = "End date of selection period
* FCODE = 'DISP' "Function code
* WINSTART_COL = '10' "Start of dialog box (column)
* WINSTART_ROW = '10' "Start of dialog box (line)
* LANGU = "

TABLES
PARTIC = "Table of attendees to be rebooked
EVENTS_EXT = "Table of business event with attendees to be rebooked
.



IMPORTING Parameters details for RH_SHOW_MOVEPART

BEGDA - Start date of selection period

Data type: P1000-BEGDA
Optional: No
Call by Reference: No ( called with pass by value option)

ENDDA - End date of selection period

Data type: P1000-ENDDA
Optional: No
Call by Reference: No ( called with pass by value option)

FCODE - Function code

Data type: SY-UCOMM
Default: 'DISP'
Optional: Yes
Call by Reference: No ( called with pass by value option)

WINSTART_COL - Start of dialog box (column)

Data type: SY-CUCOL
Default: '10'
Optional: Yes
Call by Reference: No ( called with pass by value option)

WINSTART_ROW - Start of dialog box (line)

Data type: SY-CUROW
Default: '10'
Optional: Yes
Call by Reference: No ( called with pass by value option)

LANGU -

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

TABLES Parameters details for RH_SHOW_MOVEPART

PARTIC - Table of attendees to be rebooked

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

EVENTS_EXT - Table of business event with attendees to be rebooked

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

Copy and paste ABAP code example for RH_SHOW_MOVEPART 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_begda  TYPE P1000-BEGDA, "   
lt_partic  TYPE STANDARD TABLE OF HRVPARTIC, "   
lv_endda  TYPE P1000-ENDDA, "   
lt_events_ext  TYPE STANDARD TABLE OF HRVEVENTS, "   
lv_fcode  TYPE SY-UCOMM, "   'DISP'
lv_winstart_col  TYPE SY-CUCOL, "   '10'
lv_winstart_row  TYPE SY-CUROW, "   '10'
lv_langu  TYPE SY-LANGU. "   

  CALL FUNCTION 'RH_SHOW_MOVEPART'  "Display attendee to be rebooked
    EXPORTING
         BEGDA = lv_begda
         ENDDA = lv_endda
         FCODE = lv_fcode
         WINSTART_COL = lv_winstart_col
         WINSTART_ROW = lv_winstart_row
         LANGU = lv_langu
    TABLES
         PARTIC = lt_partic
         EVENTS_EXT = lt_events_ext
. " RH_SHOW_MOVEPART




ABAP code using 7.40 inline data declarations to call FM RH_SHOW_MOVEPART

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 BEGDA FROM P1000 INTO @DATA(ld_begda).
 
 
"SELECT single ENDDA FROM P1000 INTO @DATA(ld_endda).
 
 
"SELECT single UCOMM FROM SY INTO @DATA(ld_fcode).
DATA(ld_fcode) = 'DISP'.
 
"SELECT single CUCOL FROM SY INTO @DATA(ld_winstart_col).
DATA(ld_winstart_col) = '10'.
 
"SELECT single CUROW FROM SY INTO @DATA(ld_winstart_row).
DATA(ld_winstart_row) = '10'.
 
"SELECT single LANGU FROM SY INTO @DATA(ld_langu).
 


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!