on 07-04-2015 7:56 AM
Hi Experts,
While Developing FI report in which we are Calling the BSIS table, Which gets 10 records in the DB table & while executing the Program it gets only 9 records.
Code:
IF t_j_1iaccbal IS NOT INITIAL.
SELECT bukrs " Company Code
hkont " General Ledger Account
budat " Posting Date in the Document
blart " Document Type
shkzg " Debit/Credit Indicator
dmbtr " Amount in Local Currency
FROM bsis
INTO TABLE t_bsis
FOR ALL ENTRIES IN t_j_1iaccbal
WHERE bukrs = p_bukrs
AND hkont = t_j_1iaccbal-j_1iaccno
AND budat IN p_budat
AND blart not IN ('EX').
ENDIF. " IF t_j_1iaccbal IS NOT INITIAL.
I am Facing Issue while Using the Blart field in Where Clause. If i remove the Blart in where it is Performance Issue.
Regards
Mallikanjuna
Hi,
p_budat is what type?
I mean it is parameter that you pass from selection screen.
Regards,
Hitesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I Too Got the Similar Issue.
Create a range for Blart and Pass it to the Selection query where Clause.
The Range data can be filled as Below
SIGN = 'I'
OPTION = 'NE'
LOW = 'EX'
Regards
Kranthi Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
TRY with Creating secondary Index FOR NON key fields.
Hope it helpful,
Regards,
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.