SAP PVSCUST_PNMDL_READ Function Module for NOTRANSL: Auslesen des Kontextmodells für Knotentypen









PVSCUST_PNMDL_READ is a standard pvscust pnmdl read 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: Auslesen des Kontextmodells für Knotentypen 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 pvscust pnmdl read FM, simply by entering the name PVSCUST_PNMDL_READ into the relevant SAP transaction such as SE37 or SE38.

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



Function PVSCUST_PNMDL_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 'PVSCUST_PNMDL_READ'"NOTRANSL: Auslesen des Kontextmodells für Knotentypen
EXPORTING
* IV_OTYPE1 = "iPPE Object Type
* IV_APPLOBJ_TYPE1 = "Application Object Type for iPPE
* IV_PNTYPE1 = "Type of Context-Providing Node
* IV_PNTYPE2 = "Type of Node Identified in Context
* IV_WITH_HIDDEN_PNTYPES = PPET_FALSE "Generic Type
* IV_BUFFER_RESET = PPET_FALSE "Generic Type

IMPORTING
ET_PNMDL = "DE-EN-LANG-SWITCH-NO-TRANSLATION

EXCEPTIONS
PNMDL_READ_ERROR = 1
.



IMPORTING Parameters details for PVSCUST_PNMDL_READ

IV_OTYPE1 - iPPE Object Type

Data type: PVS_OTYPE
Optional: Yes
Call by Reference: Yes

IV_APPLOBJ_TYPE1 - Application Object Type for iPPE

Data type: PVS_APPLOBJ_TYPE
Optional: Yes
Call by Reference: Yes

IV_PNTYPE1 - Type of Context-Providing Node

Data type: PPE_PNAMEID_TYPE
Optional: Yes
Call by Reference: Yes

IV_PNTYPE2 - Type of Node Identified in Context

Data type: PPE_PNAME_TYPE
Optional: Yes
Call by Reference: Yes

IV_WITH_HIDDEN_PNTYPES - Generic Type

Data type: C
Default: PPET_FALSE
Optional: Yes
Call by Reference: Yes

IV_BUFFER_RESET - Generic Type

Data type: C
Default: PPET_FALSE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for PVSCUST_PNMDL_READ

ET_PNMDL - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: PPET_PNMDL_TAB
Optional: No
Call by Reference: Yes

EXCEPTIONS details

PNMDL_READ_ERROR - Error

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for PVSCUST_PNMDL_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_et_pnmdl  TYPE PPET_PNMDL_TAB, "   
lv_iv_otype1  TYPE PVS_OTYPE, "   
lv_pnmdl_read_error  TYPE PVS_OTYPE, "   
lv_iv_applobj_type1  TYPE PVS_APPLOBJ_TYPE, "   
lv_iv_pntype1  TYPE PPE_PNAMEID_TYPE, "   
lv_iv_pntype2  TYPE PPE_PNAME_TYPE, "   
lv_iv_with_hidden_pntypes  TYPE C, "   PPET_FALSE
lv_iv_buffer_reset  TYPE C. "   PPET_FALSE

  CALL FUNCTION 'PVSCUST_PNMDL_READ'  "NOTRANSL: Auslesen des Kontextmodells für Knotentypen
    EXPORTING
         IV_OTYPE1 = lv_iv_otype1
         IV_APPLOBJ_TYPE1 = lv_iv_applobj_type1
         IV_PNTYPE1 = lv_iv_pntype1
         IV_PNTYPE2 = lv_iv_pntype2
         IV_WITH_HIDDEN_PNTYPES = lv_iv_with_hidden_pntypes
         IV_BUFFER_RESET = lv_iv_buffer_reset
    IMPORTING
         ET_PNMDL = lv_et_pnmdl
    EXCEPTIONS
        PNMDL_READ_ERROR = 1
. " PVSCUST_PNMDL_READ




ABAP code using 7.40 inline data declarations to call FM PVSCUST_PNMDL_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.

 
 
 
 
 
 
DATA(ld_iv_with_hidden_pntypes) = PPET_FALSE.
 
DATA(ld_iv_buffer_reset) = PPET_FALSE.
 


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!