This website is not affiliated with, sponsored by, or approved by SAP AG.

Subscreens and Context menus (BAZ! Paws OFF!)

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: thx4allthefish, Snowy, Gothmog, YuriT

Subscreens and Context menus (BAZ! Paws OFF!)

Postby Rich » Fri Aug 10, 2012 5:51 am

Hi,

I have a context menu that works fine on a normal screen. However, change that screen to a sub screen and embed it in a screen and the context menu idoes not work.

Specifically at the point in the system code where the ON_CTMENU form name is derived, the method reports that there is no entry in the ON_CTMENU field for that particular field on the screen - which there is.

Any one any ideas ?

Regards

Rich

Image
Abap KC
SFMDR
Rich
 
Posts: 6926
Joined: Thu Oct 31, 2002 4:47 pm
Location: Geneva

Re: Subscreens and Context menus (BAZ! Paws OFF!)

Postby Rich » Mon Aug 13, 2012 6:10 am

Grrrr......

In my mockup the screen with the context menus in the fields was a main screen, so I too the target subscreen, changed it to a main screen, and recompiled it.

Changed it back to a subscreen, re-activated it and some, not all.... just some :? of the context menus started to work.

I've compared the screen information on a property by property basis and the ones that work (apart from the field name and length) are identical to the ones that don't. Changing the length doesn't make a difference either....
Regards

Rich

Image
Abap KC
SFMDR
Rich
 
Posts: 6926
Joined: Thu Oct 31, 2002 4:47 pm
Location: Geneva


Return to ABAP

Who is online

Users browsing this forum: Google Adsense [Bot] and 27 guests




This website is not affiliated with, sponsored by, or approved by SAP AG.