cancel
Showing results for 
Search instead for 
Did you mean: 

Error ITAB_DUPLICATE_KEY while executing DTP

Former Member
0 Kudos
191

Hi Gurus,

While executing DTP we are facing ITAB_DUPLICATE_KEY

We gone through all forum regarding this error but we not getting the proper solution.

Please reply as soon as posible.

Thanks & Regards,

Kavita.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Check the [Solution|https://community.altiusconsulting.com/blogs/glenchambers/archive/2008/05/29/itab-duplicate-key-abap-dump-prevents-loading-of-data.aspx] here.

Thanks....

Shambhu

Former Member
0 Kudos

Hello,

I have a similar issue.

The message says:

The current ABAP program "SAPLHRBAS00GENERICSELECTION" had to be terminated

because it has come across a statement that unfortunately cannot be executed.

Do you know if there exists a repair program for this program SAPLHRBAS00GENERICSELECTION?

Thank you.

Kind regards,

Linda

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

The DTP you are using i guess is data marting the data from a DSO to target, The error occurs because there is a duplication of data where as your target requires only unique data.

Use program YGTTC_CHANGE_ODS_UNIQUE_STATUS and set the unique key status of your DSO and try loading the data.

Hope this will be expedite.

Thax & Regards

Vaibhave Sharma