SAP Reports / Programs

POCR_LOG_MXML_EXPORT SAP ABAP Report - Process Log Extraction as MXML







POCR_LOG_MXML_EXPORT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report allows users to import Process Observer (POB) logs in an MXML format and filter them based on user requirements...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter POCR_LOG_MXML_EXPORT 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

POC_LOG_MXML_EXPORT - Process Log Extraction as MXML


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 POCR_LOG_MXML_EXPORT. "Basic submit
SUBMIT POCR_LOG_MXML_EXPORT AND RETURN. "Return to original report after report execution complete
SUBMIT POCR_LOG_MXML_EXPORT 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: FBACKEND = Save on app. server
Selection Text: FBOR = Export BOR Attributes
Selection Text: FDAT_E = End Date
Selection Text: FDAT_S = Start Date
Selection Text: FDELUSER = Delete User Information
Selection Text: FLANGU = Export Language
Selection Text: FMAXSIZE = Maximum number of instances
Selection Text: FPRCEND = Export only finished Processes
Selection Text: FPRCTY = Process Type
Selection Text: FPRCV = Process Version
Selection Text: FTIM_E = End Time
Selection Text: FTIM_S = Start Time
Selection Text: FTZ = Time Zone
Title: Process Log Extraction as MXML
Text Symbol: ATT = Process
Text Symbol: PAR = Parameter
Text Symbol: SEL = Time Interval for Export


INCLUDES used within this REPORT POCR_LOG_MXML_EXPORT

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:

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'poc_s_prc_in_ext' * FIELDNAME = ' ' langu = flangu * LFIELDNAME = ' ' * ALL_TYPES = ' ' * GROUP_NAMES = ' ' * UCLEN = * DO_NOT_WRITE = ' ' * IMPORTING * X030L_WA = * DDOBJTYPE = * DFIES_WA = * LINES_DESCR = TABLES dfies_tab = lt_inittab_prc * FIXED_VALUES = EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'poc_s_prc_step_ext' * FIELDNAME = ' ' langu = flangu * LFIELDNAME = ' ' * ALL_TYPES = ' ' * GROUP_NAMES = ' ' * UCLEN = * DO_NOT_WRITE = ' ' * IMPORTING * X030L_WA = * DDOBJTYPE = * DFIES_WA = * LINES_DESCR = TABLES dfies_tab = lt_inittab_act * FIXED_VALUES = EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

DDUT_DOMVALUE_TEXT_GET CALL FUNCTION 'DDUT_DOMVALUE_TEXT_GET' EXPORTING name = 'POC_PROCESS_SYSTEM_STATUS' VALUE = lv_domvalue-domvalue_l langu = flangu texts_only = 'X' IMPORTING dd07v_wa = lv_domvalue EXCEPTIONS not_found = 1 illegal_input = 2 OTHERS = 3.

DDUT_DOMVALUE_TEXT_GET CALL FUNCTION 'DDUT_DOMVALUE_TEXT_GET' EXPORTING name = 'POC_CBE_CATEGORY' VALUE = lv_domvalue-domvalue_l langu = flangu texts_only = 'X' IMPORTING dd07v_wa = lv_domvalue EXCEPTIONS not_found = 1 illegal_input = 2 OTHERS = 3.

SWO_CREATE CALL FUNCTION 'SWO_CREATE' EXPORTING objtype = lv_bor_type objkey = lv_bor_id * LOGICAL_SYSTEM = ' ' IMPORTING object = lv_object RETURN = ls_swo_return EXCEPTIONS no_remote_objects = 1 OTHERS = 2.

SWO_QUERY_ATTRIBUTES CALL FUNCTION 'SWO_QUERY_ATTRIBUTES' EXPORTING LANGUAGE = flangu objtype = lv_bor_type * TEXT = ' ' IMPORTING RETURN = ls_swo_return TABLES info = lt_bor_attr.

SWO_INVOKE CALL FUNCTION 'SWO_INVOKE' EXPORTING access = 'G' object = lv_object verb = ls_bor_attr-attribute IMPORTING RETURN = ls_swo_return * verb = verb TABLES container = lt_container.

SWC_TABLE_GET CALL FUNCTION 'SWC_TABLE_GET' EXPORTING element = ls_bor_attr-attribute TABLES container = lt_container TABLE = lt_ref_obj EXCEPTIONS not_found = 8 is_null = 4 OTHERS = 1.

SWO_OBJECT_ID_GET CALL FUNCTION 'SWO_OBJECT_ID_GET' EXPORTING object = lo_ref_obj-handle IMPORTING * return = swo_%return objid = ls_ref_obj_key.

GUI_DOWNLOAD * CALL FUNCTION 'GUI_DOWNLOAD' * EXPORTING * filename = ld_fullpath * filetype = 'BIN' ** APPEND = 'X' ** write_field_separator = space ** WRITE_LF = space ** CONFIRM_OVERWRITE = 'X' ** REPLACEMENT = '' * TABLES * data_tab = lv_xml_tab * EXCEPTIONS * file_open_error = 1 * file_write_error = 2 * OTHERS = 3.

FILE_VALIDATE_NAME * CALL FUNCTION 'FILE_VALIDATE_NAME' * EXPORTING * CLIENT = sy-mandt * logical_filename = lv_logical_filename ** OPERATING_SYSTEM = SY-OPSYS ** PARAMETER_1 = ' ' ** PARAMETER_2 = ' ' ** PARAMETER_3 = ' ' ** WITH_FILE_EXTENSION = ' ' ** USE_BUFFER = ' ' ** ELIMINATE_BLANKS = 'X' ** IMPORTING ** VALIDATION_ACTIVE = VALIDATION_ACTIVE ** TS_ALIAS = TS_ALIAS * CHANGING * physical_filename = ld_path * EXCEPTIONS * logical_filename_not_found = 1 * validation_failed = 2 * OTHERS = 3.



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