QPL1_INIT_QSS 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 QPL1_INIT_QSS into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
QPL1
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'QPL1_INIT_QSS' "
EXPORTING
* i_aktyp = 'H' " t063-aktyp Activity type
* i_art = ' ' " qals-art Inspection Type
* i_prueflos = ' ' " qals-prueflos Inspection lot number
* i_qinfupd = ' ' " qinfinspt-qinfupd Indicator : change quality info record
* i_status = ' ' " qinfinspt-status Status quality info record
mbqss = " mbqss Record layout with QM-relevant information
* i_cert_required = " rmqed-cert_req Ind. Certificate not yet received
* i_two_step = " qm00-qkz
* i_kont_change = " qm00-qkz
IMPORTING
e_kzskiplot = " qals-kzskiplot Ind. skip lot is available
e_prueflos = " qals-prueflos Assigned inspection lot number
subrc = " sy-subrc Return code
e_skip_to_stock = " qm00-qkz Ind. Skip to stock is available
. " QPL1_INIT_QSS
The ABAP code below is a full code listing to execute function module QPL1_INIT_QSS 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_e_kzskiplot | TYPE QALS-KZSKIPLOT , |
| ld_e_prueflos | TYPE QALS-PRUEFLOS , |
| ld_subrc | TYPE SY-SUBRC , |
| ld_e_skip_to_stock | TYPE QM00-QKZ . |
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_e_kzskiplot | TYPE QALS-KZSKIPLOT , |
| ld_i_aktyp | TYPE T063-AKTYP , |
| ld_e_prueflos | TYPE QALS-PRUEFLOS , |
| ld_i_art | TYPE QALS-ART , |
| ld_subrc | TYPE SY-SUBRC , |
| ld_i_prueflos | TYPE QALS-PRUEFLOS , |
| ld_e_skip_to_stock | TYPE QM00-QKZ , |
| ld_i_qinfupd | TYPE QINFINSPT-QINFUPD , |
| ld_i_status | TYPE QINFINSPT-STATUS , |
| ld_mbqss | TYPE MBQSS , |
| ld_i_cert_required | TYPE RMQED-CERT_REQ , |
| ld_i_two_step | TYPE QM00-QKZ , |
| ld_i_kont_change | TYPE QM00-QKZ . |
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 QPL1_INIT_QSS or its description.