Hi Reagan,
I didn't hear from you for long time, hence I'm really glad for obtaining your reply :-)
I hope you're doing good!
About the ORA_COCKPIT_HELPER - that's the thing, the table already exists on DB level, but it's not present in the ABAP dictionary.
Nevertheless, before posting this thread, I've also tried to execute that statement in SQL*Plus and it fails:
SQL> create global temporary table ora_cockpit_helper as select * from ( <p_sql_stmt_text> ) where 1=0;
create global temporary table ora_cockpit_helper as select * from ( <p_sql_stmt_text> ) where 1=0
*
ERROR at line 1:
ORA-00903: invalid table name
I am coming to the conclusion, that <p_sql_stmt_text> is some kind of placeholder, but the note doesn't say what to put there... Please kindly advise! Many thanks!