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: 

Limit Variant Search with Selected Program

0 Kudos

Hello All,

If I have:

TABLES: VARID.

SELECT-OPTIONS: S_REPORT FOR VARID-REPORT NO INTERVALS DEFAULT 'ZRFKORD11_01'.
SELECT-OPTIONS: S_VAR FOR VARID-VARIANT NO INTERVALS.

Is there a way to have my selection option for my Variant be limited to just the Variant Names in the 'ZRFKORD11_01' Program, while in the search option. As of right now If you put this code in and click the search button that appears next to the S_VAR bar it will show all variant names from multiple different programs.

2 REPLIES 2

former_member34
Product and Topic Expert
Product and Topic Expert
0 Kudos

Thank you for visiting SAP Community to get answers to your questions. Since you are new here, I recommend that you familiarize yourself with our Q&A Tutorial: https://developers.sap.com/tutorials/community-qa.html, as it provides tips for preparing questions that draw responses from our members. Should you wish, you can revise your question by selecting Actions, then Edit.

By adding a picture to your profile you encourage readers to respond: https://www.youtube.com/watch?v=46bt1juWUUM

Many thanks!

Sandra_Rossi
Active Contributor
0 Kudos

Maybe call the function module rs_variant_catalog. There are some discussions about it in the forum.