对于BSIM:
In addition: After our further research, we find that using that six tables we may loose some fields. The detail is below:
table missing fields
BSIS vbeln kidno vbel2 posn2
BSAS vbeln kidno vbel2 posn2
BSID segment werks bewar
BSAD segment werks bewar
BSIK segment vbeln vbel2 posn2 werks bewar
BSAK segment vbeln vbel2 posn2 werks bewar
So we lost many data. Then we research again.
Finally we get that, if we use the statement 'select single XXX from bseg where bukrs = bukrs and belnr = belnr
gjahr = gjahr and buzei = buzei'
we can get the fully needed data faster, because 'BUKRS BELNR GJAHR BUZEI' consist all the key fields of the table BSEG, in other words, to a fixed group of ( BUKRS BELNR GJAHR BUZEI ), we can only find one record. So the data we get is correct.
Next is the code of the project:
Source code:
Way to Connect the six table:
No comments:
Post a Comment