Skip to Content
0
Former Member
Dec 03, 2008 at 11:01 AM

Accessing values input into the search help from selection screen.

33 Views

Dear All,

I have copied a standard program. Now in the program, i have a selection screen. Which has a search help attached to it. The search help name is DEBIS and the View assigned to the search help is M_DEBIS. In the search help there is a field called VTWEG (distribution channel). Now i need to do some validation on this field. As it is a copy of the standard report, i m unable to find the value of this field in my program. When i run the debugger it goes through following function modules.

First when we click on the search help.

It goes to this function module.

DD_SHLP_RUNTIME_GET

From here it gets the search help name

And then it goes to this function module

F4_ENTER_SELECTIONS_LIGHT

Now this function module has all the entries we have on the selection screen in SELOPT_TAB defined under Tables Tab.

Now I need to get the values from this selopt_tab table.

One way I could think of is getting the access key and write an export statement, importing the table to my report

And then do the validation accordingly.

Is there any other way possible.

Please advise.

Regards.