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

bsik table

Former Member
0 Likes
660

Hi All,

From bsik table i have to fetch only vendor open items .

what are the fields to be considered so that i can eliminate the other items like parked , deleted......etc

and get only the open items for that vendor..

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
465

Hi,

The field BSTAT - Document Status decribes the category.

Try using this field.

Thanks,

Ruthra

2 REPLIES 2
Read only

Former Member
0 Likes
466

Hi,

The field BSTAT - Document Status decribes the category.

Try using this field.

Thanks,

Ruthra

Read only

Former Member
0 Likes
465

Hi,

to select open items for vendor you should read from table BSIK.

After this you can read table BSEG with BSIK-BUKRS, BSIK-BELNR, BSIK-GJAHR.

( Bseg is a cluster table and selections for vendor are slower than bsik)

for example:

code

select * from bsik

where bukrs = company_code

and lifnr = vendor_no

select * from bseg

where bukrs = bsik-bukrs

and belnr = bsik-belnr

and gjahr = bsik-gjahr

[/code]

https://forums.sdn.sap.com/click.jspa?searchID=11218980&messageID=853238

BestRegards,

Ramesh.