SAP Reports / Programs | Personnel Management | E-Recruiting(PA-ER) SAP PA

RCF_UPDATE_DOCUMENT_ATTRIBUTES SAP ABAP Report - Definition and Updating of Document Attributes







RCF_UPDATE_DOCUMENT_ATTRIBUTES is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The aim of this report is to include four new attributes when indexing documents by TREX...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 RCF_UPDATE_DOCUMENT_ATTRIBUTES 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

OO_RCF_UPD_DOC_ATTRB - Document Attribute Index Category


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


Text pool values


Title: Definition and Updating of Document Attributes
Text Symbol: 001 = Document Attributes Were Updated. Check Entries in Application Log (Transaction SLG1).
Text Symbol: 002 = Errors Occurred for Following Documents:
Text Symbol: 003 = Document
Text Symbol: 004 = Check Entries in Application Log (Transaction SLG1).
Text Symbol: 005 = No Attribute Definition


INCLUDES used within this REPORT RCF_UPDATE_DOCUMENT_ATTRIBUTES

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:

HR_RCF_CHECK_SEARCH_JOB_STATUS call function 'HR_RCF_CHECK_SEARCH_JOB_STATUS' importing ev_period_service_is_active = lv_ps_active ev_recrate_sp_job_is_active = lv_rsp_active.

SDOK_GET_IDXCAT_FROM_DOCUSPC call function 'SDOK_GET_IDXCAT_FROM_DOCUSPC' exporting docuspace = 'HR_KW' x_search = 'X' importing idxcat_info = ls_idxcat_info exceptions no_catid = 1 others = 2.

SRET_IDXCAT_READ call function 'SRET_IDXCAT_READ' exporting catid = ls_idxcat_info-catid importing catinfo = ls_cat_info exceptions catid_unknown = 1 idxcat_is_inactive = 2 xerror = 3 others = 4.

HR_RCF_RETRIEVE_RFC_DEST call function 'HR_RCF_RETRIEVE_RFC_DEST' exporting iv_ssr_id = ls_cat_info-srsvrid importing ev_rfc_destination = lv_rfcdest exceptions no_rfc_dest = 1 others = 2.

TREX_EXT_LIST_ATTR_DEFINITIONS call function 'TREX_EXT_LIST_ATTR_DEFINITIONS' exporting i_index_id = lv_index_id i_rfc_destination = lv_rfcdest importing * e_return_code = * e_return_text = e_attribute_definitions = lt_exist_attr_definitions exceptions conversion_error = 1 error = 2 others = 3.

TREX_EXT_DEFINE_ATTRIBUTE call function 'TREX_EXT_DEFINE_ATTRIBUTE' exporting i_index_id = lv_index_id i_rfc_destination = lv_rfcdest * i_indexserver_location = i_attribute_definitions = lt_attribute_definitions * importing * e_return_code = * e_return_text = exceptions conversion_error = 1 error = 2 others = 3.

SDOK_PHIOS_PROPERTIES_GET call function 'SDOK_PHIOS_PROPERTIES_GET' * exporting * x_suppress_sys_prop = * x_pc_properties_only = * x_external_format = * client = sy-mandt tables object_list = lt_phio_objects properties_request = lt_req_props properties = lt_props.

TREX_EXT_UPDATE_DOC_ATTRIBUTES call function 'TREX_EXT_UPDATE_DOC_ATTRIBUTES' exporting i_index_id = lv_index_id i_rfc_destination = lv_rfcdest * i_language = '' i_doc_attr = lt_doc_attr importing * e_return_code = * e_return_text = e_return_error_doc = lt_error_docs_tmp * e_component_runtime = exceptions conversion_error = 1 error = 2 others = 3.

TREX_EXT_GET_QUEUES call function 'TREX_EXT_GET_QUEUES' exporting i_indexes = lt_index_ids i_rfc_destination = lv_rfcdest * i_queueserver_location = * i_namespace = '' importing e_queue_state_return = lt_queue_state * e_return_code = * e_return_text = exceptions conversion_error = 1 error = 2 others = 3.

TREX_EXT_DELETE_ATTRIBUTE call function 'TREX_EXT_DELETE_ATTRIBUTE' exporting i_index_id = lv_index_id i_attr_name = ls_trex_attribute-attr_name i_rfc_destination = lv_rfcdest * importing * e_return_code = * e_return_text = exceptions conversion_error = 1 error = 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 RCF_UPDATE_DOCUMENT_ATTRIBUTES or its description.