SAPMSPTP is a standard Module pool for a dialog screen ABAP Program available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter SAPMSPTP into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
SPTP - Text elem. maint. for print formats
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title: Maintain Text Elements For Formats
Text Symbol: 005 = Standard text pool (SAP)
Text Symbol: 006 = Discard all changes since
Text Symbol: 007 = last backup?
Text Symbol: 004 = Local text pool
Text Symbol: 003 = No entry
Text Symbol: 002 = Do you want to save first?
Text Symbol: 001 = The texts were changed
Text Symbol: 000 = Backup prompt
INCLUDE MSPTPF01.
No SAP DATABASE tables are accessed within this REPORT code!
TR_TASK_OVERVIEW CALL FUNCTION 'TR_TASK_OVERVIEW'.
TR_TASK_OVERVIEW CALL FUNCTION 'TR_TASK_OVERVIEW'.
ENQUEUE_ENQ_SPTP CALL FUNCTION 'ENQUEUE_ENQ_SPTP' EXPORTING MODE_TSP06T = 'E' SPRAS = LANGU NAME = LOCK_KEY EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.
DEQUEUE_ENQ_SPTP CALL FUNCTION 'DEQUEUE_ENQ_SPTP' EXPORTING SPRAS = LANGU NAME = LOCK_KEY EXCEPTIONS OTHERS = 1.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING DEFAULTOPTION = 'Y' TEXTLINE1 = 'Die Texte wurden verändert.'(001)
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING DEFAULTOPTION = 'Y' TEXTLINE1 = 'Wollen Sie alle Ă„nderungen seit der'(006) TEXTLINE2 = 'letzten Sicherung verwerfen?'(007) TITEL = 'Sicherungsabfrage'(000) START_COLUMN = 25 START_ROW = 6 IMPORTING ANSWER = P_ANSWER EXCEPTIONS OTHERS = 1.
RSPO_TEXTPOOL_FLUSH CALL FUNCTION 'RSPO_TEXTPOOL_FLUSH' * EXPORTING * LOCAL = ' ' EXCEPTIONS CALL_ERROR = 1 OPERATION_FAILED = 2 OTHERS = 3.
TR_OBJECT_CHECK CALL FUNCTION 'TR_OBJECT_CHECK' EXPORTING WI_KO200 = KO200 TABLES WT_E071K = WT_E071K EXCEPTIONS CANCEL_EDIT_OTHER_ERROR = 1 SHOW_ONLY_OTHER_ERROR = 2 OTHERS = 2.
TR_OBJECT_INSERT CALL FUNCTION 'TR_OBJECT_INSERT' EXPORTING WI_KO200 = KO200 TABLES WT_E071K = WT_E071K EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.