SAP QSS3_FEATURE_PLAN_READ Function Module for









QSS3_FEATURE_PLAN_READ is a standard qss3 feature plan read 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 qss3 feature plan read FM, simply by entering the name QSS3_FEATURE_PLAN_READ into the relevant SAP transaction such as SE37 or SE38.

Function Group: QSS3
Program Name: SAPLQSS3
Main Program: SAPLQSS3
Appliation area: Q
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function QSS3_FEATURE_PLAN_READ 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 'QSS3_FEATURE_PLAN_READ'"
EXPORTING
I_MERKNR = "Characteristic number
I_PLNKN = "Task list node
I_PLNNR = "Routing number
I_PLNTY = "Task list type
* I_STICHTAG = SY-DATUM "Key date, up to which should be read

IMPORTING
E_PLMKB = "Characteristic record

EXCEPTIONS
NOT_FOUND = 1
.



IMPORTING Parameters details for QSS3_FEATURE_PLAN_READ

I_MERKNR - Characteristic number

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

I_PLNKN - Task list node

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

I_PLNNR - Routing number

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

I_PLNTY - Task list type

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

I_STICHTAG - Key date, up to which should be read

Data type: PLMK-GUELTIGAB
Default: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for QSS3_FEATURE_PLAN_READ

E_PLMKB - Characteristic record

Data type: PLMKB
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

NOT_FOUND - No entry found for characteristic

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

Copy and paste ABAP code example for QSS3_FEATURE_PLAN_READ 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_e_plmkb  TYPE PLMKB, "   
lv_i_merknr  TYPE PLMK-MERKNR, "   
lv_not_found  TYPE PLMK, "   
lv_i_plnkn  TYPE PLMK-PLNKN, "   
lv_i_plnnr  TYPE PLMK-PLNNR, "   
lv_i_plnty  TYPE PLMK-PLNTY, "   
lv_i_stichtag  TYPE PLMK-GUELTIGAB. "   SY-DATUM

  CALL FUNCTION 'QSS3_FEATURE_PLAN_READ'  "
    EXPORTING
         I_MERKNR = lv_i_merknr
         I_PLNKN = lv_i_plnkn
         I_PLNNR = lv_i_plnnr
         I_PLNTY = lv_i_plnty
         I_STICHTAG = lv_i_stichtag
    IMPORTING
         E_PLMKB = lv_e_plmkb
    EXCEPTIONS
        NOT_FOUND = 1
. " QSS3_FEATURE_PLAN_READ




ABAP code using 7.40 inline data declarations to call FM QSS3_FEATURE_PLAN_READ

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 MERKNR FROM PLMK INTO @DATA(ld_i_merknr).
 
 
"SELECT single PLNKN FROM PLMK INTO @DATA(ld_i_plnkn).
 
"SELECT single PLNNR FROM PLMK INTO @DATA(ld_i_plnnr).
 
"SELECT single PLNTY FROM PLMK INTO @DATA(ld_i_plnty).
 
"SELECT single GUELTIGAB FROM PLMK INTO @DATA(ld_i_stichtag).
DATA(ld_i_stichtag) = SY-DATUM.
 


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!