SAP Knowledge Base Article - Public

3022638 - The Net Price in CDS View "I_PurgInfoRecdOrgPlntDataApi01" is not updated or its not reflecting

Symptom

The Net Price in Custom CDS View I_PurgInfoRecdOrgPlntDataApi01 is 0, but there is a value in Fiori App Manage Purchasing Info Records. And the current period is within the valid period of the Price Condition.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Open Fiori App Custom CDS Views.
  2. Preview CDS view I_PurgInfoRecdOrgPlntDataApi01.
  3. Compare the displayed results of the Fiori app Manage Purchasing Info Records.

Cause

Price Conditions are maintained for future period, then Net Price in CDS view I_PurgInfoRecdOrgPlntDataApi01 does not update automatically when period becomes valid.

Purchasing Info Records have time dependent conditions and are not updated automatically. The Net Price in CDS view I_PurgInfoRecdOrgPlntDataApi01 will not be updated automatically until go to edit mode in Purchasing Info Records when price is valid.

The Standard table EINE is updated only once at the time of inforecord creation and the price field defined the fiori application is a calculated view and generates the current price during run time.

Resolution

The data shown in the view "I_PurgInfoRecdOrgPlntDataApi01" is fetched from EINE table. In the fiori application Display/Manage Purchasing Info record or when viewed from ME13/ME12, this field is a calculated field and hence being rendered with the actual net price value.

Also, in EINE table net price field will get updated when info record is created with condition and when the info record condition is modified. The value which is updated in the net price field is with respect to current validity amount during the creation or modification of info record conditions.

If info record is created with a future validity period, then net price field will be 0 and will not be automatically updated in EINE when the validity period resumes

So use Fiori App Manage Purchasing Info Records, open the Purchasing Info Records in edit mode and then save.

Keywords

I_PurgInfoRecdOrgPlntDataApi01, Manage Purchasing Info Records, F1982, Net Price, Purchasing Info Records, EINE, ME13, Custom CDS Views, F1866 , KBA , MM-FIO-PUR-IR , Fiori UI for Manage Info Records , MM-PUR-VM-REC-2CL , Info Record (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions