SAP Knowledge Base Article - Public

3559160 - Error FCO_AVC_PS216 when using API API_FINPLANNINGDATA_SRV

Symptom

Error returned with API execution:

FCO_AVC_PS216

Couldn't import data. WBS element number missing in input data.

Environment

SAP S/4HANA Cloud Public Edition

Cause

In the Json payload, it's necessary to add relevant data into header.

For example:

{
  "PlanDataAggrgnLvlFieldsString" : "PlanningCategory,LedgerFiscalYear,Project,GLAccount,AmountInGlobalCurrency,GlobalCurrency,WBSElement,FiscalPeriod,ChartOfAccounts",
  "to_FinPlanningEntryItemTP" : {
    "results" : [
      {
        "PlanningCategory" : "BUDGET01",
        "LedgerFiscalYear" : "2024",
        "Project" : "PROJECT01",
        "GLAccount" : "10100000",
        "AmountInGlobalCurrency" : "100",
        "GlobalCurrency" : "EUR",
        "WBSElement" : "PROJECT01-01",
        "FiscalPeriod" : "",
        "ChartOfAccounts" : "YCOA"
      }
    ]
  }
}

Above bold characters need to be added in the header part. Otherwise, the error will occur.

Resolution

Check Cause part.

See Also

FCO_AVC_PS 216, WBS Element, missing, API, post, error.

Keywords

KBA , CO-FIO-OM-PL-2CL , Planning (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions