on 03-20-2016 5:14 AM
Hi,
I am just creating simple sql script based view and getting error.
If someone can tell where is the error, please.
below is the code
/********* Begin Procedure Script ************/
BEGIN
var_out = select bukrs, bstyp, bsart, lifnr, waers, count(ebeln) as order_count, zbd3t,
from "HANAU"."EKKO"
group by bukrs, bstyp, bsart, lifnr, waers;
END /********* End Procedure Script ************/
Screens are attached for column and semantics.
It would always be great to add the error information, instead of just saying "getting an error" .
What can be seen in your coding is, that you have a comma at the end of your field list (behind zbd3t), which is errorneous at that position.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 ************/
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.