Skip to Content
0
Dec 29, 2009 at 05:20 AM

List box is not displaying the values when called through Z-Transaction cod

35 Views

I created a report which in turn calls and execute several report programs based on a value selected in the list box

When i execute the report in SE38 transaction, the list box displays the possible values to select and in turn execute the respective program based on the list box selection.

the problem is : When i execute the same progam thru a Ztransaction code, the list box is not displaying the values to select. it shows empty. I dont know the reason why .

I wanted to get the values in the list box even when i call it thru a transaction. Please provide your suggestions..

I used 'VRM_SET_VALUES' function module to populate values in the list box. Sample code which used is show below :

PARAMETERS:
  p_seltab LIKE va_chxxxxx AS LISTBOX VISIBLE LENGTH 12
                OBLIGATORY.
 INITIALIZATION.
  PERFORM get_listbox_value.

AT SELECTION-SCREEN OUTPUT.

* Populate the selection screen listbox for selection table
  PERFORM populate_seltab_list.

Thanks,

ABAP DEV