Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Open Order

Former Member
0 Likes
420

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
386

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

2 REPLIES 2
Read only

Former Member
0 Likes
386

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

Read only

Former Member
0 Likes
387

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