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
Read more...
Environment
SAP Datasphere
Product
Keywords
KONV, BSEG, MLDOC, , KBA , DS-DI-RT , Remote Tables , Known Error
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview