SAP Knowledge Base Article - Public

3155748 - Provider Contract - SOAP API

Symptom

You want to create or change a provider contract using the APIs ConvergentContractAccountingManageProviderContractIn or ConvergentChargingProviderContractBulkRequest_In.
The XML file sent does not contain any entries for the fields "StandAlonesellingPrice" or "TransactionPrice".
Processing terminates with an exception (FKC_API 010) during the currency conversion.

Environment

SAP S/4HANA Cloud 2202

Reproducing the Issue

  1. SE80
  2. Repository Browser
  3. Search for "Enterprise Services" via 'Other object' (Shift+F5)
  4. Enter: ABAP Name       II_FKC_MANAGE_PRVDR_CNTRCT
              ABAP Type         INTF Interface
  5. Confirm
  6. Test (F8)
  7. Enter Method Name  PROVIDER_CONTRACT_CREATE
  8. Execute (F8)

Cause

Due to an error in the program code, the currency conversion is also called during the processing of the XML file if the fields "StandAlonesellingPrice" or "TransactionPrice" and therefore no information about the currency (field CurrencyCode) is contained in the XML file. This leads to a termination in the conversion routine.

Resolution

The error is corrected with release CE2208.

Workaorund for release CE2202:

Include the fields "StandAlonesellingPrice" or "TransactionPrice" with an amount of 0.0 and any currency. 

     <StandAloneSellingPrice currencyCode="EUR">0.0</StandAloneSellingPrice>

     <TransactionPrice currencyCode="EUR">0.0</TransactionPrice>

The fields are evaluated for the integration with Revenue Accounting if order items are created from the information in the contract item and are otherwise not taken into account.

Keywords

FKCMANAGEPROVIDERCONTRACT: An exception was raised - FKC_API 010 Web service processing error; more details in the web service error log on provider side (UTC timestamp xxxxxxxxxxxxxx; Transaction ID XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX) II_FKC_MANAGE_PRVDR_CNTRCT PROVIDER_CONTRACT_CREATE , KBA , FI-CA , Contract Accounts Receivable and Payable , Problem

Product

SAP S/4HANA Cloud 2202