2016 Apr 16 11:13 AM
Hi All,
I tried searching SCN for this issue but couldn't get any answer except the below one.
Automatic trigger of PAI/PBO | SCN
My requirement is to not do display screens repeatedly in LOOP but to display it only once.
However I want the functionality after pressing enter in PAI to be executed for all the records inside the loop.
I was planning to add condition in PBO which will check if screen is alreday displayed or not. IF yes, do not show again.
But my issue is if I am not executing PBO then I assume that screen will not be shown to user but if that's the case then how to trigger PAI logic for
which PBO was not triggered.
Is there any way to achieve it.
Please advice.
Thanks and Regards,
Jitendra
Hi All,
I tried searching SCN for this issue but couldn't get any answer except the below one.
Automatic trigger of PAI/PBO | SCN
My requirement is to not do display screens repeatedly in LOOP but to display it only once.
However I want the functionality after pressing enter in PAI to be executed for all the records inside the loop.
I was planning to add condition in PBO which will check if screen is alreday displayed or not. IF yes, do not show again.
But my issue is if I am not executing PBO then I assume that screen will not be shown to user but if that's the case then how to trigger PAI logic for
which PBO was not triggered.
Is there any way to achieve it.
Please advice.
Thanks and Regards,
Jitendra
2016 Apr 16 5:48 PM
Guys.. Can anybody please let me know how to achieve this....
2016 Apr 16 8:19 PM
Hi jitendara,
Try writing the logic in LOAD-OF-PROGRAM event.
Hope it helpful,
Regards,
Ramesh
2016 Apr 17 12:58 PM
Based on what you describe about the "display screens repeatedly in loop", I think you misundesrtand something but I don't know what. Could you explain more precisely what you're trying to achieve?
2016 Apr 17 1:16 PM
Hi Sandra,
I am using EWM transaction for Inbound putaway process, where destination bin assignment screen is appearing repeatedly.
Eg: I have 10 Handling Units
So after pressing enter destination bin assignment screen for next HU appears.
So for assigning destination bin to 10 HUs, screen is coming 10 times.
What I want is screen for destination bin assignment should come only once and whatever desination bin I scan for first HU should be used for all HU internally. ( no screen display)
What I assume is Destination bin assignment screen is called in loop in PPF.
So I want to skip PBO logic to aviod screen display but I want to keep PAI logic to have functionality which executes on pressing enter of destination bin assignment screen.
Is it possible... Please confirm.
2016 Apr 17 1:44 PM
Thanks. I don't know that screen so I can just only guess. Technically speaking, you may skip the display by executing SUPPRESS DIALOG during the PBO (I hope there's a user exit to do it). The PAI will still be executed, and the ok code will be the same as if the user pressed Enter on the screen.
2016 Apr 18 12:09 PM
HI Sandra,
I tried with 'SUPPRESS DIALOG' statement but still code executed the PBO and displayed the screen.
I have just written 'SUPPRESS DIALOG.' statement in exit.
Am I missing something here...
2016 Apr 18 12:54 PM
I said "executing SUPPRESS DIALOG during the PBO", not in the Exit. The PBO needs to be executed, so that you can execute SUPPRESS DIALOG. SUPPRESS DIALOG does not exit the PBO, it just skips the screen display. I think the only way to exit the PBO itself is to use LEAVE SCREEN but the PAI will then not be executed. SUPPRESS DIALOG must be in the PBO of either a general (full screen) or modal dynpro, i.e. it has no effect if it's in the PBO of a subscreen.
As your issue depends on the logic of the EWM transaction, maybe you could get more people by writing a new post with title "EWM how to avoid destination bin assignment screen repeatedly displayed" or something like that.
2016 Apr 18 1:01 PM
Hi Sandra,
I have done enhancement in PBO section of the screen that needs to be skipped . Screen is of type 'SUBSCREEN' and that's why it is not having any effect. Is there any way to achieve above requirement for sunscreens?
2016 Apr 18 5:00 PM
No, it's impossible. Anyway, if you want the popup to not be displayed, you must execute SUPPRESS DIALOG in the PBO of the popup, not in one of its subscreens.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |