Skip to Content
0
Former Member
Apr 19, 2007 at 03:14 PM

ABAP Help

16 Views

ABAP Experts,

I have the following code in my start routine in Update rules

IF ( DATA_PACKAGE-/BIC/ZETADAT = 'INITIAL' ).

DATA_PACKAGE-/BIC/ZETAflag = 'N'.

Else.

DATA_PACKAGE-/BIC/ZETAflag = 'Y'.

DATA_PACKAGE-/BIC/ZDIFFETA = ABS( DATA_PACKAGE-/BIC/ZETADAT -

DATA_PACKAGE-ST_UP_DTE ).

ENDIF.

SELECT SHIPPTYP INTO DATA_PACKAGE-/BIC/ZSHIPTYPE FROM /BI0/PROUTE

WHERE ROUTE = DATA_PACKAGE-ROUTE.

ENDSELECT.

DATA_PACKAGE-/BIC/ZSHIPSTAT = DATA_PACKAGE-ROUTE+2(1).

Modify DATA_PACKAGE.

This is the short dump I am getting

You attempted to change, delete or create a line in the

internal table "\PROGRAM=GP43V5ZKMKS2B0UJ1S2R3I260D3\FORM=UPDATE_INFOCUBE\DATA

G_T_ISOURCE", but no valid cursor exists

for the table.

Possible reasons:

1. The relevent ABAP/4 statement does not include the addition

"...INDEX...", although the statement is not

inside a "LOOP...ENDLOOP" loop processing this table.

2. The relevent ABAP/4 statement was called from within a

"LOOP...ENDLOOP" loop after a DELETE

"\PROGRAM=GP43V5ZKMKS2B0UJ1S2R3I260D3\FORM=UPDATE_INFOCUBE\DATA=G_T_ISOURCE".

Can anyone throw some light on what wrong I am doing?

Thanks

Ashwin