Sie sind auf Seite 1von 3

link tables of Sales Order and Purchase Requisition

• in the sales order you have the filed VBEP-BANFN for the purchase requisition number and VBEP-
BNFPO for the item number of the purchase requisition. The both fields are filled in the third-party
process.

VBEP-BANFN is given after the sales order with the third-party process is saved, VBEP-BNFPO is
given already during the creation of the order (can be used, for example, for the incompletion log).

 Third party process is a bussiness scenario and it is different form Standard


sales order cycle.

Here when you save the document PR is getting saved automatically in sales
order itself.

So if the orders which you are trying to check has to of certain order type which
will be used for Third party scenario.

Just check with functional consultant sales order type(AUART) for third party and
check for those orders only.You will get the PRS for those orders.

 the fields VBEP-BANFN and VBEP-BNFPO are filled in the third-party process
only. It means that there is 1:1 connection between the schedule line of the sales
order and the purchase requisition. In the third-party process during saving the
sales order the purchase requisition is created automatically and is linked to the
order.

If the fields are empty, it means, you have no third-party process and no 1:1
connection between the sales order and the purchase requisition. Probably the
sales order created normal requirements, which generate purchase requisition(s)
after MRP run. In this case you cannot see the purchase requisition from the
sales order as there is no 1:1 connection. You have no chance to get the data
from sales order to the purchase requisition.
The only possibility which you (may be, it depends on the process) have, is to
find sales order numbers from the purchase requisition: so to develop the
process backwards. These data are stored in the database table EBKN:
Purchase Requisition Account Assignment.

Please use the following fields:

EBKN-BANFN - Purchase requisition number (key field)

EBKN-BNFPO - Item number of purchase requisition (key field)

EBKN-LOEKZ - Deletion indicator in purchasing document (key field, can be


helpful)

The corresponding sales orders are stored in:

EBKN-VBELN - Sales Document Number

EBKN-VBELP - Sales Document Item

EBKN-VETEN - Schedule line number

o sorry to mix into your response. But your report will probably does not work, because Balu
has written that in the table VBEP the fields BANFN and BNFPO are not filled. So, it is not
a third-party process (probably PR generation via MRP run). Therefore the only way here
is to find the sales orders from account assignment of the purchase requisition, which I
suggested above.

You probably have not noticed that VBEP-BANFN and VBEP-BNFPO are empty, as
indicated above.

Kind regards,
Akmal Vakhidov

Development Support SD, SAP, Walldorf/Germany

P.S. Dear Balu, only a short remark. If EBKN has no data to the sales document numer
(item number etc.), then you have no chance to find the connection between sales order
and purchase requisition, because there is no direct connection anymore. It is often even
desired during MRP run that you have no connection between SO and PR, so that after
external procurement you have the goods in the free available stock. So, EBKN is your
last chance. If the necessary data there are also empty (so no VBEP-BANFN, VBEP-
BNFPO and no EBKN data indicated above), then you have no chance. I hope, this info
helps you a little bit further. Thank

Das könnte Ihnen auch gefallen