07-04-2007 6:19 AM
hi all,
in module pool can we nest one PBO event into other PBO event?
can we nest PBO in PAI or vice versa?
plz clarify it?
if u have any example regarding this then it will be helpful for me.
thanks
sanjeev
07-04-2007 6:22 AM
Hi
You can't next PBO in PAI or vice versa.
see the doc for Module pool
Check the below link:
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
You can also check the transaction ABAPDOCU which gives you lot of sample programs.
Also you can see the below examples...
Go to se38 and give demodynpro and press F4.
YOu will get a list of demo module pool programs.
One more T-Code is ABAPDOCU.
YOu can find more examples there.
See the prgrams:
DEMO_DYNPRO_TABLE_CONTROL_1 Table Control with LOOP Statement
DEMO_DYNPRO_TABLE_CONTROL_2 Table Control with LOOP AT ITAB
http://www.geocities.com/ZSAPcHAT
http://www.allsaplinks.com/files/using_table_in_screen.pdf
Reward points for useful Answers
Regards
Anji
07-04-2007 6:30 AM
Hi,
PBO and PAI are two seperate event blocks.
PBO modules are executed just before the screen is shown ( SO that you can modify you screen here).
PAI modules are executed when you do some action in the UI screen ( Basically to process the input).
You cannot have PAI being executed in PBO for a same screen.
But if you have multiple screens then you can another screen in PAI of Main screen and this call's the PBO of the subscreen.
Regards,
Sesh
07-04-2007 6:31 AM
hi
u want example
just refer to the link below
http://www.sapmaterial.com/?gclid=CN322K28t4sCFQ-WbgodSGbK2g
it will definitely help u a lot
regards
ravish
<b>plz dont forget to reward points if helpful</b>
07-04-2007 8:09 AM