Dear experts, whenever i executing the select query in this zprogram i am getting runtime error that time limit exceeds.i am using inner join and into table.after that also i am geetting error. how can i resolve it??
SELECT LIKP~VBELN LIKP~WADAT_IST LIKP~VEHICLE_NO LIKP~TRNAME
LIKP~VEHI_TYPE LIKP~LR_NO LIKP~ANZPK LIKP~W_BILL_NO
LIKP~SEALNO1 " Seal NO1
LIKP~SEALNO2 " Seal NO2
LIPS~LFIMG
VBRP~VBELN VBRP~VGBEL VBRP~MATNR VBRP~AUBEL VBRP~FKIMG
VBAK~AUART
VBRK~FKART VBRK~KNUMV VBRK~FKSTO
FROM LIKP INNER JOIN LIPS ON LIKP~VBELN EQ LIPS~VBELN
INNER JOIN VBRP ON LIKP~VBELN EQ VBRP~VGBEL
INNER JOIN VBAK ON VBRP~AUBEL EQ VBAK~VBELN
INNER JOIN VBRK ON VBRP~VBELN EQ VBRK~VBELN
INTO TABLE I_FINAL_TEMP
WHERE LIKP~VSTEL = '5100' AND
LIKP~WADAT_IST IN S_WADAT AND
VBRP~AUBEL IN S_AUBEL AND
VBAK~AUART IN ('ZJOB','ZOR') AND
VBRK~FKART IN S_FKART AND
* VBRK~FKART IN ('ZF8','ZF2','ZS1') AND
VBRK~FKSTO NE 'X'.
When I am debugging the select query.the cursor will not go to next step.after 15-20 minutes i am getting runtime error(time limit exceeds).
how can i resolve it for that scenario??