SAP DX_F4_HELP_PROGNAME_REG Function Module for









DX_F4_HELP_PROGNAME_REG is a standard dx f4 help progname reg 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 dx f4 help progname reg FM, simply by entering the name DX_F4_HELP_PROGNAME_REG into the relevant SAP transaction such as SE37 or SE38.

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



Function DX_F4_HELP_PROGNAME_REG 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 'DX_F4_HELP_PROGNAME_REG'"
EXPORTING
DYNPPROG = "ABAP Program: Current Main Program
DYNPNR = "ABAP Program: Number of Current Screen
DYNPROFIELD = "
* DYNPFIELD_OBJECT = "
* DYNPFIELD_TASKTYPE = "
* DYNPFIELD_PROGTYPE = "
* OBJECTTYPE = "
* TASKTYPE = "
* PROGTYPE = "
.



IMPORTING Parameters details for DX_F4_HELP_PROGNAME_REG

DYNPPROG - ABAP Program: Current Main Program

Data type: SYST-REPID
Optional: No
Call by Reference: Yes

DYNPNR - ABAP Program: Number of Current Screen

Data type: SYST-DYNNR
Optional: No
Call by Reference: Yes

DYNPROFIELD -

Data type: HELP_INFO-DYNPROFLD
Optional: No
Call by Reference: Yes

DYNPFIELD_OBJECT -

Data type: DYNPREAD-FIELDNAME
Optional: Yes
Call by Reference: Yes

DYNPFIELD_TASKTYPE -

Data type: DYNPREAD-FIELDNAME
Optional: Yes
Call by Reference: Yes

DYNPFIELD_PROGTYPE -

Data type: DYNPREAD-FIELDNAME
Optional: Yes
Call by Reference: Yes

OBJECTTYPE -

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

TASKTYPE -

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

PROGTYPE -

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

Copy and paste ABAP code example for DX_F4_HELP_PROGNAME_REG 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_dynpprog  TYPE SYST-REPID, "   
lv_dynpnr  TYPE SYST-DYNNR, "   
lv_dynprofield  TYPE HELP_INFO-DYNPROFLD, "   
lv_dynpfield_object  TYPE DYNPREAD-FIELDNAME, "   
lv_dynpfield_tasktype  TYPE DYNPREAD-FIELDNAME, "   
lv_dynpfield_progtype  TYPE DYNPREAD-FIELDNAME, "   
lv_objecttype  TYPE TDXLOADP-OBJECTTYPE, "   
lv_tasktype  TYPE TDXLOADP-TASKTYPE, "   
lv_progtype  TYPE TDXLOADP-PROGTYPE. "   

  CALL FUNCTION 'DX_F4_HELP_PROGNAME_REG'  "
    EXPORTING
         DYNPPROG = lv_dynpprog
         DYNPNR = lv_dynpnr
         DYNPROFIELD = lv_dynprofield
         DYNPFIELD_OBJECT = lv_dynpfield_object
         DYNPFIELD_TASKTYPE = lv_dynpfield_tasktype
         DYNPFIELD_PROGTYPE = lv_dynpfield_progtype
         OBJECTTYPE = lv_objecttype
         TASKTYPE = lv_tasktype
         PROGTYPE = lv_progtype
. " DX_F4_HELP_PROGNAME_REG




ABAP code using 7.40 inline data declarations to call FM DX_F4_HELP_PROGNAME_REG

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 REPID FROM SYST INTO @DATA(ld_dynpprog).
 
"SELECT single DYNNR FROM SYST INTO @DATA(ld_dynpnr).
 
"SELECT single DYNPROFLD FROM HELP_INFO INTO @DATA(ld_dynprofield).
 
"SELECT single FIELDNAME FROM DYNPREAD INTO @DATA(ld_dynpfield_object).
 
"SELECT single FIELDNAME FROM DYNPREAD INTO @DATA(ld_dynpfield_tasktype).
 
"SELECT single FIELDNAME FROM DYNPREAD INTO @DATA(ld_dynpfield_progtype).
 
"SELECT single OBJECTTYPE FROM TDXLOADP INTO @DATA(ld_objecttype).
 
"SELECT single TASKTYPE FROM TDXLOADP INTO @DATA(ld_tasktype).
 
"SELECT single PROGTYPE FROM TDXLOADP INTO @DATA(ld_progtype).
 


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!