SAP Reports / Programs | Basis Components | ABAP Workbench, Java IDE and Infrastructure | Workbench Tools: Editors, Painters, Modelers(BC-DWB-TOO) SAP BC

MSDIAFED SAP ABAP INCLUDE - documentation and ABAP source code







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


INCLUDES used within this REPORT MSDIAFED

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:

POPUP_TO_DECIDE call function 'POPUP_TO_DECIDE' exporting defaultoption = '1' textline1 = text3 textline2 = 'Soll es angelegt werden'(105) textline3 = ' ' text_option1 = 'Ja'(107) text_option2 = 'Nein'(102) titel = 'Programm anlegen'(103) importing answer = antwort.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting defaultoption = 'Y' textline1 = 'Sichern Dialogbaustein'(001) textline2 = tdct-dnam titel = 'Dialogbaustein bearbeiten'(002) importing answer = answer.

RS_EDTR_ADD call function 'RS_EDTR_ADD' exporting name = dummy program = tdct-prog i_type = 'R' importing name_o = dummy * NEW_INCLUDE_NAME = tdct-prog exceptions exists_already = 01 not_executed = 02 program_enqueued = 03.

RS_NAVIGATION_MONITOR call function 'RS_NAVIGATION_MONITOR'.

RS_NAVIGATION_PUSH call function 'RS_NAVIGATION_PUSH' exporting objektinf = abapstruc objekttyp = 'PG'.

RS_NAVIGATION_MONITOR call function 'RS_NAVIGATION_MONITOR'.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting defaultoption = 'Y' textline1 = 'Sichern Dialogbaustein'(001) textline2 = tdct-dnam titel = 'Dialogbaustein bearbeiten'(002) importing answer = answer.

RS_NAVIGATION_PUSH call function 'RS_NAVIGATION_PUSH' exporting objektinf = abapstruc objekttyp = 'PG'.

RS_NAVIGATION_MONITOR call function 'RS_NAVIGATION_MONITOR'.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting defaultoption = 'Y' textline1 = 'Sichern Dialogbaustein'(001) textline2 = tdct-dnam titel = 'Dialogbaustein bearbeiten'(002) importing answer = answer.

RS_NAVIGATION_PUSH call function 'RS_NAVIGATION_PUSH' exporting objektinf = abapstruc objekttyp = 'PG'.

RS_NAVIGATION_MONITOR call function 'RS_NAVIGATION_MONITOR'.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting defaultoption = 'Y' textline1 = 'Sichern Dialogbaustein'(001) textline2 = tdct-dnam titel = 'Dialogbaustein bearbeiten'(002) importing answer = answer.

RS_NAVIGATION_PUSH call function 'RS_NAVIGATION_PUSH' exporting objektinf = abapstruc objekttyp = 'PG'.

RS_NAVIGATION_MONITOR call function 'RS_NAVIGATION_MONITOR'.

POPUP_TO_DECIDE call function 'POPUP_TO_DECIDE' exporting defaultoption = '1' textline1 = text2 textline2 = 'Soll es angelegt werden'(105) textline3 = ' ' text_option1 = 'Ja'(107) text_option2 = 'Nein'(102) titel = 'Dynpro anlegen'(112) importing answer = antwort.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting defaultoption = 'Y' textline1 = 'Sichern Dialogbaustein'(001) textline2 = tdct-dnam titel = 'Dialogbaustein bearbeiten'(002) importing answer = answer.

RS_SCRP call function 'RS_SCRP' exporting dynnr = tdct-dynr progname = tdct-prog new_dynpro = 'X' exceptions others = 1.

RS_NAVIGATION_MONITOR





call function 'RS_NAVIGATION_MONITOR'.

RS_NAVIGATION_PUSH call function 'RS_NAVIGATION_PUSH' exporting objektinf = scrpinf objekttyp = 'DY'.

RS_NAVIGATION_MONITOR call function 'RS_NAVIGATION_MONITOR'.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting defaultoption = 'Y' textline1 = 'Sichern Dialogbaustein'(001) textline2 = tdct-dnam titel = 'Dialogbaustein bearbeiten'(002) importing answer = answer.

RS_NAVIGATION_PUSH call function 'RS_NAVIGATION_PUSH' exporting objektinf = scrpinf objekttyp = 'DY'.

RS_NAVIGATION_MONITOR call function 'RS_NAVIGATION_MONITOR'.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting defaultoption = 'Y' textline1 = 'Sichern Dialogbaustein'(001) textline2 = tdct-dnam titel = 'Dialogbaustein bearbeiten'(002) importing answer = answer.

RS_NAVIGATION_PUSH call function 'RS_NAVIGATION_PUSH' exporting objektinf = scrpinf objekttyp = 'DY'.

RS_NAVIGATION_MONITOR call function 'RS_NAVIGATION_MONITOR'.

POPUP_TO_CONFIRM_STEP call function 'POPUP_TO_CONFIRM_STEP' exporting defaultoption = 'Y' textline1 = 'Sichern Dialogbaustein'(001) textline2 = tdct-dnam titel = 'Dialogbaustein bearbeiten'(002) importing answer = answer.

RS_NAVIGATION_PUSH call function 'RS_NAVIGATION_PUSH' exporting objektinf = scrpinf objekttyp = 'DY'.

RS_NAVIGATION_MONITOR call function 'RS_NAVIGATION_MONITOR'.

RS_NAVIGATION_PUSH call function 'RS_NAVIGATION_PUSH' exporting objektinf = abapstruc objekttyp = 'DV' text1 = tdct-dnam text2 = 'DBaustein'(128) text3 = text3.

RS_NAVIGATION_PUSH call function 'RS_NAVIGATION_PUSH' exporting objektinf = abapstruc objekttyp = 'DV' text1 = 'Dialogbausteinverwaltung'(210) text2 = 'Transaktion'(211) text3 = text3.

SUSR_SHOW_USER_DETAILS call function 'SUSR_SHOW_USER_DETAILS' exporting bname = trdir-cnam exceptions others = 1.

SUSR_SHOW_USER_DETAILS call function 'SUSR_SHOW_USER_DETAILS' exporting bname = trdir-unam 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 MSDIAFED or its description.