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

PAI & PBO code for Object Oriented Screen

suwandi_cahyadi
Contributor
0 Likes
780

Dear Experts,

How to trace where is the PAI & PBO code for Object Oriented screen?

Usually if I want to search for an Implicit Enhancement spot, I will right click at the screen, go to Technical Information and double click the screen name to see the flow of the program at the PBO/PAI module.

But I found out that some screen (ME51N for example) does not really have the static screen. When I try to double click the screen number at the Technical Information, it says that the screen does not exist.

However when I try to trace the program, there's something like this code:

CREATE OBJECT view

     EXPORTING

          im_dynpro = '0014'

          im_prog = megui

          ..

I think it creates the screen, but then how can I trace where's the code for PBO & PAI?

Thank you,

Suwandi C.

1 REPLY 1
Read only

Former Member
0 Likes
570

Hi Suwandi,

OO PBO and PAI are used for re usability purpose where you can find that the method doesn't consists of code where according to the views selected the dynamic code gets generated.

I hope you are familiar with find out the PBO and PAI. Its is as simple as. As per your example ME51n it conatins one main program with one screen i.e SAPLMEGUI and 14. For these type of transactions i.e N joy transactions they are many view which are attched to navigate easily.

1. Place the cursor on the field of the screen for which you need to know the  PAI and PBO.

2.Click on Status then you can see the screen as below

Here It tells that 14 is the Main Screen and 3327 is the subscreen is the place the cursor is place.

Is this the requirement ?

Thanks,

Seshadri.