SAP ISH_PPT_API_VNAPP_NPAT_DYNAMIC Function Module for IS-H: API Layer to Replace Dynamic Selects on N_VNAPP_PAT









ISH_PPT_API_VNAPP_NPAT_DYNAMIC is a standard ish ppt api vnapp npat dynamic SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-H: API Layer to Replace Dynamic Selects on N_VNAPP_PAT 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 ish ppt api vnapp npat dynamic FM, simply by entering the name ISH_PPT_API_VNAPP_NPAT_DYNAMIC into the relevant SAP transaction such as SE37 or SE38.

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



Function ISH_PPT_API_VNAPP_NPAT_DYNAMIC 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 'ISH_PPT_API_VNAPP_NPAT_DYNAMIC'"IS-H: API  Layer to Replace Dynamic Selects on N_VNAPP_PAT
EXPORTING
* IT_CHAR72 = "Table Type of Character 72
* IT_POBNR = "Table Type for Internal Sequence Number of Planning Object
* I_EINRI = "Institution
* ITR_BWIDT = "Table of Ranges for Date of Movement
* I_BWIDT = "IS-H: Date of Movement
* I_BEWTY = "Movement Category
* ITR_ORGPF = "IS-H: Table Type for Range via Care Unit

IMPORTING
ET_PAP_VNAPP = "Contains All Fields of View N_VNAPP_NPAT
.



IMPORTING Parameters details for ISH_PPT_API_VNAPP_NPAT_DYNAMIC

IT_CHAR72 - Table Type of Character 72

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

IT_POBNR - Table Type for Internal Sequence Number of Planning Object

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

I_EINRI - Institution

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

ITR_BWIDT - Table of Ranges for Date of Movement

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

I_BWIDT - IS-H: Date of Movement

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

I_BEWTY - Movement Category

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

ITR_ORGPF - IS-H: Table Type for Range via Care Unit

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

EXPORTING Parameters details for ISH_PPT_API_VNAPP_NPAT_DYNAMIC

ET_PAP_VNAPP - Contains All Fields of View N_VNAPP_NPAT

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

Copy and paste ABAP code example for ISH_PPT_API_VNAPP_NPAT_DYNAMIC 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_it_char72  TYPE ISH_T_CHAR72, "   
lv_et_pap_vnapp  TYPE ISH_T_VNAPP_PAT, "   
lv_it_pobnr  TYPE ISH_T_POBNR, "   
lv_i_einri  TYPE EINRI, "   
lv_itr_bwidt  TYPE ISH_T_RNG_BWIDT, "   
lv_i_bwidt  TYPE BWIDT, "   
lv_i_bewty  TYPE BEWTY, "   
lv_itr_orgpf  TYPE RNRANGEORGPF_TT. "   

  CALL FUNCTION 'ISH_PPT_API_VNAPP_NPAT_DYNAMIC'  "IS-H: API Layer to Replace Dynamic Selects on N_VNAPP_PAT
    EXPORTING
         IT_CHAR72 = lv_it_char72
         IT_POBNR = lv_it_pobnr
         I_EINRI = lv_i_einri
         ITR_BWIDT = lv_itr_bwidt
         I_BWIDT = lv_i_bwidt
         I_BEWTY = lv_i_bewty
         ITR_ORGPF = lv_itr_orgpf
    IMPORTING
         ET_PAP_VNAPP = lv_et_pap_vnapp
. " ISH_PPT_API_VNAPP_NPAT_DYNAMIC




ABAP code using 7.40 inline data declarations to call FM ISH_PPT_API_VNAPP_NPAT_DYNAMIC

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!