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

separate UI logic and database operation

Former Member
0 Likes
406

Hi,

For better performance i want to separate UI logic that is within PAI event and my application logic that is insert operation.

any good idea?? shall i use function module??

Thanks

Regards,

Virat

2 REPLIES 2
Read only

Former Member
0 Likes
371

Hi

Can you elaborate? Is there any performance issue if you have both together?

I dont think there will be any.

Regards

Raj

Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
371

Hi,

There will not any performance issue as such as all the code will be executed by the same Dialog workprocess in the application server.

But it is alwys good to keep you flow logic and application logic seperated, so flow logic just calls the methods and the methods are in a different component like a static method of a class or function module in a function group.

Best thing is Function Group as you can have screens in a Function pool.

Regards,

Sesh