SAP TRSPA_APPL_START_AUTO Function Module for Start Application for Security Price Fixing
TRSPA_APPL_START_AUTO is a standard trspa appl start auto SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Start Application for Security Price Fixing 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 trspa appl start auto FM, simply by entering the name TRSPA_APPL_START_AUTO into the relevant SAP transaction such as SE37 or SE38.
Function Group: TRIA_APPL
Program Name: SAPLTRIA_APPL
Main Program: SAPLTRIA_APPL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function TRSPA_APPL_START_AUTO 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 'TRSPA_APPL_START_AUTO'"Start Application for Security Price Fixing.
EXPORTING
PI_TAB_BEARER = "Tabelle mit Zinsanpassungsträgern
PI_OPEN_MODE = "Mode of a TRIA-OPEN Call (Display, Change)
PI_TESTRUN = "Test Run
PI_IRA_DATE = "Interest rate fixing date to
PI_PROT_ERRS = "Display Errors Only
PI_SAVE_PROT = "Save Error Log
EXCEPTIONS
FAILED = 1
IMPORTING Parameters details for TRSPA_APPL_START_AUTO
PI_TAB_BEARER - Tabelle mit Zinsanpassungsträgern
Data type: TRIAY_BEAREROptional: No
Call by Reference: Yes
PI_OPEN_MODE - Mode of a TRIA-OPEN Call (Display, Change)
Data type: TB_IRA_OPEN_MODOptional: No
Call by Reference: Yes
PI_TESTRUN - Test Run
Data type: TB_TESTOptional: No
Call by Reference: Yes
PI_IRA_DATE - Interest rate fixing date to
Data type: TB_IRA_DATEOptional: No
Call by Reference: Yes
PI_PROT_ERRS - Display Errors Only
Data type: COptional: No
Call by Reference: Yes
PI_SAVE_PROT - Save Error Log
Data type: COptional: No
Call by Reference: Yes
EXCEPTIONS details
FAILED - Start der Applikation fehlgeschlagen
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for TRSPA_APPL_START_AUTO 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_failed | TYPE STRING, " | |||
| lv_pi_tab_bearer | TYPE TRIAY_BEARER, " | |||
| lv_pi_open_mode | TYPE TB_IRA_OPEN_MOD, " | |||
| lv_pi_testrun | TYPE TB_TEST, " | |||
| lv_pi_ira_date | TYPE TB_IRA_DATE, " | |||
| lv_pi_prot_errs | TYPE C, " | |||
| lv_pi_save_prot | TYPE C. " |
|   CALL FUNCTION 'TRSPA_APPL_START_AUTO' "Start Application for Security Price Fixing |
| EXPORTING | ||
| PI_TAB_BEARER | = lv_pi_tab_bearer | |
| PI_OPEN_MODE | = lv_pi_open_mode | |
| PI_TESTRUN | = lv_pi_testrun | |
| PI_IRA_DATE | = lv_pi_ira_date | |
| PI_PROT_ERRS | = lv_pi_prot_errs | |
| PI_SAVE_PROT | = lv_pi_save_prot | |
| EXCEPTIONS | ||
| FAILED = 1 | ||
| . " TRSPA_APPL_START_AUTO | ||
ABAP code using 7.40 inline data declarations to call FM TRSPA_APPL_START_AUTO
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