Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

'RS_TABLE_LIST_CREATE' - Throwing dump

Former Member
0 Likes
727

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>

3 REPLIES 3
Read only

Former Member
0 Likes
605

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

Read only

0 Likes
605

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. ?

Read only

Former Member
0 Likes
605

Hi

Look at the below thread, this is having the same question and having the answer also

Regards

Sudheer