Context menus (right mouse key, SHIFT F10) are shortcuts for functions that are frequently used.
They can be used to display context-sensitive menus. The context is defined by the position (cursor for SHIFT F10, mouse location for right mouse key) where the user called the context menu. If needed, you can specify the context more precisely with the displayed contents. This permits the user to select functions that are relevant for the current context using the context menu.
You define whether a context menu should be offered when you create a screen object (screens, input fields, table controls, boxes, ...). When the user selects a context menu on an object, an event mechanism (as understood by ABAP objects) calls a certain subroutine in the application program.
The program is assigned a menu reference. The program uses this menu reference to build the display menu. Menus defined with the Menu Painter and dynamic menus can be used here.
After the user executes a menu function, the application program regains control and can react to the user input.
Context menus are assigned to output fields. When you assign a context menu to a box, table control or screen (normal or subscreen), all the subordinate output fields that do not have a context menu inherit that one.
You can create a context menu from within the object list of the Object Navigator. Position the cursor on GUI status and right-click. The Object Navigator automatically opens the Menu Painter.
Of course you can also create a context menu directly in the Menu Painter.
A context menu is a special GUI status. Assign it a name, a descriptive text and status type Context menu.
In a context menu you can link any function codes and function texts. In particular, you can take advantage of your screen pushbuttons. The functions already provided in the interface can be used as an F4 input help.
The link technique ensures consistent context menus in large applications.
You should observe the following rules when designing context menus.
Do not use any functions that cannot be found elsewhere in the system (pushbuttons or interface).
Avoid using more than two hierarchy levels in context menus.
Do not use more than 10 entries, but map all the available pushbuttons.
Use separators to structure the context menu optically.
Place object-specific statements at the beginning of the menu.
Pressing the right mouse key triggers a callback routine in your program. You can create this callback routine in your application program with forward navigation. It is named ON_CTMENU_
Saturday, March 15, 2008
CONTEXT MENUS ON SCREENS IN SAP
Labels:
MODULE POOL PROGRAMMING IN SAP
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2008
(300)
-
▼
March
(84)
- BADI
- WHAT IS THE DIFFERENCE BETWEEN BADI'S AND USER EXI...
- Performance and scalability in SAP?
- What is the relationship between ALE and middlewar...
- . Why does SAP uses ALE instead of database replic...
- Which kind of interfaces do ALE business processes...
- Synchronous vs. asynchronous links in SAP?
- Which ALE services are available and what do they do?
- Which ALE business processes are available in SAP?
- What is the relationship between ALE and Middlewar...
- When should ALE be used?
- What are the benefits of ALE In SAP?
- What is ALE In SAP?
- INTERNAL TABLES IN ABAP
- BUFFERING IN SAP ABAP
- LOCKS IN SAP ABAP
- INTRODUCITON TO SCREEN PROGRAMMINGN SAP
- SCREEN ELEMENTS FOR OUTPUT IN SAP
- SCREEN ELEMENTS FOR INPUT AND OUTPUT IN SAP
- SUBSCREEN TABSTRIPS IN SAP
- SCREEN ELEMENTS ANDTABLE CONTROLS:
- CONTEXT MENUS ON SCREENS IN SAP
- LISTS IN SCREEN PROGRAMMING IN SAP
- What is an add-on project in sap?
- What is a function module exit in sap?
- What is a screen exit in sap?
- What are the various types of customer exits ?
- when do you opt for modification in sap?
- What are the advantages of enhancements IN SAP?
- What are the disadvantages of modification ?
- What is SSCR ?
- What is customer development ?
- What are the different types of enhancements ?
- Why do you need enhancements ?
- What is customizing ?
- What are the different ways in which you can make ...
- What are user exits?What is involved in writing th...
- RFC In R/3
- SAP ON SCRIPTS1
- ACCESSING BAPI USING VB PPT FREE DOWNLOAD
- ABAP VALIDATIONS PPT
- ABAP WORK BENCH PPT FREE DOWNLOADS
- Working with eCATT (Extended Computer Aided Test T...
- MM01 Upload using BAPI
- How can I Increase WebDAV Performance?
- The process of uploading data with a CATT
- CATT
- Can I also execute work items with external progra...
- Can I set deadlines for the latest processing of w...
- How can users be automatically notified that new w...
- What does the substitute rule system look like in ...
- What options do I have as a user to configure the ...
- What is the Workflow basic Customizing?
- How do you debug a background workflow process?
- How do I transport workflow definitions and agent ...
- What is the difference of between an e-mail and a ...
- How are the responsible agents determined?
- How is an event triggered from the application and...
- What is a work item (important terms)?
- What is a workflow? What is a single-step task?
- How can I make sure that user's access their tasks...
- How do I trigger a workflow with an e-mail?
- How can I configure the workflow so that when the ...
- How can I configure the workflow so that different...
- How do I send reports?
- How do I send really complex mails from the workflow?
- How do I send a complex text from the workflow?
- How do I send a standard text as an e-mail from wo...
- What is the difference between sending a mail to a...
- What differences are there between a work item and...
- How can I get the workflow initiator information i...
- What is Wf-XML used for?
- What open interfaces are supported in sap?
- How are workflows triggered in sap?
- How can I check the status of a workflow in sap
- What deadlines can be monitored? in sap
- What happens when a deadline is missed?
- How do I choose who to distribute the tasks to? in...
- What workflow reporting is available and is it use...
- How are users notified about their work pending? i...
- What do customers say are the strengths of SAP Web...
- What are typical costs saved by workflow? in sap
- How do I calculate the cost saved by workflow? in sap
- How do I convince my company to use workflow? in sap
-
▼
March
(84)
No comments:
Post a Comment