cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime Error during Phase Start Data Selection

Former Member
0 Kudos

Hello Forums,

We are using TDMS (2006_1_700) to extract a year's worth data from one client into a new client on the same ERP EhP4 system.

All the systems - central, sender and receiver are at the same DMIS levels(SP16) and all necessary notes have been applied.

During the Step 'Start Data Selection' of the Data Transfer Phase, we see around 60 of the ~12000 sub tasks abort with the below error:

Batch job for access plan calculation in sender system ended with errors

Message no. DMC_UTIL_MSG021

Diagnosis

The access plan calculation was executed as a background job in the sender system. In this background job, an error occurred.

Procedure

Check if a short dump occurred in the sender system while the access plan was calculated. If existing, this short dump contains further information about the cause of the problem.

A frequent error is that selection criteria for data reduction (for example selection groups) are wrongly defined which causes the database access that consideres these selection criteria to fail.

The corresponding dump in the Sender system is as below:

Runtime Errors SAPSQL_WHERE_PARENTHESES

Exception CX_SY_DYNAMIC_OSQL_SYNTAX

Error analysis |

| An exception occurred that is explained in detail below. |

| The exception, which is assigned to class 'CX_SY_DYNAMIC_OSQL_SYNTAX', was not |

| caught in |

| procedure "/1CADMC/DMCACS00P000000001" "(FUNCTION)", nor was it propagated by a |

| RAISING clause. |

| Since the caller of the procedure could not have anticipated that the |

| exception would occur, the current program is terminated. |

| The reason for the exception is: |

| The current ABAP program has tried to execute an Open SQL statement |

| which contains a dynamic condition. The part of the condition specified |

| at runtime is incorrectly parenthesized.

Please suggest in case any of you have encountered similar error and possible resolution.

Thanks in advance,

Srikishan

Accepted Solutions (1)

Accepted Solutions (1)

suman_pr
Active Participant
0 Kudos

Hi,

Please check the SAP Note 1585200 : TDMS data selection runtime error "SAPSQL_WHERE_PARENTHESES" to resolve the issue

Best Regards,

Suman

Former Member
0 Kudos

Hi Suman,

Thanks a ton. I somehow missed this when searching on the SMP.

I will implement the steps and post it back by tomorrow.

Regards,

Srikishan

Answers (0)