SAP Reports / Programs | Personnel Management | Talent Management(PA-TM) SAP PA

RPTMC_TEST_DATA_RETRIEVAL SAP ABAP Report - Test Data Retrieval







RPTMC_TEST_DATA_RETRIEVAL is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this report to test the Customizing settings defined for the following data retrieval components: Configurations Fields from the field selection catalog Business Add-In (BAdI) fields You can test which fields are included in the short profile of a particular talent or all talents discussed in a talent review meeting, and which field contents are displayed...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 RPTMC_TEST_DATA_RETRIEVAL 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 RPTMC_TEST_DATA_RETRIEVAL. "Basic submit
SUBMIT RPTMC_TEST_DATA_RETRIEVAL AND RETURN. "Return to original report after report execution complete
SUBMIT RPTMC_TEST_DATA_RETRIEVAL VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Test Data Retrieval
Text Symbol: SCK = Off
Text Symbol: SCH = Configuration ID
Text Symbol: SCG = Data Fields
Text Symbol: SCF = Authorization Check
Text Symbol: SCE = BAdI Field
Text Symbol: SCD = Configuration ID
Text Symbol: SCC = BAdI Category
Text Symbol: SCB = Field Name
Text Symbol: SCA = Configuration Type
Text Symbol: SC9 = Date
Text Symbol: SC8 = Objects
Text Symbol: SC7 = Object Type
Text Symbol: SC6 = Category
Text Symbol: SC5 = Agenda Topic
Text Symbol: SC4 = Field Information
Text Symbol: SC3 = Read Talent Review Meeting Data
Text Symbol: SC2 = Manual Entry
Text Symbol: SC1 = Talent Review Meeting
Text Symbol: S01 = Data Collection
Text Symbol: M28 = Error in the search help for the configuration
Text Symbol: M24 = The specified filter configuration only exists for this object type:
Text Symbol: SCL = On
Text Symbol: SCP = No Authorization Check
Text Symbol: SCQ = Context Parameter
Text Symbol: SCR = Talent Review Meeting
Text Symbol: SP1 = Parameter Name 1
Text Symbol: SP2 = Parameter Name 2
Text Symbol: SP3 = Parameter Name 3
Text Symbol: SP4 = Parameter Name 4
Text Symbol: SP5 = Parameter Name 5
Text Symbol: SV1 = Value 1
Text Symbol: SV2 = Value 2
Text Symbol: SV3 = Value 3
Text Symbol: SV4 = Value 4
Text Symbol: SV5 = Value 5
Text Symbol: T01 = Object ID
Text Symbol: T02 = Field Information





Text Symbol: T03 = Table Values
Text Symbol: T04 = Object description
Text Symbol: T05 = Object
Text Symbol: T06 = Field
Text Symbol: T07 = Configuration Information
Text Symbol: Z01 = Refresh
Text Symbol: F17 = Template Description
Text Symbol: F16 = Template
Text Symbol: F15 = End Date
Text Symbol: F14 = Start Date
Text Symbol: F13 = BAdI Field Name
Text Symbol: F12 = BAdI Category
Text Symbol: F11 = Field Description
Text Symbol: F09 = Table
Text Symbol: F08 = Start
Text Symbol: F06 = Table Layout
Text Symbol: F05 = Group Start
Text Symbol: F04 = Group Heading
Text Symbol: F03 = Field Label from Configuration
Text Symbol: F01 = Field Name
Text Symbol: A08 = ShrtProf. for SideBySide Comp.
Text Symbol: A07 = Short Profile of Talents
Text Symbol: A06 = Short Profile of Managers
Text Symbol: A05 = Short Profile of Participants
Text Symbol: A04 = Talent List in Presentation
Text Symbol: A03 = Grid Filter
Text Symbol: A02 = Grid Field Zoom List
Text Symbol: A01 = Business Card
Text Symbol: M23 = The specified configuration only exists for this object type:
Text Symbol: M22 = The object type of the selected configuration does not correspond to the object type specified on the selection screen:
Text Symbol: M21 = This filter configuration does not exist:
Text Symbol: M20 = This configuration does not exist:
Text Symbol: M15 = There are no talent review meetings in your system
Text Symbol: M14 = Enter a date
Text Symbol: M10 = No configuration has been maintained for this parameter:
Text Symbol: M09 = The specified filter configuration does not contain any fields:
Text Symbol: M08 = Specify a valid BAdI category
Text Symbol: M07 = The specified configuration does not contain any fields:
Text Symbol: M06 = Specify at least one valid BAdI field





Text Symbol: M05 = Specify at least one valid field
Text Symbol: M03 = Specify a valid configuration
Text Symbol: M02 = Specify a Talent Review Meeting
Text Symbol: M01 = Specify a category
Text Symbol: I01 = BAdI Field
Text Symbol: F23 = Field Label from BAdI
Text Symbol: F22 = External Element ID
Text Symbol: F21 = External Element Type
Text Symbol: F20 = Element Description
Text Symbol: F19 = Element ID
Text Symbol: F18 = Elem. Type


INCLUDES used within this REPORT RPTMC_TEST_DATA_RETRIEVAL

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:

DYNP_VALUES_UPDATE call function 'DYNP_VALUES_UPDATE' exporting dyname = sy-repid dynumb = sy-dynnr tables dynpfields = lt_dynpro_fields exceptions invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 undefind_error = 7 others = 8.

VRM_SET_VALUES call function 'VRM_SET_VALUES' exporting id = 'P_AGENDA' values = lt_vrm_values exceptions id_illegal_name = 1 others = 2.

RH_READ_OBJECT_SET call function 'RH_READ_OBJECT_SET' exporting objid_tab = lt_objids check_stru_auth = abap_false importing text_tab = lt_object_texts exceptions no_objects_supplied = 1 nothing_found = 2 others = 3. "#EC FB_RC (not interested, only for debugging)

RH_GET_ACTIVE_WF_PLVAR call function 'RH_GET_ACTIVE_WF_PLVAR' importing act_plvar = gv_plvar.

ICON_CREATE call function 'ICON_CREATE' exporting name = icon_refresh text = space info = text-z01 importing result = refresh exceptions others = 0.

GET_ACCESSIBILITY_MODE call function 'GET_ACCESSIBILITY_MODE' importing accessibility = gv_accessibility exceptions its_not_available = 1 others = 2.

VRM_SET_VALUES call function 'VRM_SET_VALUES' exporting id = 'P_CAT' values = lt_vrm_values exceptions id_illegal_name = 1 others = 2.

RH_AUTHORITY_CHECK_OFF call function 'RH_AUTHORITY_CHECK_OFF'. "switch off authorization check for following call

RH_OBJID_REQUEST call function 'RH_OBJID_REQUEST' exporting plvar = gv_plvar otype = 'RM' importing sel_object = ls_selected_object exceptions cancelled = 1 wrong_condition = 2 nothing_found = 3 internal_error = 4 illegal_mode = 5 others = 6.

DYNP_VALUES_UPDATE call function 'DYNP_VALUES_UPDATE' exporting dyname = sy-repid dynumb = '1000' tables dynpfields = lt_dynpfields exceptions invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 undefind_error = 7 others = 8.

RH_AUTHORITY_CHECK_OFF call function 'RH_AUTHORITY_CHECK_OFF'. "switch off authorization check for following call

RS_SELECTIONSCREEN_READ call function 'RS_SELECTIONSCREEN_READ' exporting program = sy-repid tables fieldvalues = lt_fieldvalues.

RH_OBJID_REQUEST



call function 'RH_OBJID_REQUEST' exporting plvar = gv_plvar otype = p_otype importing sel_object = ls_selected_object exceptions cancelled = 1 wrong_condition = 2 nothing_found = 3 internal_error = 4 illegal_mode = 5 others = 6.

F4IF_INT_TABLE_VALUE_REQUEST call function 'F4IF_INT_TABLE_VALUE_REQUEST' exporting retfield = 'CATEGORY' dynpprog = sy-cprog dynpnr = '1000' dynprofield = 'P_BADICA' * stepl = 0 * window_title = text-100 value_org = 'S' tables value_tab = lt_values exceptions parameter_error = 1 no_values_found = 2 others = 3. "#EC FB_RC (not interested, only for debugging)

DYNP_VALUES_READ call function 'DYNP_VALUES_READ' exporting dyname = sy-cprog dynumb = '1000' translate_to_upper = 'X' tables dynpfields = lt_dynpfield exceptions invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 double_conversion = 9 others = 10.

F4IF_INT_TABLE_VALUE_REQUEST call function 'F4IF_INT_TABLE_VALUE_REQUEST' exporting ddic_structure = 'HRTMC_S_DR_FIELD_INFO' retfield = 'FIELD_NAME' dynpprog = sy-cprog dynpnr = '1000' dynprofield = 'S_BADIFL-LOW' * stepl = 0 * window_title = text-100 value_org = 'S' tables value_tab = lt_value exceptions parameter_error = 1 no_values_found = 2 others = 3. "#EC FB_RC (not interested, only for debugging)

F4IF_GET_SHLP_DESCR call function 'F4IF_GET_SHLP_DESCR' exporting shlpname = 'HRTMC_DR_CONFIG_ID' importing shlp = ls_shlp_descr.

RS_SELECTIONSCREEN_READ call function 'RS_SELECTIONSCREEN_READ' exporting program = sy-repid tables fieldvalues = lt_fieldvalues.

F4IF_START_VALUE_REQUEST call function 'F4IF_START_VALUE_REQUEST' exporting shlp = ls_shlp_descr * disponly = display_only importing rc = lv_return_code tables return_values = lt_return_values.

DYNP_VALUES_UPDATE call function 'DYNP_VALUES_UPDATE' exporting dyname = sy-cprog dynumb = '1000' tables dynpfields = lt_dynpfields exceptions invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 undefind_error = 7 others = 8. "#EC FB_RC (not interested, only for debugging)

BAL_LOG_CREATE call function 'BAL_LOG_CREATE' exporting i_s_log = ls_log_header importing e_log_handle = lv_log_handle exceptions log_header_inconsistent = 1 others = 2.

BAL_LOG_MSG_ADD call function 'BAL_LOG_MSG_ADD' exporting i_log_handle = lv_log_handle i_s_msg = ls_appl_log_message exceptions log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 others = 4.

BAL_DSP_PROFILE_POPUP_GET call function 'BAL_DSP_PROFILE_POPUP_GET' importing e_s_display_profile = ls_display_profile.

BAL_DSP_LOG_DISPLAY call function 'BAL_DSP_LOG_DISPLAY' exporting i_s_display_profile = ls_display_profile i_t_log_handle = lt_log_handles exceptions profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 others = 5.



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