Skip to Content
0
Former Member
Apr 19, 2013 at 08:29 AM

Endroutine: Lookup DSO to DSO (part 3)

39 Views

Hi ABAP experts

I wrote this phase in an endroutine.

Syntax check says: Field "AND" is unknown. It is neither defined in one of the mentioned tables neither in a DATA statement.

SELECT * FROM /BIC/AZFC_DS2100
INTO CORRESPONDING FIELDS OF TABLE ITAB2
FOR ALL ENTRIES IN RESULT_PACKAGE WHERE
/BIC/ZVOC_VREF EQ RESULT_PACKAGE-/BIC/ZVOC_VREF AND
BPARTNER EQ RESULT_PACKAGE-BPARTNER.

AZFC_DS2100: Lookup DSO with key characteristics ZVOC_VREF and 0BPARTNER.

The source DSO also have these charateristics as data fields, the target DSO also have them as data fields.



Where is the problem?