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

Function module to capture screen value

Former Member
0 Likes
763

Hi all,

Is there any function module in abap, that captures the value of the screen where we have clicked?

Suppose I positioned the cursor on field count which shows value 9 on screen. The value 9 has to be captured.

Is there any ways to do so?

Answers please.

Thanks in advance.

Vijay.

4 REPLIES 4
Read only

Former Member
0 Likes
631

try this hope it helps

DYNP_VALUES_READ

Read only

naimesh_patel
Active Contributor
0 Likes
631

Use GET Cursor command


GET CURSOR FIELD 'WA_SCREEN_FLD9' value l_value.

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
631

If you are trying to provide an interactive list for an ALV display. The selected field on the screen for further process is stored in RS_SELFIELD and before providing that option, you pass HOTSPOT value as 'X' at fieldcatalog level for that field.

Hope this helps, if not let us know your requirement.

Read only

BH2408
Active Contributor
0 Likes
631

Hi,

GET CURSOR FIELD fieldname value variable.

here variable can have the value of the fieldsname when ever user click on the field value.

Regads,

Bharani