Symptom
- Custom CDS view YY1_I_CreditLimitUtilization is not giving the correct results for the total credit exposure amount for business partner.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open App Custom CDS Views.
- Create a custom CDS view YY1_I_CreditLimitUtilization.
- Use the data source I_CreditLimitUtilization.
- Define the parameter values.
- Under elements tab include the "CustomerCreditExposureAmount" field along with other necessary fields.
- Check and Publish the custom CDS view.
Cause
In the parameter P_ReadLineItem a manual value is defined. The FI-AR line items are excluded due to the manual define value.
Resolution
The default parameter value for P_ReadLineItem = Y (read_fiar_lineitems).
To display the total of credit exposure amount from the FI-AR the parameter value must be Y.
Keywords
I_CreditLimitUtilization, custom, cds, view, YY1_I_CreditLimitUtilization, P_ReadLineItem, parameter, default, value, CustomerCreditExposureAmount, customer, total, credit, exposure, amount, BSEG, FIAR, FI-AR, fiar, read_fiar_lineitems, Y, P_ReadLineItem = Y (read_fiar_lineitems) , KBA , FIN-FSCM-CR-2CL , Credit Management (Public Cloud) , How To