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

Dynamic Search Help in Table Maintaince Generator

sachin_yadav3
Active Participant
0 Likes
2,650

Hi All,

I have creatred one table maintaince generator for the table with 2 fields.

My equirement is to have dynamic F4 help on the second field.

Dynamic means the values displayed in the F4 help should be depending on the values in the first field.

Kindly guide how to proceed for the same.

Thanks & Regards

Sachin Yadav

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,980

One method to achieve this functionality would be :

1. Find out the maintenance screen and function group of the table maintenance generator say 2000 and ZFGRP.

2. Go to SE80 and open ZFGRP screen number 2000.

3. For Field number 1 , it is assumed that there is already a standard search help for it.

4. For field 2 - create a module in Process on Value Request Event in PAI of the maintenance screen ( Similar to any module pool program)

5. Use FM DYNP_VALUES_READ to read the value of field 1 on the screen ( Because this is before enter is pressed and field 1 on the module pool porogram would not be populated with value )

6. While creating internal table for this FM, filter out all the values that are not required based on value obtained above.

call the FM F4IF_INT_TABLE_VALUE_REQUEST( In Process on Value request event of field 2 in PAI)

6 REPLIES 6
Read only

MaruthiKona217
Participant
0 Likes
1,980

Hi Sachin ,

Create a check table and use the Foreign key relation ...

Regards,

Maruthi

Read only

Former Member
0 Likes
1,980

I think you should try using the events associated with the Table Maintenance generator to achieve this functionality.

Create a table maintenance generator and then go to the menu path Environment -> Modification -> Events . In this you should try to make use of 'Creating a new Entry' option.

Read only

Former Member
0 Likes
1,980

Hi ,

I guess you can do it in the PAI/PBO of your maintanance view screen,or you can try usinga search help exit.

Thanks.

Read only

Former Member
0 Likes
1,981

One method to achieve this functionality would be :

1. Find out the maintenance screen and function group of the table maintenance generator say 2000 and ZFGRP.

2. Go to SE80 and open ZFGRP screen number 2000.

3. For Field number 1 , it is assumed that there is already a standard search help for it.

4. For field 2 - create a module in Process on Value Request Event in PAI of the maintenance screen ( Similar to any module pool program)

5. Use FM DYNP_VALUES_READ to read the value of field 1 on the screen ( Because this is before enter is pressed and field 1 on the module pool porogram would not be populated with value )

6. While creating internal table for this FM, filter out all the values that are not required based on value obtained above.

call the FM F4IF_INT_TABLE_VALUE_REQUEST( In Process on Value request event of field 2 in PAI)

Read only

0 Likes
1,980

I have requirement like above.  i created pov and module for field2 and i called fm DYNP_VALUES_READ in  module of field to get field1 value. i not able to get field1 value.

its getting empty value. can anybody help me.

Read only

Former Member
0 Likes
1,980

I have requirement like above.  i created pov and module for field2 and i called fmDYNP_VALUES_READ in  module of field to get field1 value. i not able to get field1 value.

its getting empty value. can anybody help me.