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

Reading cluster table BSEC

Former Member
0 Likes
2,132

Hello,

I want to read data from BSEC table which is a cluster table. I found a FM READ_BSEC that will read the data but it need all the key field data to be filled in. In my case I need to read data based on the name and company code.

Can you please suggest what will be the best approach to do this?

Thanks.

7 REPLIES 7
Read only

Former Member
0 Likes
1,473

You can get all of the key fields from BKPF except BUZEI.  I know that's not much help, but there you are.

Neal

PS: When you say name, which name are you referring to? Customer, Vendor, Both? Do you know what tables like BSID and BSAD are for?

Read only

0 Likes
1,473

Hi Neal,

My requirement is to get the document number i.e. BELNR from BSEC based on the one time vendor name i.e. NAME1. Table BKPF doesn't store the name of the one time vendor.

Thanks,

Rajat

Read only

0 Likes
1,473

try open sql statement if you worrying about performance issue.

Rgds

Read only

0 Likes
1,473

Hi Rajat Garg,

          

In the Select query Pass the Condition

                                                              Add your one time vendor to your Corresponding Transaction

                                                                   Where Vendor Name  = 12.

Regards,

Kabil

                                                                                                                 

Read only

0 Likes
1,473

Hi Kabil,

I need to read table BSEC based on the vendor name and not on the vendor number.

Thanks,

Rajat

Read only

Former Member
0 Likes
1,473

any more suggestion please...

Read only

0 Likes
1,473

SO read lfa1 to bsak / bsik.

Then in a second step read that intermediat itab to bsec.

Neal