(warning)     (warning)     (warning)     (warning)

The new wiki link for this data flow is here:

Technical Documentation - Procurement - SPRINT report 

Please update the new doc there and no longer here.

(warning)    (warning)     (warning)     (warning)

Description

SPRINT - PtP: Prov. PO Item Analysis (Core Query)

Technical NameBW_QRY_MV_PROVG_0005

Application

SPRINT - PtP

Info-provider

MV_PROVG

Usage type

Direct execution in analyser

Expected users


Workbook/Query General Description

This query is a split of core query BW_QRY_MV_PROVG_0001.

General parameters

Global properties

TabScreenshotComment
Display

Rows/Columns

Value Display

Planning

Extended

Variables

Definitions

Variable Name

Info-object

Selection Type

Required

Description/Explanation

PO Item Creation Date

C_PO_ITM__0CREATEDON

Interval

YES

Choose interval on PO Item creation date

Vendor Zone (PUR)C_VENDID__C_PZONESelection OptionNo
Country Attribut Purch. Zone C_ORIGCTY__C_PZONESelection OptionNo
Source System0LOGSYSSeveral Single ValuesNo
Company codeC_COMPCDESelection OptionNo
SiteC_PSITESelection OptionNo
PlantC_PLANTSelection OptionNo
MaterialC_MATNR2Selection OptionNo


Material GroupC_MAT_GRPSelection OptionNo
Material TypeC_MATNR2__C_MAT_TYPSelection OptionNo
Purchasing GroupC_PUR_GRPSelection OptionNo
Purchase OrganisationC_PUR_ORGSelection OptionNo
Vendor PRSC_VENDID__C_VENDPRSSelection OptionNo
VendorC_VENDIDSeveral Single ValuesNo
Vendor Country0COUNTRYSelection OptionNo
Vendor ClassC_VENDID__C_VENCLSSeveral Single ValuesNo
PO Number0DOC_NUMSelection OptionNo
PO Item CategoryC_PO_ITM__C_PSTYPSelection OptionNo
Purchase Doc TypeC_BSARTSelection OptionNo
Capex flagC_WBS_EL2__C_WBSE_TPSingle valueNo
Purchase RequestC_PURRQTSelection OptionNo
SAP ContractC_AGRNBRSelection OptionNo
Purch. Inforecord (PIR)C_PURIFRSelection OptionNo
DomainC_DOMAINSelection OptionNo
SegmentC_SEGTSelection OptionNo
Order Acknowl. ReqrmC_PO_ITM__C_KZABSSingle ValueNo
PO Item Created byC_PO_ITM__OCREATEDBYSelection OptionNo
PO Origin of NeedsC_PO_ITM__C_ORICDESelection OptionNo
PO Created ByC_PO_ITM__0USERNAMESelection OptionNo
Global Business UnitC_SUBACT2__CPFCTR1_2Selection OptionNo

Variable Sequence

Filters

ObjectFilter ValueExplanation
InfoProvider

= C_PURRQI

= CR_PUSL1

= CR_PUSL2

= CR_PUSL3


Vendor<> [P000000000 - P999999999]
Vendor Class<> S
Vendor Account Group

<> KRED

<> PERS

<> Z012

<> Z013

<> ZSET

<> ZZCP

<> ZZPE


Add screenshot if relevant

Key figures

1.01 Global Lead-time PREQ to PO

Description

1.01 Global Lead-time PREQ to PO (A)

Calculation rule detail

Ratio
is composed by KF or CKF or RKF
With Restriction
A

BW_CKF_MV_PROVG_0028 (B)

Global Lead-time to transform a PREQ into PO

 Variables:

B

K_EDACDE / (BW_RKF_MV_PROVG_0027 (C) + BW_RKF_MV_PROVG_0028 (D))


C_PURRQI__C_NPFPREQ (PR non conform) = #

C_PURRQT <> #

C

BW_CKF_MV_PROVG_0009 (E)

Nb of PO items

C_PURRQI__C_NPFPREQ (PR non conform) = #

C_PURRQT <> #

D

BW_CKF_MV_PROVG_0009 (E)

Nb of PO items

C_PURRQI__C_NPFPREQ (PR non conform) = X
E

1 aggr by summation on C_PO_ITM


1.01 Lead-time: PO - Conform PREQ

Description

1.01 Lead-time: PO - Conform PREQ (A)

Calculation rule detail


Ratio
is composed by KF or CKF or RKF
With Restriction
A

BW_CKF_MV_PROVG_0003 (B)

Lead-time to transform into PO a conform PREQ

 Variables:

B

BW_RKF_MV_PROVG_0005 (C) + BW_RKF_MV_PROVG_0027 (D)



C

K_EDACDE

Variation in days between request and purchase date

C_PURRQI__C_NPFPREQ (PR non conform) = #

0INFOPROV = CR_PUSL1

0INFOPROV = CR_PUSL2

0INFOPROV = CR_PUSL3

D

BW_CKF_MV_PROVG_0009 (E)

Nb of PO items

C_PURRQI__C_NPFPREQ (PR non conform) = #

C_PURRQT <> #

E 

1 aggr by summation on C_PO_ITM

1.01 Lead-time: PO - Non-Conform PREQ

Description

1.01 Lead-time: PO - Non-Conform PREQ (A)

Calculation rule detail

Ratio
is composed by KF or CKF or RKF
With Restriction
A

BW_CKF_MV_PROVG_0017 (B)

Lead Time to transform into PO a Non-Conform PREQ

B
C

K_EDACDE

Variation in days between request and purchase date

D

BW_CKF_MV_PROVG_0009 (E)

Nb of PO Items

E1 aggr by summation on C_PO_ITM

1.08 Nb PO Item Created

Description

1.08 Nb PO Item Created (A)

Calculation rule detail

Ratio
is composed by KF or CKF or RKF
With Restriction
A

BW_CKF_MV_PROVG_0009 (B)

Nb of PO Items

 Variables:

B

1 aggr by summation on C_PO_ITM



1.08 Back Office Nb PO Item

Description

1.08 Back Office Nb PO Item (A)

Calculation rule detail

Ratio
is composed by KF or CKF or RKF
With Restriction
A

BW_RKF_MV_PROVG_0016 (B)

Back Office Nb PO

 Variables:

B

BW_CKF_MV_PROVG_0011 (C)

Nb of PO

Summation on C_PO_ITM__0CREATEDON (Item Creation Date).
C1 aggregate by 0DOC_NUM (BW Document Number)

1.08 Nb PO Item - E-Catalog

Description

1.08 Nb PO Item - E-Catalog (A)

Calculation rule detail

Ratio
is composed by KF or CKF or RKF
With Restriction
A

BW_RKF_MV_PROVG_0017 (B)

Nb PO Item - E-Catalog

 Variables:

B

BW_CKF_MV_PROVG_0009 (C)

Nb of PO Items

C

1 aggr by summation on C_PO_ITM


1.08 Nb PO Item - Referenced Material in Stock

Description

1.08 Nb PO Item - Referenced  Material in Stock (A)

Calculation rule detail

Ratio
is composed by KF or CKF or RKF
With Restriction
A

BW_RKF_MV_PROVG_0018 (B)

Nb PO Item - Referenced Material in Stock

 Variables:

B

BW_CKF_MV_PROVG_0009 (C)

Nb of PO Items

C

1 aggr by summation on C_PO_ITM


1.08 Nb PO Item - Goods & Services Non referenced Material

Description

1.08 Nb PO Item - Goods & Services Non referenced Material (A)

Calculation rule detail

Ratio
is composed by KF or CKF or RKF
With Restriction
A

BW_RKF_MV_PROVG_0020 (B)

Nb PO Item - Goods & Services non referenced materials

 Variables:

B

BW_CKF_MV_PROVG_0009 (C)

Nb of PO Items

C

1 aggr by summation on C_PO_ITM


1.12 Nb of PO Item without PREQ

Description

1.12 Nb of PO Item without PREQ (A)

Calculation rule detail

Ratio
is composed by KF or CKF or RKF
With Restriction
A

BW_RKF_MV_PROVG_0001 (B)

Nb of PO lines without PREQ

 Variables:

B

BW_RKF_MV_PROVG_0009 (C)

Nb of PO Items

C

1 aggr by summation on C_PO_ITM

1.13 PO Unit Price - PREQ Unit Price

Description

1.13 PO Unit Price - PREQ Unit Price (A)

Calculation rule detail

Ratio
is composed by KF or CKF or RKF
With Restriction
A

BW_CKF_MV_PROVG_0022 (B)

PO Unit Price - PREQ Unit Price (Round)

 Variables:

B

((TRUNC(BW_CKF_MV_PROVG_0005 (C))==0) AND (ABS(ABS(FRAC(BW_CKF_MV_PROVG_0005 (C))>0.009))*BW_CKF_MV_PROVG_0005 (C) + (TRUNC(BW_CKF_MV_PROVG_0005 (C))<>0)*BW_CKF_MV_PROVG_0005 (C)


C

NODIM( BW_CKF_MV_PROVG_0001 (D) - BW_CKF_MV_PROVG_0004 (E) ) )


D

NODIM (K_PCDEDD)

Purchase Order price (O. Curr) Key figure from multiprovider


E

NODIM(NDIV0( K_PRICEDA / K_PEI_DA )) Keys figures from multiprovider

Price in pur requisi / price unit (pur req)


1.13 PO Unit Price - SAP Contract Unit Price

Description

1.13 PO Unit Price - SAP Contract Unit Price (A)

Calculation rule detail

Ratio
is composed by KF or CKF or RKF
With Restriction
A( ( TRUNC(PO Price - SAP Contract Price (B) ) == 0) AND ( ABS ( FRAC ( PO Price - SAP Contract Price (B) ) ) > 0.01 ) ) * PO Price - SAP Contract Price (B) + ( TRUNC ( PO Price - SAP Contract Price (B) ) <> 0 ) * PO Price - SAP Contract Price
BNODIM ( PO Unit Price (C) ) - SAP Contract Unit Price (D)
C

K_PCDEDD

Purchase Order Price (O.Curr)

DNDIV0 ( ( NODIM ( SAP Contract Unit Price (E) ) / Nb PIR & Contract (F)
E

K_PUTDCL

Contact unit pric (0. Curr) schedule date

F

K_NBGR

Number of goods receipt

1.13 PO Unit Price - PIR Unit Price

Description

1.13 PO Unit Price - PIR Unit Price (A)

Calculation rule detail

Ratio
is composed by KF or CKF or RKF
With Restriction
A

BW_CKF_MV_PROVG_0023 (B)

PO Unit Price - PIR Unit Price (Round)

 Variables:

B

((TRUNC(BW_CKF_MV_PROVG_0021 (C))==0) AND (ABS(ABS(FRAC(BW_CKF_MV_PROVG_0021 (C))>0.009))*BW_CKF_MV_PROVG_0021 (C) + (TRUNC(BW_CKF_MV_PROVG_0021 (C))<>0)*BW_CKF_MV_PROVG_0021 (C)


C

NODIM( BW_CKF_MV_PROVG_0001 (D) - BW_CKF_MV_PROVG_0020 (E) ) )


D

NODIM (K_PCDEDD)

Purchase Order price (O. Curr) Key figure from multiprovider


E

NODIM(NDIV0( K_PFIADL / K_NBGR )) Keys figures from multiprovider

PIR unit price (O.Curr) Schedule date / Number of goods receipt


! Warning:

Some Key figures are not calculated in data flow, there isn't mapping between DSO schedule line and cube.

These keys figures are calculated in badi RSR_OLAP_BADI (Transaction SE18), implementation -> overview : ZVAR_IMPLT_MV_PROVG -> interface -> compute.

The calculation is done when some queries are executed.

 

Characteristics


Conditions

Condition Name

Active

By default

Key Figure

(Structure)

Operator
Value
Characteristic Assignement
Counter <> 0YesCounterNot equal0All characteristics in the drilldown Independcy