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: 

pop up in va21

Former Member
0 Kudos

Hi All,

Our requirement is to bring up pop up screen after the user enters input on the initial screen of VA21 where some instructions will be displayed and there would be two buttons accept or reject.In case he rejects it will go to some specified URL and in case of agree it would go to next screen of VA21.

We are having issues in bringing the control back to VA21 second screen if user presses accept button.We have used submit z report (which calls the pop up screen) in the user exit.

Can anyone please suggest how to code the above logic.

Regards,

Ruhi

5 REPLIES 5

Former Member
0 Kudos

Why don't you just call a popup FM (instead of submit)?  It's pretty easy to take an existing one and modify it if you need to.

Neal

0 Kudos

The pop up is a set of long instructions and so the std FM for pop up could not suffice,so we built a new screen and called that in a z program.This z pgm was submitted in the user exit.

Ruhi

0 Kudos

Convert you report into a function group and create a z-FM in this group to display the dynpro, replace the selection-screen into import parameters.

Advantage of FM vs SUBMIT report is that you can easily return an exported parameter to inform caller program of the decision and either continue the caller program logic or break it with a LEAVE TO CURRENT TRANSACTION or similar statement.

I suppose you coded it a PAI customer-exit or implicit enhancement.

Regards,

Raymond

0 Kudos

That's how I would have done it to a T.

Neal

former_member196651
Contributor
0 Kudos

Hi Ruhi,

If this exit is not working as you wish, please find a suitable Enhancement Spot after the user enter value to the initial screen of VA21. There you call your popup and proceed acordingly.

Regards,

Abijith