SAP FITP_QUEUE_PNR Function Module for Place PNR in a Processing Queue









FITP_QUEUE_PNR is a standard fitp queue pnr SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Place PNR in a Processing Queue 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 fitp queue pnr FM, simply by entering the name FITP_QUEUE_PNR into the relevant SAP transaction such as SE37 or SE38.

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



Function FITP_QUEUE_PNR 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_QUEUE_PNR'"Place PNR in a Processing Queue
EXPORTING
PERSNR = "Personnel Number
REINR = "Trip Number
PLANNR = "Travel Plan Number (Sequential Number)
* USER = "User Name
* QUEUE_ACTION = "Queueing Activity (Customizing)
* QUEUE_OFFICE = "Sales Office
* QUEUE_NR = "Sequential number of resubmission (queue)
* QUEUE_CATEGORY = "Category of resubmission (queue)

EXCEPTIONS
PNR_RESERVATION_ERROR = 1
.



IMPORTING Parameters details for FITP_QUEUE_PNR

PERSNR - Personnel Number

Data type: FTPT_PLAN-PERNR
Optional: No
Call by Reference: Yes

REINR - Trip Number

Data type: FTPT_PLAN-REINR
Optional: No
Call by Reference: Yes

PLANNR - Travel Plan Number (Sequential Number)

Data type: FTPT_PLAN-PLANNR
Optional: No
Call by Reference: Yes

USER - User Name

Data type: SYST-UNAME
Optional: Yes
Call by Reference: Yes

QUEUE_ACTION - Queueing Activity (Customizing)

Data type: TA20OZ-ACTION
Optional: Yes
Call by Reference: Yes

QUEUE_OFFICE - Sales Office

Data type: TA20A-W_OFFICE
Optional: Yes
Call by Reference: Yes

QUEUE_NR - Sequential number of resubmission (queue)

Data type: TA20OZ-QUEUE_NR
Optional: Yes
Call by Reference: Yes

QUEUE_CATEGORY - Category of resubmission (queue)

Data type: TA20OZ-QUEUE_CATEGORY
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

PNR_RESERVATION_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FITP_QUEUE_PNR 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_persnr  TYPE FTPT_PLAN-PERNR, "   
lv_pnr_reservation_error  TYPE FTPT_PLAN, "   
lv_reinr  TYPE FTPT_PLAN-REINR, "   
lv_plannr  TYPE FTPT_PLAN-PLANNR, "   
lv_user  TYPE SYST-UNAME, "   
lv_queue_action  TYPE TA20OZ-ACTION, "   
lv_queue_office  TYPE TA20A-W_OFFICE, "   
lv_queue_nr  TYPE TA20OZ-QUEUE_NR, "   
lv_queue_category  TYPE TA20OZ-QUEUE_CATEGORY. "   

  CALL FUNCTION 'FITP_QUEUE_PNR'  "Place PNR in a Processing Queue
    EXPORTING
         PERSNR = lv_persnr
         REINR = lv_reinr
         PLANNR = lv_plannr
         USER = lv_user
         QUEUE_ACTION = lv_queue_action
         QUEUE_OFFICE = lv_queue_office
         QUEUE_NR = lv_queue_nr
         QUEUE_CATEGORY = lv_queue_category
    EXCEPTIONS
        PNR_RESERVATION_ERROR = 1
. " FITP_QUEUE_PNR




ABAP code using 7.40 inline data declarations to call FM FITP_QUEUE_PNR

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 PERNR FROM FTPT_PLAN INTO @DATA(ld_persnr).
 
 
"SELECT single REINR FROM FTPT_PLAN INTO @DATA(ld_reinr).
 
"SELECT single PLANNR FROM FTPT_PLAN INTO @DATA(ld_plannr).
 
"SELECT single UNAME FROM SYST INTO @DATA(ld_user).
 
"SELECT single ACTION FROM TA20OZ INTO @DATA(ld_queue_action).
 
"SELECT single W_OFFICE FROM TA20A INTO @DATA(ld_queue_office).
 
"SELECT single QUEUE_NR FROM TA20OZ INTO @DATA(ld_queue_nr).
 
"SELECT single QUEUE_CATEGORY FROM TA20OZ INTO @DATA(ld_queue_category).
 


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!