APAR status
Closed as program error.
Error description
Here is a list of steps to reproduce the issue below (as mentioned, the issue is sporadic): 1) Create an ABAP extract job: provide all needed parameters, build sql, generate ABAP code and load it to SAP using the built-in functionality 2) Right-click on the job and choose copy 3) Right-click on the copied job and rename it 4) Edit the new job: change various values such as SAP client, user id, password, and ABAP program name 5) While still inside the new job, click the option to generate ABAP code (preserve existing values, do not build sql first) 6) ABAP generation error MAY occur: the INTO clause is generated above the SELECT clause, resulting in invalid ABAP syntax
Local fix
Clearing the ABAP program, choosing the build sql option and going through its tabs in sequence (even changing nothing) sometimes fixes the issue, where a subsequent ABAP generation succeeds
Problem summary
ABAP Code Generation error - 'INTO' before 'SELECT' Besides the detailed steps provided in this APAR (customer testcase), the error can also show when the user opens the ABAP stage (an existing job) and clicks "Clear Program" then "Generate Program"
Problem conclusion
Corrected the internal string search logic. A patch is available for DS Client.
Temporary fix
Comments
APAR Information
APAR number
JR48669
Reported component name
IS PACK FOR SAP
Reported component ID
5724Q5500
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-12-02
Closed date
2013-12-24
Last modified date
2013-12-24
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
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":"7.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
24 December 2013