Skip to Content
Dec 27, 2012 at 11:00 AM

how can I create a work order within user exit QQMA0014


hello all

in the user exit QQMA0014 i am trying to create a refurbishment work order using bapi BAPI_ALM_ORDER_MAINTAIN .

this bapi contains a COMMIT WORK statement which is not allowed in the user exit. I browsed around and saw a few answers on commit work in user exits but in this case, since the work order is created in the user exit, how can the commit work be performed "outside" of it? I can copy the bapi and change it avoiding the COMMIT WORK statement but what to write so that the Work order will be inserted in the DB at the right time?