SAP Reports / Programs | Personnel Time Management | Shift Planning(PT-SP) SAP PT

RHPSOLL_DEL SAP ABAP Report - Undo Completed Target Plan







RHPSOLL_DEL is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report allows you to delete completed target plans for one or more employees for any specified period...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 RHPSOLL_DEL 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

PP6C - Undo Completed Target Plan


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 RHPSOLL_DEL. "Basic submit
SUBMIT RHPSOLL_DEL AND RETURN. "Return to original report after report execution complete
SUBMIT RHPSOLL_DEL 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: PCHSEARK = Search term
Selection Text: PCHOBJID = Object ID
Title: Undo Completed Target Plan
Text Symbol: SWT = Choose entry object type
Text Symbol: R02 = Personnel no.
Text Symbol: OTY = Object Type
Text Symbol: ORG = Search for
Text Symbol: DEL = Undo completed target plan
Text Symbol: DAY = Key date: &
Text Symbol: DAT = Selection period: & - &
Text Symbol: 208 = To
Text Symbol: 207 = From
Text Symbol: 206 = Target
Text Symbol: 205 = Group
Text Symbol: 204 = To
Text Symbol: 203 = Frm
Text Symbol: 107 = Working time
Text Symbol: 106 = Abbr.
Text Symbol: 105 = Shift
Text Symbol: 103 = Planned date
Text Symbol: 003 = Are you sure you want to undo the completed target plan from & to &?
Text Symbol: 002 = Cancel
Text Symbol: 001 = Yes


INCLUDES used within this REPORT RHPSOLL_DEL

INCLUDE MAKROS.
INCLUDE RHXMACRO.
INCLUDE FH5AH_SET_RPTIME_RECALCULATF01. "XQI 1378666


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:

RH_INTEGRATION_CHECK CALL FUNCTION 'RH_INTEGRATION_CHECK' IMPORTING integrated_plvar = l_plvar.

RH_MACO CALL FUNCTION 'RH_MACO' EXPORTING seark = pchseark * plvar = '01' "L9CK046009 plvar = l_plvar "L9CK046009 otype = objtype set_mode = 'X' TABLES sel_objects = sel_obj_tab EXCEPTIONS f15 = 1 wrong_condition = 2 nothing_found = 3 OTHERS = 4.

RH_STRU_AUTH_MAINT_CHECK CALL FUNCTION 'RH_STRU_AUTH_MAINT_CHECK' EXPORTING fcode = 'AEND' plvar = l_plvar otype = objtype objid = pchobjid-low infty = '1000' * SUBTY = ' ' * ISTAT = '1' begda = psolbegd endda = psolendd * SCLAS = ' ' * SOBID = ' ' EXCEPTIONS no_stru_authority_objid = 1 no_base_authority = 2 no_stru_authority_sobid = 3 no_hyper_authority = 4 OTHERS = 5.

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING * plvar = '01' "L9CK046009 plvar = l_plvar "L9CK046009 otype = objtype objid = objid begda = psolbegd endda = psolendd IMPORTING short = sname stext = fname EXCEPTIONS not_found = 1 OTHERS = 2.

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING * plvar = '01' "L9CK046009 plvar = l_plvar "L9CK046009 otype = objtype objid = objid begda = psolbegd endda = psolendd IMPORTING short = sname stext = fname EXCEPTIONS not_found = 1 OTHERS = 2.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = dynpro_fields EXCEPTIONS OTHERS.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'OTYPE' dynpprog = dynprog dynpnr = dynnr dynprofield = 'OBJTYPE' window_title = window_title value_org = 'S' TABLES value_tab = value_tab EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-del text_question = popup_text text_button_1 = 'Löschen'(001) icon_button_1 = 'ICON_DELETE' text_button_2 = 'Abbrechen'(002) icon_button_2 = 'ICON_INCOMPLETE' default_button = '2' display_cancel_button = ' ' IMPORTING answer = answer.

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING * plvar = '01' "L9CK046009 plvar = l_plvar "L9CK046009 otype = otype objid = objid begda = psolbegd endda = psolendd IMPORTING stext = full_name EXCEPTIONS not_found = 1 OTHERS = 2.

RHSPP_CDOC_PSOLL_INIT CALL FUNCTION 'RHSPP_CDOC_PSOLL_INIT'.

RHSPP_CDOC_PSOLL_INIT CALL FUNCTION 'RHSPP_CDOC_PSOLL_INIT'.

RHSPP_CDOC_PSOLL_WRITE CALL FUNCTION 'RHSPP_CDOC_PSOLL_WRITE' EXPORTING im_psoll = _psoll im_action = indicator. "D=Delete, U=Insert



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