‎2009 Jul 16 10:05 AM
Hi All,
Hope all are doing fine...
Am unable to capture the values entered in a transaction ,,,I have tried using screen-fieldname-value ,,but even then the values are not getting captured ... I have tried using dynp_values_read ...but also the values are not getting captured...
The moment i enter some values in the transaction and save it ,,its triggering a BADI ,,even the parameters of that BADI are not capturing the value entered in the screen of the particular transaction ....
Any other alternatives to capture the values of the screen.....
Pls. do the needful.
Thanks & Regards,
Jack
‎2009 Jul 16 10:07 AM
hi,
you have to declare the screen fields in your top include with the same names and same type.
regards
Sajid
‎2009 Jul 17 6:25 AM
Hi,
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 Jul 21 7:35 AM
Hi Jack,
You can either use a FM or directly capture the values from screen.
The reason for not getting the screen values could be the disimilar names in dynpro, & the one used in your program.
Also check, if you are saving values at any user command, check OKCODE or sy-ucomm.
Hope this works.
Regards,
Nidhi Kothiyal
‎2009 Jul 21 10:57 AM
‎2009 Aug 03 2:07 PM