07-14-2006 2:57 AM
Hi Guys.
I am getting some problem when I use list box.
I am working on 4.6c version.
In My requirement I have list box in selection screen having 2 options.
When select 1st option,I am disabling some parameters. when 2nd option I am disabling some parameters.
Almost it is working fine.
When I select 3 rd time for 1st option,all parameters r disabled.
It is going directly to at selection screen on field event.
I have one more question:
In 4.7 version I used list box like :
Parameters: p_list type I as listbox visible length 15 user-command uc.
If I use this stmt in 4.6c ,it is not working.
I am getting error like listbox and user-command not together.
how can i pass the user command to list.
Plz help me on this.this is udjent.
Thanks & Regards,
Rayeez
07-14-2006 5:10 AM
Hi Rayeez,
You cannot attach user-command to a listbox like
Parameters: p_list type I as listbox visible length 15 user-command uc.
You can assign a Function code only when you are working in screens.
What you can do is use a FM called DYNP_VALUES_READ to find out the value you have selected. Depending on the value, you can enable or disable the parameters.
<b>Close the thread once the problem is resolved.</b>
Regards,
SP.
07-14-2006 5:19 AM
Hello Reyaaz,
It is not possible to have list box and User command both in parameter declaration in 4.6 C.
You can check in the event AT SELECTION SCREEN ON P_NUM by pressing ENTER..
Regards,
Naimesh