2008 Jan 04 9:24 AM
I want to insert a new button in the standard screen..
I am new to exits.
Can any one tell me step by step of doing screen exit..
It would be helpfull for me
I want to insert a new button in the standard screen..
I am new to exits.
Can any one tell me step by step of doing screen exit..
It would be helpfull for me
2008 Jan 04 9:27 AM
Screen Exit is nothing but enhancing the screen like creating some more fields, subscreen and so on.
1. Go to the screen>System>Status-->Program (Double
click this program. It will take you to the program.
2. Now, Goto-->Object Directory Entry.
3. Make a note the package name.
4. Now run the transactions SMOD, press F4 and enter the
above noted package, press enter.
5. It will display list of Exits.
6. Now go back to the initial screen SMOD.
7. Specify the exit name here and select the radio button
Components.
8. It will display four group boxes one for FM, second
for Fcodes, thrid for Screen areas and last for
includes.
9. Goto transaction CMOD, create a new project, and
click the button "Enhancement assignments" and
specify your enhancements that you got in SMOD.
10. Now bouble clikc the enhancement, it will take you to editor with some includes starting with Z, double clikc the include you want to edit and proceed.
For information on Exits, check these links
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
Reward Points if it helps,
2008 Jan 04 9:33 AM
Hi,
Screen Exits:
Screen exits allow you to add your own fields to specified screens in standard transactions. To take advantage of customer-specific subscreens, you first need to create projects as described in the section Creating an add-on project. Then, you must include the SAP enhancement that contains the screen exit you want to use in your project. From the main screen of the Project management transaction, proceed as follows:
...
1. Select Enhancement components and choose Change.
The system lists all customer exits contained in the enhancements included in your project.
2. Place the cursor on the screen exit you want to create your own subscreen for.
3. Choose Edit component.
The system prompts you to enter a development class for your subscreen. Use the development class that contains all of the objects created for this specific enhancement project. The system then transfers you to the Screen Painter.
4. Create your subscreen using the Screen Painter.
5. Add modules to the screen flow logic as needed.
Enter the name of the module in the flow logic editor, then double-click on the module name and the system automatically creates the module in the corresponding function module program.
6. Generate your screen and choose Back (the green arrow) to return to the Project management transaction.
Once you activate your enhancement project, the fields defined in your subscreen will appear in the standard transaction.
Using Predefined Screen Data
When you use a screen exit, you need to be aware of how your subscreen and the fields it contains relate to the data on the standard screen. The global data defined in the standard SAP program is not known to the program that controls your customer subscreen. In the same way, the fields you use in your subscreen are not known to the SAP program in which they appear. To compensate for this problem, SAP creates special flow logic modules when defining screen exits.
SAP creates a special Process Before Output module (PBO module) with a function module exit. You can use this function module exit to transfer specific field values from the SAP program to your customer subscreen. SAP also includes a Process After Input (PAI) module that has a function module exit for transferring values back from your subscreen to the SAP program.
The function module exits in these PBO and PAI modules are only activated if you create actual modules for each exit. For more information on how to create customer-specific function modules, refer to the section Creating customer-specific function modules.
The import and export parameters for the PBO and PAI function module exits are predefined by SAP. As a result, you can only transfer values to and from your subscreen if they correspond to the parameters determined in the existing function module exit interface.
For more information please refer to the document:
http://help.sap.com/saphelp_nw04/helpdata/en/c8/19764143b111d1896f0000e8322d00/content.htm
Regards,
Renjith Michael.
2008 Jun 10 11:32 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |