My team is trying to use BAPI_INVOICEEC_CREATE to electronically post invoices from our external supplies to SRM 5.0 using an XI interface.
However, at present we are testing the BAPI using SE37 test tool. We have set up a test sequence in which the BAPI_INVOICEEC_CREATE is called with test data and the the BAPI_TRANSACTION_COMMIT is called to post the data to the database.
Two things are happening... the first: the process_type is being changed from INV to CREME (INvoice to Credit Memo) This is validated using trx BBP_PD
The second issue is that our line item data is not being written to the database. This is also validated using trx BBP_PD
We noticed that there does not seem to be a field to link the line item details with the invoice header detail structure.
Does anyone have expereience in posting invoices into SRM using the BAPI?