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: 

REG how to call a function in PAI directly after PBO

Former Member
0 Kudos

Hi

I need to go to a statement in PAI directly after PBO execution in some scenarios . How to make that work?

Regards,

PradeepM.

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

Use [SUPPRESS DIALOG|http://help.sap.com/abapdocu_70/en/ABAPSUPPRESS.htm] in PBO, this will trigger PAI without displaying the screen.

Regards,

Raymond

3 REPLIES 3

Rocky1
Active Participant
0 Kudos

Hi Pradeep,

It is not possible to go directly to a particular statement in PBO. But this can be achieved by putting other statements in PAI and PBO in conditions like : check for sy-ucomm or for any other condition. The statement that you dont want to execute for a particular scenario, put that in some kind of condition check.

Thanks & Regards

Rocky Agarwal

Former Member
0 Kudos

HI

Im unable to change the value of sy-ucomm because it is not recognised in PBO or PAI

REgards,

PradeepM.

raymond_giuseppi
Active Contributor
0 Kudos

Use [SUPPRESS DIALOG|http://help.sap.com/abapdocu_70/en/ABAPSUPPRESS.htm] in PBO, this will trigger PAI without displaying the screen.

Regards,

Raymond