SAP Reports / Programs

SAPMS01D SAP ABAP dialog Program - Create Authorization Fields (obsolete)







SAPMS01D 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 SAPMS01D into the relevant SAP transactions such as SE38 or SE80


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 SAPMS01D. "Basic submit
SUBMIT SAPMS01D AND RETURN. "Return to original report after report execution complete
SUBMIT SAPMS01D VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Create Authorization Fields (obsolete)
Text Symbol: 001 = Authorization Fields
Text Symbol: 002 = Last Changed By
Text Symbol: 003 = Field Name
Text Symbol: 004 = Data Elem.
Text Symbol: 005 = Type
Text Symbol: 006 = Length
Text Symbol: 007 = Text
Text Symbol: 070 = Save changes?
Text Symbol: 071 = Data was changed
Text Symbol: 100 = Not saved
Text Symbol: 101 = New
Text Symbol: 102 = Revised
Text Symbol: 103 = Saved
Text Symbol: 104 = Active
Text Symbol: 110 = Application
Text Symbol: 111 = Basis
Text Symbol: 112 = Customer
Text Symbol: 113 = BIW
Text Symbol: 114 = HR
Text Symbol: 115 = ABA


INCLUDES used within this REPORT SAPMS01D

No INCLUDES are used within this REPORT code!


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:

DDIF_TABL_GET * CALL FUNCTION 'DDIF_TABL_GET' * EXPORTING * NAME = TABLENAME * STATE = 'A' * LANGU = SY-LANGU * IMPORTING * GOTSTATE = GOTSTATE * DD02V_WA = DD02V_TAB * TABLES * DD03P_TAB = DD03P_TAB * EXCEPTIONS * ILLEGAL_INPUT = 1 * OTHERS = 2.

DDIF_TABL_PUT * CALL FUNCTION 'DDIF_TABL_PUT' * EXPORTING * NAME = TABLENAME * TABLES * DD03P_TAB = DD03P_TAB * EXCEPTIONS * TABL_NOT_FOUND = 1 * NAME_INCONSISTENT = 2 * TABL_INCONSISTENT = 3 * PUT_FAILURE = 4 * PUT_REFUSED = 5 * OTHERS = 6.

RS_DD_SHOW * CALL FUNCTION 'RS_DD_SHOW' * EXPORTING * OBJNAME = DD03P_TAB-ROLLNAME * OBJTYPE = 'E' * POPUP = ' ' * SECNAME = ' ' * EXCEPTIONS * OBJECT_NOT_FOUND = 01 * OBJECT_NOT_SPECIFIED = 02 * PERMISSION_FAILURE = 03 * TYPE_NOT_VALID = 04 * OTHERS = 99.

DDIF_TABL_PUT * CALL FUNCTION 'DDIF_TABL_PUT' * EXPORTING * NAME = TABLENAME * TABLES * DD03P_TAB = DD03P_TAB * EXCEPTIONS * TABL_NOT_FOUND = 1 * NAME_INCONSISTENT = 2 * TABL_INCONSISTENT = 3 * PUT_FAILURE = 4 * PUT_REFUSED = 5 * OTHERS = 6.

DDIF_TABL_ACTIVATE * CALL FUNCTION 'DDIF_TABL_ACTIVATE' * EXPORTING * NAME = TABLENAME * EXCEPTIONS * NOT_FOUND = 1 * PUT_FAILURE = 2 * OTHERS = 3.

RS_DD_SHOW * CALL FUNCTION 'RS_DD_SHOW' * EXPORTING * OBJNAME = DATELNAME * OBJTYPE = 'E' * POPUP = ' ' * SECNAME = ' ' * EXCEPTIONS * OBJECT_NOT_FOUND = 01 * OBJECT_NOT_SPECIFIED = 02 * PERMISSION_FAILURE = 03 * TYPE_NOT_VALID = 04 * OTHERS = 99.

RS_DD_FRKY_EDIT * CALL FUNCTION 'RS_DD_FRKY_EDIT' * EXPORTING * TABNAME = DD03P_TAB-TABNAME * FIELDNAME = DD03P_TAB-FIELDNAME * EDIT_MODE = EDIT_MODE * EXCEPTIONS * OBJECT_NOT_FOUND = 1 * OBJECT_NOT_SPECIFIED = 2 * NOT_EXECUTED = 3 * PERMISSION_FAILURE = 4 * OTHERS = 5.

SUSR_COMMEDITCHECK ** CALL FUNCTION 'SUSR_COMMEDITCHECK' ** EXPORTING ** OBJECTNAME = TRANSOBJ ** TRANSOBJECTTYPE = 'F' ** IMPORTING ** RETURN_FROM_KORR = KORRRET.

POPUP_TO_CONFIRM_WITH_VALUE * CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_VALUE' * EXPORTING * DEFAULTOPTION = 'Y' * OBJECTVALUE = SPACE * TEXT_BEFORE = 'Änderungen sichern ?'(070) * TEXT_AFTER = SPACE * TITEL = 'Daten wurden verändert !'(071) * IMPORTING * ANSWER = RET.

SUSR_COMMEDITCHECK ** CALL FUNCTION 'SUSR_COMMEDITCHECK' ** EXPORTING ** OBJECTNAME = TRANSOBJ ** TRANSOBJECTTYPE = 'F' ** IMPORTING ** RETURN_FROM_KORR = KORRRET.

SUSR_COMMEDITCHECK ** CALL FUNCTION 'SUSR_COMMEDITCHECK' ** EXPORTING ** OBJECTNAME = TRANSOBJ ** TRANSOBJECTTYPE = 'F' ** IMPORTING ** RETURN_FROM_KORR = KORRRET.



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