SAP Reports / Programs

CFX_DEMO3 SAP ABAP Report - CFXDEMO3







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

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:

CFX_API_COLLABORATION_CREATE CALL FUNCTION 'CFX_API_COLLABORATION_CREATE' EXPORTING * I_TEMPLATE_ID = i_name = l_col_name i_description = l_col_desc * I_DEADLINE = * I_SCENARIO = 'collaboration' * I_IS_TEMPLATE = CFXA0_SC_FALSE IMPORTING es_fault = ls_fault e_faultstring = l_faultstring e_collaboration_id = l_col_id e_public_area_id = l_public_area_id e_root_folder_id = l_root_fol_id .

CFX_API_FOLDER_CREATE CALL FUNCTION 'CFX_API_FOLDER_CREATE' EXPORTING i_parent_folder_id = l_root_fol_id i_name = 'subfolder1' "#EC NOTEXT i_description = 'no description is a good description' IMPORTING es_fault = ls_fault e_faultstring = l_faultstring e_folder_id = l_subfolder1_id.

CFX_API_DOC_CREATE CALL FUNCTION 'CFX_API_DOC_CREATE' EXPORTING i_parent_folder_id = l_subfolder1_id * I_TYPE_ID = * I_TYPE_NAMESPACE = * I_CATEGORY_ID = * I_CATEGORY_NAMESPACE = i_name = 'document' "#EC NOTEXT i_description = 'document description' "#EC NOTEXT * I_MASTER = CFXA0_SC_TRUE * I_BACKEND_SYSTEM = i_doc_type = 'doc' "#EC NOTEXT IMPORTING es_fault = ls_fault e_faultstring = l_faultstring e_doc_id = l_doc_id.

CFX_API_STATUS_PROFILE_GETLIST CALL FUNCTION 'CFX_API_STATUS_PROFILE_GETLIST' IMPORTING es_fault = ls_fault e_faultstring = l_faultstring TABLES et_profile_list = lt_profiles.

CFX_API_STATUS_PROFILE_ASSIGN CALL FUNCTION 'CFX_API_STATUS_PROFILE_ASSIGN' EXPORTING i_profile_id = ls_profile-id i_object_id = l_col_id * I_ASSIGN_TO_CHILDREN = CFXA0_SC_TRUE IMPORTING * E_INITIAL_STATUS_ID = es_fault = ls_fault e_faultstring = l_faultstring.

CFX_API_OBJECT_STATUS_GET CALL FUNCTION 'CFX_API_OBJECT_STATUS_GET' EXPORTING i_object_id = l_doc_id IMPORTING e_status_id = l_status_id e_status_name = l_status_name * E_STATUS_DESCRIPTION = es_fault = ls_fault e_faultstring = l_faultstring TABLES et_possible_target_statuses = lt_pos_target_statuses.

CFX_API_OBJECT_STATUS_CHANGE CALL FUNCTION 'CFX_API_OBJECT_STATUS_CHANGE' EXPORTING i_object_id = l_doc_id i_status_id = ls_pos_target_status-target_status_id * I_NTF_SUBJECT = * I_NTF_COMMENT = IMPORTING es_fault = ls_fault e_faultstring = l_faultstring * TABLES * IT_RECIPIENTS = .



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