‎2007 Feb 23 6:23 AM
Hi,
I am trying to call a table with the function module 'RS_TABLE_LIST_CREATE'. System is throwing a dump sayin <b>Function parameter "SELTAB" is unknown</b>.
Do i have to declare SELTAB?... What shud i do ?
Thanks in advance.
CALL FUNCTION 'RS_TABLE_LIST_CREATE'
EXPORTING
table_name = 'ZTVWORDERS'
ACTION = 'ANZE'
WITHOUT_SUBMIT = ' '
GENERATION_FORCED =
NEW_SEL =
NO_STRUCTURE_CHECK = ' '
DATA_EXIT = ' '
IMPORTING
PROGNAME =
TABLES
SELTAB = GV_PONUM
EXCEPTIONS
TABLE_IS_STRUCTURE = 1
TABLE_NOT_EXISTS = 2
DB_NOT_EXISTS = 3
NO_PERMISSION = 4
NO_CHANGE_ALLOWED = 5
OTHERS = 6
.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
<b></b>
‎2007 Feb 23 6:25 AM
SELTAB = GV_PONUM
GV_PONUM has to be defined. should have same type of GV_PONUM.
Double click on the FM and check the type in the inport/export params.
regards
‎2007 Feb 23 6:32 AM
I passing my hidden work area to gv_ponum.
gv_ponum = wa_output-ef_po_num.
if i declare it as <b>type rsparams</b>...what value shud i pass into gv_ponum. ?
‎2007 Feb 23 6:26 AM