cancel
Showing results for 
Search instead for 
Did you mean: 

Error for COM routine using application program (return code 40.016)

Former Member
0 Kudos

Hi Experts

While executing Planning Book, I am facing the below errors. Can anyone kindly help me.

1. Error for COM routine using application program (return code 40.016)

2. Date is after end date of time buckets profile

3. Error reading data - Planning book cannot be processed further

Regards

Samurai

Accepted Solutions (0)

Answers (1)

Answers (1)

alok_jaiswal
Contributor
0 Kudos

Hi Samurai,

This error generally comes when your time bucket profile is short and data is there beyond the end date of time bucket profile.

To correct this, you can either run the program - /SAPAPO/TS_PAREA_INITIALIZE for the corresponding Planning area and extend the time period.

Other option is to go to /MSDP_ADMIN , select the planning area - right click -

Create Time series objects and execute it after giving the planning version and time range.

This should solve the problem. Hope it helps.

Regards,

Alok

Former Member
0 Kudos

Hi Alok,

I have done the same but getting the same error...

Regards

Santhosh

rupesh_brahmankar3
Active Contributor
0 Kudos

Hello Santosh,

Go to transaction /SAPAPO/OM10. Please enter the return code and press enter. In the next popup please navigate to the long text to see a detailed description.

Date is after end date of time buckets profile

Message no. /SAPAPO/OM_TS016

Please reinitialize planning area to future date range also run /SAPAPO/TS_LCM_REORG to do the consistency check.

Make sure transaction /SAPAPO/OM17 and report /SAPAPO/TS_LCM_REORG are used at a time when no processes are running on the system.

Please refer the discussion,

Best Regards,

R.Brahmankar