Skip to Content
author's profile photo Former Member
Former Member

Sy-Batch in workflow

Hello experts,

Please let me know whether the value of SY-BATCH will be set to 'X' if the workflow is executed in background....If so kindly let me know how to check for value of SY-BATCH in workflow and settings required in workflow to set the SY-BATCH variable.

Regards,

Uma

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 12:17 PM

    Uma,

    Workfloe will always work in background only whenever it get triggered. So, no need to set any value to SY-BATCH.

    Regards,

    Satish

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 04, 2007 at 12:23 PM

    ya...the value of SY-BATCH will be set to 'X' if the workflow is executed in background.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Satish/Mishra,

      Thank You for your replies.

      Can you please tell me the settings that has to be done in workflow to set the value of SY-BATCH to 'X'.

      I am facing problem where SY-BATCH is not getting set if the workflow is executed in background..

      I am running workflow in background mode and I am executing standard report(CP_PRT_MASS_CHANGE) in workflow. This report behaves differently based on the SY-BATCH value(If Sy-BATCH is not set it will throw screens else background upations will happen).

      The problem which I am facing is that when this report is called from workflow step(background mode) SY-BATCH is not set and it is trying to throw the screen in background and hence it dumps.

      I feel SY-BATCH will be set only if jobs are run in the background(i.e viewed in SM37).

      Kindly help.

      Thank You.

      Regards,

      Uma

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.