05-09-2008 3:50 PM
I'm looking for a bapi which enables me to give a final confirmation to a serviceorder.
in the current scenario people are using cats for hourdeclaration on serviceorders. most of the time it is not known after hours are entered if the job is finished or not. when it's know after a few days the engineer has to declare 0,01 hours to make it possible to give final confirmation.
I 'm searching for a bapi where I can set the final confirmation for the serviceorder
the other alternative is to use IW41 to set the final confirmation only that can't be fully programmed inside cats with bdc
if anybody has any alternatives they are also welcome
kind regards
arthur de smidt
05-10-2008 7:22 AM
Hi,
BAPI_ALM_CONF_CANCEL Cancel confirmation for maintenance/service order
BAPI_ALM_CONF_CREATE Create confirmation for maintenance/service order
BAPI_ALM_CONF_GETDETAIL Detailed data for maintenance/service order confirmation
BAPI_ALM_CONF_GETLIST List of maintenance/service order confirmations
BAPI_ALM_GET_PROP Propose Data for Time Confirmation
Regards
05-09-2008 4:44 PM
Check BAPI_SERVICENOTIFICAT_CREATE for Create service notification.
Regards
Kiran
05-10-2008 7:22 AM
Hi,
BAPI_ALM_CONF_CANCEL Cancel confirmation for maintenance/service order
BAPI_ALM_CONF_CREATE Create confirmation for maintenance/service order
BAPI_ALM_CONF_GETDETAIL Detailed data for maintenance/service order confirmation
BAPI_ALM_CONF_GETLIST List of maintenance/service order confirmations
BAPI_ALM_GET_PROP Propose Data for Time Confirmation
Regards
05-21-2008 10:15 AM
when I use the BAPI_ALM_CONF_CREATE
bapi I can enter the data already available like
confirmation no order . I also set the indicator for final confirmation but I get the error ARU806 not valid call ??
solution coding in my case
SELECT SINGLE * FROM afru INTO gs_afru
WHERE aufnr EQ h_raufnr
AND vornr EQ wa_sap_catsd-vornr.
* Indien terugmeldingsnummer aanwezig dan eindterurmelding met nummer doen
IF sy-subrc = 0.
gs_timetickets-conf_no = gs_afru-rueck.
gs_timetickets-orderid = gs_afru-aufnr.
gs_timetickets-operation = gs_afru-vornr.
gs_timetickets-fin_conf = 'X'.
APPEND gs_timetickets TO gt_timetickets.
CALL FUNCTION 'BAPI_ALM_CONF_CREATE'
* EXPORTING
* POST_WRONG_ENTRIES = '0'
* TESTRUN =
* IMPORTING
* RETURN =
TABLES
timetickets = gt_timetickets
detail_return = gt_return.
.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
* EXPORTING
* WAIT =
* IMPORTING
* RETURN =
.
kind regards
arthur de smidt
Edited by: A. de Smidt on Dec 5, 2008 1:28 PM