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: 

Need FM/BAPI/table to get FI docs of a given asset...

aris_hidalgo
Contributor
0 Kudos

Hello Experts,

Are there any FMs, BAPIs or tables that can get the corresponding

FI documents of a given asset? just like in transaction S_ALR_87012050.

Hope you can help me guys. Thank you and take care!

1 ACCEPTED SOLUTION

JozsefSzikszai
Active Contributor
0 Kudos

hi,

asset transactions are stored in tables: ANLK (header) and ANLP (items). This will also store the FI doc. number which are stored in BKPF (header), BSEG/BSIS... (items)

hope this helps

ec

4 REPLIES 4

JozsefSzikszai
Active Contributor
0 Kudos

hi,

asset transactions are stored in tables: ANLK (header) and ANLP (items). This will also store the FI doc. number which are stored in BKPF (header), BSEG/BSIS... (items)

hope this helps

ec

0 Kudos

Hi Guys,

I checked the tables that you said and I found that the BELNR field is included in table ANLP but when I checked the document number, it is not the same as transaction S_ALR_87012050. I think that this is not the one. Any other FMs or BAPIs that can help me with my requirement?

I can go directly to BSEG table anf just search the given asset but as you can imagine this will take a very very LONG time to execute.

Thanks again guys!

0 Kudos

ANEK-BUKRS = BKPF-BUKRS

ANEK-GJAHR = BKPF-GJAHR

ANEK-BELNR = BKPF-BELNR

should be fast enough

Former Member
0 Kudos

Check tables ANLA , ANLB and ANLC....

Thx.