SELECT K~CAUFN INTO CORRESPONDING FIELDS OF TABLE ITAB FROM ANLZ AS K WHERE K~ANLN1 IN S_ANLN1 AND K~CAUFN IN S_CAUFN AND K~OBJNR LIKE %S_CAUFN . 报错说S_ANLN1 不是内部表?是啥意思 咋解决?
S_ANLN1 你是怎么定义的呢? 一般来说,这种参数是通过选择屏幕传递过来的,类似于这样: SELECTION-SCREEN BEGIN OF BLOCK blk01 WITH FRAME TITLE text-001. SELECT-OPTIONS: S_ANLN1 FOR 表名-字段名. SELECTION-SCREEN END OF BLOCK blk01.