2011 Nov 01 5:42 AM
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
2011 Nov 01 11:06 AM
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)
2011 Nov 01 5:55 AM
Hi Sachin ,
Create a check table and use the Foreign key relation ...
Regards,
Maruthi
2011 Nov 01 10:06 AM
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.
2011 Nov 01 10:17 AM
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.
2011 Nov 01 11:06 AM
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)
2014 Jun 19 7:10 AM
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.
2014 Jun 19 7:11 AM
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.