04-26-2007 5:52 AM
1.how can we do totals and sub totals in alv's?
2. how many types of user exits?
3.how can we find out our function module in customer exits?in cmod?
waiting for reply
murali
04-26-2007 5:55 AM
Hi Mohan,
1)How do I add subtotals
http://www.sapfans.com/forums/viewtopic.php?t=20386
http://www.sapfans.com/forums/viewtopic.php?t=85191
http://www.sapfans.com/forums/viewtopic.php?t=88401
http://www.sapfans.com/forums/viewtopic.php?t=17335
2) Types of userexits :
Menu exits, Screen Exits, Function Exits, Customer exits.
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
http://www.planetsap.com/userexit_main_page.htm
Regards,
Priyanka.
04-26-2007 6:05 AM
hi,
for subtotals :
http://www.sapfans.com/forums/viewtopic.php?t=20386
http://www.sapfans.com/forums/viewtopic.php?t=85191
http://www.sapfans.com/forums/viewtopic.php?t=88401
http://www.sapfans.com/forums/viewtopic.php?t=17335
types of user exits
USER EXITS are FORMS and are called by SAP standard programs using PERFORM.
Inside the form (user exit) you can read and change almost any global data from host program.
User exits are more flexible because you have more information to use in your code but on the other hand , it is very easy to manipulate erroneously global data and lead the standard program to a dump or even to make database inconsistent.
User-exit doesn t have any classification.
Basically designed For SD module
User-exits can be written only using access-key
With user-exits the code , the developer has written will not be there for next version unless modification assistance tool is used
Costomer exits:
CUSTOMER EXITS are FUNCTIONS so they are called using CALL FUNCTION (or more exactly CALL CUSTOMER FUNCTION).
Inside a function (customer exit) you can only acces your import/export/changing/tables parameters.
Customer exits are more restrictive but you are sure any change you can make to any parameters will never lead to inconsistency
In customer-exit we have function-module exit , screen exit , menu exit
Are available for MM,SD,FI,HR ..Basically designed for all modules.
No need of access key
Customer-exits are not wiped during upgradation
USerExits:
User exits (Function module exits) are exits developed by SAP. The exit is implementerd as a call to a functionmodule. The code for the function module is writeen by the developer. You are not writing the code directly in the function module, but in the include that is implemented in the function module.
The naming standard of function modules for functionmodule exits is:
EXIT_<program name><3 digit suffix>
The call to a functionmodule exit is implemented as:
CALL CUSTOMER.-FUNCTION ❤️ digit suffix>
SMOD:
By using this transaction code we can find the Exits .
Cmod:
Here we can activate the exits after providing the logic.
check the below sites
http://www.sap-img.com/abap/what-is-user-exits.htm
http://www.sap-img.com/abap/what-is-the-difference-between-smod-and-cmod.htm
http://www.sap-img.com/abap/field-exits-smod-cmod-questions-and-answers.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm
04-26-2007 6:38 AM
Hi Murali,
Let me share my answers with you.......
1.how can we do totals and sub totals in alv's?
Sol: you will take the internal table with referance to SLIS_SORTINFO_ALV.
While prepare this internal table just add one property to this like
wa_sort-sum = 'X'.
wa_sort-subtot = 'X'.
append wa_sort to i_sort.
wa_sort like i_sort.
2. how many types of user exits?
Sol:We have 6 types of user exits:
1)Menu exit
2)Function Exit
3)Table Exit
4)Screen exit
5)Keyword Exit
6)Field exit.
3.how can we find out our function module in customer exits?in cmod?
Sol: CMOD contains all the enhancements for that perticular project.
Hope this helps you. Reply for queries, shall post the updates.
Regards.
Kumar.