SAP LSO_SHOW_PARTICIPANTS Function Module for









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

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



Function LSO_SHOW_PARTICIPANTS 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 'LSO_SHOW_PARTICIPANTS'"
EXPORTING
PLVAR = "Plan Version
* WINSTART_COL = '10' "
* WINSTART_ROW = '10' "
* REMOVAL_COUNT = "
* MOVEUP_COUNT = "
* WITH_PRICE = ' ' "
* INSERT_PRICE = 'X' "
* CANCEL_PARTIC = 'X' "
* PARTEVENT = ' ' "
* MAXMU = ' ' "
* NPRIO = ' ' "
EVEID = "Business event ID
* MINWL = ' ' "
* STEXT = ' ' "
* SHORT = ' ' "
* EVBEG = '19000101' "
* EVEND = '99991231' "
* ISTAT = ' ' "Status
* READ_EV_DATA = 'X' "Flag: Read business event texts (X = yes)
* FCODE = 'DISP' "

TABLES
PARTIC_TAB = "Attendee table
I1001 = "Infotype 1001: Relationships
.



IMPORTING Parameters details for LSO_SHOW_PARTICIPANTS

PLVAR - Plan Version

Data type: P1000-PLVAR
Optional: No
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)

REMOVAL_COUNT -

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

MOVEUP_COUNT -

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

WITH_PRICE -

Data type: HRRHV1-FLAGP
Default: ' '
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)

PARTEVENT -

Data type: HRVPARTIC-PICK
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

MAXMU -

Data type: PP0J-PRIO2
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

NPRIO -

Data type: PP0J-PRIO1
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

EVEID - Business event ID

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

MINWL -

Data type: PP0J-PRIO3
Default: ' '
Optional: Yes
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)

EVBEG -

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

EVEND -

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

ISTAT - Status

Data type: PLOG-ISTAT
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

READ_EV_DATA - Flag: Read business event texts (X = yes)

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 LSO_SHOW_PARTICIPANTS

PARTIC_TAB - Attendee table

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

I1001 - Infotype 1001: Relationships

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

Copy and paste ABAP code example for LSO_SHOW_PARTICIPANTS 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_partic_tab  TYPE STANDARD TABLE OF LSO_HRVPARTIC, "   
lv_winstart_col  TYPE SY-CUCOL, "   '10'
lv_winstart_row  TYPE SY-CUROW, "   '10'
lv_removal_count  TYPE HRRHV1-FLAGM, "   
lv_moveup_count  TYPE HRRHV1-FLAGM, "   
lv_with_price  TYPE HRRHV1-FLAGP, "   ' '
lv_insert_price  TYPE HRRHV1-FLAGP, "   'X'
lv_cancel_partic  TYPE HRVCOST-CANCEL, "   'X'
lv_partevent  TYPE HRVPARTIC-PICK, "   ' '
lv_maxmu  TYPE PP0J-PRIO2, "   ' '
lv_nprio  TYPE PP0J-PRIO1, "   ' '
lv_eveid  TYPE HRVPARTIC-EVEID, "   
lt_i1001  TYPE STANDARD TABLE OF P1001, "   
lv_minwl  TYPE PP0J-PRIO3, "   ' '
lv_stext  TYPE P1000-STEXT, "   SPACE
lv_short  TYPE P1000-SHORT, "   SPACE
lv_evbeg  TYPE P1000-BEGDA, "   '19000101'
lv_evend  TYPE P1000-ENDDA, "   '99991231'
lv_istat  TYPE PLOG-ISTAT, "   ' '
lv_read_ev_data  TYPE HRRHV1-FLAGR, "   'X'
lv_fcode  TYPE SY-UCOMM. "   'DISP'

  CALL FUNCTION 'LSO_SHOW_PARTICIPANTS'  "
    EXPORTING
         PLVAR = lv_plvar
         WINSTART_COL = lv_winstart_col
         WINSTART_ROW = lv_winstart_row
         REMOVAL_COUNT = lv_removal_count
         MOVEUP_COUNT = lv_moveup_count
         WITH_PRICE = lv_with_price
         INSERT_PRICE = lv_insert_price
         CANCEL_PARTIC = lv_cancel_partic
         PARTEVENT = lv_partevent
         MAXMU = lv_maxmu
         NPRIO = lv_nprio
         EVEID = lv_eveid
         MINWL = lv_minwl
         STEXT = lv_stext
         SHORT = lv_short
         EVBEG = lv_evbeg
         EVEND = lv_evend
         ISTAT = lv_istat
         READ_EV_DATA = lv_read_ev_data
         FCODE = lv_fcode
    TABLES
         PARTIC_TAB = lt_partic_tab
         I1001 = lt_i1001
. " LSO_SHOW_PARTICIPANTS




ABAP code using 7.40 inline data declarations to call FM LSO_SHOW_PARTICIPANTS

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 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 FLAGM FROM HRRHV1 INTO @DATA(ld_removal_count).
 
"SELECT single FLAGM FROM HRRHV1 INTO @DATA(ld_moveup_count).
 
"SELECT single FLAGP FROM HRRHV1 INTO @DATA(ld_with_price).
DATA(ld_with_price) = ' '.
 
"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 PICK FROM HRVPARTIC INTO @DATA(ld_partevent).
DATA(ld_partevent) = ' '.
 
"SELECT single PRIO2 FROM PP0J INTO @DATA(ld_maxmu).
DATA(ld_maxmu) = ' '.
 
"SELECT single PRIO1 FROM PP0J INTO @DATA(ld_nprio).
DATA(ld_nprio) = ' '.
 
"SELECT single EVEID FROM HRVPARTIC INTO @DATA(ld_eveid).
 
 
"SELECT single PRIO3 FROM PP0J INTO @DATA(ld_minwl).
DATA(ld_minwl) = ' '.
 
"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_evbeg).
DATA(ld_evbeg) = '19000101'.
 
"SELECT single ENDDA FROM P1000 INTO @DATA(ld_evend).
DATA(ld_evend) = '99991231'.
 
"SELECT single ISTAT FROM PLOG INTO @DATA(ld_istat).
DATA(ld_istat) = ' '.
 
"SELECT single FLAGR FROM HRRHV1 INTO @DATA(ld_read_ev_data).
DATA(ld_read_ev_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!