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

User Exit For AS02

Former Member
0 Likes
1,316

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.

2 REPLIES 2
Read only

Sandra_Rossi
Active Contributor
0 Likes
686

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.

Read only

Former Member
0 Likes
686

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