SAP Note 782558 - BW: Changing extraction format to other than daily

Component : Portfolio Management - Portfolio Management

Solution : https://service.sap.com/sap/support/notes/782558 (SAP Service marketplace login required)

Key words :
hours worked        call method cl_rpm_capacity_manager=>convert_format          exporting {   replace \            iv_format_to     = cl_rpm_capacity_manager=>sc_daily_break            iv_format_to     = <format_type> }   replace             iv_unit_to       = cl_rpm_co=>sc_hoursworked_unit            iv_unit_to       = sv_global_unit            is_input_data    = ls_relate            iv_begda         = ls_relate_int-begda            iv_endda         = ls_relate_int-endda {   replace \             it_periods       =            it_periods       = lt_periods }   replace             iv_new_intervals =          importing            et_cap_data      = lt_capacity            ev_rc            = lv_rc            ev_msg           = lv_msg, }   insert          call method cl_rpm_capacity_manager=>convert_format            exporting {   replace \              iv_format_to  = cl_rpm_capacity_manager=>sc_daily_breakd              iv_format_to  = <format_type> }   replace               iv_unit_to    = cl_rpm_co=>sc_hoursworked_unit              iv_unit_to    = sv_global_unit              is_input_data = ls_capacity              iv_begda      = ls_role_avl-begda              iv_endda      = ls_role_avl-endda {   insert              it_periods    = lt_periods }   insert            importing              et_cap_data   = lt_daily_bkdown              ev_rc         = lv_rc              ev_msg        = lv_msg, }   insert {   delete \        call method cl_rpm_capacity_manager=>get_interval_availability \          exporting \            iv_partner    = ls_rpm_bupa_0000-partner \            iv_begda      = lv_begda \            iv_endda      = lv_endda \            iv_format_to  = cl_rpm_capacity_manager=>sc_daily_breakdow \            iv_unit_to    = sv_global_unit \          importing \            et_avl_daytab = lt_daily_bkdown, call method cl_rpm_capacity_manager=>get_availability_of_multi_bps            exporting              it_resources    = lt_resources              it_periods      = lt_periods              iv_format_to    = <format_type>              iv_unit_to      = sv_global_unit            importing              et_availability = lt_avail, call method cl_rpm_capacity_manager=>get_period_table            exporting              iv_format  = <format_type>              iv_begda   = lv_begda              iv_endda   = lv_endda               iv_day_limit = cl_rpm_co=>sc_true            importing              et_periods = lt_periods, call method cl_rpm_capacity_manager=>get_period_table          exporting            iv_format  = <format_type>            iv_begda   = ls_relate_int-begda            iv_endda   = ls_relate_int-endda          importing            et_periods = lt_periods, call method cl_rpm_capacity_manager=>get_period_table            exporting              iv_format  = <format_type>              iv_begda   = ls_role_avl-begda              iv_endda   = ls_role_avl-endda            importing              et_periods = lt_periods, call method cl_rpm_person=>get_related_ids              exporting                iv_partner     = lv_bupa              importing                ev_employee_id = lv_employee_id, describe table ls_relate_int-rpm_relate_alloc lines sy-tfill, ls_relate_int-endda = ls_alloc_int-endda

Related Notes :

761983SAP xRPM 2.0 Support Package 4 Corrections
731793SAP xRPM 2.0 Support Package 3 Corrections