cancel
Showing results for 
Search instead for 
Did you mean: 

Query

Former Member
0 Kudos

How can we create relation(JOINING) between Purchase order and Goods Received PO

for identify for Vendor and item quantity relation.

Edited by: Philip Eller on Jul 1, 2008 9:27 AM

Accepted Solutions (1)

Accepted Solutions (1)

former_member583013
Active Contributor
0 Kudos

Sandeep,

When you say creating a relation what exactly are you trying to accomplish. Are you building a Query Report?

Explaining a little more of what you are doing will make it easy for us to answer more precisely

Suda

Edited by: Rui Pereira on Jul 8, 2008 6:53 PM

Answers (2)

Answers (2)

Former Member
0 Kudos

The joining is through lines in goods receipt (table pdn1) and BaseRef and BaseType fields. Base type should be 22 for vendor order and BaseRef is DocNum in OPOR table.

Edited by: Petr Verner on Jun 16, 2008 10:50 AM

Former Member
0 Kudos

Hi,

The link is between the line level GRPO (PDN1) and header level PO (OPOR). So:

PDN1.BaseEntry = OPOR.DocEntry

Regards,

Nat