‎2010 Oct 01 7:12 AM
Hi,
I am trying to add a pop-up screen with some message in the user exit ZXF48U01 for tcode FBU8 when the
user is trying to post cross comp code documents over a certain value. Based on the answer by the user I would like to continue or exit from the tcode.
The problem is FBU8 calls FB08 in batch input mode to do the reversal and hence my FM for pop-up is not executed.
I want to find a way to exit the batch input , force it to not go ahead with the posting.
Is there an option to do this ? I want to exit from the user exit and also prevent the posting of the document.
Appreciate any input.
Thank you
Lalitha
‎2010 Oct 01 8:47 AM
Hi,
Can you test SY-BINPT in the FB08 exit and if it's set, exit the FB08 routine without throwing the popup window? Also, if there's a subsequent user-exit in the FBU8 transaction, if SY-BINPT is true when FB08 is called, export something to memory (at that point instead) and import that in the user-exit in FBU8 to control whether a popup is required there instead?
Regards, Andy
‎2010 Oct 01 8:47 AM
Hi,
Can you test SY-BINPT in the FB08 exit and if it's set, exit the FB08 routine without throwing the popup window? Also, if there's a subsequent user-exit in the FBU8 transaction, if SY-BINPT is true when FB08 is called, export something to memory (at that point instead) and import that in the user-exit in FBU8 to control whether a popup is required there instead?
Regards, Andy
‎2010 Oct 01 3:10 PM
Hi Andy,
I am not able to find another user exit for FBU8 prior to or after the FB08 call.
Are you aware of any other user exit for FBU8 ?
Thanks
Lalitha
‎2010 Oct 01 9:37 AM
Probably Iam misunderstanding this - but can't you just set the okcode to '/N' in the batch input - forcing it to terminate the current transaction?
‎2010 Oct 01 9:45 AM
hi lalitha,
if you want to just leave from the batch input, go to system -> log off.
it then exit from that session. then go to sm35 batch input session overview to start from the beginning.
kalidass.