2010 Sep 23 1:06 PM
hi all,
i have make a coding for report in which PRIMARY KEY of table EBAN has not been used in SELECTION PARAMETERS,so i have used it with my internal table as shown in the code.i have used all my SELECT-OPTIONS parameters when i execute my coding, my internal table i-e gi_reqdate doesn't give any data.Following are the coding:
SELECT badat
FROM eban
INTO CORRESPONDING FIELDS OF TABLE gi_reqdate
WHERE ekorg IN s_ekorg
AND ebeln IN s_ebeln
AND lifnr IN s_lifnr
AND matnr IN s_matnr
AND banfn eq gi_reqdate-banfn.Thanks,
sapabappk
hi all,
i have make a coding for report in which PRIMARY KEY of table EBAN has not been used in SELECTION PARAMETERS,so i have used it with my internal table as shown in the code.i have used all my SELECT-OPTIONS parameters when i execute my coding, my internal table i-e gi_reqdate doesn't give any data.Following are the coding:
SELECT badat
FROM eban
INTO CORRESPONDING FIELDS OF TABLE gi_reqdate
WHERE ekorg IN s_ekorg
AND ebeln IN s_ebeln
AND lifnr IN s_lifnr
AND matnr IN s_matnr
AND banfn eq gi_reqdate-banfn.Thanks,
sapabappk
2010 Sep 23 2:40 PM
AND banfn eq gi_reqdate-banfn.
This does not make sense - why are you doing that?
2010 Sep 23 3:36 PM
I am completely agree with Brad.
If not required then remove last where condition.
you will get the data.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |