cancel
Showing results for 
Search instead for 
Did you mean: 

Wanting to make a query that report me each production order with it's variance

ahmedbsuony
Discoverer
0 Kudos

hello, I'm new to this and I wanted to make a query that shows me each production order and its variance, due to the variance cell in production order not a column in the OWOR table I'm unable to do it, I think the logical way is to make a query that calculate issued materials in each production order and multiple it with its cost then sum them all up giving me actual component cost, then another that calculate completed quantity and multiple it with item cost to give me actual product cost, then for the variance we subtract the total issued component cost from product completed cost.

is that right? And how do you go around making something like that?

System: SAP B1 HANA

Accepted Solutions (0)

Answers (1)

Answers (1)

SonTran
Active Contributor

Hi,

There are 2 views that contain detail of Production Order' transactions.

  • B1_ProductionContributionView
  • B1_ProductionVarianceView

You can query data from them.

Hope this helps,

Son Tran

ahmedbsuony
Discoverer
0 Kudos

i’m using SAP B1 HANA how can i access these to query them?

SonTran
Active Contributor
0 Kudos

In SAP B1, you can use query generator

How to create simple querie:

https://help.sap.com/docs/SAP_BUSINESS_ONE/68a2e87fb29941b5bf959a184d9c6727/450942e265e16c32e1000000...

example