‎2015 Oct 28 11:10 AM
Hi ,
I am getting a time out dump for a query which uses external programe as reference, strangely its dumping after the first selct query itself which is from VBEP table which has only 1800 records for that selection.
I know we can use key fields in where condition, but I am using based on VBELN , lifsp , edatu and bmeng.
Please suggest as this is happening in prod system.
Thanks,
Balu
‎2015 Oct 28 11:14 AM
‎2015 Oct 28 11:14 AM
Hi,
How do you know it is dumping in VBEP? TIME_OUT short dump often points to the wrong select statement. Since you are selecting using VBELN , I don't think it is the problem with VBEP. Check out other select statement also.
R
‎2015 Oct 28 11:18 AM
Hi Rudra,
Thanks for your reply , I am saying this is dumping at VBEP table because the first select is on VBEP table and after that its fectching data from VBAK table where its giving dump.
Thanks,
Balu
‎2015 Oct 28 11:21 AM
Hiya,
There you go. Paste the codeof the select clause from VBAK.
R
‎2015 Oct 28 11:35 AM
Hello Bala,
my suggestion would be :
1) create secondary index on vbak based on fields VBELN , lifsp , edatu and bmeng in SE11.
2) optimize your select query by using basic thing, like dont use select * , dont use into corresponding table of fields etc.
3) make use of abap trace is possible, to cehck which statement taken how much time (in micro seconds)
Regards,
Hitesh
‎2015 Oct 28 11:51 AM
Hi Bala,
The maximum time to run any program is defined by parameter rdisp/max_wprun_time. If your program crosses this time then the dump TIME_OUT occurs.
You can resolve the issue by either increasing the time defined by this parameter or by running your program in the background.
Thanks,
Mayur.
‎2015 Oct 28 12:02 PM
Did you (before posting)
Regards,
Raymond
‎2015 Oct 29 10:57 AM
Yes I did run a trace before posting and there was no query taking more time.
‎2015 Oct 29 11:00 AM
What are the other selects you are using?
You said the problem you found out was in Select from VBAK. Can you paste the code for selection from VBAK?
‎2015 Nov 18 3:55 PM
Hi Bala,
Implement package size, ok?
Select vbeln... appending table it_vbak[] package size 1000 where vbeln eq ..."
Regards
‎2015 Nov 18 4:13 PM
If it were a memory issue, PACKAGE SIZE might help, but not for a timeout.
Rob