SAP Reports / Programs

SAPMOMR2 SAP ABAP dialog Program - Doc. Types/No. Ranges GR/IR Clearing Account Maintenance







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


Text pool values


Title: Doc. Types/No. Ranges GR/IR Clearing Account Maintenance
Text Symbol: C20 = No maintenance notes exist ;;
Text Symbol: C12 = MR11 Maintenance of GR/IR clearing account ;;
Text Symbol: C11 = document type for the SAP transaction ;;
Text Symbol: C10 = Please maintain a valid ;;
Text Symbol: C03 = Account maintenance ;;
Text Symbol: C02 = Affects only the following: ;;
Text Symbol: C01 = Please create new "document type" ;;
Text Symbol: B40 = Number ranges ;;
Text Symbol: B30 = Invoice verification document types
Text Symbol: B20 = Financial accounting document types ;;
Text Symbol: B10 = Please process in the stated order
Text Symbol: A15 = the data? ;;
Text Symbol: A14 = Do you want to display ;;
Text Symbol: A13 = to display data ;;
Text Symbol: A12 = that you are only authorized ;;
Text Symbol: A11 = Your user master record indicates ;;
Text Symbol: A10 = Display values ;;
Text Symbol: A06 = locked data? ;;
Text Symbol: A05 = Do you want to display the ;;
Text Symbol: A04 = be displayed ;;
Text Symbol: A03 = users, and can therefore only ;;
Text Symbol: A02 = The data is locked by other ;;
Text Symbol: A01 = Display values ;;


INCLUDES used within this REPORT SAPMOMR2

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:

VIEW_GET_DDIC_INFO CALL FUNCTION 'VIEW_GET_DDIC_INFO' EXPORTING VIEWNAME = 'V_169 ' TABLES SELLIST = DBA_V_169 X_HEADER = HEADER_V_169 X_NAMTAB = NAMTAB_V_169.

VIEWFRAME_V_169 CALL FUNCTION 'VIEWFRAME_V_169 ' EXPORTING VIEW_ACTION = ACTION VIEW_NAME = 'V_169 ' TABLES DBA_SELLIST = DBA_V_169 DPL_SELLIST = DPL_V_169 EXCL_CUA_FUNCT = FU_TO_EXCL X_HEADER = HEADER_V_169 X_NAMTAB = NAMTAB_V_169.

NUMBER_RANGE_SUBOBJECT_GET CALL FUNCTION 'NUMBER_RANGE_SUBOBJECT_GET' EXPORTING OBJECT = 'RF_BELEG' IMPORTING RETURNCODE = RCODE SUBOBJECT = SUB.

NUMBER_RANGE_INTERVAL_MAINTAIN CALL FUNCTION 'NUMBER_RANGE_INTERVAL_MAINTAIN' EXPORTING OBJECT = 'RF_BELEG' SUBOBJECT = SUB PROCESSING = 'U'.

ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING TABNAME = SNAME VARKEY = MANDANT EXCEPTIONS FOREIGN_LOCK = 4 SYSTEM_FAILURE = 8.

ENQUEUE_E_TABLES CALL FUNCTION 'ENQUEUE_E_TABLES' EXPORTING TABNAME = SNAME VARKEY = MANDANT EXCEPTIONS FOREIGN_LOCK = 4 SYSTEM_FAILURE = 8.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

ENQUEUE_E_TABLES CALL FUNCTION 'ENQUEUE_E_TABLES' EXPORTING TABNAME = 'T003 ' VARKEY = MANDANT EXCEPTIONS FOREIGN_LOCK = 4 SYSTEM_FAILURE = 8.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING TITEL = TITEL DIAGNOSETEXT1 = TEXT1 DIAGNOSETEXT2 = TEXT2 DIAGNOSETEXT3 = TEXT3 TEXTLINE1 = TEXT4 TEXTLINE2 = TEXT5 DEFAULTOPTION = YES IMPORTING ANSWER = ANSWER.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

ENQUEUE_E_TABLES CALL FUNCTION 'ENQUEUE_E_TABLES' * gesperrt, damit Anzeige durch Änderung anderer ungültig wird.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING TITEL = TITEL DIAGNOSETEXT1 = TEXT1 DIAGNOSETEXT2 = TEXT2 DIAGNOSETEXT3 = TEXT3 TEXTLINE1 = TEXT4 TEXTLINE2 = TEXT5 DEFAULTOPTION = YES IMPORTING ANSWER = ANSWER.



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