SAP Reports / Programs

SAPMSPTP SAP ABAP dialog Program - Maintain Text Elements For Formats







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

SPTP - Text elem. maint. for print formats


ABAP code to call this SAP report using the submit statement

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.






SUBMIT SAPMSPTP. "Basic submit
SUBMIT SAPMSPTP AND RETURN. "Return to original report after report execution complete
SUBMIT SAPMSPTP VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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


INCLUDES used within this REPORT SAPMSPTP

INCLUDE MSPTPF01.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name SAPMSPTP or its description.