Hello everybody.
As suggested from
*initializing fields for tax totals
SELECT SINGLE land1 FROM lfa1 INTO h_land
WHERE lifnr = is_ekko-lifnr.
*
SET COUNTRY h_land.
*SET COUNTRY IS_EKKO-lands.
H_land = 'DE'
This is our new coding now:
SELECT SINGLE land1 FROM lfa1 INTO h_land
WHERE lifnr = is_ekko-lifnr.
*
if IS_EKKO-EBELN <> ' '.
SET COUNTRY h_land.
endif.
*SET COUNTRY IS_EKKO-lands.
Thanks everybody.