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

SKB1 -> DB Operation SELECT found (SKB1, see Note(s):0002431747)

schmelto
Active Participant
0 Kudos
9,722

I have following code:

SELECT SINGLE bukrs saknr xopvw
    FROM skb1
    INTO ls_xopvw " bukrs type bukrs, saknr type hkont, xopvw type xopvw 
    WHERE bukrs = accit_glx-bukrs
    AND saknr = accit_glx-hkont.

The ABAP Test Cockpit throws following warning: DB Operation SELECT found (SKB1, see Note(s):0002431747)

In the SAP Note 2431747 I found following text passage: As a consequence, read-access to SKA1 and SKB1 will in general return also secondary cost elements; this is different to releases before S/4HANA.

How can I handle this problem? I only want the primary cost elements in my selection.

2 REPLIES 2

RaymondGiuseppi
Active Contributor
6,023

Check value of SKA1-GLACCOUNT_TYPE (here use a JOIN from SKB1 to T001 and SKA1) and exclude 'S' seconday cost elements.

DominikTylczyn
SAP Champion
SAP Champion
6,023

Hello 6e829fd780204f76b10f492049a3773c

You are selecting from SKB1 with the primary key. So you know what you want to select. I'd say you can safely ignore the warning.

Best regards

Dominik Tylczynski