‎2007 Mar 27 11:45 AM
Hi,
I have a module pool program which has a top include+4 includes.This is called by a transaction and a screen. Depending on the screen values I need to query a custom table and perform certain logical steps depending on table entries in custom table.The logical steps could be call transaction
Where do I write this logic, in PAI of screen, or in the module pool.Thanks in advance.
‎2007 Mar 27 11:48 AM
I AM BNOT SURE ABOUT YOUR REQUIREMENT BUT FOR GETTING THE SCREEN DATA
IN PAI YOU HAVE TO WRITE THE CODE..
REGARDS
SHIBA DUTTA
‎2007 Mar 27 11:52 AM
In PAI. you have to define the module
pai section.
module perform_something.
In module pool program. (Double click on the module name perform_something, and create)
module perform_something.
write your code here..
endmodule.
‎2007 Mar 27 11:56 AM
In PAI section
module perform_section.
In module pool program double click on the module name perform_section and create the same in one of the include.
then write the code as such in this perform.
module perform_section.
write <code>.
endmodule.
‎2007 Mar 27 11:59 AM
Hi SV
Always write all code in PAI, If any special requiremet then code only on PBO.
**Please reward suitable points***
With Regards
Navin Khedikar
‎2007 Mar 27 12:03 PM
Hi,
You have told that Depending on the screen values you need to query a custom table and perform certain logical steps that means after giving the inputs only you have to call transaction...
It means it should be done Process After Input i.e, in PAI modules only