SAP FITP_GET_PNR_1G Function Module for









FITP_GET_PNR_1G is a standard fitp get pnr 1g 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 fitp get pnr 1g FM, simply by entering the name FITP_GET_PNR_1G into the relevant SAP transaction such as SE37 or SE38.

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



Function FITP_GET_PNR_1G 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 'FITP_GET_PNR_1G'"
EXPORTING
CONTEXT = "
QUEUEING_OFFICE = "
QUEUE_NR = "
FIRST_CALL = "
* COMMIT_PREV_PNR = "

IMPORTING
T_GENERIC_PNR = "

EXCEPTIONS
PNR_RETRIEVAL_ERROR = 1
.



IMPORTING Parameters details for FITP_GET_PNR_1G

CONTEXT -

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

QUEUEING_OFFICE -

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

QUEUE_NR -

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

FIRST_CALL -

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

COMMIT_PREV_PNR -

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

EXPORTING Parameters details for FITP_GET_PNR_1G

T_GENERIC_PNR -

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

EXCEPTIONS details

PNR_RETRIEVAL_ERROR -

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

Copy and paste ABAP code example for FITP_GET_PNR_1G 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_context  TYPE FTPT_VARIANT-VARIANT, "   
lv_t_generic_pnr  TYPE TRPL_PNR, "   
lv_pnr_retrieval_error  TYPE TRPL_PNR, "   
lv_queueing_office  TYPE OFFICE, "   
lv_queue_nr  TYPE QUEUE_NR, "   
lv_first_call  TYPE BOOLEAN, "   
lv_commit_prev_pnr  TYPE CHAR1. "   

  CALL FUNCTION 'FITP_GET_PNR_1G'  "
    EXPORTING
         CONTEXT = lv_context
         QUEUEING_OFFICE = lv_queueing_office
         QUEUE_NR = lv_queue_nr
         FIRST_CALL = lv_first_call
         COMMIT_PREV_PNR = lv_commit_prev_pnr
    IMPORTING
         T_GENERIC_PNR = lv_t_generic_pnr
    EXCEPTIONS
        PNR_RETRIEVAL_ERROR = 1
. " FITP_GET_PNR_1G




ABAP code using 7.40 inline data declarations to call FM FITP_GET_PNR_1G

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 VARIANT FROM FTPT_VARIANT INTO @DATA(ld_context).
 
 
 
 
 
 
 


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!