04-22-2008 9:50 AM
hello SAP Gurus,
can any tell me what is the difference between report program and module pool program in ABAP ?
why we use this module pool program?
04-22-2008 9:52 AM
Hi Vijaya lakshmi,
In reports we retreive data from the dictionary and output in the form of list.
where as in module pool we insert,update display the data from the database and as well as we can insert the data into dictionary.
A very Important point to be noted
Validation is done at the database level in reports
but in module pool validation will be done at screen level
and also in executable program,when we execute the program will get into the driver program and execute events wise
where as in module it will execute according to modules
Plz rewards if found helpful,
thanks & Regards,
Ganesh.
04-22-2008 9:55 AM
hi
1 ) mainly we use reports to display data
we use module pool programs to update database. its sap recommend way to update database
we can do it using reprts also but when updating through reports only that table is updated and not the child tables but in dialog prog along with master table its child tables are also updated
2) dialog progs are more user friendly than reports
3) in reports we cannot have validations while updating . we can do but it needs lot of coding but in module pool validations are done at screen level that is before entering into dbtab so data integrity is maintained
regards
prasanth
04-22-2008 9:57 AM
Hi,
Reports:
1. Report means you are displaying the records on the list, by
fetching the records from the table
2. reports are driven by events
3. Reports are Executable Program
Module Pool Programming:
1. module pool programs you are showing the data in a
screen and you can add different functionality like
pushbutton, GUI menu, and PF etc. and it is called as
module b'coz on screen you can't use subroutine ou have to
write the code in module, endmodule
2. where as module pool is driven by transaction codes .
3. In Module pools are execute via T-Codes
Reward If Helpfull,
Naresh.
04-22-2008 9:59 AM
hi,
follow these links
dialog programming
http://wiki.ittoolbox.com/index.php/FAQ:What_is_module_pool_program_in_abap%3F
http://help.sap.com/saphelp_46c/helpdata/en/35/26b1aaafab52b9e10000009b38f974/content.htm
http://sap.mis.cmich.edu/sap-abap/abap09/sld011.htm
http://sap.mis.cmich.edu/sap-abap/abap09/index.htm
http://www.geocities.com/ZSAPcHAT
http://www.allsaplinks.com/files/using_table_in_screen.pdf
http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
http://www.sapgenie.com/links/abap.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
http://wiki.ittoolbox.com/index.php/FAQ:What_is_module_pool_program_in_abap%3F
http://help.sap.com/saphelp_46c/helpdata/en/35/26b1aaafab52b9e10000009b38f974/content.htm
http://sap.mis.cmich.edu/sap-abap/abap09/sld011.htm
http://sap.mis.cmich.edu/sap-abap/abap09/index.htm
http://www.geocities.com/ZSAPcHAT
http://www.allsaplinks.com/files/using_table_in_screen.pdf
http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
http://www.sapgenie.com/links/abap.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/en/52/670ba2439b11d1896f0000e8322d00/frameset.htm
http://www.allsaplinks.com/dialog_programming.html
http://sap.mis.cmich.edu/sap-abap/abap09/
Other useful links:
http://sap.mis.cmich.edu/sap-abap/abap09/index.htm
Other links:
http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb2d40358411d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/10/e7dbde82ba11d295a40000e8353423/content.htm
For Screens
http://help.sap.com/saphelp_47x200/helpdata/en/e4/2adbef449911d1949c0000e8353423/content.htm
Screen elements
http://help.sap.com/saphelp_47x200/helpdata/en/47/e07f5f2b9911d2954f0000e8353423/content.htm
Processing Screens
http://help.sap.com/saphelp_47x200/helpdata/en/47/e07f682b9911d2954f0000e8353423/content.htm
Complex Screen elements
http://help.sap.com/saphelp_47x200/helpdata/en/fd/02da2a61d811d295750000e8353423/content.htm
Also
From Menu Environment->Examples->ABAP examples
or Using the Tcode ABAPDOCU you can learn Module pool programs.
regards,
sharad.