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

Exit from Batch Input

Former Member
0 Likes
2,548

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,467

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

4 REPLIES 4
Read only

Former Member
0 Likes
1,468

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

Read only

0 Likes
1,467

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

Read only

Former Member
0 Likes
1,467

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?

Read only

former_member300258
Participant
0 Likes
1,467

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.