07-25-2015 6:49 AM
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.
07-27-2015 8:14 AM
Resolved, in this case bapi_transaction_commit is not working &
solved using SET UPDATE TASK LOCAL then bapi then commit work.
07-25-2015 9:32 AM
07-25-2015 11:11 AM
Hi,
I just hard code one operation for test.this is confirming from IW41& FROM bapi.
But not from program !
Thanks
Gourav.
07-25-2015 11:46 AM
07-27-2015 8:14 AM
Resolved, in this case bapi_transaction_commit is not working &
solved using SET UPDATE TASK LOCAL then bapi then commit work.