cancel
Showing results for 
Search instead for 
Did you mean: 

BW AMDP field routine - Error

0 Kudos

Hello experts,

I am trying to use AMDP in a transformation from one ADSO to an Infocube (BW on HANA).

i have a simple AMDP script in a field routine that reads data from a view:

outtab = select "/BIC/PLJAHR", ' ' as RECORD, ' ' as SQL__PROCEDURE__SOURCE__RECORD from Z_V_FI_LAST_PJ; errortab = select '' as error_text,
'' as sql__procedure__source__record
from dummy
where dummy <> 'X'; ENDMETHOD.

The DTP produces an error:

invalidated view: /1BCAMDP/0BW:DAP:TR_00O2TQT8XG8HDSD8B0MX3OJPO: line 1 col 1015 (at pos 1014) Exception CX_RSDHA_MSG wurde protokolliert

Exception CX_RSDHA_MSG wurde protokolliert

Die Verarbeitung des Datenpakets wurde abgebrochen

invalidated view: /1BCAMDP/0BW:DAP:TR_00O2TQT8XG8HDSD8B0MX3OJPO: line 1 col 1015 (at pos 1014)

Im Teilschritt ist ein Fehler aufgetreten

Im Teilschritt ist ein Fehler aufgetreten

Die Verarbeitung des Datenpakets wurde abgebrochen


Any ideas on what could be wrong?

Thanks in advance

elvin_baghele
Participant
0 Kudos

What are you trying to do with this structures?give more explaination.

errortab = select '' as error_text,''as sql__procedure__source__record
from dummy where dummy <> 'X';

Here the result of the above query will be table with 0 records. i.e structure, with datatype and length of fields as per the constant value:eg VARCHAR(1).

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member231709
Active Contributor
0 Kudos

Check note 2668846 - SAP Hana Execution: Exception CX_RSDHA_MSG logged