IBM Support

JR42181: DOUBLING OF SUMMARIZED LENGTH OF ALL COLUMNS OF THE TABLE IN ABAP CODE IF THE ABAP PROGRAM IS RE-GENERATED

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • The doubling of summarized length of all columns of the table
    that are extracted ( here is 130) if the ABAP program gets
    re-registed or reloaded to SAP issue has been reproduced in
    house.
       IF D_LEN < 16000.
             D_PACK+D_OFFSET(130) = IT_1.
             D_OFFSET = D_OFFSET + 130.
             D_LEN = D_OFFSET + 130.
             CLEAR IT_1.
             REFRESH IT_1.
    

Local fix

  • Workaround: re-select the table first, re-build,
    and re-generate the ABAP program for jobs in question. Takes 5
    min per a job including re-compilation.
    

Problem summary

  •   The 'Build SQL query' ABAP code generator generates incorrect
    ABAP code when the ABAP program is cleared and regenerated.
      The generated ABAP code uses a constant that is computed as
    the sum of the length of all fields of the SAP table that
      is extracted. When the ABAP program is cleared and
    regenerated, this constant is doubled, which may result in field
    length
      corruption of the extracted data. The issue only occurs if RFC
    transfer method is used.
    
    The doubling of summarized length of all columns will lead to
    data corruption when the data is extracted from SAP.
    

Problem conclusion

  • Patch JR42181 modifies the ABAP code generator. The constant
    that is used in the ABAP code will not be doubled anymore.
      You need to regenerate already exising ABAP code. Clear the
    program in the ABAP stage. Rebuild
      the SQL query by reselecting the respective ABAP table and the
    corresponding columns and regenerate the ABAP code.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR42181

  • Reported component name

    IS PACK FOR SAP

  • Reported component ID

    5724Q5500

  • Reported release

    650

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-03-08

  • Closed date

    2012-04-04

  • Last modified date

    2012-04-04

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    IS PACK FOR SAP

  • Fixed component ID

    5724Q5500

Applicable component levels

  • R531 PSY

       UP

  • R600 PSY

       UP

  • R601 PSY

       UP

  • R650 PSY

       UP

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCSRJX","label":"DataStage Pack for SAP R\/3"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.5.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
04 April 2012