Error while selecting into field-symbol in SAP ABAP


The problem is that you have not declared Field-symbol. Try using the below code.

data:  ws_bkpf      TYPE bkpf_type.
SELECT MANDT
   INTO CORRESPONDING FIELDS OF ws_mandt UP TO 1 ROWS
   FROM bkpf
   WHERE belnr = '1700001016'.
ENDSELECT.

Updated on: 05-Dec-2019

316 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements