SAP Reports / Programs | Personnel Management | Enterprise Compensation Management | Long-Term Incentives(PA-EC-LT) SAP PA

RHECM_CONVERT_STOCK_UNIT_M01 SAP ABAP INCLUDE - Main program of report RHECM_CONVERT_STOCK_UNIT







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


Text pool values


Title: Main program of report RHECM_CONVERT_STOCK_UNIT


INCLUDES used within this REPORT RHECM_CONVERT_STOCK_UNIT_M01

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_ECM_INITIALIZE_BUFFER CALL FUNCTION 'HR_ECM_INITIALIZE_BUFFER' EXPORTING message_handler = pernr_message_handler.

HR_ECM_ENQUEUE_PERNR CALL FUNCTION 'HR_ECM_ENQUEUE_PERNR' EXPORTING pernr = peras-pernr message_handler = pernr_message_handler IMPORTING is_ok = is_ok.

HR_ECM_CONVERT_STOCK_UNIT CALL FUNCTION 'HR_ECM_CONVERT_STOCK_UNIT' EXPORTING stkfr = stkfr stkto = stkto key_date = date p0761 = i0761 message_handler = pernr_message_handler IMPORTING p0761_converted = p0761_converted is_ok = is_ok.

HR_ECM_ADD_MESSAGE CALL FUNCTION 'HR_ECM_ADD_MESSAGE' EXPORTING message_handler = pernr_message_handler msgty = success_msg msgid = hrecm00lti msgno = '041' msgv1 = wa_p0761-objps msgv2 = wa_p0761-cplan.

HR_ECM_ADD_MESSAGE CALL FUNCTION 'HR_ECM_ADD_MESSAGE' EXPORTING message_handler = pernr_message_handler msgty = success_msg msgid = hrecm00lti msgno = '051' msgv1 = wa_p0761-objps msgv2 = wa_p0761-cplan.

HR_ECM_FLUSH_INFOTYPE CALL FUNCTION 'HR_ECM_FLUSH_INFOTYPE' EXPORTING nocommit = false message_handler = pernr_message_handler IMPORTING is_ok = is_ok.

HR_ECM_DEQUEUE_PERNR CALL FUNCTION 'HR_ECM_DEQUEUE_PERNR' EXPORTING pernr = peras-pernr message_handler = pernr_message_handler IMPORTING is_ok = is_ok.

HR_ECM_MERGE_OBJECT_MESSAGES CALL FUNCTION 'HR_ECM_MERGE_OBJECT_MESSAGES' EXPORTING object_key = peras-pernr object_message_handler = pernr_message_handler collect_message_handler = collect_message_handler.

HR_ECM_SAVE_OBJECT_MESSAGES CALL FUNCTION 'HR_ECM_SAVE_OBJECT_MESSAGES' EXPORTING message_handler = collect_message_handler repid = repid.

HR_ECM_SHOW_OBJECT_MESSAGES CALL FUNCTION 'HR_ECM_SHOW_OBJECT_MESSAGES' EXPORTING title = text-t01 tree_text = text-t02 message_handler = collect_message_handler object_field = 'PERNR'.



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