Application Development 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: 

How to change the input of select options in a InfoSet, SAP Query

0 Kudos

Hi,

is it possible in the coding part of an InfoSet to modify the content of an input field (=select option). My idea would be:

  1. User types in 1:n values in a input field e.g number of material master
  2. In the InfoSet at an additional code area I can access and modify the %SELOPT table and change the material numbers to my needs.

Any idea?

Thanks

Florian

2 REPLIES 2

Jelena
Active Contributor
0 Kudos

To my knowledge this is not feasible as you're describing. But IMHO it should not be feasible. The users (or another program) need to enter the selection criteria and then query needs to run with that criteria. Selection criteria is not meant to be modified within the program.

Not sure what purpose the example above could serve but pretty much the same can be accomplished using F4 / search help for the selection field. Using that, the users can identify suitable numbers and then run the query with them. No need to play switcheroo inside the query.

0 Kudos

Hi Jelena,

the requirement depends on the needed data:

I'd like to see all object links to document info records based on material master numbers. I can use the table DRAD in query builder but cannot use MARA as linked table. Therefore currently the users need to input the material numbers with the internal numbering of DRAD-OBJKY.

My idea was that the users could input the material numbers with the template schema like 12.33333-01234 and within the coding part of the InfoSet I modify the input table values from 12.33333-1234 to 000000012333331234.

To use an additional structure with a table structure of MARA also does not help as I then would only get exactly one link to a document info record.

If you have any other idea to accomplish that please let me know.

Thanks

Florian