STW_INVITE_PARTICIPANTS 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 STW_INVITE_PARTICIPANTS into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
S_STW_API_FUNCTIONS
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'STW_INVITE_PARTICIPANTS' "StreamWork: Invite Participants to a StreamWork Activity
EXPORTING
* iv_application_id = 'SAIL' " clb_application_id Collaboration: Application ID
iv_activity_id = " stw_activity_id StreamWork Activity ID
IMPORTING
et_message = " stw_t_bapiret2 Return parameter table
ev_result_code = " sy-subrc Return Value of ABAP Statements
CHANGING
ct_participants = " stw_t_user_invitation List of User Identifications for Logon to StreamWork
. " STW_INVITE_PARTICIPANTS
The ABAP code below is a full code listing to execute function module STW_INVITE_PARTICIPANTS 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_et_message | TYPE STW_T_BAPIRET2 , |
| ld_ev_result_code | TYPE SY-SUBRC . |
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_ct_participants | TYPE STW_T_USER_INVITATION , |
| ld_et_message | TYPE STW_T_BAPIRET2 , |
| ld_iv_application_id | TYPE CLB_APPLICATION_ID , |
| ld_ev_result_code | TYPE SY-SUBRC , |
| ld_iv_activity_id | TYPE STW_ACTIVITY_ID . |
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 STW_INVITE_PARTICIPANTS or its description.
STW_INVITE_PARTICIPANTS - StreamWork: Invite Participants to a StreamWork Activity STW_GW_BULK_FEED_SEND - Send Notifications from Gateway to SAP Jam STW_GET_BOS_FOR_ACTIVITY - Get Business Objects that are Assigned to an Activity STW_GET_ACTIVITIES_FOR_BO - StreamWork: Get Activities of a Business Object STW_CREATE_ACTIVITY_FOR_BO - StreamWork: Create Activity and Assign to a Single Business Object STW_BO_TOPIC_UPDATE - StreamWork DB Update for BO - Topic Assignment