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: 

BATCH input and user exit

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Rani,

Add line in user exit:

CHECK syst-batch IS INITIAL.

Regards,

John.

Former Member
0 Kudos

Ravi,

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

Regards,

Ravi