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

SAP operating mode (B Batch;D Dialog;I Batch-Input)

former_member205645
Participant
0 Likes
1,368

Hello Gurus,

does anyone know how can i found out in which operating mode is the system working?

ex. batch, dialog ...

1 ACCEPTED SOLUTION
Read only

PedroGuarita
Active Contributor
0 Likes
842

variable SY-BINPT at runtime will tell you if you are running in Batch Input. SY-BATCH if in background mode.

3 REPLIES 3
Read only

Former Member
0 Likes
842

Hi,

Possibly more of a basis question, but I have a checkered past so here's what I know...

Op modes are defined in transaction RZ04 and scheduled in SM63 and they basically change the blend of processes, typically increasing batch processes at night and dialog during the working day. The op mode change I think just stops a process and restarts it (as a different type), but it won't stop processes that are in use, so if your batch window overruns you could still be short of dialog.

If you know all of this I apologize, if you want to know how to read the op mode programmatically (this is the ABAP forum after all) then I guess that's a different question, but you could do worse than debug the above transactions.

Regards,

Nick

Read only

0 Likes
842

@Nick - do you know if there is an option of changing the rollback segment size between say daytime and nighttime operations?

Rob

Read only

PedroGuarita
Active Contributor
0 Likes
843

variable SY-BINPT at runtime will tell you if you are running in Batch Input. SY-BATCH if in background mode.