SAP CCMS_POPUP_INFOTEXT Function Module for









CCMS_POPUP_INFOTEXT is a standard ccms popup infotext 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 ccms popup infotext FM, simply by entering the name CCMS_POPUP_INFOTEXT into the relevant SAP transaction such as SE37 or SE38.

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



Function CCMS_POPUP_INFOTEXT 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 'CCMS_POPUP_INFOTEXT'"
EXPORTING
TITEL = "Pop-up title
* START_COLUMN = 2 "
* START_ROW = 2 "
* END_COLUMN = 20 "
* END_ROW = 5 "
* INFOFLAGS = 'IC' "

IMPORTING
ANSWER = "

TABLES
LINES = "
.



IMPORTING Parameters details for CCMS_POPUP_INFOTEXT

TITEL - Pop-up title

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

START_COLUMN -

Data type: SY-CUCOL
Default: 2
Optional: Yes
Call by Reference: No ( called with pass by value option)

START_ROW -

Data type: SY-CUROW
Default: 2
Optional: Yes
Call by Reference: No ( called with pass by value option)

END_COLUMN -

Data type: SY-CUCOL
Default: 20
Optional: Yes
Call by Reference: No ( called with pass by value option)

END_ROW -

Data type: SY-CUROW
Default: 5
Optional: Yes
Call by Reference: No ( called with pass by value option)

INFOFLAGS -

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

EXPORTING Parameters details for CCMS_POPUP_INFOTEXT

ANSWER -

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

TABLES Parameters details for CCMS_POPUP_INFOTEXT

LINES -

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

Copy and paste ABAP code example for CCMS_POPUP_INFOTEXT 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:
lt_lines  TYPE STANDARD TABLE OF POPUPTEXT, "   
lv_titel  TYPE C, "   
lv_answer  TYPE C, "   
lv_start_column  TYPE SY-CUCOL, "   2
lv_start_row  TYPE SY-CUROW, "   2
lv_end_column  TYPE SY-CUCOL, "   20
lv_end_row  TYPE SY-CUROW, "   5
lv_infoflags  TYPE C. "   'IC'

  CALL FUNCTION 'CCMS_POPUP_INFOTEXT'  "
    EXPORTING
         TITEL = lv_titel
         START_COLUMN = lv_start_column
         START_ROW = lv_start_row
         END_COLUMN = lv_end_column
         END_ROW = lv_end_row
         INFOFLAGS = lv_infoflags
    IMPORTING
         ANSWER = lv_answer
    TABLES
         LINES = lt_lines
. " CCMS_POPUP_INFOTEXT




ABAP code using 7.40 inline data declarations to call FM CCMS_POPUP_INFOTEXT

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 CUCOL FROM SY INTO @DATA(ld_start_column).
DATA(ld_start_column) = 2.
 
"SELECT single CUROW FROM SY INTO @DATA(ld_start_row).
DATA(ld_start_row) = 2.
 
"SELECT single CUCOL FROM SY INTO @DATA(ld_end_column).
DATA(ld_end_column) = 20.
 
"SELECT single CUROW FROM SY INTO @DATA(ld_end_row).
DATA(ld_end_row) = 5.
 
DATA(ld_infoflags) = 'IC'.
 


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!