2014 Jan 28 10:12 PM
Hi All,
I am new to ABAP and am using SQ02 to add coding to select data from a table here is what I have so far:
Select single KNUMH from KONV
into Z_KONV_COND
where
KNUMV = EKKO-KNUMV
and
KPOSN = EKPO-EBELP
and
KSCHL='XX00'
===================
The problem is in table KONV, there are some records where the field KNUMH is blank I do not want these records to show in the query, what additional code do I need to add to the above section?
thanks
Joe
Hi All,
I am new to ABAP and am using SQ02 to add coding to select data from a table here is what I have so far:
Select single KNUMH from KONV
into Z_KONV_COND
where
KNUMV = EKKO-KNUMV
and
KPOSN = EKPO-EBELP
and
KSCHL='XX00'
===================
The problem is in table KONV, there are some records where the field KNUMH is blank I do not want these records to show in the query, what additional code do I need to add to the above section?
thanks
Joe
2014 Jan 28 11:38 PM
add the following in the where condition of the select statement
and
KNUMH ne ' '.
Select single KNUMH from KONV
into Z_KONV_COND
where
KNUMV = EKKO-KNUMV
and
KPOSN = EKPO-EBELP
and
KSCHL='XX00'
and
KNUMH ne ' '.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |