cancel
Showing results for 
Search instead for 
Did you mean: 

Error in PA initialization /SAPAPO/TS_PAREA_INITIALIZE

Former Member
0 Kudos

Hello Experts,

We are facing an error while initializing the planning area. Error message is "Error for COM routine using application program (return code 6)". Message ID /SAPAPO/OM102.

Also there is a message "Key already exists".

Request you to help us out with the root cause and the resolution. Thanks.

Regards,

Chandan

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

Please execute the following program with SE38 for consitency check.

For example It might be we have same internal key for 2 CVCs due to which it gives the above error some times.

The following report will provide you, if you have any consistency isue.

/sapapo/ts_pstru_cons_check Consistency check

/sapapo/ts_lcm_plob_delta_sync Consistency check

Thanks

Amol

satish_waghmare3
Active Contributor
0 Kudos

Hi

Try running below reports (SE38) programs,

/SAPAPO/TS_PSTRU_CONS_CHECK - Consistency Check for MPOS.

/SAPAPO/TS_LCM_PLOB_DELTA_SYNC - Adjust Time Series for MPOS. This we would run essentially after creating CVCs.

/SAPAPO/TS_LCM_REORG - To check LiveCache time series Master Data

Transaction - /SAPAPO/OM17 - Consistency Check for DP Time Series

If not solved, Take a dump of all ur CVCs into FlatFile.

/SAPAPO/TS_PAREA_DE_INITIALIZE - To deinitalize planning area. Then

/SAPAPO/TS_PSTRU_CONTENT_DEL - To delete Conents from MPOS. It will delete all the CVCs.

Generate the CVCs from the Flatfile.

/SAPAPO/TS_PAREA_INITIALIZE Planning Area InitializationInitialize the PA

Run above Cons Check for MPOS and PA.

If all is well, then reload the data from backup.

Thanks

Satish Waghmare

Former Member
0 Kudos

Hi,

Please check SAP Notes 771764

Regards,

nandha

Former Member
0 Kudos

Hello Nandha,

Thanks for the reply.

Actually the planning area we are trying to initialize is a DP Planning area and we are not using parallel processing profiles while initializing. The relevant note is pertaining to SNP PA.

Please suggest.

Regards,

Chandan Dubey

Former Member
0 Kudos

You can also check notes 852297.

Thanks,

nandha

Former Member
0 Kudos

Hi Nandha,

Many thanks for the Note suggested but this note is already implemented as part of the Support Pack implemented in our system. Could you please suggest another note to address this.

Many thanks in Advance.

Regards,

chandan

Former Member
0 Kudos

Hi,

Delete the old Time series and create the time series again ,after creation run the /SAPAPO/TSCONS .

Regards,

MJ