Application Development 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: 

How to separate UI logic and applcation logic

Former Member
0 Kudos

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

1 REPLY 1

0 Kudos

Hi,

The best way to seperate is to WRAP all your business logic into some ABAP objects class or some Function module and then in the PAI call appropriate methods.

Still you will have the method call in the PAI but atleast the business logic is in a seperate component and you can transport it seperatley.

Regards,

Sesh