Skip to Content
avatar image
Former Member

BADI

Hi experts,

why we can't use commit statement in BADI implementation .but we can use in user exits.

Thanks

Gopi

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Sep 03, 2008 at 11:04 AM

    Both techniques link into standard SAP transactions, so called LUWs (logical units of work). You would disrupt this logical unit by sending a commit work inside an exit, sending the data to the database when it might not be complete yet, also preventing a possible rollback work by the application.

    So in user exits maybe you can have a commit work, but you should not by any means.

    Thomas

    Add comment
    10|10000 characters needed characters exceeded