Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2151

Re: BSEG performance issue.

$
0
0

Satya Pal wrote:

 

For some time the document I am not getting the document no when the document does not cleared fully. Please suggest some more.

 

[facepalmslap] Let me be the 3rd person to reiterate that you can read data from BSEG if you have at least the Company/Year/Document combination.

 

Your first example might be more clear if you looked at it in FB03. When a customer invoice is posted to accounting, it creates postings into different accounts. You have posting into the customer account, to revenue account, taxes and what's not. Because only one of these lines is relevant to the customer, then it's the one that goes into the customer index tables (BSID/BSAD depending on whether it's cleared or not). If you are reading from BSID/BSAD and looking for other lines for the same document then just read BSEG by document #. Attempting to analyze in what other index tables those other entries might be in this case would be rather silly.

 

Now the plot thickens and "For some time the document I am not getting the document no". I'm not really sure what this means, but, as you noticed, there are tables for cleared and non-cleared items, so the entries should be in either one of them.

 

Also keep in mind that in HANA all this cluster table nonsense goes away and accounting documents will be stored differently, so you might actually end up rewriting this altogether.


Viewing all articles
Browse latest Browse all 2151

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>