SAP FVARC_UPDATE_PARTICIPATION_ID Function Module for
FVARC_UPDATE_PARTICIPATION_ID is a standard fvarc update participation id 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 fvarc update participation id FM, simply by entering the name FVARC_UPDATE_PARTICIPATION_ID into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVARC
Program Name: SAPLFVARC
Main Program: SAPLFVARC
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FVARC_UPDATE_PARTICIPATION_ID 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 'FVARC_UPDATE_PARTICIPATION_ID'".
EXPORTING
I_BUKRS = "Company Code
I_SWENR = "Business Entity
I_SMENR = "Rental Unit
* I_KEY_FOR_OUTPUT = "
TABLES
T_MESSAGES = "Table of Messages
* T_VIAK24 = "
EXCEPTIONS
OBJECT_NOT_IN_ID = 1 ID_COULD_NOT_BE_LOCKED = 2
IMPORTING Parameters details for FVARC_UPDATE_PARTICIPATION_ID
I_BUKRS - Company Code
Data type: VIMI01-BUKRSOptional: No
Call by Reference: No ( called with pass by value option)
I_SWENR - Business Entity
Data type: VIMI01-SWENROptional: No
Call by Reference: No ( called with pass by value option)
I_SMENR - Rental Unit
Data type: VIMI01-SMENROptional: No
Call by Reference: No ( called with pass by value option)
I_KEY_FOR_OUTPUT -
Data type: VVOBJKEY-OBJIDOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FVARC_UPDATE_PARTICIPATION_ID
T_MESSAGES - Table of Messages
Data type: SPROT_UOptional: No
Call by Reference: No ( called with pass by value option)
T_VIAK24 -
Data type: VIAK24Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
OBJECT_NOT_IN_ID -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ID_COULD_NOT_BE_LOCKED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FVARC_UPDATE_PARTICIPATION_ID 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_i_bukrs | TYPE VIMI01-BUKRS, " | |||
| lt_t_messages | TYPE STANDARD TABLE OF SPROT_U, " | |||
| lv_object_not_in_id | TYPE SPROT_U, " | |||
| lv_i_swenr | TYPE VIMI01-SWENR, " | |||
| lt_t_viak24 | TYPE STANDARD TABLE OF VIAK24, " | |||
| lv_id_could_not_be_locked | TYPE VIAK24, " | |||
| lv_i_smenr | TYPE VIMI01-SMENR, " | |||
| lv_i_key_for_output | TYPE VVOBJKEY-OBJID. " |
|   CALL FUNCTION 'FVARC_UPDATE_PARTICIPATION_ID' " |
| EXPORTING | ||
| I_BUKRS | = lv_i_bukrs | |
| I_SWENR | = lv_i_swenr | |
| I_SMENR | = lv_i_smenr | |
| I_KEY_FOR_OUTPUT | = lv_i_key_for_output | |
| TABLES | ||
| T_MESSAGES | = lt_t_messages | |
| T_VIAK24 | = lt_t_viak24 | |
| EXCEPTIONS | ||
| OBJECT_NOT_IN_ID = 1 | ||
| ID_COULD_NOT_BE_LOCKED = 2 | ||
| . " FVARC_UPDATE_PARTICIPATION_ID | ||
ABAP code using 7.40 inline data declarations to call FM FVARC_UPDATE_PARTICIPATION_ID
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 BUKRS FROM VIMI01 INTO @DATA(ld_i_bukrs). | ||||
| "SELECT single SWENR FROM VIMI01 INTO @DATA(ld_i_swenr). | ||||
| "SELECT single SMENR FROM VIMI01 INTO @DATA(ld_i_smenr). | ||||
| "SELECT single OBJID FROM VVOBJKEY INTO @DATA(ld_i_key_for_output). | ||||
Search for further information about these or an SAP related objects