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: 

what's purpose of PBO and PAI?

Former Member
0 Kudos
6,432

Hi Expert ,

Could you please help me to explain the purpose of PBO and PAI and which case using PBO and PAI ?

Please help.

Thanks in Advance,

Karen.

Edited by: abaper1712 on Jul 13, 2010 11:26 AM

4 REPLIES 4

Former Member
1,544

Hello Karen,

This is a forum for Webdynpro ABAP, which is the new User Interface Technology.

You could rather post your question in [UI Progammimg forum|; or ABAP General.

Just to give you an idea what are PBO and PAI

PBO : Process before Output, here you write code which is executed before the screen is rendered in dynpros.we have similar concept in webdynpro as well and that too with more flexibilty.

PAI : Process After Input, here you write code which is executed after the end user enters the input on a screen.

Here also we have more flexibilty with webdynrpo ABAP.

Regards

Anurag Chopra

Former Member
0 Kudos
1,544

hello,

There are two ways of calling a screen. You can either use a transaction code, or the CALL SCREEN statement in an ABAP program. When you call a screen, the PROCESS BEFORE OUTPUTevent (PBO) is called, and the corresponding event block in the screen flow logic is processed. The screen itself is then displayed until the user triggers the PROCESS AFTER INPUT(PAI) event by choosing a function. In between, there may be field or input help processing. The corresponding event blocks in the flow logic are processed, if they exist. The main purpose of event blocks in the screen flow logic is to call dialog modules in the ABAP program and to provide the ABAP program with data.

Thanks and Regards

Himani Singh

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos
1,544

Originally posted in Web Dynpro ABAP forum, but I moved the question to the ABAP UI Programming forum as the question centers on Classic Dynpro instead of Web Dynpro ABAP.

ThomasZloch
Active Contributor
0 Kudos
1,544

And in ABAP development it is a basic question that you can research yourself quite easily.

Thread locked.

Thomas