Skip to Content
0

How to put the values of a coloumn of an internal table into a variant ?

Jun 01, 2017 at 02:59 PM

92

avatar image
Former Member

Can somebody help me figure out if there is a way for the query below:

I have an internal table with one coloumn with 69 records.

I want all these 69 records to be populated into a variant and get saved so that with this variant and the values saved in it I can run a particular program

How can I populate these values ?

10 |10000 characters needed characters left characters exceeded
Are you sure you really want a program variant?

Do you have a SELECT-OPTIONS in the selection screen?

And are these 69 records fully compatible with a SELECT-OPTIONS?

Why don't you use SUBMIT VIA JOB WITH param IN rangeof_69_values?

0
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Raymond Giuseppi
Jun 02, 2017 at 07:26 AM
0

Any export/import to database statements should do the trick. If you actually want a "variant", selection-screen limitations can be bypassed using no-display parameters that are saved via standard options. (e.g. data of an ALV grid docked to the selection screen)

Share
10 |10000 characters needed characters left characters exceeded
Uwe Fetzer Jun 02, 2017 at 08:12 AM
0

If this is a static variant I'd just copy/paste the values to a variant (use the debugger if needed).

If this is a dynamic variant I'd copy the internal table to a ranges table and "submit " the followup report with this range table.

Share
10 |10000 characters needed characters left characters exceeded