‎2008 Jul 08 3:08 PM
hi,
i want some sample code for getting report in module
programming.
‎2008 Jul 08 4:57 PM
Hi ganesh,
define One screen (Example : 1000).
In that Create 2-3 Fields like MATNR, MAKTX, QUANTITY etc.
Create one Pushbutton with F-Code = 'PUSH'.
In the PAI of the screen wrtite code :
CASE OK_CODE.
WHEN 'PUSH'
LEAVE TO LIST-PROCESSING.
Write : /05 MATNR,
MAKTX,
QUANTITY.
Now ones you run ur transaction it will generate screen wth ur defined fields and pushbutton.
Enter MatNR, MAKTX and Quantity and press PUSHBUTTON and it will generate ur normal report output.
Thanks,
Kinjal.
‎2008 Jul 08 3:10 PM
Hi,
Pls Go through the Following link you will hav clear idea about Dialog(Module Pool Programming).
http://sap.mis.cmich.edu/sap-abap/abap09/index.htm
Regards,
Sujit
‎2008 Jul 08 3:11 PM
‎2008 Jul 08 3:12 PM
hi,
Plz Refer to this link.
http://help.sap.com/saphelp_nw04/helpdata/EN/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
Hope this will help.
Regards
Sumit Agarwal
‎2008 Jul 08 3:12 PM
Hiii!
Check out this link
http://saplab.blogspot.com/2007/10/sample-abap-program-for-module-pool_18.html
<removed_by_moderator_together_with_points>
Regards
Abhijeet Kulshreshtha
Edited by: Julius Bussche on Jul 8, 2008 4:38 PM
‎2008 Jul 08 4:12 PM
hi,
i know basic concept in module pool but i dont know how to get report in the module pool.
the requirment is when the client click a push button in the
window it will genrate a report.
can u give some example coding or some nice document on it
‎2008 Jul 08 4:20 PM
Hi,
I hope you are talking about List processing Through Module Pool.
If this then go to the link.
http://www.sapmaterial.com/dialog_programming.html
Basically you have to write the Processing in PAI Module
You can find demo code.
Regards,
Sujit
‎2008 Jul 08 4:25 PM
Hi,
Please check this link
http://abaplovers.blogspot.com/2008/03/sap-abap-tutorial-module-pool_17.html
http://sap.mis.cmich.edu/sap-abap/abap09/sld011.htm
Best regards,
raam
‎2008 Jul 08 4:57 PM
Hi ganesh,
define One screen (Example : 1000).
In that Create 2-3 Fields like MATNR, MAKTX, QUANTITY etc.
Create one Pushbutton with F-Code = 'PUSH'.
In the PAI of the screen wrtite code :
CASE OK_CODE.
WHEN 'PUSH'
LEAVE TO LIST-PROCESSING.
Write : /05 MATNR,
MAKTX,
QUANTITY.
Now ones you run ur transaction it will generate screen wth ur defined fields and pushbutton.
Enter MatNR, MAKTX and Quantity and press PUSHBUTTON and it will generate ur normal report output.
Thanks,
Kinjal.
‎2008 Jul 09 3:57 PM
the requirment is when the client click a push button in the
window it will genrate a report. i am using push button in sub screen.
can u give some example coding or some nice document on it