LSO_PARTICIPATION_CHECK_ETRA_C is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name LSO_PARTICIPATION_CHECK_ETRA_C into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
LSO_PARTICIPATION_C
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'LSO_PARTICIPATION_CHECK_ETRA_C' "
EXPORTING
* planversion = " plvar Plan Version
trainingtype_id = " hrobjid Object ID
* learner_type = " otype Object Type
* learner_id = " sobid ID of Related Object
* language = " langu Language Key
* setdate = SY-DATUM " begda Valid-From Date
* with_auth = 'X' " lso_x_c Checkbox
* with_vv_free = 'X' " lso_x_c Checkbox
* with_prereq = 'X' " lso_x_c Checkbox
* fcode = " fcode Function Code
* booking_priority = " priox Priority
* user_role = 'ADMIN' " lso_user_role Role of User Logged On (Learner, Admin, Trainer)
* curriculum_type = " otype
* curriculum_id = " hrobjid
IMPORTING
begindate = " begda Valid-From Date
enddate = " endda End of Validity Period
error_occured = " lso_x_c Checkbox
* TABLES
* return = " bapiret2 Return Parameter(s)
. " LSO_PARTICIPATION_CHECK_ETRA_C
The ABAP code below is a full code listing to execute function module LSO_PARTICIPATION_CHECK_ETRA_C including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_begindate | TYPE BEGDA , |
| ld_enddate | TYPE ENDDA , |
| ld_error_occured | TYPE LSO_X_C , |
| it_return | TYPE STANDARD TABLE OF BAPIRET2,"TABLES PARAM |
| wa_return | LIKE LINE OF it_return . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_begindate | TYPE BEGDA , |
| ld_planversion | TYPE PLVAR , |
| it_return | TYPE STANDARD TABLE OF BAPIRET2 , |
| wa_return | LIKE LINE OF it_return, |
| ld_enddate | TYPE ENDDA , |
| ld_trainingtype_id | TYPE HROBJID , |
| ld_error_occured | TYPE LSO_X_C , |
| ld_learner_type | TYPE OTYPE , |
| ld_learner_id | TYPE SOBID , |
| ld_language | TYPE LANGU , |
| ld_setdate | TYPE BEGDA , |
| ld_with_auth | TYPE LSO_X_C , |
| ld_with_vv_free | TYPE LSO_X_C , |
| ld_with_prereq | TYPE LSO_X_C , |
| ld_fcode | TYPE FCODE , |
| ld_booking_priority | TYPE PRIOX , |
| ld_user_role | TYPE LSO_USER_ROLE , |
| ld_curriculum_type | TYPE OTYPE , |
| ld_curriculum_id | TYPE HROBJID . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name LSO_PARTICIPATION_CHECK_ETRA_C or its description.