on 03-14-2014 7:42 AM
Hi,
Ours is MTO scenario... in this scenario, for total subcontracting parts....we are creating Purch. Req/Purch Ord with reference to Sales orders. One PO/PR is referenced to one Sales order only.
In this scenario, for one enhancement... I need to find the PR and PO numbers based on given sales order number. Is there any function module or any simple route to get all the PR and POs for a given sales order? instead of checking all PR/PO/planned order tables.
Thanks in advance.
Hello,
with transaction ME2K you can get the list of Purchase Order by Sales Document/Item.
Best regards,
Andrea
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Surya,
There is no such direct way to get the data but you can follow the below process.
You can get this details by defining/designing a new Query.
To develop a new query
1. use SQ01 through infoset create query
2. Use SQVI direct query by giving table.
Purchase Requision :-
Use Table EBKN for the same and give field VBELN as selection field. Input your sales order it will give you the purchase requisitions exist against the sales order at output level.
Purchase Order :-
Use Table EKKN for the same and give field VBELN as selection field. Input your sales order it will give you the purchase orders exist against the sales order at output level.
Hope it will help.
Regards
AG.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
read table VBFA, entering with:
VBELV = Sales Order number
POSNV = Sales Order item
VBTYP_N = 'V' for Purchase Order
Field 'VBELN' should give you the Purchase Order number. Bear in mind that if the assignment of the Sales Order to the Purchase Order is made manually during the creation of the Purchase order, and doesn't come from the document flow, so this solution wont' work.
Best regards,
Andrea
You can find PO through document flow Table -VBFA for a specified sales order number and PR can be found in sales document schedule line tab find PR number stored table VBEP-BANFN.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
10 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.