SAP EXIT_SAPLQPRS_005 Function Module for Transfer of Data From Physical-Sample Master Record to User Screen









EXIT_SAPLQPRS_005 is a standard exit saplqprs 005 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Transfer of Data From Physical-Sample Master Record to User Screen 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 exit saplqprs 005 FM, simply by entering the name EXIT_SAPLQPRS_005 into the relevant SAP transaction such as SE37 or SE38.

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



Function EXIT_SAPLQPRS_005 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 'EXIT_SAPLQPRS_005'"Transfer of Data From Physical-Sample Master Record to User Screen
EXPORTING
I_QPRS = "Physical-Sample Master Record
I_QPRN = "Physical-Sample Drawing

IMPORTING
E_QPRS = "Physical-Sample Master Record
.



Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
QPRS_DELETION_FLAG_FOR_LOT NOTRANSL: FB setzt für alle physischen Proben zum Prüflos/Probenahme Lösch
QPRS_EXPORT_RQPRS NOTRANSL: FB zum Exportieren der Aufbewahrungsdaten an Massenpflege Aufbew
QPRS_GET_LQPRS NOTRANSL: FB bereitet die Struktur LQPRS zu einer Phys. Probe auf (für Lis
QPRS_IMPORT_WERKS NOTRANSL: FB zum Importieren der Werknummer aus Massenpflege Aufbewahrungs
QPRS_LABEL_PRINT_REFERENCE NOTRANSL: Kopiervorlage f. kundeneigenen Funktionsbaust. zum Druck von Eti
QPRS_MASTER_SAMPLE_CREATE NOTRANSL: FB zum Anlegen eines Stammsatzes zu einer physischen Probe
QPRS_MASTER_SAMPLE_UPDATE NOTRANSL: FB zum Ändern eines Probenstammsatzes u. Etikettendruck
QPRS_PI_NEW_SAMPLE_DRAW NOTRANSL: Baustein zum Anlegen einer neuen Probenahme aus dem PI-Sheet
QPRS_PI_SAMPLE_DRAW_PROCESSING NOTRANSL: Baustein zur Bearbeitung der Probenahme aus dem PI-Sheet
QPRS_QPRNS_LOT_CANCEL NOTRANSL: Korrektur der Proben zum Los nach Fehler bei der Probenermittlun
QPRS_QPRNS_LOT_READ NOTRANSL: FB liest alle Probenahmen und Phys. Proben zum Plos
QPRS_QPRNS_LOT_UPDATE NOTRANSL: Übergabe noch fehlender Daten an die Probenahme zum Los
QPRS_QPRS_BATCH_UPDATE NOTRANSL: Update der Chargennummer in Probenstammsatz
QPRS_QPRS_LOT_UPDATE NOTRANSL: Update der Losnummer in Probenstammsatz
QPRS_QPRS_STORAGE_UPDATE NOTRANSL: Update der Aufbewahrungsdaten in Probenstammsatz
QPRS_READ_LAST_DRAW_FOR_LOT NOTRANSL: FB liest letzte Probenahme zum Prüflos
QPRS_READ_QPRN_WITH_PHYNR NOTRANSL: FB liest Probenahmedaten zur Phys. Probennummer
QPRS_READ_SAMPLES_FOR_LOT NOTRANSL: FB liefert alle physischen Proben zu einem Prüflos
QPRS_READ_SAMPLE_DRAW_NUMBER NOTRANSL: FB liest Probenahmedaten zur Probenahmenummer
QPRS_SAMPLE_CREATE_FOR_LOT NOTRANSL: FB legt Phys. Probe zum Prüflos an (existierende Probenahme ode
QPRS_SAMPLE_DRAW_CREATE NOTRANSL: Baustein zur Vorbereitung der Probenahme
QPRS_SAMPLE_DRAW_PROCESSING NOTRANSL: Baustein zur Bearbeitung der Probenahme
QPRS_SAMPLE_READ NOTRANSL: Lesen der physischen Probe

IMPORTING Parameters details for EXIT_SAPLQPRS_005

I_QPRS - Physical-Sample Master Record

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

I_QPRN - Physical-Sample Drawing

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

EXPORTING Parameters details for EXIT_SAPLQPRS_005

E_QPRS - Physical-Sample Master Record

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

Copy and paste ABAP code example for EXIT_SAPLQPRS_005 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_qprs  TYPE QPRS, "   
lv_i_qprs  TYPE QPRS, "   
lv_i_qprn  TYPE QPRN. "   

  CALL FUNCTION 'EXIT_SAPLQPRS_005'  "Transfer of Data From Physical-Sample Master Record to User Screen
    EXPORTING
         I_QPRS = lv_i_qprs
         I_QPRN = lv_i_qprn
    IMPORTING
         E_QPRS = lv_e_qprs
. " EXIT_SAPLQPRS_005




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLQPRS_005

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.

 
 
 


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!