SAP CP_DYNP_TITLE_EQ_FILL Function Module for NOTRANSL: Zweizeiligen Dynpro Überschriftentext mit Objektbezug PM füllen









CP_DYNP_TITLE_EQ_FILL is a standard cp dynp title eq fill 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: Zweizeiligen Dynpro Überschriftentext mit Objektbezug PM füllen 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 cp dynp title eq fill FM, simply by entering the name CP_DYNP_TITLE_EQ_FILL into the relevant SAP transaction such as SE37 or SE38.

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



Function CP_DYNP_TITLE_EQ_FILL 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 'CP_DYNP_TITLE_EQ_FILL'"NOTRANSL: Zweizeiligen Dynpro Überschriftentext mit Objektbezug PM füllen
EXPORTING
* EQKTX = '' "Equipment short text
* EQUNR = '' "Equipment number
* KTEXT = '' "Short text
* PLNAL = '' "Planned alternative
* PLNNR = '' "Routing number
* PLTXT = ' ' "
* TPLNR = ' ' "

IMPORTING
HEAD1 = "Heading
HEAD2 = "G/L account number
.



IMPORTING Parameters details for CP_DYNP_TITLE_EQ_FILL

EQKTX - Equipment short text

Data type: RC27E-EQKTX
Default: ''
Optional: Yes
Call by Reference: No ( called with pass by value option)

EQUNR - Equipment number

Data type: EAPL-EQUNR
Default: ''
Optional: Yes
Call by Reference: No ( called with pass by value option)

KTEXT - Short text

Data type: PLKO-KTEXT
Default: ''
Optional: Yes
Call by Reference: No ( called with pass by value option)

PLNAL - Planned alternative

Data type: PLKO-PLNAL
Default: ''
Optional: Yes
Call by Reference: No ( called with pass by value option)

PLNNR - Routing number

Data type: PLKO-PLNNR
Default: ''
Optional: Yes
Call by Reference: No ( called with pass by value option)

PLTXT -

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

TPLNR -

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

EXPORTING Parameters details for CP_DYNP_TITLE_EQ_FILL

HEAD1 - Heading

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

HEAD2 - G/L account number

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

Copy and paste ABAP code example for CP_DYNP_TITLE_EQ_FILL 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_eqktx  TYPE RC27E-EQKTX, "   ''
lv_head1  TYPE RC270-HEAD1, "   
lv_equnr  TYPE EAPL-EQUNR, "   ''
lv_head2  TYPE RC270-HEAD2, "   
lv_ktext  TYPE PLKO-KTEXT, "   ''
lv_plnal  TYPE PLKO-PLNAL, "   ''
lv_plnnr  TYPE PLKO-PLNNR, "   ''
lv_pltxt  TYPE RC27E-PLTXT, "   SPACE
lv_tplnr  TYPE TAPL-TPLNR. "   SPACE

  CALL FUNCTION 'CP_DYNP_TITLE_EQ_FILL'  "NOTRANSL: Zweizeiligen Dynpro Überschriftentext mit Objektbezug PM füllen
    EXPORTING
         EQKTX = lv_eqktx
         EQUNR = lv_equnr
         KTEXT = lv_ktext
         PLNAL = lv_plnal
         PLNNR = lv_plnnr
         PLTXT = lv_pltxt
         TPLNR = lv_tplnr
    IMPORTING
         HEAD1 = lv_head1
         HEAD2 = lv_head2
. " CP_DYNP_TITLE_EQ_FILL




ABAP code using 7.40 inline data declarations to call FM CP_DYNP_TITLE_EQ_FILL

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 EQKTX FROM RC27E INTO @DATA(ld_eqktx).
DATA(ld_eqktx) = ''.
 
"SELECT single HEAD1 FROM RC270 INTO @DATA(ld_head1).
 
"SELECT single EQUNR FROM EAPL INTO @DATA(ld_equnr).
DATA(ld_equnr) = ''.
 
"SELECT single HEAD2 FROM RC270 INTO @DATA(ld_head2).
 
"SELECT single KTEXT FROM PLKO INTO @DATA(ld_ktext).
DATA(ld_ktext) = ''.
 
"SELECT single PLNAL FROM PLKO INTO @DATA(ld_plnal).
DATA(ld_plnal) = ''.
 
"SELECT single PLNNR FROM PLKO INTO @DATA(ld_plnnr).
DATA(ld_plnnr) = ''.
 
"SELECT single PLTXT FROM RC27E INTO @DATA(ld_pltxt).
DATA(ld_pltxt) = ' '.
 
"SELECT single TPLNR FROM TAPL INTO @DATA(ld_tplnr).
DATA(ld_tplnr) = ' '.
 


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!