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

Transaction behaving differently in background processing

How do I fix a transaction that is behaving differently in background processing in a Batch Input session than when running in dialog. An error session is produced when processing in background when in fact there are no errors. When processing the session using display errors only, the whole session is processed successfully without pausing in any of the screens. The transaction in question is F-32. On the first screen, 'None' radio button is selected on 'Additional Selections' tab. We want to get rid of the Error Session if there are no errors. In background, it stops at screen 700, with the message 'Enter line items first of all or choose open items'. Help !!

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Apr 06, 2004 at 12:37 PM

    You can run a call tranaction with the options parameters. See F1 on call:

    So you can run the CT in "online mode".

    Addition 2a

    ... OPTIONS FROM opt

    Effect

    Allows you to control processing using the values of the componetns of the structure opt, which must have the ABAP Dictionary type CTU_PARAMS. The components have the following meanings:

    DISMODE

    Display mode (like the MODE addition)

    UPDMODE

    Update mode (like the UPDATE addition)

    CATTMODE

    CATT mode (controls a CATT)

    CATT mode can have the following values:

    ' ' No CATT active

    'N' CATT without single-screen control

    'A' CATT with single-screen control

    DEFSIZE

    Use default window size

    RACOMMIT

    Do not end transaction at COMMIT WORK

    NOBINPT

    No batch input mode (that is, SY-BINPT = SPACE)

    NOBIEND

    No batch input mode after the end of BDC data.

    The components DEFSIZE , RACOMMIT, NOBINPT, and NOBIEND always take the following values:

    'X' Yes

    ' ' No

    If you do not use the OPTIONS FROM addition, the following control parameter settings apply:

    DISMODE

    From addition MODE

    UPDMODE

    From addition UPDATE

    CATTMODE

    No CATT active

    DEFSIZE

    Do not use default window size

    RACOMMIT

    Successful end on COMMIT WORK

    NOBINPT

    Batch input mode active ( SY-BINPT = X

    NOBIEND

    Batch input mode remains active after the BDC data

    Add comment
    10|10000 characters needed characters exceeded