Skip to Content
avatar image
Former Member

BPC 10.1 Standard : copy comments from previous month

Hi,

Is it possible to customise the COPYCOMMENTS package so that the user only selects the target period and BPC automatically selects the prior period as the source? I have customised the package so that only the category (source and target are the same) and time (source and target are different) need to be selected which is e good start. But ideally I would like the user to only select the target period.

I have found this blog

https://blogs.sap.com/2013/01/06/customize-the-standard-sap-bpc-packages/ which has helped me but has not been able to provide an answer to my specific question.

Thanks,

Arnold

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Oct 09, 2017 at 01:00 PM

    No, it’s impossible to use any time operators in the dm advanced script. You are not able to generate prev month id. You can try to program some badi based on ujd_test_package and generate prev month id inside badi.

    P.S. You can also use VBA code to pass parameters to DM package - please read my blog: https://blogs.sap.com/2017/06/16/simple-vba-function-to-pass-parameters-to-dm-packages/

    VBA can calculate previous month :)

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 09, 2017 at 07:49 PM

    Hey Arnold,

    Unfortunately the only way is via ABAP. You can either create a custom logic process as described above, or create a custom process type based on BPCCOMS - Delete Comments (It's also used for copy comments). This new process type would refer to a custom class copy of

    CL_UJD_BPC_CLEAR_COMMENTS, where you'd change the source selection - Simply copy that class and change the method RUN.

    Cheers,

    Lucas

    Add comment
    10|10000 characters needed characters exceeded

    • You said that you never copy standard and then recommended a code based on standard...

      And following your logic, the alternative based on VBA may not work in case of upgrades in the add-in or in the back end process.. :D