SAP Function RTOHC_DOCUMENT_CREATE - Create realtime overhead document in memory

Parameter Reference Type Length Default Optional Text
IS_COBK COBK u 274 Header of the originating document
IT_COEP TT_COEP h 691 Line items of originating document
I_ORIGINAL_BUDAT CO_BUDAT D 8 X If reposting, budat of original doc
I_ORIGINAL_VALDT CO_VALDT D 8 X If reposting, valdt of original doc

Parameter Reference Type Length Text
ET_COEP TT_COEP h 691 Overhead items
E_NO_RTOHC FLAG C 1 No realtime overhead posting required

Exception Text
CALCULATION_ERROR Error from overhead calculation
VALIDATION_ERROR Validation error in realtime overhead

Functionality
Creates line items for realtime overhead costs that apply to a documentabout to be posted. Overhead cost items are stored in memory after beingcalculated for each actual cost item of the reference document.

Notes
See function K40C_DOCUMENT_CREATE for an example of a call.