on ‎2021 Feb 11 7:49 AM
In planning board /SAPAPO/CDPS0 we have time scale to define the time series view. We have by default 2 scales provided by SAP. Is there any possibility of adding third scale in time scale editor ?
Request clarification before answering.
Hey
I know its late but still its better to have an answer than to wander.
yes , we can add new scale in DSPB and you will be amazed to know that we can add up to 6 scales but standard SAP has limited this to 2 scales.
You will have to create an enhancement implementation in include /SAPAPO/LCDPS_PRESENTATIONF02 , form ribbons_create . create an enhnacment at the end of this routine .
You can also default the scale .
Add the below code in your enhnacment.
PERFORM ribbon_line_create USING i_chart_id
bc_const-week_unit
g_ribbon_col_type_7_con
g_ribbon_col_type_8_con
g_ribbon_col_type_9_con.
IF g_use_def_rvals_flg IS INITIAL.
CALL FUNCTION '/SAPAPO/EINT_SETTINGS_GET'
IMPORTING
e_planning_table_prf = l_plt_prof
EXCEPTIONS
no_current_profile = 1
planningtab_profile_not_found = 2
OTHERS = 3.
IF sy-subrc = 1
OR sy-subrc = 2.
MESSAGE i002.
EXIT.
ENDIF.
PERFORM set_tbcr_attribs(saplbarc) USING g_screen_wa-winid
l_plt_prof-pltpro_id
l_plt_prof-help_id.
endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raghav
I believe you can default the calendar to week day by changing the parameter in below perform. In place of week_unit , use the relevant day_unit. Hope this helps.
PERFORM ribbon_line_create USING i_chart_id
bc_const-week_day
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We have achieved the requirement . thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 17 | |
| 16 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.