Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Module pool program

Former Member
0 Likes
651

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.

5 REPLIES 5
Read only

Former Member
0 Likes
631

I AM BNOT SURE ABOUT YOUR REQUIREMENT BUT FOR GETTING THE SCREEN DATA

IN PAI YOU HAVE TO WRITE THE CODE..

REGARDS

SHIBA DUTTA

Read only

Former Member
0 Likes
631

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.

Read only

Former Member
0 Likes
631

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.

Read only

Former Member
0 Likes
631

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

Read only

Former Member
0 Likes
631

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