Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BAPI_ALM_CONF_CREATE issue

Hi All,

I am facing an issue with  BAPI_ALM_CONF_CREATE this BAPI.

When I am confirming order from se37 with this bapi ,it is working.

But when I am using this bapi in program, it is not working i.e order not confirming.

         gs_timetickets-conf_no = '0000279214'.

         gs_timetickets-orderid = wa_afvc-aufnr.

         gs_timetickets-operation '0380'.

         gs_timetickets-fin_conf = 'X'.

         gs_timetickets-exec_start_date = '25.07.2015'.

         gs_timetickets-exec_fin_date = '25.07.2015'.

         gs_timetickets-CONF_TEXT = 'Test data'. "short Text

         gs_timetickets-ACT_WORK = '0'. "Actual work

        APPEND gs_timetickets TO gt_timetickets.


CALL FUNCTION 'BAPI_ALM_CONF_CREATE'

*      EXPORTING

*        post_wrong_entries = '1'

*       TESTRUN            =

       IMPORTING

         return             = ret

       TABLES

         timetickets        = gt_timetickets

         detail_return      = gt_return.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

     EXPORTING

        wait = 'X'.

       .


Can anyone help in this?




Thanks

Gourav.

replied

Resolved, in this case bapi_transaction_commit is not working &

solved using SET UPDATE TASK LOCAL then bapi then commit work.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question