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: 

CAN I TAKE CT_ITEM DATA IN SELECT QUERY

0 Kudos

cs-header.png

Hi all

I have an question , in attachement i have an code for badi , my problem is i have to take data from CT_ITEM in select query but while writing it it gives erro as CT_ITEM is not present , but when i take bukrs from CS_HEADER it gives me data ,so what will be the problem..please help.

1 REPLY 1

Jelena
Active Contributor
0 Kudos

Errr.... You did not post the code that was giving you the error or the exact error message, so how are we supposed to answer?

Just a wild guess - CT_ITEM is an internal table and CS_HEADER is a structure, so if you tried the same syntax with CT_ITEM as in the screenshot then obviously this can't work.

Internal tables are explained in ABAP documentation. And if you meant there was no data in CT_ITEM then I'm not sure how SCN could possibly help with that...