SAP RH_SHOW_BOOK_PARTICIPANT Function Module for









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

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



Function RH_SHOW_BOOK_PARTICIPANT 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_BOOK_PARTICIPANT'"
EXPORTING
PLVAR = "
* SORT = 'X' "
* WINSTART_COL = '10' "
* WINSTART_ROW = '10' "
* INSERT_PRICE = 'X' "
* CANCEL_PARTIC = 'X' "
PATYP = "
PARID = "
* STEXT = ' ' "
* SHORT = ' ' "
* PABEG = '19000101' "
* PAEND = '99991231' "
* READ_PA_DATA = 'X' "
* FCODE = 'DISP' "

TABLES
BOOKPART_TAB = "
I1001 = "

EXCEPTIONS
NOTHING_FOUND = 1
.



IMPORTING Parameters details for RH_SHOW_BOOK_PARTICIPANT

PLVAR -

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

SORT -

Data type: HRRHDB-SORT
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

WINSTART_COL -

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

WINSTART_ROW -

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

INSERT_PRICE -

Data type: HRRHV1-FLAGP
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

CANCEL_PARTIC -

Data type: HRVCOST-CANCEL
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

PATYP -

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

PARID -

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

STEXT -

Data type: P1000-STEXT
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

SHORT -

Data type: P1000-SHORT
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

PABEG -

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

PAEND -

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

READ_PA_DATA -

Data type: HRRHV1-FLAGR
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

FCODE -

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

TABLES Parameters details for RH_SHOW_BOOK_PARTICIPANT

BOOKPART_TAB -

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

I1001 -

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

EXCEPTIONS details

NOTHING_FOUND -

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

Copy and paste ABAP code example for RH_SHOW_BOOK_PARTICIPANT 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_plvar  TYPE P1000-PLVAR, "   
lt_bookpart_tab  TYPE STANDARD TABLE OF HRVPABOOK, "   
lv_nothing_found  TYPE HRVPABOOK, "   
lv_sort  TYPE HRRHDB-SORT, "   'X'
lv_winstart_col  TYPE SY-CUCOL, "   '10'
lv_winstart_row  TYPE SY-CUROW, "   '10'
lv_insert_price  TYPE HRRHV1-FLAGP, "   'X'
lv_cancel_partic  TYPE HRVCOST-CANCEL, "   'X'
lt_i1001  TYPE STANDARD TABLE OF HRI1001, "   
lv_patyp  TYPE P1000-OTYPE, "   
lv_parid  TYPE P1001-SOBID, "   
lv_stext  TYPE P1000-STEXT, "   SPACE
lv_short  TYPE P1000-SHORT, "   SPACE
lv_pabeg  TYPE P1000-BEGDA, "   '19000101'
lv_paend  TYPE P1000-ENDDA, "   '99991231'
lv_read_pa_data  TYPE HRRHV1-FLAGR, "   'X'
lv_fcode  TYPE SY-UCOMM. "   'DISP'

  CALL FUNCTION 'RH_SHOW_BOOK_PARTICIPANT'  "
    EXPORTING
         PLVAR = lv_plvar
         SORT = lv_sort
         WINSTART_COL = lv_winstart_col
         WINSTART_ROW = lv_winstart_row
         INSERT_PRICE = lv_insert_price
         CANCEL_PARTIC = lv_cancel_partic
         PATYP = lv_patyp
         PARID = lv_parid
         STEXT = lv_stext
         SHORT = lv_short
         PABEG = lv_pabeg
         PAEND = lv_paend
         READ_PA_DATA = lv_read_pa_data
         FCODE = lv_fcode
    TABLES
         BOOKPART_TAB = lt_bookpart_tab
         I1001 = lt_i1001
    EXCEPTIONS
        NOTHING_FOUND = 1
. " RH_SHOW_BOOK_PARTICIPANT




ABAP code using 7.40 inline data declarations to call FM RH_SHOW_BOOK_PARTICIPANT

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 PLVAR FROM P1000 INTO @DATA(ld_plvar).
 
 
 
"SELECT single SORT FROM HRRHDB INTO @DATA(ld_sort).
DATA(ld_sort) = 'X'.
 
"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 FLAGP FROM HRRHV1 INTO @DATA(ld_insert_price).
DATA(ld_insert_price) = 'X'.
 
"SELECT single CANCEL FROM HRVCOST INTO @DATA(ld_cancel_partic).
DATA(ld_cancel_partic) = 'X'.
 
 
"SELECT single OTYPE FROM P1000 INTO @DATA(ld_patyp).
 
"SELECT single SOBID FROM P1001 INTO @DATA(ld_parid).
 
"SELECT single STEXT FROM P1000 INTO @DATA(ld_stext).
DATA(ld_stext) = ' '.
 
"SELECT single SHORT FROM P1000 INTO @DATA(ld_short).
DATA(ld_short) = ' '.
 
"SELECT single BEGDA FROM P1000 INTO @DATA(ld_pabeg).
DATA(ld_pabeg) = '19000101'.
 
"SELECT single ENDDA FROM P1000 INTO @DATA(ld_paend).
DATA(ld_paend) = '99991231'.
 
"SELECT single FLAGR FROM HRRHV1 INTO @DATA(ld_read_pa_data).
DATA(ld_read_pa_data) = 'X'.
 
"SELECT single UCOMM FROM SY INTO @DATA(ld_fcode).
DATA(ld_fcode) = 'DISP'.
 


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!