Skip to Content

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

How to fetch delivery no from Table VBFA?

Hi,

How can I query to fetch the delivery no from table VBFA based on the sales order no?

Regards,

MD

Tags:
replied

Hi,

You need to give the preceding document number as your sales order number VBELV and sales order item in POSNV and you need to pass 'J' into VBTYP_N and get the value of delivery number in the VBELN and the item in POSNN.

Regards,

Pramod

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