Skip to Content
0

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

Mar 09, 2017 at 04:20 PM

100

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Jelena Perfiljeva
Mar 09, 2017 at 10:00 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
Florian Wiedemann Mar 15, 2017 at 10:25 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded