Anmeldedatum: 04.08.2007 Beiträge: 393
Autor:
Tron Specialist
Moin,
Der Remotefähige Funktionsbaustein
RFC_READ_TABLE bricht ab, wenn die Tabelle Felder vom Typ Floating Point besitzt, z.B. SAPLANE.
Grund ist ein CASTING - Problem (siehe ST22

).

mögliche Abhilfe:
1.) Funktionsgruppe anlegen z.B.
ZSDTX
2.) Funktionsbaustein RFC_READ_TABLE auf Z_RFC_READ_TABLE kopieren und der Funktionsgruppe zu 1. zuweisen.
3.) Codingstelle aufsuchen und durch folgendes Coding ersetzen und aktivieren.
4.) freuen, da SAP bekundet, diesen Baustein nicht auszubessern.
(unter 3.1 hat er ja auch noch funktioniert !)
| Code: |
* ----------------------------------------------------------------------
* read data from the database and copy relevant portions into DATA
* ----------------------------------------------------------------------
* output data only if NO_DATA equals space (otherwise the structure
* information in FIELDS is the only result of the module)
IF NO_DATA EQ SPACE.
DATA: DREF TYPE REF TO DATA, BEGIN OF WORK, BUFFER(30000), END OF WORK.
FIELD-SYMBOLS: <WA> TYPE ANY, <COMP> TYPE ANY.
CREATE DATA DREF TYPE (QUERY_TABLE).ASSIGN DREF->* TO <WA>.
IF ROWCOUNT > 0.
ROWCOUNT = ROWCOUNT + ROWSKIPS.
ENDIF.
|
gruß Tron
_________________
Merke : Man kann in jeder Programmiersprache Fortran-Programme schreiben !