2006 Feb 13 12:39 PM
I have created a table control with 3 colums. One of the colum s is a drop down list. I need to assign default values from the database table to the drop down list in table control. How to do it? Can you help me with an example?
2006 Feb 13 12:41 PM
Hi
See the reports:
- DEMO_DROPDOWN_LIST_BOX,
- DEMO_DYNPRO_DROPDOWN_LISTBOX,
- RSDEMO_DROPDOWN_LISTBOX
These reports show how to use the fm F4IF_INT_TABLE_VALUE_REQUEST or VRM_SET_VALUES to obtein it.
Max
I have created a table control with 3 colums. One of the colum s is a drop down list. I need to assign default values from the database table to the drop down list in table control. How to do it? Can you help me with an example?
2006 Feb 13 12:41 PM
Hi
See the reports:
- DEMO_DROPDOWN_LIST_BOX,
- DEMO_DYNPRO_DROPDOWN_LISTBOX,
- RSDEMO_DROPDOWN_LISTBOX
These reports show how to use the fm F4IF_INT_TABLE_VALUE_REQUEST or VRM_SET_VALUES to obtein it.
Max
2006 Feb 15 4:13 AM
Hi
I tried by giving that.Even then its not working.Can u please provide me with an example code.
2006 Feb 13 3:36 PM
hi,
this can done bye giving default value at doamin leavel it's easy proess for chaeck-list in screen-fields.
still any problem mail me to [email protected]
regards,
saleem
2006 Feb 15 4:14 AM
Hi
I tried all possibilities.Even then its not working.Can you please provide me with an example code.
2006 Feb 13 5:37 PM
reference the table control field to the dtaabase field.
it will get those values automatically.
thanks
2006 Feb 15 4:39 AM
is your field a fixed value domain one? i.e like vbak-vbtyp? These types of fields can have 'refer to dictionary' set on their attributes on the screen painter and the dropdown will work automatically.
2006 Feb 15 4:47 AM
Its a fixed value domain.. I specified "Get it from Dictionary'. Even then its not retrieving the values.
2006 Feb 15 4:52 AM
double click on the column in table control and give the search help for that field(if existing) and try
and also check 'Fom dictonary'
2006 Feb 15 4:59 AM
have you got 'possible values' set to zero? This prevents the dropdwon from appearing.
2006 Feb 15 5:52 AM
Each value in the table is displayed in each column.. its not displayed as a list
2006 Feb 15 6:04 AM
have u selected it as a list box in the attributes of that column
double click on that column and select it as listbox from drop down list
2006 Feb 16 5:12 AM
yes..i have selected as list box..Pls help if anything i have missed out
Arthi
2006 Feb 16 5:19 AM
is this a sap standard field you are adding or a custom one??
If standard what is it?
If it's not a sap standard try adding (for test purposes) vbak-vbtyp to your screen and see if you can get that to show dropdown values.
2006 Feb 15 4:42 AM
Hi,
Check this link and kindly reward points by clicking the star on the left of reply,if it helps.
https://forums.sdn.sap.com/search!execute.jspa?forumID=50&forceEmptySearch=true&q=DropdowninTablecontrol&objID=f50&dateRange=all&userID=&numResults=15
2006 Apr 03 10:29 PM
Can I re-activate this problem. I am new to screen painter and have been getting most of what I know from sdn forums and sap demo programs.
I tried the suggestion made earlier (using VBAK-VBTYP) and it works and I can see the drop-down values.
Unfortunately, I am using an internal table to populate the drop-down for a field included in my table control. I am using the function F4IF_INT_TABLE_VALUE_REQUEST and is called within a module by ;
PROCESS ON VALUE-REQUEST.
FIELD i_cart-deltype MODULE pop_deltype.
The field (called i_cart-deltype) is not being populated.
Thank you so much for all your help and assistance.
Dodie Plata
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |