‎2006 Jul 24 3:38 PM
Hi
all
No one is able to answer me for Open oreder.
i want to get the open order by using table VBUK & VBFA .
how can i do it.Plz give me some hint or Code.(Is Any
other way possible way by using other tables)
Which fields i haev to relate and How??
I will always be thankful for Best possible answer
Thanks
Saurabh Tiwari
‎2006 Jul 24 3:43 PM
Hello,
In the table VBRP check the refrence document VGBEL
Select single * from VBRP where VGBEL = SALES ORDER.
If sy-subrc ne 0.
open sales order.
endif.
Hope this will solve ur problem.
Reward if helps.
Vasanth
‎2006 Jul 24 3:42 PM
all with the field ( vbupgbsta <> 'C' and vbupabsta <>'C')
For sales order ! Use table VBAK (header,) VBAP - positions.
So take VBAP and joinwith vbup on vbeln and posnr.
Chose anly with statuses described above.
BR, JAcek
Message was edited by: Jacek Slowikowski
Message was edited by: Jacek Slowikowski
‎2006 Jul 24 3:43 PM
Hello,
In the table VBRP check the refrence document VGBEL
Select single * from VBRP where VGBEL = SALES ORDER.
If sy-subrc ne 0.
open sales order.
endif.
Hope this will solve ur problem.
Reward if helps.
Vasanth