Application Development 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: 

Context Menu strange issue !

Former Member
0 Kudos
128

Dear all

I am stuck into some strage situation.. I want to work with Context menu on classical lists.

I m referring to the demo progrm 'DEMO_LIST_CONTEXT_MENU' where PF status BASIC is used ....But when i create my own PF status based on 'BASIC'.....the context menu is not working in my Z program...I compared both Z pf status and std PF status...but i dont find any difference still it is working fine with the std SAP pgm but not with my Z pgm....

Am i missing anything can anyone suggest anything..?

just FYI ...I have assigned '%CTX' to SHIFT-F10 in my Z pf status..

Please help

Thanks

Nilesh

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos
86

Did you correctly assign %CTX :

  • * Start transaction SE41

o Program: Zxxxx

o Status: Zxxx

  • Hit F6 (Change)

  • Expand 'Function Keys' line (Hit '+')

  • In 'Reserved function keys' box, select first column (function code cell) of line 'Shift-F10'

  • Hit Ctrl+F9 (Delete Entry)

  • Hit Enter (Continue) in the popup 'Change F Key Setting Used Several Times'

  • Enter the value below

o First column: %CTX

o Second column: Context menu

  • Hit Ctrl+F3 (Activate)

Regards,

Raymond

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos
87

Did you correctly assign %CTX :

  • * Start transaction SE41

o Program: Zxxxx

o Status: Zxxx

  • Hit F6 (Change)

  • Expand 'Function Keys' line (Hit '+')

  • In 'Reserved function keys' box, select first column (function code cell) of line 'Shift-F10'

  • Hit Ctrl+F9 (Delete Entry)

  • Hit Enter (Continue) in the popup 'Change F Key Setting Used Several Times'

  • Enter the value below

o First column: %CTX

o Second column: Context menu

  • Hit Ctrl+F3 (Activate)

Regards,

Raymond

0 Kudos
86

Hello Raymond

I didnot create the functional code like the way you said..But i went through options in Goto -> Attributes --> F Key settings

But i realised it was not created properly and i could see the code %CTX in RED ..there was some in wanted character got

inserted...When i deleted it and manually entered ..It worked fine..

Thanks anyways .

NIlesh