Thanks Florian for your constant support.
I have corrected the error. below is the code change I have applied after so many tries.
/********* Begin Procedure Script ************/ BEGIN var_out = select bukrs, bstyp, bsart, lifnr, waers, count(ebeln) as ORDER_COUNT, SUM(zbd3t) AS ZBD3T from "_SYS_BIC"."kul_package/ZAV_EKKO" group by bukrs, bstyp, bsart, lifnr, waers; END /********* End Procedure Script ************/