SAP Reports / Programs

SAPMGPSP SAP ABAP dialog Program - Maintain Distribution Key







SAPMGPSP is a standard Module pool for a dialog screen ABAP Program available within your SAP system (depending on your version and release level). It is used for Module pool SAPMGPSP is used in planning to define, change, display and delete user-defined distribution keys...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter SAPMGPSP 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

KP81 - Create Distribution Key
KP84 - Delete Distribution Key
KP82 - Change Distribution Key
KP83 - Display Distribution Key
GP34 - Delete Distribution Key
WXP1 - Create Time-Based Distribution Key
WXP4 - Delete Time-Based Distribution Key
WXP3 - Disply Time-Based Distribution Key
KPH4 - Delete Distribution Key
KEV1 - Create distribution key
KEV2 - Change distribution key
KEV3 - Display distribution key
GP31 - Create Distribution Key
KEV4 - Delete distribution key
KCV4 - Delete distribution key
KCV3 - Display distribution key
KCV2 - Change distribution key
KCV1 - Create Distribution Key
KPH2 - Change Distribution Key
GP32 - Change Distribution Key
KPH3 - Display Distribution Key
GP33 - Display Distribution Key
KPH1 - Create Distribution Key


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 SAPMGPSP. "Basic submit
SUBMIT SAPMGPSP AND RETURN. "Return to original report after report execution complete
SUBMIT SAPMGPSP 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 Distribution Key
Text Symbol: 010 = Initial Screen
Text Symbol: 015 = Reference Screen
Text Symbol: 020 = Period Screen
Text Symbol: 025 = Select Distribution Key
Text Symbol: 030 = Select Ref. Distribution Key
Text Symbol: 035 = Display Distribution Key
Text Symbol: 040 = DK Description
Text Symbol: 045 = ---- ---------------------------------------------------------------
Text Symbol: 100 = Cancel Distribution Key Maintenance
Text Symbol: 110 = Are you sure you want to cancel
Text Symbol: 120 = distribution key maintenance?
Text Symbol: 200 = Delete Distribution Key
Text Symbol: 210 = Should distribution key
Text Symbol: 220 = be deleted?
Text Symbol: 300 = Exit Distribution Key Maintenance
Text Symbol: 310 = Should distribution key
Text Symbol: 320 = be saved first?
Text Symbol: 321 = Period
Text Symbol: 322 = Relative Factor
Text Symbol: 323 = Period/Year


INCLUDES used within this REPORT SAPMGPSP

INCLUDE MGPSPTOP.
INCLUDE MGPSPO00.
INCLUDE MGPSPI00.
INCLUDE MGPSPO10.
INCLUDE MGPSPI10 .
INCLUDE MGPSPO20 .
INCLUDE MGPSPI20 .
INCLUDE MGPSPO30.
INCLUDE MGPSPI30.
INCLUDE MGPSPO40 .
INCLUDE MGPSPI40.
INCLUDE MGPSPO50 .
INCLUDE MGPSPI50.
INCLUDE MGPSPF10.


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:

No SAP FUNCTION MODULES are executed within this report code!



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 SAPMGPSP or its description.