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

BATCH input and user exit

Former Member
0 Likes
836

i perform batch input and in the proccess it get into user exit.

i want to tell him if it is bi dont enter into user exit

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
648

Ravi,

In your program check for the variable SY-BINPT. If this is set to X exit out the program.

Regards,

Ravi

3 REPLIES 3
Read only

Former Member
0 Likes
648

Hi,

Yes! YOU are right, The general for writing code in user-exit is , it should not be scheduled for background processing .

Batch input can be scheduled in background which violates the general rule for user-exit.

<i>Hope This Info Helps YOU.</i>

Regards,

Raghav

Read only

Former Member
0 Likes
648

Hi Rani,

Add line in user exit:

CHECK syst-batch IS INITIAL.

Regards,

John.

Read only

Former Member
0 Likes
649

Ravi,

In your program check for the variable SY-BINPT. If this is set to X exit out the program.

Regards,

Ravi