Skip to Content
avatar image
Former Member

Getting error while running DTP

Hi All

I am getting error when i am loading records from psa to DSo. I have written expert routine from ds to ods and while debugging its showing the exact values what is required but not getting loaded in to the DSo throwing the error .

Please find the error snapshot.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Oct 28, 2015 at 11:20 AM

    Hi, Karan.

    You had to assign unique values to the technical field "RESULT_PACKAGE-RECORD" in every result record, because after routine method in DTP it will be checked for duplicates.

    Note, that records are inserted into the active table in the order of this field. So if you have, for example, record with the same key with RECORDMODE = 'D' and RECORDMODE = '', you will have different results for different sort order.

    Regards,

    Andrey.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Karan,

      Yo can use sy-tabix of sorted result package to guarantee uniqueness and order or rows. Or if you copy rows from another internal table, you can set RECORD = -sy-tabix of that table and then copy rows to result_package.

      Regards,

      Andrey.