Problem Note 58320: Extracting data from SAP tables generates "ERROR: Error generating subroutine..."
Extracting data from SAP tables that have column lengths greater than 16 characters produces a syntax error similar to the following:
ERROR: Error generating subroutine at line: 82 . Unable to interpret "long-column-name".
Possible causes: Incorrect spelling or comma error.
Word: long-column-name . Offset: 2 .
There are two possible workarounds:
- Use transaction SE11 in the SAP graphical user interface (GUI) to define a Projection view for the table and specify a shorter column name.
- If the column is not needed in the SAS data set, then define a Projection view for the table and exclude the column.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
| SAS System | SAS Data Surveyor for SAP | Microsoft Windows 8.1 Enterprise 32-bit | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| Microsoft Windows 8 Pro x64 | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| Microsoft Windows 8 Pro 32-bit | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| Microsoft Windows 8 Enterprise x64 | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| Microsoft Windows 8 Enterprise 32-bit | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| Microsoft® Windows® for x64 | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| z/OS | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| Microsoft Windows 8.1 Enterprise x64 | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| Microsoft Windows 8.1 Pro 32-bit | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| Microsoft Windows 8.1 Pro x64 | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| Microsoft Windows 10 | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| Microsoft Windows Server 2008 | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| Microsoft Windows Server 2008 R2 | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| Microsoft Windows Server 2008 for x64 | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| Microsoft Windows Server 2012 Datacenter | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| Microsoft Windows Server 2012 R2 Datacenter | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| Microsoft Windows Server 2012 R2 Std | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| Microsoft Windows Server 2012 Std | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| Windows 7 Enterprise 32 bit | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| Windows 7 Enterprise x64 | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| Windows 7 Home Premium 32 bit | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| Windows 7 Home Premium x64 | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| Windows 7 Professional 32 bit | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| Windows 7 Professional x64 | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| Windows 7 Ultimate 32 bit | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| Windows 7 Ultimate x64 | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| 64-bit Enabled AIX | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| 64-bit Enabled Solaris | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| HP-UX IPF | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| Linux for x64 | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
| Solaris for x64 | 5.2 | 5.3 | 9.4 TS1M3 | 9.4 TS1M4 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Problem Note |
| Priority: | high |
| Date Modified: | 2016-09-07 12:58:26 |
| Date Created: | 2016-06-02 14:57:45 |