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: 

Query - Selection parameters with multiple values

antonio_bruno
Participant
0 Kudos

Hi,

In a query, I need to have as select parameters the MSEG-LGORT with multiple values.

In the info set options, i can create a parameter but I can add only a value in selection screen.

So, I've add the following code in DATA:

select-option LGO for MSEG-LGORT.

In this case, when i execute SQ01, I can select the values as default field in a interval, but the description is LGO not the standard description.

How I can solve the problem?

Thanks and regards.

Antonio

3 REPLIES 3

former_member334777
Active Participant
0 Kudos

Hi Antonio,

You can change description my changing field label on right side colorful ruler.

It is quite simple.

Regards,

Praveen

0 Kudos

Hi,

Query dumps (SQ01): SELECT-OPTIONS is only allowed between BEGIN/END of SCREEN for programs with type other than 1.

How i can add to my infoset/query a parameter (MSEG-LGORT) with standard matchcode?

Thanks.

Antonio

0 Kudos

Hi Antonio,

Go to SQ02 and go to particular table MSEG,pulling LGORT from left side to right top side in MSEG table data,save and activate.

Then,go to SQ01 and give your query name. and after opening it in change mode on left side you will see all the tables and fields you are using in join.MSEG-LGORT will appear there then make it for selection by selecting selection check box for MSEG-LGORT.

In case you want add this as parameter then take help from ABAP Consultant.

Create Addition field for MSEG-LGORT and then write code in code logic of SQ02 on right part choosing start-of-selection event. and follow same step of SQ01 choose MSEG-LGORT from additional fields.

Save and activate the query and you can see MSEG-LGORT in selection screen.

Please check this thread for more detail.

BR,

Praveen