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

Setlab

Former Member
0 Kudos
297

What is the functionality of Seltab?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Kudos
252

Dear Anand,

SELTAB is a ranges which is used to pass values to select-options (called program) from calling program.

Please check this link for sample codes in detail.

http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba51a35c111d1829f0000e829fbfe/content.htm

Best Regards,

Rajesh

Please reward points if helpful.

2 REPLIES 2
Read only

Former Member
0 Kudos
250

To store SELECT-OPTIONS values while using SUBMIT we use seltab internal table...

for example..

DATA: seltab TYPE TABLE OF rsparams,

lifnr_tab LIKE LINE OF seltab.

lifnr_tab-selname = 'S_LIFNR'.

lifnr_tab-sign = s_lifnr-sign.

lifnr_tab-option = s_lifnr-option.

LOOP AT s_lifnr.

lifnr_tab-low = s_lifnr-low.

lifnr_tab-high = s_lifnr-high.

APPEND lifnr_tab TO seltab.

ENDLOOP.

SUBMIT (sy-repid) WITH SELECTION-TABLE seltab.

..

Read only

Former Member
0 Kudos
253

Dear Anand,

SELTAB is a ranges which is used to pass values to select-options (called program) from calling program.

Please check this link for sample codes in detail.

http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba51a35c111d1829f0000e829fbfe/content.htm

Best Regards,

Rajesh

Please reward points if helpful.