SAP Reports / Programs | Cross-Application Components | European Monetary Union: Euro(CA-EUR) SAP CA

CNV_MBT_DOCU_CREATE SAP ABAP Report - Create, edit or view activity documentation







CNV_MBT_DOCU_CREATE is a standard Executable ABAP Report 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 CNV_MBT_DOCU_CREATE 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

CNV_MBT_DOCU - Maintain activity documentation


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


Text pool values


Selection Text: P_ACT_ID = Activity ID
Selection Text: P_CRE = Create document
Selection Text: P_CWR = Create with reference
Selection Text: P_DOC = Document ID
Selection Text: P_EDIT = Edit document
Selection Text: P_SHOW = Show document
Title: Create, edit or view activity documentation
Text Symbol: 001 = Do you want to set document
Text Symbol: 002 = Yes
Text Symbol: 003 = No
Text Symbol: 004 = Document ID
Text Symbol: 005 = as documentation for activity
Text Symbol: 016 = Templates


INCLUDES used within this REPORT CNV_MBT_DOCU_CREATE

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:

DDUT_DOMVALUES_GET CALL FUNCTION 'DDUT_DOMVALUES_GET' EXPORTING name = gc_domain langu = sy-langu texts_only = 'X' TABLES dd07v_tab = gt_doc_type EXCEPTIONS illegal_input = 1 OTHERS = 2.

POPUP_GET_SELECTION_FROM_LIST CALL FUNCTION 'POPUP_GET_SELECTION_FROM_LIST' EXPORTING display_only = ' ' table_name = 'CNVMBTDOCTEMPLSTRUCT' title_bar = 'Templates'(016) TABLES list = gt_cnvmbtdoctemplstruct functions = gs_func EXCEPTIONS no_tablefields_in_dictionary = 1 no_table_structure = 2 no_title_bar = 3 OTHERS = 4.

DOCU_COPY CALL FUNCTION 'DOCU_COPY' EXPORTING id = gv_dokhl-id langu = gv_dokhl-langu newobject = gv_dokhl-object object = gv_cnvmbtdoctempl-object_id state = gv_dokhl-dokstate typ = gv_dokhl-typ version = gv_dokhl-dokversion TABLES line = gt_line EXCEPTIONS OTHERS = 1.

DOCU_CALL CALL FUNCTION 'DOCU_CALL' EXPORTING displ = gv_document_display displ_mode = '1' id = 'TX' langu = sy-langu object = gv_dokhl-object extension_mode = 'X' suppress_edit = gv_document_display IMPORTING savetext = gv_saved_status EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = gv_q_text text_button_1 = text-002 text_button_2 = text-003 display_cancel_button = ' ' IMPORTING answer = gv_popup_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

DD_POPUP_TO_CONFIRM_CANCEL * CALL FUNCTION 'DD_POPUP_TO_CONFIRM_CANCEL' * EXPORTING * textline1 = text-002 * textline2 = text-003 * title = text-001 * start_column = 25 * start_row = 5 * defaultpos = 'C' * IMPORTING * answer = gv_popup_answer * 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 CNV_MBT_DOCU_CREATE or its description.