Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

sy-batch value when debuggin a background process

Hello All,

I have a quick question. I am working with a background job and I have a doubt about the sy-batch value. I know it set to 1 when the process in run in background but if I turn the debuggin on [ via the infinite loop ] then will the sy-batch value change to SPACE ?

In debugging I see its changed to space but I am wondering is it cause I am debuggin in background or is it because Its an update task ?

can you please advise ?


Former Member

yes...SY-BATCH will be "X" only when in background work process. when in update task it will be processed in UPDATE wok process. So in your case SY-BATCH will be initial.

0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question