SAP CQ_BT_PLMK_OPERATION_FEATURES Function Module for NOTRANSL: Alle Merkmale zu einem Vorgang aus interner Tabelle PLANMK









CQ_BT_PLMK_OPERATION_FEATURES is a standard cq bt plmk operation features SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Alle Merkmale zu einem Vorgang aus interner Tabelle PLANMK processing and below is the pattern details for this FM, 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 cq bt plmk operation features FM, simply by entering the name CQ_BT_PLMK_OPERATION_FEATURES into the relevant SAP transaction such as SE37 or SE38.

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



Function CQ_BT_PLMK_OPERATION_FEATURES 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 'CQ_BT_PLMK_OPERATION_FEATURES'"NOTRANSL: Alle Merkmale zu einem Vorgang  aus interner Tabelle PLANMK
EXPORTING
* FLG_EINSTELL = ' ' "Characteristic Type
MAX_SNR = "Inspection Characteristic Number
MIN_SNR = "Inspection Characteristic Number
PLPO = "Task list - operation/activity
RQPAS = "Inspection characteristic (plan) control string

TABLES
VORGMK = "All Inspection Characteristics for an Operation

EXCEPTIONS
NO_FEATURES = 1 NO_VALID_FEATURES = 2
.



IMPORTING Parameters details for CQ_BT_PLMK_OPERATION_FEATURES

FLG_EINSTELL - Characteristic Type

Data type: PLMKB-KZEINSTELL
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

MAX_SNR - Inspection Characteristic Number

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

MIN_SNR - Inspection Characteristic Number

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

PLPO - Task list - operation/activity

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

RQPAS - Inspection characteristic (plan) control string

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

TABLES Parameters details for CQ_BT_PLMK_OPERATION_FEATURES

VORGMK - All Inspection Characteristics for an Operation

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

EXCEPTIONS details

NO_FEATURES -

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

NO_VALID_FEATURES -

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

Copy and paste ABAP code example for CQ_BT_PLMK_OPERATION_FEATURES 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:
lt_vorgmk  TYPE STANDARD TABLE OF PLMKV, "   
lv_no_features  TYPE PLMKV, "   
lv_flg_einstell  TYPE PLMKB-KZEINSTELL, "   ' '
lv_max_snr  TYPE PLMKV-MERKNR, "   
lv_no_valid_features  TYPE PLMKV, "   
lv_min_snr  TYPE PLMKV-MERKNR, "   
lv_plpo  TYPE PLPO, "   
lv_rqpas  TYPE RQPAS. "   

  CALL FUNCTION 'CQ_BT_PLMK_OPERATION_FEATURES'  "NOTRANSL: Alle Merkmale zu einem Vorgang aus interner Tabelle PLANMK
    EXPORTING
         FLG_EINSTELL = lv_flg_einstell
         MAX_SNR = lv_max_snr
         MIN_SNR = lv_min_snr
         PLPO = lv_plpo
         RQPAS = lv_rqpas
    TABLES
         VORGMK = lt_vorgmk
    EXCEPTIONS
        NO_FEATURES = 1
        NO_VALID_FEATURES = 2
. " CQ_BT_PLMK_OPERATION_FEATURES




ABAP code using 7.40 inline data declarations to call FM CQ_BT_PLMK_OPERATION_FEATURES

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 KZEINSTELL FROM PLMKB INTO @DATA(ld_flg_einstell).
DATA(ld_flg_einstell) = ' '.
 
"SELECT single MERKNR FROM PLMKV INTO @DATA(ld_max_snr).
 
 
"SELECT single MERKNR FROM PLMKV INTO @DATA(ld_min_snr).
 
 
 


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!