1
是否可以在SAP的RFC_READ_TABLE的OPTIONS參數表中使用子查詢?RFC_READ_TABLE選項中子查詢的使用
像這樣
field in (select otherfield from othertable where ...)
是否可以在SAP的RFC_READ_TABLE的OPTIONS參數表中使用子查詢?RFC_READ_TABLE選項中子查詢的使用
像這樣
field in (select otherfield from othertable where ...)
號指定一個OPTIONS參數包含括號將導致錯誤(ABEND轉儲)。
從SAP DOCO(4.6C):
WHERE (itab)
The internal table itab may only have one field. This must have type C,
and may not be longer than 72 characters. You must specify itab in
parentheses, without a space between the parentheses and the table name.
The condition contained in the internal table must have the same form as
a corresponding condition in the ABAP source code. The following
restrictions apply:
- You can only use literals as values, not variables.
- You cannot use the IN operator in the form f1 IN itab1.
The internal table itab may be empty.
感謝您的回答。 –