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

System field for EVENT

Former Member
0 Likes
1,067

Hi All,

Is there, any system field (variables), which identifies the sapevent

Thanks and Regards,

Anji

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
982

Hi Ramanjaneyulu,

I think sy-ucomm but I am not sure

Thanks,

Suma.

7 REPLIES 7
Read only

Former Member
0 Likes
982

Hi,

sy-ucomm.

Regards,

Madhavi

Read only

Former Member
0 Likes
983

Hi Ramanjaneyulu,

I think sy-ucomm but I am not sure

Thanks,

Suma.

Read only

Former Member
0 Likes
982

SY-UCOMM,please use OK_CODE When you are working on dialog Programming.

and see the all system fields from SYST structure..

reward points if it is useful

Thanks

Seshu

Read only

Former Member
0 Likes
982

Hi,

Check the system fields: sy-pfkey & sy-ucomm.

Hope this helps.

Reward if helpful.

Regards,

Sipra

Read only

Former Member
0 Likes
982

Hi,

Its SY_UCOMM

Read only

Former Member
0 Likes
982

hi ramanjeneyulu,

to identify an event we can use sy-ucomm which holds function code for the clicked button r event r textbox.

we can directly use sy-ucomm or can create a variable of sy-ucomm type as,

data: fun_code like sy-ucomm.

and use as,

case fun_code.

when 'funcode1'

.........

........

.......

when 'funcode2'

........

........

endcase.

where funcode1, funcode2 are function codes for buttons or events.....

helpful reward some points.

with regards,

suresh babu aluri.

Read only

0 Likes
982

I am assigning Program in Background and is triggering based on sapevent from sm64. in this scenario, i want to capture the event name in the system filed.. I tried with sy-ucomm and not able to get. Please any body give me the solution

Thanks,

Anji