SAP Reports / Programs

PLM_FMEA_ARC_CHECK SAP ABAP Report - FMEA Archiving: Preprocessing Program







PLM_FMEA_ARC_CHECK 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 PLM_FMEA_ARC_CHECK 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 PLM_FMEA_ARC_CHECK. "Basic submit
SUBMIT PLM_FMEA_ARC_CHECK AND RETURN. "Return to original report after report execution complete
SUBMIT PLM_FMEA_ARC_CHECK 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: _OBJVA_3 = Object Value 3
Selection Text: _OBJVA_4 = Object Value 4
Selection Text: _OBJVA_5 = Object Value 5
Selection Text: _OBJVA_6 = Object Value 6
Selection Text: _OBJVA_7 = Object Value 7
Selection Text: _OBJVA_8 = Object Value 8
Selection Text: _OBJVA_9 = Object Value 9
Selection Text: P_PREPRD = D .
Selection Text: P_PRETST = D .
Selection Text: P_PROT = D .
Selection Text: P_PROT_O = D .
Selection Text: _AUTHGRP = D .
Selection Text: _CREA_BY = D .
Selection Text: _DATACF = D .
Selection Text: _DATEAC = D .
Selection Text: _DATECH = D .
Selection Text: _DATECR = D .
Selection Text: _DATEPL = D .
Selection Text: _DATPLF = D .
Selection Text: _EXT_ID = D .
Selection Text: _FMA_TYP = D .
Selection Text: _GROUP = D .
Selection Text: _SFIELD = D .
Selection Text: _OBJVA_2 = Object Value 2
Selection Text: _OBJVA_1 = Object Value 1
Title: FMEA Archiving: Preprocessing Program
Text Symbol: 001 = Object Can Be Archived
Text Symbol: 003 = Status "Completed" Inactive
Text Symbol: 004 = Residence Time Not Expired:
Text Symbol: 006 = FMEA Still Has Open Tasks
Text Symbol: 007 = FMEA Completed with Open Tasks
Text Symbol: 010 = &1% (&2 of &3) Data Records Have Been Processed
Text Symbol: 110 = FMEA Type
Text Symbol: 112 = Identification
Text Symbol: 113 = Search Field
Text Symbol: 114 = Grouping
Text Symbol: 122 = Created By
Text Symbol: 131 = Created On





Text Symbol: 132 = Last Changed On
Text Symbol: 135 = Scheduled Start Date
Text Symbol: 136 = Actual Start Date
Text Symbol: 137 = Planned End Date
Text Symbol: 138 = Actual End Date
Text Symbol: 192 = Authorization Group
Text Symbol: T01 = FMEA
Text Symbol: T02 = Restrictions
Text Symbol: T04 = FMEA Object


INCLUDES used within this REPORT PLM_FMEA_ARC_CHECK

INCLUDE PLM_AUDIT_OBTYPES.
INCLUDE PLM_FMEA_ARC_TOP.
INCLUDE PLM_FMEA_ARC_S01.
INCLUDE ARCH_PREPROC_PRG_STANDARD2.
INCLUDE PLM_FMEA_ARC_F01.


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:

PLM_AUDIT_OBJECTS_FETCH CALL FUNCTION 'PLM_AUDIT_OBJECTS_FETCH' EXPORTING iv_aud_objecttype = gv_aud_objecttype it_planstart_range = gt_planstart_range it_actualstart_range = gt_actualstart_range it_planfinish_range = gt_planfinish_range it_actualfinish_range = gt_actualfinish_range it_created_on_range = gt_created_on_range it_search_field_range = gt_searchfield_range it_created_by_range = gt_created_by_range it_grouping_range = gt_grouping_range it_external_id_range = gt_external_id_range it_auth_group_range = gt_auth_group_range * FMEA specific criteria iv_audit_type = gv_fmea_type it_audit_type_range = gt_audit_type_range it_audited_obj_complex = gt_audited_obj_complex TABLES e_project_guid_tab = gt_project_guids EXCEPTIONS OTHERS = 0.

ARCHIVE_PROTOCOL_INIT CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT' EXPORTING i_detailprotocol = p_prot.

CONVERSION_EXIT_PLMAM_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_PLMAM_OUTPUT' EXPORTING input = gv_project_guid IMPORTING output = gv_object_identifier.

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = gv_object_identifier i_text = 'Objekt kann archiviert werden'(001) i_msgtype = 1.

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = gv_object_identifier i_msgtype = 2 i_msgid = sy-msgid i_msgno = sy-msgno i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 i_msgv3 = sy-msgv3 i_msgv4 = sy-msgv4.

ARCHIVE_PROTOCOL_COLLECT CALL FUNCTION 'ARCHIVE_PROTOCOL_COLLECT' EXPORTING i_object = gv_object_identifier i_text = gv_detail_text i_msgtype = 2.

PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_text = '&1% (&2 von &3) Datensätzen verarbeitet'(010) i_processed = gv_objects_processed i_total = gv_total_object_number i_output_immediately = space IMPORTING e_progress_sent = gv_message_sent.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'. "for batch processing

PROGRESS_INDICATOR CALL FUNCTION 'PROGRESS_INDICATOR' EXPORTING i_text = '&1% (&2 von &3) Datensätzen verarbeitet'(010) i_processed = gv_objects_processed i_total = gv_total_object_number i_output_immediately = gc_x IMPORTING e_progress_sent = gv_message_sent.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'. "for batch processing

ARCHIVE_PROTOCOL_WRITE CALL FUNCTION 'ARCHIVE_PROTOCOL_WRITE'.

ENQUEUE_ENQ_CGPL_PROJECT





CALL FUNCTION 'ENQUEUE_ENQ_CGPL_PROJECT' EXPORTING application = co_appl-auditmanagement external_id = lv_external_id EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

CRM_STATUS_CHANGE_FOR_ACTIVITY CALL FUNCTION 'CRM_STATUS_CHANGE_FOR_ACTIVITY' EXPORTING * check_only TYPE xfeld bedeutet: nur Prüfungen durchführen check_only = ' ' "always space - s. above!

CRM_STATUS_CHANGE_FOR_ACTIVITY CALL FUNCTION 'CRM_STATUS_CHANGE_FOR_ACTIVITY' EXPORTING check_only = pv_pretst "check only when test run objnr = pv_project_guid vrgng = cl_plm_audit_status_management=>co_activity_archive IMPORTING activity_not_allowed = lv_activity_not_allowed error_occurred = lv_error_occured status_not_allowed = lv_status_not_allowed warning_occurred = lv_warning_occurred EXCEPTIONS activity_not_allowed = 1 object_not_found = 2 status_inconsistent = 3 status_not_allowed = 4 wrong_input = 5 warning_occured = 6 OTHERS = 7.



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