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: 

Skip from subscreen SAPLV51G 6010 in VL02N

maria_merino
Active Participant
0 Kudos

Hi experts,

The users needs the following issue: in tx. VL02N, when they go to "Processing of handling units" (button "Pack"), in some cases a popup message should appear. This goes ok, I did it in badi BADI_HU_MAIN, method ASSIGNMENT_CHECK using module function POPUP_TO_CONFIRM. If the answer is "cancel" I need to skip from this subscreen and navigate to the main screen of VL02N. Set screen and leave to screen don't work, I've read that it's not possible to do what I need, is that correct ??

Thanks in advance,

Maria

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

Yes it's true, because the BADI doesn't belong to the main program of the screen you need to do

I believe you need to change the standard or try to check if you can do something by screen flow (trx VFBS)

Max

4 REPLIES 4

Former Member
0 Kudos

Hi

Yes it's true, because the BADI doesn't belong to the main program of the screen you need to do

I believe you need to change the standard or try to check if you can do something by screen flow (trx VFBS)

Max

0 Kudos

Thanks Max, now I need to learn how to use VFBS because it's the first time I hear about it...

0 Kudos

Hi

The main programs of logistic and in particular the program for delivery are managed by VFBS, here it can assign the action has to be done for a certain ok_code, in particular the routine to be called are assigned.

You can try to check the fm FUNCTION_EXECUTE and SCREEN_SEQUENCE_CONTROL in order to understand how VFBS works.

I believe you can try to create a your own routine in INCLUDE for user-exit and replace with the standard one.

You need to check the setting for OK_CODE assigned to button PACK

Max

0 Kudos

Thanks a lot but I don't even know how to start with VFBS, so I think it's better not to do anything..