2009 Aug 22 8:18 AM
HI,
which user exit should i have to use for AS02 tcode ?
i am using the AIST0002 & AISA0001.
But AIST0002 is not running at the time of saving data. &
AISA0001 is running at the time of saving data but not getting the use life field from the screen as a parameter.
Can anybody suggest how i can get the uselife field from the screen.
Regards
Nitin Varshney.
HI,
which user exit should i have to use for AS02 tcode ?
i am using the AIST0002 & AISA0001.
But AIST0002 is not running at the time of saving data. &
AISA0001 is running at the time of saving data but not getting the use life field from the screen as a parameter.
Can anybody suggest how i can get the uselife field from the screen.
Regards
Nitin Varshney.
2009 Aug 23 9:20 PM
How to capture screen field values (whatever the transaction is) has been answered so many times in this forum. It depends how this transaction is coded. Maybe you can use TABLES (interface work area), maybe you can use DYNP_VALUES_READ, maybe you can use a field symbol to access global variables from another program, etc.
2009 Aug 24 7:55 AM
Hi,
You can also check BADI 'AAPM' also if you are in ECC 6 you can use Enhancement spots, if all these are not working then you can try to get value of that field from the screen using the FM 'DYNP_VALUES_READ', you would get several threads in SCn on how to use that FM. Also you can try to get the value for the variable using field symbols do like below:
field-symbols: <fs> type any.
ls_field(35).
ls_field = '(screenname)fieldname'<<<<<screen and field anme from where you want the value
assign (ls_field) to <fs>.
if sy-subrc = 0.
Value would be assigned to <fs>.
endif.
Regards,
Himanshu
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |