2008 Jan 14 10:49 AM
I want to populate values for F4 help. But for the field for which I need F4 help, the values are present in the value range at the domain level of the data element of the field in the table. So how do I fill up the internal table?
Thanks and regards
Radhika
2008 Jan 14 10:52 AM
Hi,
That table mentioned in value range to populate that internal table you are passing to fm for F4 help.
Write a select statement on value range table and populate that internal table.
regards,
pankaj
I want to populate values for F4 help. But for the field for which I need F4 help, the values are present in the value range at the domain level of the data element of the field in the table. So how do I fill up the internal table?
Thanks and regards
Radhika
2008 Jan 14 10:52 AM
Hi,
That table mentioned in value range to populate that internal table you are passing to fm for F4 help.
Write a select statement on value range table and populate that internal table.
regards,
pankaj
2008 Jan 14 11:04 AM
Thank you for the response. But
I have one doubt i.e., In the value range of the domain there are 3 columns i.e. Single values, Intervals and Value Table. There are 7 values under the Single values section. How do aI take the single values? Do I hardcode them and append it to the internal table?
Thanks and regards
Radhika
2008 Jan 14 11:08 AM
Hi,
use the table mentioned under fields Value Table in the select statement.
It would be having the that fileld for which you want F4 help. Your internal table should also have the same field. Fetch value in thst field only.
regards,
Pankaj
2008 Jan 14 11:09 AM
2008 Jan 14 11:11 AM
In that case you have no need to use any FM for F4 help. While declaraing selection screen if you refer to the same table-field for which domain have values defined in value range it would automatically displayt the same in F4 help.
Regards
pankaj
2008 Jan 14 11:15 AM
Hi Radhika
You can use the FM HR_ECM_GET_ALL_DOMAIN_VALUE to get all the domain values. You need to pass the name of the domain for which you need F4 help. And then populate your internal table fields with those values to give F4 help.
Cheers
~ Ranganath
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |