Symptom
An ABAP runtime dump occurs when posting a supplier invoice in the "Create Incoming Invoices" app (FB60), and no accounting document is created.
Runtime Errors: CALL_METHOD_CONFLICT_TYPE
Exception: CX_SY_DYN_CALL_ILLEGAL_TYPE
ABAP Program: CL_EDOC_SOURCE_FI_INVOICE=====CP
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open the Create Incoming Invoices app (FB60).
- Enter an incoming vendor invoice and select Post.
- Observe that posting terminates with an ABAP dump and no accounting document is created.
Cause
An incompatible parameter type is passed to RS_DATA during method GET_FI_INVOICE_DATA in class CL_EDOC_SOURCE_FI_INVOICE, leading to runtime error CALL_METHOD_CONFLICT_TYPE.
There is no need to maintain an explicit entry for Romania incoming invoices.
Resolution
- Open configuration "Assign eDocument Type to Accounting Document Type" (Configuration ID: 102188).
- Locate the entry that maps accounting document type KR to eDocument type RO_INVIC for country RO.
- Delete the KR → RO_INVIC entry.
- Save the configuration.
- Retest posting in the "Create Incoming Invoices" app.
Keywords
FB60, Create Incoming Invoices, ABAP, Runtime, Dump, CALL_METHOD_CONFLICT_TYPE, CX_SY_DYN_CALL_ILLEGAL_TYPE, CL_EDOC_SOURCE_FI_INVOICE, GET_FI_INVOICE_DATA, RS_DATA, eDocument, RO_INVIC, KR, Document Type, 102188 , KBA , FI-FIO-AP-TRA-2CL , Transaction Apps: Public Cloud , CA-GTF-CSC-EDO-RO , DRC: Electronic Document for Romania , Problem
SAP Knowledge Base Article - Public