QPSD_FEATURE_VERSION_READ 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 QPSD_FEATURE_VERSION_READ into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
QPSD
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'QPSD_FEATURE_VERSION_READ' "
EXPORTING
* kz_aufloesung = ' ' " qkzstern Ind.: Methods should also be read
* kz_nichtfrei = ' ' " qm00-qkz Ind: characteristic can also be read with status <> F
merkmal = " qpmk-mkmnr Characteristic to be read
* sprache = SY-LANGU " qpmt-sprache Language selection
* version = ' ' " qpmk-version characteristic version to be read
werk = " qpmk-werks Plant to be read
* i_qmastmod = " qmastmod
* i_no_catalogs = " qm00-qkz
IMPORTING
qpmk_exp = " qpmk selected characteristic data record
qpmt_exp = " qpmt selected text data record for characteristic
qpmz_exp = " qpmz Method entry for selected characteristic
qpmz_ktext_kat1 = " qpgt-kurztext Short text of allocated catalog entry 1
qpmz_ktext_kat2 = " qpgt-kurztext Short text of allocated catalog entry 2
qpmz_ktext_kat3 = " qpgt-kurztext Short text of allocated catalog entry 3
qpmz_ktext_kat4 = " qpgt-kurztext Short text of allocated catalog entry 4
qpmz_ktext_kat5 = " qpgt-kurztext Short text of allocated catalog entry 5
qpmz_ktext_meth = " qmtt-kurztext Short text of allocated inspection method
qpmk_ktext_code9u = " qpct-kurztext Short text of the lower error codes
qpmk_ktext_code9o = " qpct-kurztext Short text of the upper error codes
qpmk_ktext_codeql = " qpct-kurztext Short text of the general error codes
e_no_of_methods = " sy-tabix
EXCEPTIONS
NO_FEATURE = 1 " Characteristic is not available
NO_FREE_VERSION = 2 " Version not released
NO_VERSION = 3 " Version is not available
NO_AUTHORIZATION = 4 "
. " QPSD_FEATURE_VERSION_READ
The ABAP code below is a full code listing to execute function module QPSD_FEATURE_VERSION_READ 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).
| ld_qpmk_exp | TYPE QPMK , |
| ld_qpmt_exp | TYPE QPMT , |
| ld_qpmz_exp | TYPE QPMZ , |
| ld_qpmz_ktext_kat1 | TYPE QPGT-KURZTEXT , |
| ld_qpmz_ktext_kat2 | TYPE QPGT-KURZTEXT , |
| ld_qpmz_ktext_kat3 | TYPE QPGT-KURZTEXT , |
| ld_qpmz_ktext_kat4 | TYPE QPGT-KURZTEXT , |
| ld_qpmz_ktext_kat5 | TYPE QPGT-KURZTEXT , |
| ld_qpmz_ktext_meth | TYPE QMTT-KURZTEXT , |
| ld_qpmk_ktext_code9u | TYPE QPCT-KURZTEXT , |
| ld_qpmk_ktext_code9o | TYPE QPCT-KURZTEXT , |
| ld_qpmk_ktext_codeql | TYPE QPCT-KURZTEXT , |
| ld_e_no_of_methods | TYPE SY-TABIX . |
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_qpmk_exp | TYPE QPMK , |
| ld_kz_aufloesung | TYPE QKZSTERN , |
| ld_qpmt_exp | TYPE QPMT , |
| ld_kz_nichtfrei | TYPE QM00-QKZ , |
| ld_merkmal | TYPE QPMK-MKMNR , |
| ld_qpmz_exp | TYPE QPMZ , |
| ld_sprache | TYPE QPMT-SPRACHE , |
| ld_qpmz_ktext_kat1 | TYPE QPGT-KURZTEXT , |
| ld_qpmz_ktext_kat2 | TYPE QPGT-KURZTEXT , |
| ld_version | TYPE QPMK-VERSION , |
| ld_qpmz_ktext_kat3 | TYPE QPGT-KURZTEXT , |
| ld_werk | TYPE QPMK-WERKS , |
| ld_qpmz_ktext_kat4 | TYPE QPGT-KURZTEXT , |
| ld_i_qmastmod | TYPE QMASTMOD , |
| ld_qpmz_ktext_kat5 | TYPE QPGT-KURZTEXT , |
| ld_i_no_catalogs | TYPE QM00-QKZ , |
| ld_qpmz_ktext_meth | TYPE QMTT-KURZTEXT , |
| ld_qpmk_ktext_code9u | TYPE QPCT-KURZTEXT , |
| ld_qpmk_ktext_code9o | TYPE QPCT-KURZTEXT , |
| ld_qpmk_ktext_codeql | TYPE QPCT-KURZTEXT , |
| ld_e_no_of_methods | TYPE SY-TABIX . |
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 QPSD_FEATURE_VERSION_READ or its description.