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

Abort/Cancel PBO processing

Former Member
0 Likes
1,012

Hello,

how can i abort the PBO processing, if the save_ok is f.e. 'TEST'.

Best regards,

TomSd

Hello,

how can i abort the PBO processing, if the save_ok is f.e. 'TEST'.

Best regards,

TomSd

2 REPLIES 2
Read only

matt
Active Contributor
0 Likes
741

You'd normally abort in the PAI. Using something like MODULE EXIT_COMMAND AT EXIT-COMMAND as the first line of the flow logic of the screen, where the module EXIT_COMMAND contains "IF ok_code = 'TEST'. LEAVE TO SCREEN 0. ENDIF.".

Otherwise, try leave to screen 0 in the first module of the PBO.

matt

Read only

Former Member
0 Likes
741

Hello Tomas,

I don't know if using CHAIN for example ON CHAIN-INPUT or another variant work.

But you can use EXIT inside all modules in your PBO processing of sentenced IF, this work ok :-).

Manuel.