on 10-11-2007 9:36 PM
Hi
I am trying to find out the "Sales orders" for which "Goods issued" is complete for all items under the "Sales order".
Can we use VBUK-GBSTK for finding the status of Sales order for this purpose? or Is there any other field name that should be used to find this?
Any Help is appreciated
Thanks
VRV
From VBFA find the delivery document nos. against that Sales Order then with delivery document no check VBUK table to get the status of that delivery. (PGI done or not)
********logic to find whether PGI done or not
Shipped or not.
SELECT SINGLE * FROM vbuk WHERE vbeln = wa_vbfa-vbeln
AND vbtyp = 'J'
AND vbobj = 'L'.
IF vbuk-wbstk = 'C'. "PGI done for that delviery
ENDIF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
T.Code: VF04 will give list of Deliveries due for Billing. This will refer that PGI is done for them.
Hopefully this answers your question.
Regards,
Rajesh Banka
Reward points if helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One way is to find the order number in vbfa field to check whether material document (post goods) exists. In this way you can check whether pgi has been done or not.
pl reward ponts if u find it useful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
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.