Symptom
In SAP Datasphere, to use Data Viewer (aka Data Preview) for a remote table based on ABAP Table, error occurs:
internal error: Error opening the cursor for the remote database Error in ASSIGN assignment in program /SAPDS/SAPLRS_BASIS .
Also, in ABAP Source system, a short dump occurs:
Category ABAP programming error
Runtime Errors ASSIGN_BASE_WRONG_ALIGNMENT
ABAP Program /SAPDS/SAPLRS_BASIS
Application Component EIM-DS-ODP
Error in ASSIGN assignment in program "/SAPDS/SAPLRS_BASIS".
The termination occurred in ABAP program or include "/SAPDS/SAPLRS_BASIS", in
"Z_BODS_RFC_READ_TABLE2_FORM". The
main program was "SAPMSSY1".
284 FIELD-SYMBOLS: <WA> TYPE ANY, <COMP> TYPE ANY.
285
286 IF isString IS INITIAL.
>>>>> ASSIGN WORK-BUFFER TO <WA> CASTING TYPE (QUERY_TABLE).
288 ELSE.
289 DATA dref TYPE REF TO data.
290 CREATE DATA dref TYPE (query_table).
291 ASSIGN dref->* TO <wa>.
292 ENDIF.
5 FORM /SAPDS/SAPLRS_BASIS /SAPDS/LRS_BASISU20 287
Z_BODS_RFC_READ_TABLE2_FORM
4 FUNCTION /SAPDS/SAPLRS_BASIS /SAPDS/LRS_BASISU20 37
/SAPDS/RFC_READ_TABLE2
3 FORM /SAPDS/SAPLRS_BASIS /SAPDS/LRS_BASISU20 1
/SAPDS/RFC_READ_TABLE2
2 FORM SAPMSSY1 SAPMSSY1 189
REMOTE_FUNCTION_CALL
1 MODULE (PBO) SAPMSSY1 SAPMSSY1 35
%_RFC_START
Environment
SAP Datasphere
Cause
ABAP table contains fields with unsupported datatypes:
- DF34_DEC
- DF34_RAW (DF34R)
Resolution
Refer to KBA - 2432469 - Parser detected an unknown data type error on table with DF34_RAW (DF34R) or DF34_DEC data type - SAP Data Services for a workaround.
See Also
Keywords
KONV, BSEG, MLDOC, , KBA , DS-DI-RT , Remote Tables , Known Error