SAP FC_POP_VALUE_REQUEST Function Module for









FC_POP_VALUE_REQUEST is a standard fc pop value request 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 value request FM, simply by entering the name FC_POP_VALUE_REQUEST 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_VALUE_REQUEST 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_VALUE_REQUEST'"
EXPORTING
* E_CACTI = ' ' "Consolidation task
* E_TITEL = ' ' "Pop-up title
* E_CACTT = ' ' "Consolidation method type
* E_DIMEN = ' ' "Dimension
* E_GCURR = ' ' "Currency
* E_ITCGY = ' ' "FS item type
* E_ITCLG = ' ' "FS chart of accounts
* E_SITYP = "Subitem category
* E_MODE = ' ' "Mode ('D'=display / Space=choose)
E_TABNAME = "Table name for the selection

IMPORTING
I_VALUE = "Selected value
I_GCURR = "

EXCEPTIONS
NOT_FOUND = 1
.



IMPORTING Parameters details for FC_POP_VALUE_REQUEST

E_CACTI - Consolidation task

Data type: TF540-CACTI
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

E_TITEL - Pop-up title

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

E_CACTT - Consolidation method type

Data type: TF550-CACTT
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

E_DIMEN - Dimension

Data type: TF150-DIMEN
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

E_GCURR - Currency

Data type: T881-GCURR
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

E_ITCGY - FS item type

Data type: TF100-ITCGY
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

E_ITCLG - FS chart of accounts

Data type: TF100-ITCLG
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

E_SITYP - Subitem category

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

E_MODE - Mode ('D'=display / Space=choose)

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

E_TABNAME - Table name for the selection

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

EXPORTING Parameters details for FC_POP_VALUE_REQUEST

I_VALUE - Selected value

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

I_GCURR -

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

EXCEPTIONS details

NOT_FOUND - Entry is not found

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

Copy and paste ABAP code example for FC_POP_VALUE_REQUEST 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_cacti  TYPE TF540-CACTI, "   SPACE
lv_i_value  TYPE TF540, "   
lv_not_found  TYPE TF540, "   
lv_e_titel  TYPE TF540, "   SPACE
lv_e_cactt  TYPE TF550-CACTT, "   SPACE
lv_i_gcurr  TYPE TF550, "   
lv_e_dimen  TYPE TF150-DIMEN, "   SPACE
lv_e_gcurr  TYPE T881-GCURR, "   SPACE
lv_e_itcgy  TYPE TF100-ITCGY, "   SPACE
lv_e_itclg  TYPE TF100-ITCLG, "   SPACE
lv_e_sityp  TYPE TF110-SITYP, "   
lv_e_mode  TYPE TF110, "   SPACE
lv_e_tabname  TYPE OCUS-TABLE. "   

  CALL FUNCTION 'FC_POP_VALUE_REQUEST'  "
    EXPORTING
         E_CACTI = lv_e_cacti
         E_TITEL = lv_e_titel
         E_CACTT = lv_e_cactt
         E_DIMEN = lv_e_dimen
         E_GCURR = lv_e_gcurr
         E_ITCGY = lv_e_itcgy
         E_ITCLG = lv_e_itclg
         E_SITYP = lv_e_sityp
         E_MODE = lv_e_mode
         E_TABNAME = lv_e_tabname
    IMPORTING
         I_VALUE = lv_i_value
         I_GCURR = lv_i_gcurr
    EXCEPTIONS
        NOT_FOUND = 1
. " FC_POP_VALUE_REQUEST




ABAP code using 7.40 inline data declarations to call FM FC_POP_VALUE_REQUEST

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 CACTI FROM TF540 INTO @DATA(ld_e_cacti).
DATA(ld_e_cacti) = ' '.
 
 
 
DATA(ld_e_titel) = ' '.
 
"SELECT single CACTT FROM TF550 INTO @DATA(ld_e_cactt).
DATA(ld_e_cactt) = ' '.
 
 
"SELECT single DIMEN FROM TF150 INTO @DATA(ld_e_dimen).
DATA(ld_e_dimen) = ' '.
 
"SELECT single GCURR FROM T881 INTO @DATA(ld_e_gcurr).
DATA(ld_e_gcurr) = ' '.
 
"SELECT single ITCGY FROM TF100 INTO @DATA(ld_e_itcgy).
DATA(ld_e_itcgy) = ' '.
 
"SELECT single ITCLG FROM TF100 INTO @DATA(ld_e_itclg).
DATA(ld_e_itclg) = ' '.
 
"SELECT single SITYP FROM TF110 INTO @DATA(ld_e_sityp).
 
DATA(ld_e_mode) = ' '.
 
"SELECT single TABLE FROM OCUS INTO @DATA(ld_e_tabname).
 


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!