Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Internal table for F4 help

Former Member
0 Likes
1,219

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,083

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

6 REPLIES 6
Read only

Former Member
0 Likes
1,084

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

Read only

0 Likes
1,083

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

Read only

0 Likes
1,083

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

Read only

0 Likes
1,083

there is no table mentioned under the heading Value Table??

Read only

0 Likes
1,083

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

Read only

0 Likes
1,083

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