# BAPI_ALM_CONF_CREATE — Create Maintenance Order Confirmation

> Posts time confirmations for operations of maintenance or service orders, with actual work, dates and final confirmation flag. It is the usual choice for time-sheet or mobile workforce interfaces that report work back to SAP. RETURN is a single structure here, DETAIL_RETURN gives the result per line; call BAPI_TRANSACTION_COMMIT after a successful run.

- Modules: PM
- Type: BAPI
- Function group: 2128
- Remote-enabled (RFC): Yes
- S/4HANA status: Used the same way in S/4HANA
- URL: https://nekuhub.com/en/functions/bapi-alm-conf-create/

## Importing parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| TESTRUN | BAPI_CORU_PARAM-TESTRUN | Test run (no update) | - |
| POST_WRONG_ENTRIES | BAPI_CORU_PARAM-INS_ERR | Handling of incorrect entries | - |

## Exporting parameters

| Parameter | Type | Description |
|---|---|---|
| RETURN | BAPIRET2 | Return message |

## Tables parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| TIMETICKETS | BAPI_ALM_TIMECONFIRMATION | Time confirmations | Yes |
| DETAIL_RETURN | BAPI_ALM_RETURN | Detailed result per confirmation | - |

## Call template (ABAP)

```abap
CALL FUNCTION 'BAPI_ALM_CONF_CREATE'
  IMPORTING
    return = lv_return
  TABLES
    timetickets = lt_timetickets
    detail_return = lt_detail_return.
```

## Related tables

AFRU, AFVC

