09-12-2007 3:12 PM
I have created a Table .Table maintain generator has been done.There is one field
which is having a drop down list box. How can i set Default value for it.
I cannot change any code because every thing is system generated one.
Is there anything we can do in the element list for that screen
Please help me out.
Thanks in advance
Kiran
09-12-2007 3:17 PM
Hi!
If you are seeing it in the SM30/SM31 transactions, then the default value of the listbox is what the table phisically contains.
You can fill it with a couple of data in 1 step, if you enter the relevant data into an excel column in 20 rows, mark them, copy with Ctrl+C and paste them into the listbox column in SM30.
Regards
Tamá
09-13-2007 7:13 AM
when i open through SM30/SM31 the list box is having set of values, but non of them will display.i have to select from list box.so how to set that as default.
Thanks in advance
09-13-2007 7:17 AM
I think you have created the z table then for that perticular field go to its domain and here in valu range tab just define the fixed value in the table control.
regards
shiba dutta
09-13-2007 8:22 AM
In that 7 fixed values. out of that i have to dispay one as default.
Thanks in advance
09-13-2007 8:33 AM
Hi Sarath..
If u dont want to change the Code then
in the Screen painter Open the List box attributes and
Assign the default value in the attribute <b>Text </b>. It will be displayed as the Default value.
Otherwise you must code it in PBO Module of the Screen.
Suppose if Listbox field is MARA-MTART.
THEN:
MARA-MTART = 'ROH'.
reward if Helpful.
09-13-2007 11:23 AM
09-13-2007 7:23 AM
Hi
I think u can do it through graphic CtrlshiftF11 . Try over there
If it is for report u can use the function VRM_SET_VALUES to compile a drop-down list dynamically, all you have to do to set the default value is to set the screen field assigned to the dropdown to the value of the key (after the function call). This will automatically display the text of that key on the screen.
Reward all helpfull answers
Regards
Pavan
Message was edited by:
Pavan praveen