Skip to Content
avatar image
Former Member

Call transaction

Hi,

when i am using call trasaction for MB1B whileusing all screen i am able to post it, where as while using N screen I am getting error message.

can any one help inthis regard.

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 17, 2007 at 10:20 AM

    Hi,

    Many SAP transactions behave differently in online mode and in Batch mode and this mode is determined by the SY-BINPT variable that can be controlled using the OPTIONS command in addition to the CALL TRANSACTION.

    For example, the error message that usually comes in status bar while you are running the transaction online might appear in a popup window when you are running that in batch. This will make your fields disabled for input. This OPTIONS addition will remove this problem

    The way to use the OPTIONS addition.

    Declare a work area of type CTU_PARAMS.

    Fill the fields of CTU_PARAMS. The field NOBINPT should be set to ‘X’.

    This will set the SY-BINPT to space. So now the transaction which you will be calling will run in online mode.

    Example.

    clear X_OPTIONS.

    X_OPTIONS-DISMODE = 'E'.

    X_OPTIONS-UPDMODE = 'S'.

    X_OPTIONS-CATTMODE = ' '.

    X_OPTIONS-DEFSIZE = ' '.

    X_OPTIONS-RACOMMIT = ' '.

    X_OPTIONS-NOBINPT = 'X'.

    X_OPTIONS-NOBIEND = ' '.

    call transaction 'BP' using T_BDCDATA[] options from X_OPTIONS.

    Note:

    Do not use the MODE & UPDATE additions when you are using OPTIONS. The mode & update values are passed in the CTU_PARAMS structure.

    reward if it helps..

    Regards,

    Omkar.

    Add comment
    10|10000 characters needed characters exceeded