Skip to Content
Former Member
Apr 25, 2007 at 02:58 AM

Dynamic Open SQL Under 46C


Hello Experts,

I'm now working on a dynamic open sql generator under version: 46C. The code which is proved correct under 610 turns out to run into some error under 46C. Here attaches my code:

SELECT SINGLE (p_sel_cls)

FROM (p_tabname) INTO li_fldresult

WHERE (p_where_cls).

p_sel_cls, p_tabname and p_where_cls are all dynamically constructed.

The compiling error is:

p_sel_cls is not an internal table.

Could anyone help me out? Thanks a lot.

Best regards,