SAP FC_POP_ADD_CONGRS Function Module for
FC_POP_ADD_CONGRS is a standard fc pop add congrs 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 fc pop add congrs FM, simply by entering the name FC_POP_ADD_CONGRS into the relevant SAP transaction such as SE37 or SE38.
Function Group: FC01
Program Name: SAPLFC01
Main Program:
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FC_POP_ADD_CONGRS 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 'FC_POP_ADD_CONGRS'".
EXPORTING
* E_FLAG = '0' "Distinction flag: create a CG or CU
E_DIMEN = "Dimension
* E_NODE = ' ' "Node at the insertion point
* E_STRVS = "
IMPORTING
I_ANSWER = "User action
I_CODE = "
TABLES
T_CG_TABLE = "Table of CG's/CU's and medium texts to be created
T_HY_TABLE = "Table of hierarchies and medium texts to be created
T_TF161 = "
T_TF191 = "
IMPORTING Parameters details for FC_POP_ADD_CONGRS
E_FLAG - Distinction flag: create a CG or CU
Data type:Default: '0'
Optional: Yes
Call by Reference: No ( called with pass by value option)
E_DIMEN - Dimension
Data type: TF150-DIMENOptional: No
Call by Reference: No ( called with pass by value option)
E_NODE - Node at the insertion point
Data type: SEUCOMMDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
E_STRVS -
Data type: TF200-STRVSOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FC_POP_ADD_CONGRS
I_ANSWER - User action
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
I_CODE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FC_POP_ADD_CONGRS
T_CG_TABLE - Table of CG's/CU's and medium texts to be created
Data type: FC01FTABOptional: No
Call by Reference: No ( called with pass by value option)
T_HY_TABLE - Table of hierarchies and medium texts to be created
Data type: FC01ETABOptional: No
Call by Reference: No ( called with pass by value option)
T_TF161 -
Data type: TF161Optional: No
Call by Reference: No ( called with pass by value option)
T_TF191 -
Data type: TF191Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FC_POP_ADD_CONGRS 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_e_flag | TYPE STRING, " '0' | |||
| lv_i_answer | TYPE STRING, " | |||
| lt_t_cg_table | TYPE STANDARD TABLE OF FC01FTAB, " | |||
| lv_i_code | TYPE FC01FTAB, " | |||
| lv_e_dimen | TYPE TF150-DIMEN, " | |||
| lt_t_hy_table | TYPE STANDARD TABLE OF FC01ETAB, " | |||
| lv_e_node | TYPE SEUCOMM, " SPACE | |||
| lt_t_tf161 | TYPE STANDARD TABLE OF TF161, " | |||
| lv_e_strvs | TYPE TF200-STRVS, " | |||
| lt_t_tf191 | TYPE STANDARD TABLE OF TF191. " |
|   CALL FUNCTION 'FC_POP_ADD_CONGRS' " |
| EXPORTING | ||
| E_FLAG | = lv_e_flag | |
| E_DIMEN | = lv_e_dimen | |
| E_NODE | = lv_e_node | |
| E_STRVS | = lv_e_strvs | |
| IMPORTING | ||
| I_ANSWER | = lv_i_answer | |
| I_CODE | = lv_i_code | |
| TABLES | ||
| T_CG_TABLE | = lt_t_cg_table | |
| T_HY_TABLE | = lt_t_hy_table | |
| T_TF161 | = lt_t_tf161 | |
| T_TF191 | = lt_t_tf191 | |
| . " FC_POP_ADD_CONGRS | ||
ABAP code using 7.40 inline data declarations to call FM FC_POP_ADD_CONGRS
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.| DATA(ld_e_flag) | = '0'. | |||
| "SELECT single DIMEN FROM TF150 INTO @DATA(ld_e_dimen). | ||||
| DATA(ld_e_node) | = ' '. | |||
| "SELECT single STRVS FROM TF200 INTO @DATA(ld_e_strvs). | ||||
Search for further information about these or an SAP related objects