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 ' '.
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 ' '.