SAP Reports / Programs | Basis Components | Basis Components | Terminology/Glossary(BC-DOC-TER) SAP BC

MTERMF02 SAP ABAP INCLUDE - documentation and ABAP source code







MTERMF02 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 MTERMF02 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 MTERMF02. "Basic submit
SUBMIT MTERMF02 AND RETURN. "Return to original report after report execution complete
SUBMIT MTERMF02 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 MTERMF02

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:

TERM_DELETE CALL FUNCTION 'TERM_DELETE' EXPORTING GELENKNR = GELENKNR APPLIKKZ = APPLIKKZ BEGRIFF = RTERM-QUELLBEGR SPRACHE = RTERM-QUELLSPR IMPORTING RETCODE = RETCODE TABLES ITERMATTR = QATERMATTR.

TERM_UPDATE CALL FUNCTION 'TERM_UPDATE' EXPORTING GELENKNR = GELENKNR APPLIKKZ = APPLIKKZ BEGRIFF = RTERM-QUELLBEGR GENUS = QTERM6-GENIUS KATEGORIE = QTERM6-KATEGORIE SPRACHE = RTERM-QUELLSPR ANLEGER = QTERM6-ANLEGER ANLEGDATUM = QTERM6-ADATUM STATUS = QTERM6-STATUS START_RELEASE = QTERM6-RELEASE_F CHANGED_RELEASE = QTERM6-RELEASE_L IMPORTING RETCODE = RETCODE TABLES ITERMATTR = QNTERMATTR.

TERM_DELETE CALL FUNCTION 'TERM_DELETE' EXPORTING GELENKNR = GELENKNR APPLIKKZ = APPLIKKZ BEGRIFF = ZBEGRIFFA SPRACHE = RTERM-ZIELSPR IMPORTING RETCODE = RETCODE TABLES ITERMATTR = ZATERMATTR.

TERM_UPDATE CALL FUNCTION 'TERM_UPDATE' EXPORTING GELENKNR = GELENKNR APPLIKKZ = APPLIKKZ BEGRIFF = RTERM-ZIELBEGR SPRACHE = RTERM-ZIELSPR GENUS = ZTERM6-GENIUS KATEGORIE = ZTERM6-KATEGORIE ANLEGER = ZTERM6-ANLEGER ANLEGDATUM = ZTERM6-ADATUM STATUS = ZTERM6-STATUS START_RELEASE = ZTERM6-RELEASE_F CHANGED_RELEASE = ZTERM6-RELEASE_L IMPORTING RETCODE = RETCODE TABLES ITERMATTR = ZNTERMATTR.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING DEFAULTOPTION = 'N' TEXTLINE1 = TEXT-012 TEXTLINE2 = TEXT-013 TITEL = TEXT-014 IMPORTING ANSWER = ANSWER.

TERM_DELETE CALL FUNCTION 'TERM_DELETE' EXPORTING GELENKNR = GELENKNR APPLIKKZ = APPLIKKZ BEGRIFF = ZTERM6-BEGRIFF SPRACHE = RTERM-ZIELSPR IMPORTING RETCODE = RETCODE TABLES ITERMATTR = ZATERMATTR.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING DEFAULTOPTION = 'N' TEXTLINE1 = TEXT-012 TEXTLINE2 = TEXT-013 TITEL = TEXT-014 IMPORTING ANSWER = ANSWER.

TERM_DELETE CALL FUNCTION 'TERM_DELETE' EXPORTING GELENKNR = GELENKNR APPLIKKZ = APPLIKKZ BEGRIFF = QTERM6-BEGRIFF SPRACHE = RTERM-QUELLSPR IMPORTING RETCODE = RETCODE TABLES ITERMATTR = QATERMATTR.

TERM_HEADER_READ CALL FUNCTION 'TERM_HEADER_READ' EXPORTING BEGRIFF = ZBEGRIFFA SPRACHE = RTERM-ZIELSPR TABLES REFERENZ = REFTAB.

GLOSSARY_DELETE CALL FUNCTION 'GLOSSARY_DELETE' EXPORTING BEGRIFF = ZBEGRIFFA SPRACHE = RTERM-ZIELSPR IMPORTING EXIST = EXIST RETCODE = RETCODE.

TERM_HEADER_READ CALL FUNCTION 'TERM_HEADER_READ' EXPORTING BEGRIFF = RTERM-ZIELBEGR SPRACHE = RTERM-ZIELSPR TABLES REFERENZ = REFTAB.

TERM_REFERENCE_CONTROL CALL FUNCTION 'TERM_REFERENCE_CONTROL' EXPORTING APPLIKNR = APPLIKKZ SPRACHE = RTERM-QUELLSPR IMPORTING ERROR_STRING = ERROR_STRING TABLES ITERMATTR = QNTERMATTR.

TERM_REFERENCE_CONTROL CALL FUNCTION 'TERM_REFERENCE_CONTROL' EXPORTING APPLIKNR = APPLIKKZ SPRACHE = RTERM-ZIELSPR IMPORTING ERROR_STRING = ERROR_STRING TABLES ITERMATTR = ZNTERMATTR.

ENQUEUE_ESTERM CALL FUNCTION 'ENQUEUE_ESTERM' EXPORTING TCODE = 'SE64' EXCEPTIONS FOREIGN_LOCK = 1.

DEQUEUE_ESTERM CALL FUNCTION 'DEQUEUE_ESTERM' EXPORTING TCODE = 'SE64' _SYNCHRON = 'X'. " wait until lock is released

ENQUEUE_ESTERMINO CALL FUNCTION 'ENQUEUE_ESTERMINO' EXPORTING APPLIKKZ = APPLICATION BEGRIFF = TERM SPRAS = LANGUAGE EXCEPTIONS FOREIGN_LOCK = 1.

DEQUEUE_ESTERMINO CALL FUNCTION 'DEQUEUE_ESTERMINO' EXPORTING APPLIKKZ = APPLICATION BEGRIFF = TERM SPRAS = LANGUAGE.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING DEFAULTOPTION = 'Y' TEXTLINE1 = TEXT-021 TEXTLINE2 = TEXT-022 TITEL = TEXT-023 IMPORTING ANSWER = ANSWER.

ENQUEUE_READ





CALL FUNCTION 'ENQUEUE_READ' EXPORTING GCLIENT = SY-MANDT * GNAME = * GARG = ' ' GUNAME = SY-UNAME IMPORTING NUMBER = NUMBER SUBRC = SUBRC TABLES ENQ = ENQ.



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