mpaleja
Occasional Member - Level 1

Concur Invoice Integration to SAP S/4 HANA Error - 'Posting Failed due to Missing Content.

error.png

We have activated the standard integration between SAP S/4 HANA and the Concur Invoice module for our organisation. Currently we are performing our integration test and we are experiencing an error 'Posting failed due to missing content. Please check COMPANY_CODE'. We noticed that the part causing the error is specifically the one related to the allocation, as it seems the company code is missing. When we have compared this against the JSON file we can see that both the company code as well as the cost centre are missing in the section related to the allocation.  Screenshot attached for reference.

 

 

4 REPLIES 4
PoojaKumatkar
Super User
Super User

Hi @mpaleja ,

 

If allocation level company code and cost centers are missing in JSON file then possible that you have not done the allocation in invoice. Can you please check that same invoice in Concur and see if it shows company codes and cost center in invoice allocation form? provide screenshot if possible for easy understanding purposes.

 

Also, would like to know whether invoice is with PO or without PO? because if invoice is with PO, we usually copy down all PO details into Invoice.

In this scenario, in case if PO is not allocated (blank) then possible that your invoice allocation might have got overwritten with PO allocation data which could be blank. 

 

 

Thanks!
Regards,
Pooja
mpaleja
Occasional Member - Level 1

Hi Pooja,

 

Many thanks for your response. I presume by the invoice allocation form we are referring to the Payment Request Allocation Form? Attached are my screenshots from the Forms and Fields component in Concur. It seems the technical consultant has created the company code and cost center as custom fields in our instance?

 

We do not currently have a PO process within our organisation so we are using without PO for all invoices. 

 

Many thanks,

Mitesh Paleja

 

Payment Request Allocation - Fields.jpgPayment Request Allocation - Form Fields.jpgPayment Request Allocation - Form.jpg

Hi @mpaleja ,

 

My previous question is mainly from end user side. I need screenshot of actual test invoice which you have created for testing purposes. 

 

Note - Allocation form will always have custom fields only. It doesn't have any org unit fields. Hence, there is no issue in your form's fields configuration. 

 

Sample invoice screenshot:

I want to see whether your test invoice contains distribution details or not as you mentioned, in JSON file company code and cost center is showing blank. For that below highlighted details must be populated in invoice then only it will appear in JSON file. 

 

PoojaKumatkar_1-1763642982781.png

 

 

Thanks!
Regards,
Pooja
samasuraj
Occasional Member - Level 1

Hi  @mpaleja 

 

Topic: Concur Invoice Integration to SAP S/4 HANA Error - 'Posting Failed due to Missing Content

 

Please check the below. Hope this helps.

-----

The error "Posting failed due to missing content. Please check COMPANY_CODE" appears to indicate that the required company code is not being determined from the invoice allocation data during the SAP Concur Invoice to S/4HANA integration.

Since both the company code and cost center are missing from the allocation section of your JSON payload, I recommend checking the following:

 

  1. In SAP Concur, navigate to Administration > Invoice > Forms and Fields. Verify that the company code and cost object fields are configured on the Payment Request Allocation form.
  2. Check the Connected List Definitions and confirm that the company code and cost center values are correctly mapped to the configured organizational unit fields.
  3. Verify the Copy Down configuration from the Payment Request Header to the Payment Request Allocation form. This is particularly important if the values are populated at header level but missing at allocation level.
  4. Confirm that the relevant Invoice Policy is assigned to the correct header and allocation forms.
  5. In SAP S/4HANA, review the Concur Invoice integration field mappings and cost object mappings. Ensure that the Concur fields correspond to the expected SAP company code and cost center.
  6. Verify that the cost center exists, is valid for the posting date, and belongs to the appropriate company code.
  7. After correcting the configuration, create a new test invoice and inspect the allocation section of the JSON payload before attempting another posting.

One important observation: If the company code and cost center are present in Concur custom fields but missing from the standard organizational unit fields, the integration mapping may not be aligned with your Concur configuration.

 

I would focus first on the Payment Request Allocation form, the Copy Down settings, and the SAP-side field mapping.

 

Thanks & Regards

--

Samantha Prathikantam

SF_EC & ECP / SAP Concur Consultant