SAP Function Modules

TERM_F4_HELP_QCHECK_KEY SAP Function module







TERM_F4_HELP_QCHECK_KEY is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name TERM_F4_HELP_QCHECK_KEY into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: STERM_ATTR
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM TERM_F4_HELP_QCHECK_KEY - TERM F4 HELP QCHECK KEY





CALL FUNCTION 'TERM_F4_HELP_QCHECK_KEY' "
  EXPORTING
    dyn_name = ' '              " syrepid
    dyn_num = ' '               " sydynnr
    dyn_field = ' '             " help_info-dynprofld
*   tgroup =                    " sterm_prj_tgroup-project_tgroup
*   project =                   " sterm_prj_tgroup-project_key
*   slang =                     " sterm_q_check_h-slang
*   tlang =                     " sterm_q_check_h-tlang
*   released =                  " as4flag
  IMPORTING
    qcheck_key =                " sterm_q_check_h-qcheck_key
    .  "  TERM_F4_HELP_QCHECK_KEY

ABAP code example for Function Module TERM_F4_HELP_QCHECK_KEY





The ABAP code below is a full code listing to execute function module TERM_F4_HELP_QCHECK_KEY including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_qcheck_key  TYPE STERM_Q_CHECK_H-QCHECK_KEY .

DATA(ld_dyn_name) = 'some text here'.
DATA(ld_dyn_num) = 'some text here'.

DATA(ld_dyn_field) = some text here

SELECT single PROJECT_TGROUP
FROM STERM_PRJ_TGROUP
INTO @DATA(ld_tgroup).


SELECT single PROJECT_KEY
FROM STERM_PRJ_TGROUP
INTO @DATA(ld_project).


SELECT single SLANG
FROM STERM_Q_CHECK_H
INTO @DATA(ld_slang).


SELECT single TLANG
FROM STERM_Q_CHECK_H
INTO @DATA(ld_tlang).

DATA(ld_released) = 'some text here'. . CALL FUNCTION 'TERM_F4_HELP_QCHECK_KEY' EXPORTING dyn_name = ld_dyn_name dyn_num = ld_dyn_num dyn_field = ld_dyn_field * tgroup = ld_tgroup * project = ld_project * slang = ld_slang * tlang = ld_tlang * released = ld_released IMPORTING qcheck_key = ld_qcheck_key . " TERM_F4_HELP_QCHECK_KEY
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_qcheck_key  TYPE STERM_Q_CHECK_H-QCHECK_KEY ,
ld_dyn_name  TYPE SYREPID ,
ld_dyn_num  TYPE SYDYNNR ,
ld_dyn_field  TYPE HELP_INFO-DYNPROFLD ,
ld_tgroup  TYPE STERM_PRJ_TGROUP-PROJECT_TGROUP ,
ld_project  TYPE STERM_PRJ_TGROUP-PROJECT_KEY ,
ld_slang  TYPE STERM_Q_CHECK_H-SLANG ,
ld_tlang  TYPE STERM_Q_CHECK_H-TLANG ,
ld_released  TYPE AS4FLAG .

ld_dyn_name = 'some text here'.
ld_dyn_num = 'some text here'.

ld_dyn_field = some text here

SELECT single PROJECT_TGROUP
FROM STERM_PRJ_TGROUP
INTO ld_tgroup.


SELECT single PROJECT_KEY
FROM STERM_PRJ_TGROUP
INTO ld_project.


SELECT single SLANG
FROM STERM_Q_CHECK_H
INTO ld_slang.


SELECT single TLANG
FROM STERM_Q_CHECK_H
INTO ld_tlang.

ld_released = 'some text here'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name TERM_F4_HELP_QCHECK_KEY or its description.