Skip to Content

Change of Time Bucket Profile within Planning Book - Not working

Hello All,

This is regarding an issue which is preventing change of Time Bucket profile in DP(& also SNP) Planning books. We are in SAP SCM 7.0 EHP3. I understand as per Standard APO, it is possible to change "Time Bucket Profile" when "Period Structure" button is clicked in planning book(refer below screenshot). However it is not working in our APO system. Ideally it is expected to have this functionality working by default. We want to fix this issue as users want to change time bucket profile within pbook (Example - Month to Week or Week to Month)

I know when this button is clicked, system can carry out an authorization check for the “C_APO_FUN” authorization object and the “S_TIMEB or C_TIMEB” function, Parameter Name T_TBID. Since I have SAP_ALL authorization, I do not think this is related to authorization. I have verified above objects with security expert and confirmed that there is no security/authorization related issue. We also tried the system trace option, but it did not help.

As per my understanding, there is no special configuration which we do to activate or deactivate this functionality of changing time bucket profile.

Appreciate any help/input in this regard.

Thank you

Satish Waghmare

1.jpg (45.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    Dec 18, 2014 at 04:58 AM


    It's hard to make any guess at this time. I suggest you to set a break point at function module /SAPAPO/SDP_TB_F4_FOR_PAREA, and then start the process (pushing the period structure button).
    Inside this FM, all available TB profiles will be read into internal table LT_SDPTB[] after FM

    '/SAPAPO/SDP_TB_READ' is called.
    Then it will check these TB profiles one by one.
    You can check whether the TB profiles are read correctly first, and then check whether they're filtered out afterwards.
    If this FM is OK, you can go out of the FM and then debug further.

    Best Regards,

    Add comment
    10|10000 characters needed characters exceeded

    • Thank you Ada.

      We have debugged the function module given by you.

      We have implemented User Exit EXIT_/SAPAPO/SAPLMCPR_015 which is called inside the FM /SAPAPO/MCP_PERMISSION_CHECK2.

      This exit is used to have an authorization check.

      A small code change is required to achieve the desired functionality.

      Thank you

      Satish Waghmare

  • Dec 16, 2014 at 04:41 AM

    Any inputs please...Please let me know if above details are not clear enough.

    Thanks in advance

    Satish Waghmare

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Satish Waghmare


      One last question: I assume you are getting these symptoms in your Prod system. Do you also get these same symptoms in your Dev system?

      Expert Ada has given you some good ideas to begin to isolate the problem, but before launching into debug sessions, you might first want to try the simplest fixes. They won't hurt anything, and once in a while they may actually help. I usually execute these before I deep dive into any DP/SNP problem:

      1. Check/repair consistency of the DP Planning Area Time Series - Tcode /SAPAPO/TSCONS

      2. Check/repair consistency of the SNP PA Time series - Tcode /SAPAPO/TSLCREORGSNP

      3. Check consistency of the Selection IDs - Report /SAPAPO/MCPSH_GEN_SELTAB_CHECK

      4. Check consistency of the Planning Books - Report /SAPAPO/ADMIN_MVIEW_CONS_CHECK

      5. Reinitialize ALL Macros for the affected books - Tcode /SAPAPO/ADVM

      Less likely (but again, can't hurt)

      6, Check/repair consistency of the PLOBS for the DP PAs - Tcode /SAPAPO/STRUCONS


      Assuming these standard checks/repairs don't help, and assuming you get the same results in an unlocked system (dev) as you get in a locked system (prod), you can, as suggested earlier, start to debug. However, in my opinion, this is standard functionality, and it should work. I personally would be more inclined to raise a message with SAP than spend time in debugging.

      Best Regards,


  • Dec 24, 2014 at 05:38 AM

    Hello Satish,

    Please check Enhancement APODM015 FM EXIT_/SAPAPO/SAPLMCPR_015 is activated.

    Also check your user ID has the user-specific parameter /SAPAPO/SDP_DATLO (Local Date for Start Period) set to 'X'.

    Best Regards,


    Add comment
    10|10000 characters needed characters exceeded