SAP PTRV_FSSC_SR_SAPMP56T_LAUNCH Function Module for









PTRV_FSSC_SR_SAPMP56T_LAUNCH is a standard ptrv fssc sr sapmp56t launch 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 ptrv fssc sr sapmp56t launch FM, simply by entering the name PTRV_FSSC_SR_SAPMP56T_LAUNCH into the relevant SAP transaction such as SE37 or SE38.

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



Function PTRV_FSSC_SR_SAPMP56T_LAUNCH 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 'PTRV_FSSC_SR_SAPMP56T_LAUNCH'"
EXPORTING
IV_TCODE = "Current Transaction Code
* IT_PTK08 = "Trip Advance
* IT_PTK10 = "Leg of Trip
* IT_PTK17 = "Travel Expenses Assignment Specification
* IT_MESSAGES = "Return Table
IS_P0001 = "HR Master Record: Infotype 0001 (Organizational Assignment)
* IS_PTP02 = "Structure of Travel Expenses Table PTRV_HEAD
* IS_PTRV_HEAD = "General Trip Data
* IS_HEAD_PERIO = "General Information and Period Data of a Trip
* IT_PTK03 = "Travel Expense Specifications According to Individual Receipt
* IT_PTK04 = "Deductions Due to Gratuitous Entertainment
* IT_TRANSPORT = "
* IT_PTK05 = "Stopover
.



IMPORTING Parameters details for PTRV_FSSC_SR_SAPMP56T_LAUNCH

IV_TCODE - Current Transaction Code

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

IT_PTK08 - Trip Advance

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

IT_PTK10 - Leg of Trip

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

IT_PTK17 - Travel Expenses Assignment Specification

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

IT_MESSAGES - Return Table

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

IS_P0001 - HR Master Record: Infotype 0001 (Organizational Assignment)

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

IS_PTP02 - Structure of Travel Expenses Table PTRV_HEAD

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

IS_PTRV_HEAD - General Trip Data

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

IS_HEAD_PERIO - General Information and Period Data of a Trip

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

IT_PTK03 - Travel Expense Specifications According to Individual Receipt

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

IT_PTK04 - Deductions Due to Gratuitous Entertainment

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

IT_TRANSPORT -

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

IT_PTK05 - Stopover

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

Copy and paste ABAP code example for PTRV_FSSC_SR_SAPMP56T_LAUNCH 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_iv_tcode  TYPE SYTCODE, "   
lv_it_ptk08  TYPE PTK08_ITAB, "   
lv_it_ptk10  TYPE PTK10_ITAB, "   
lv_it_ptk17  TYPE PTK17_ITAB, "   
lv_it_messages  TYPE BAPIRET2_T, "   
lv_is_p0001  TYPE P0001, "   
lv_is_ptp02  TYPE PTP02, "   
lv_is_ptrv_head  TYPE PTRV_HEAD, "   
lv_is_head_perio  TYPE HEAD_PERIO, "   
lv_it_ptk03  TYPE PTK03_ITAB, "   
lv_it_ptk04  TYPE PTK04_ITAB, "   
lv_it_transport  TYPE GLO_PTRV_TRANSP_T, "   
lv_it_ptk05  TYPE PTK05_ITAB. "   

  CALL FUNCTION 'PTRV_FSSC_SR_SAPMP56T_LAUNCH'  "
    EXPORTING
         IV_TCODE = lv_iv_tcode
         IT_PTK08 = lv_it_ptk08
         IT_PTK10 = lv_it_ptk10
         IT_PTK17 = lv_it_ptk17
         IT_MESSAGES = lv_it_messages
         IS_P0001 = lv_is_p0001
         IS_PTP02 = lv_is_ptp02
         IS_PTRV_HEAD = lv_is_ptrv_head
         IS_HEAD_PERIO = lv_is_head_perio
         IT_PTK03 = lv_it_ptk03
         IT_PTK04 = lv_it_ptk04
         IT_TRANSPORT = lv_it_transport
         IT_PTK05 = lv_it_ptk05
. " PTRV_FSSC_SR_SAPMP56T_LAUNCH




ABAP code using 7.40 inline data declarations to call FM PTRV_FSSC_SR_SAPMP56T_LAUNCH

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!