Skip to Content
0
Former Member
Dec 19, 2006 at 01:55 AM

where condition range

40 Views

Hi,

I am using the below code but the data is not selecting as per the where condition date range.it shows sy-subrc =4.

s_datum-option = 'EQ'.

s_datum-sign = 'I'.

s_datum-low = v_date.

s_datum-high = w_lastday.

append s_datum.

read table s_datum index 1.

SELECT * FROM VBRK INTO CORRESPONDING FIELDS OF TABLE I_VBRK

WHERE VKORG IN S_WERKS

AND FKDAT EQ S_DATUM.

In the above code the data is not selecting for s_datum.how to solve the issue.

Thanks,

Rajendra.