Application Development 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: 

Get bseg-belnr from augbl.

ronaldo_aparecido
Contributor
0 Kudos

Hi guys I need get Belnr from BSEG but i Have only AUGBL but this field is not key .

are the a function to get this data from bseg only with augbl?

I want to avoid performance problems.

Thanks.

3 REPLIES 3

sjayavarapu
Discoverer
0 Kudos

Hi Ronaldo,

To avoid performance issues, Please pass additional fields like clearing date, fiscal year and company code.Try any other key field you can pass to get BELNR.

Thanks,

raymond_giuseppi
Active Contributor
0 Kudos

Look at FM GET_CLEARED_ITEMS

  • You will find tables such as AGKO.
  • But you need to provide the full key of the clearing document with the company and the year.

0 Kudos

Hi!

You only have AUGBL which means you want to get Cleared document.

You can go to view BSAD (Customer), BSAK (Vendor), or BSAS (G/L accounts) then get field BELNR.

For choose which view, it depends on your document account type (BSEG-KOART).

This is better for the performance, rather than select direct from BSEG.

Thanks,

Daniel Tanjono