Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Sales order -goods issued


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



Former Member

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


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question