SAP UPB_CW_CREATE_LAYOUT Function Module for









UPB_CW_CREATE_LAYOUT is a standard upb cw create layout 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 upb cw create layout FM, simply by entering the name UPB_CW_CREATE_LAYOUT into the relevant SAP transaction such as SE37 or SE38.

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



Function UPB_CW_CREATE_LAYOUT 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 'UPB_CW_CREATE_LAYOUT'"
EXPORTING
I_AREA = "
* I_DYN_CHAR4COL = "
I_PLEVEL = "
I_LAYOUT = "
* I_TEXT = "
* I_LEADCOL_COMPL = "
* I_FRONTEND = "
* I_FB_ROWS = "
* I_KEYCOL_TEXT = "
* I_DYN_CHAR4ROW = "

TABLES
* ITK_HEAD_INFO = "
ITK_COL_INFO = "
ITK_ROW_INFO = "
ITK_COL = "
* ITK_ROW = "
ITK_COL_TEXT = "
* ITK_ROW_TEXT = "

EXCEPTIONS
ERROR = 1 INVALID_PARAMETER = 2
.



IMPORTING Parameters details for UPB_CW_CREATE_LAYOUT

I_AREA -

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

I_DYN_CHAR4COL -

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

I_PLEVEL -

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

I_LAYOUT -

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

I_TEXT -

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

I_LEADCOL_COMPL -

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

I_FRONTEND -

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

I_FB_ROWS -

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

I_KEYCOL_TEXT -

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

I_DYN_CHAR4ROW -

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

TABLES Parameters details for UPB_CW_CREATE_LAYOUT

ITK_HEAD_INFO -

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

ITK_COL_INFO -

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

ITK_ROW_INFO -

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

ITK_COL -

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

ITK_ROW -

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

ITK_COL_TEXT -

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

ITK_ROW_TEXT -

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

EXCEPTIONS details

ERROR -

Data type:
Optional: No
Call by Reference: Yes

INVALID_PARAMETER -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for UPB_CW_CREATE_LAYOUT 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_error  TYPE STRING, "   
lv_i_area  TYPE UPC_Y_AREA, "   
lt_itk_head_info  TYPE STANDARD TABLE OF UPC_YS_API_HEAD_INFO, "   
lv_i_dyn_char4col  TYPE UPC_Y_CHANM, "   
lv_i_plevel  TYPE UPC_Y_PLEVEL, "   
lt_itk_col_info  TYPE STANDARD TABLE OF UPC_YS_API_COL_INFO, "   
lv_invalid_parameter  TYPE UPC_YS_API_COL_INFO, "   
lv_i_layout  TYPE UPC_Y_PARAM, "   
lt_itk_row_info  TYPE STANDARD TABLE OF UPC_YS_API_ROW_INFO, "   
lv_i_text  TYPE UPC_Y_PARAMTXT, "   
lt_itk_col  TYPE STANDARD TABLE OF UPC_YS_API_COL, "   
lt_itk_row  TYPE STANDARD TABLE OF UPC_YS_API_ROW, "   
lv_i_leadcol_compl  TYPE UPC_YS_API_INFO-LEADCOL_COMPL, "   
lv_i_frontend  TYPE UPP_Y_FRONTEND, "   
lt_itk_col_text  TYPE STANDARD TABLE OF UPC_YS_API_COL_TXT, "   
lv_i_fb_rows  TYPE CHAR1, "   
lt_itk_row_text  TYPE STANDARD TABLE OF UPC_YS_API_ROW_TXT, "   
lv_i_keycol_text  TYPE UPC_Y_TXTLG, "   
lv_i_dyn_char4row  TYPE UPC_Y_CHANM. "   

  CALL FUNCTION 'UPB_CW_CREATE_LAYOUT'  "
    EXPORTING
         I_AREA = lv_i_area
         I_DYN_CHAR4COL = lv_i_dyn_char4col
         I_PLEVEL = lv_i_plevel
         I_LAYOUT = lv_i_layout
         I_TEXT = lv_i_text
         I_LEADCOL_COMPL = lv_i_leadcol_compl
         I_FRONTEND = lv_i_frontend
         I_FB_ROWS = lv_i_fb_rows
         I_KEYCOL_TEXT = lv_i_keycol_text
         I_DYN_CHAR4ROW = lv_i_dyn_char4row
    TABLES
         ITK_HEAD_INFO = lt_itk_head_info
         ITK_COL_INFO = lt_itk_col_info
         ITK_ROW_INFO = lt_itk_row_info
         ITK_COL = lt_itk_col
         ITK_ROW = lt_itk_row
         ITK_COL_TEXT = lt_itk_col_text
         ITK_ROW_TEXT = lt_itk_row_text
    EXCEPTIONS
        ERROR = 1
        INVALID_PARAMETER = 2
. " UPB_CW_CREATE_LAYOUT




ABAP code using 7.40 inline data declarations to call FM UPB_CW_CREATE_LAYOUT

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 LEADCOL_COMPL FROM UPC_YS_API_INFO INTO @DATA(ld_i_leadcol_compl).
 
 
 
 
 
 
 


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!