Symptom
Different net price details have been shown in the CDS view I_PURGINFORECDORGPLNTDATAAPI01 in comparison to Purchase inforecord firoi applications.
Environment
SAP S/4HANA Cloud.
Reproducing the Issue
- Open Custom CDS View application.
- Use the CDS view "I_PURGINFORECDORGPLNTDATAAPI01" for the analytical query.
Cause
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. This is an expected behavior.
Keywords
s4_pc, inforecord, netprice, 0, NETPR, purchase, I_PurgInfoRecdOrgPlntDataApi01, IINFORECORGAPI01, IINFORECORGDATA, Custom, CDS, view, analytical, query , KBA , MM-PUR-VM-REC , Info Record , MM-PUR-CNT , S/4 HANA Purchasing Content , Problem