SAP CHIP_PFCG_PAGE_CREATE Function Module for NOTRANSL: UI zum Erzeugen der Konfigurationsobjekte einer Page









CHIP_PFCG_PAGE_CREATE is a standard chip pfcg page create SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: UI zum Erzeugen der Konfigurationsobjekte einer Page processing and below is the pattern details for this FM, 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 chip pfcg page create FM, simply by entering the name CHIP_PFCG_PAGE_CREATE into the relevant SAP transaction such as SE37 or SE38.

Function Group: CHIP_PFCG_UI
Program Name: SAPLCHIP_PFCG_UI
Main Program: SAPLCHIP_PFCG_UI
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CHIP_PFCG_PAGE_CREATE 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 'CHIP_PFCG_PAGE_CREATE'"NOTRANSL: UI zum Erzeugen der Konfigurationsobjekte einer Page
EXPORTING
* AGR_NAME = "Role Name
* OBJECT_ID = "Counter for Menu ID
* CREATE_FROM_TEMPLATE = ABAP_FALSE "Replacement for Real Boolean Type: 'X' == True '' == False
* PERS_SCOPE = '5' "Web Dynpro: Personalization Range
* CREATE_WDCA = ABAP_TRUE "Replacement for Real Boolean Type: 'X' == True '' == False

CHANGING
C_APPLICATION = "Web Dynpro: Application Name
C_CONFIGURATION = "Configuration Identification
C_PARAMETERS = "Field/Value Pair
C_DESCRIPTION = "Web Dynpro: Short Description of an Object

EXCEPTIONS
CANCELLED = 1
.



IMPORTING Parameters details for CHIP_PFCG_PAGE_CREATE

AGR_NAME - Role Name

Data type: AGR_NAME
Optional: Yes
Call by Reference: Yes

OBJECT_ID - Counter for Menu ID

Data type: MENU_NUM_8
Optional: Yes
Call by Reference: Yes

CREATE_FROM_TEMPLATE - Replacement for Real Boolean Type: 'X' == True '' == False

Data type: WDY_BOOLEAN
Default: ABAP_FALSE
Optional: Yes
Call by Reference: Yes

PERS_SCOPE - Web Dynpro: Personalization Range

Data type: WDR_PERS_SCOPE
Default: '5'
Optional: Yes
Call by Reference: Yes

CREATE_WDCA - Replacement for Real Boolean Type: 'X' == True '' == False

Data type: WDY_BOOLEAN
Default: ABAP_TRUE
Optional: Yes
Call by Reference: Yes

CHANGING Parameters details for CHIP_PFCG_PAGE_CREATE

C_APPLICATION - Web Dynpro: Application Name

Data type: WDY_APPLICATION_NAME
Optional: No
Call by Reference: Yes

C_CONFIGURATION - Configuration Identification

Data type: WDY_CONFIG_ID
Optional: No
Call by Reference: Yes

C_PARAMETERS - Field/Value Pair

Data type: WDY_PRGN_NAME_VALUES
Optional: No
Call by Reference: Yes

C_DESCRIPTION - Web Dynpro: Short Description of an Object

Data type: WDY_MD_DESCRIPTION
Optional: No
Call by Reference: Yes

EXCEPTIONS details

CANCELLED -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CHIP_PFCG_PAGE_CREATE 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_agr_name  TYPE AGR_NAME, "   
lv_cancelled  TYPE AGR_NAME, "   
lv_c_application  TYPE WDY_APPLICATION_NAME, "   
lv_object_id  TYPE MENU_NUM_8, "   
lv_c_configuration  TYPE WDY_CONFIG_ID, "   
lv_c_parameters  TYPE WDY_PRGN_NAME_VALUES, "   
lv_create_from_template  TYPE WDY_BOOLEAN, "   ABAP_FALSE
lv_pers_scope  TYPE WDR_PERS_SCOPE, "   '5'
lv_c_description  TYPE WDY_MD_DESCRIPTION, "   
lv_create_wdca  TYPE WDY_BOOLEAN. "   ABAP_TRUE

  CALL FUNCTION 'CHIP_PFCG_PAGE_CREATE'  "NOTRANSL: UI zum Erzeugen der Konfigurationsobjekte einer Page
    EXPORTING
         AGR_NAME = lv_agr_name
         OBJECT_ID = lv_object_id
         CREATE_FROM_TEMPLATE = lv_create_from_template
         PERS_SCOPE = lv_pers_scope
         CREATE_WDCA = lv_create_wdca
    CHANGING
         C_APPLICATION = lv_c_application
         C_CONFIGURATION = lv_c_configuration
         C_PARAMETERS = lv_c_parameters
         C_DESCRIPTION = lv_c_description
    EXCEPTIONS
        CANCELLED = 1
. " CHIP_PFCG_PAGE_CREATE




ABAP code using 7.40 inline data declarations to call FM CHIP_PFCG_PAGE_CREATE

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_create_from_template) = ABAP_FALSE.
 
DATA(ld_pers_scope) = '5'.
 
 
DATA(ld_create_wdca) = ABAP_TRUE.
 


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!