‎2009 Feb 02 12:16 PM
Hi,
On a particular screen suppose there is 3 input/ouput field and our requirement is that on the basis of first user input , f4 help for second field should be displayed . I mean how i can capture the particular entry without any event occurrence . Thanks .
‎2009 Feb 02 12:27 PM
Hi,
You can read your entries with FM DYNP_VALUES_READ, then depending on what was returned select appropraite entries to next screen field and display them as F4 input help with F4IF_INT_TABLE_VALUE_REQUEST.
Updating screen fields on the other hand, will be done by means of fm DYNP_VALUES_UPDATE. [Example here|http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaac935c111d1829f0000e829fbfe/frameset.htm]
Regards
Marcin
‎2009 Feb 02 4:13 PM
‎2009 Feb 02 12:31 PM
Use FM 'C14Z_DYNP_READ_FIELD'
For Instance it should be like below
Data : v_field(255) type c.
CALL FUNCTION 'C14Z_DYNP_READ_FIELD'
EXPORTING
i_program = sy-repid
i_dynpro = sy-dynnr
i_fieldname = 'V_PLANT' "here specify your own field which u want to read
i_flg_steploop = ''
CHANGING
e_value = v_field. "Specify the variable inwhich u want to have the value and based on that u select other F4 help entries
Venkat
‎2009 Feb 02 12:36 PM
‎2009 Feb 02 12:46 PM
As long as the cursor hasn't been postioned in another field, you could try with statement
GET CURSOR FIELD ....This statement will return the name of the field where the cursor is positioned.
But i'm not all to sure if it's possible without triggering an event.