Report - Time out Error when Joining EKPO & MSEG
Hi All,
This is my code:
SELECT EKKO~EBELN
EKKO~LIFNR
EKKO~BUKRS
EKKO~EKORG
EKPO~EBELP
EKPO~TXZ01
EKPO~MATNR
EKPO~MENGE
EKPO~MEINS
EKPO~UNTTO
EKPO~PSTYP
FROM EKKO
INNER JOIN EKPO ON
EKKOEBELN = EKPOEBELN
INTO TABLE T_EKPO
UP TO P_MAX ROWS
WHERE EKKO~EBELN IN S_EBELN
AND EKKO~BSART IN S_BSART
AND EKKO~LIFNR IN S_LIFNR
AND EKKO~EKORG IN S_EKORG
AND EKKO~EKGRP IN S_EKGRP
AND EKKO~BEDAT IN S_BEDAT
AND EKPO~MATNR IN S_MATNR
AND EKPO~WERKS IN S_WERKS
AND EKPO~MATKL IN S_MATKL
AND EKPO~PSTYP IN R_PSTYP
AND EKPO~KNTTP IN S_KNTTP.
SELECT MBLNR
ZEILE
ERFMG
EBELN
EBELP
FROM MSEG
INTO TABLE T_MSEG
FOR ALL ENTRIES IN T_EKPO
WHERE EBELN = T_EKPO-EBELN
AND EBELP = T_EKPO-EBELP.
Now i am getting time out error. Can Any one suggest how can i solve this issue.
Identical problem by different (?) user:
Joining tables EKPO & MSEG
Similar Messages
-
ITunes shows time out error when trying to play on Airport Express.
Time out error when trying to play on Airport Express. This started with an iTunes update, problems has to be with iTunes, Airport Express appears to be communicating fine, even shows when speakers are not connected.
Same here, though on XP. Have tried cleaning registry, reinstalling, deleting preferences. Created a new user with no library and I have the problem there, too, so it's not the library.
Is there no one to call about this?? -
Time Out error when running Service Confirmation List Report
Hi All,
I am using CRM 7.0 version and some users (not all) when try to run a report in Service Confirmation List Report in WebUI Client, TIME OUT error comes up.Some times the timeout happens when the data is being extracted, but most often the timeout is when I try to download to Excel.
I checkedin ST22 and the problems seems to be in program CL_CRM_BOL_ABSTR_BO===========C in this method IF_BOL_BO_PROPERTY_ACCESS~GET_PROPERTY_AS_VALUE ... There is a restriction, that a dialog-process can run a maximum of 600 sec- after this, the process is stopped.
Does anyone has the similar problem. I don´t know if increasing the maximum time for the time out; should be a good solution OR run the report via Background. However I don´t know How to run it in Background.. Does anyone has any idea?
Any information is much appreciated!
Thanks!Parameer max/wp_eun_time is set to 1800 sec
By increasing the above value to higher, you can get the result.
But 1800 sec runtime for a transaction code is not a good one, check the time entities by tracing the execution(ST05) and tune if required.
Regards,
Nick Loy -
Foreground job - Standard report - Time out error
Hi,
I have a standard SAP report which is executed from portal and the report is failing in the foreground with a time out error. As there is time set for foreground process and probably the volume of the report is big which is not good enough to execute in the foreground time frame.
The customer wants to run it only in the foreground and does not want to schedule in the background and the reason being he wants to do some customization on the columns when the report is displayed back on the portal screen.
Now my question is there any other option to get the requirement and increasing the foreground time is ruled out by Basis team.
I was thinking if I can use a wrapper report on the standard report and include SAPGUI_PROGRESS_INDICATOR to keep the connection between the dialog and the presentation server going without dis-connecting. Is this a better option and I am not sure if it will work ?
Please let me know if any one else has resolved such issues earlier.
Regards
Praneeth Kumar
Edited by: gansprasan on Sep 20, 2011 2:07 PMHi,
Though it is not advisable to change max run time... if need you you consult with your basis and you can change run time dynamically in your program and reset to original. I agree even CL_gui_timer class wont help.
you can check below link.. handle it carefully..
[http://help.sap.com/bp_bw370/documentation/How_To_Change_the_Maximum_Dialog_Runtime_of_a_Process_in_NW2004s.pdf]
data: old_value(100).
CONSTANTS: parameter LIKE tpfet-parname
VALUE 'rdisp/max_wprun_time'.
CALL 'C_SAPGPARAM' ID 'NAME' FIELD parameter
ID 'VALUE' FIELD old_value. " old_value will have value set by basis.
IF sy-subrc <> 0.
RAISE not_found.
ENDIF.
use FM TH_CHANGE_PARAMETER to change value. Again reset the value with old value..
Regards,
Ravi. -
Getting time out error when running the assigned verification in DRM 9.3.2.
Hi,
I have installed DRM 9.3.2.0.0 in my system (windows 7), when i am trying to run assigned verifications i am getting the time out error within a minute.
As suggested by oracle,I have added DWORD with value 480000 under Master Data Management in Registry editor. But still getting the error.
Please suggest a solution for this issue.
regards,
sathiyaPlease suggest me the solution.
regards,
sathiya -
Time out errors when trying to download ios5
I am trying to download the latest version for my iPad but keep getting time out errors and the download fails. My internet connection is still there and hasn't dropped off. Not sure why the download won't 'finish'. Thanks for any help.
I get the same issue on my Windows7 PC. I have noted a manual upgrade path on this site
http://osxdaily.com/2011/10/12/ios-5-download-available/
But I'm not sure I know the difference between GSM and CDMA To be able to download the correct version.
I'm in the uk -
Connection time out error when calling a webservice on ICF
Hi
We have a webservice exposed on ECC 5.0 on the ICF. However, when we invoke the webservice - after 10 seconds , we get a error message
Error reading server response: The operation has timed-out
I checked ICMAN parameters
icm/conn_timeout - and set its new value to 50000 ms ( 50 secs ) - the connection still timed out when the webservice tooks more than 10 seconds to process.
icm/keep_alive_timeout - I don't see an option to change the new value for this parameter
What am i missing here - how can I set the connection not to time out uptil say 45 seconds - what parameter do I change here ?I partly agree with Kaustubh,
if you test the service from within SICF the parameter SAPLOCALHOSTFULL (FQHN = Fully-Qualified Host Name) is taken to build the test URL. If this host name is not correct resp. cannot be resolved by the server, you will run into an error.
icm/host_name_full is only taken if SAPLOCALHOSTFULL is not maintained.
So first of all you shold check this parameter befor increasing timeout parameters at random.
If the parameter does not solve the problem, you should have a look into the ICM trace file (dev_icm) and search for "ERROR".
Regards,
Stefan -
We just changed to ATT MIFi and every time I try to go into firefox it give me "The connection has timed out". My husband's laptop doesn't give him that error. I had previously been on satellite (hughes.net). I had problems with explorer but that has been fixed. I really like firefox and would like to get it fixed.
iphoto its pictures are still on your computer under the pictures folder.. it will be one file that says iphoto library. Its a separate file from the actual program.
If you still have the disks that came with your unit they have the ilife applications on them. put the disk in your drive that says mac os x applications dvd. it will auto mount and there should be a folder called bundled software open this and there should be a .pkg file to reinstall the ilife suite which includes imovie iphoto iweb idvd and garageband . After installing don't forget before runnig the program run software updates to download the any fixes
if you r unit has disks labeled disk one and disk 2.. you need to boot off of disk one and choose install bundled software.
I believe there is a KB article through apple.com/support -
I have just spent over an hour waiting for the Itunes software to download the new ios5 software and it fails right at the end as a server timeout error.
WHY DO WE HAVE TO GO THROUGH ITUNES?? WHY CAN'T THE SOFTWARE BE PUT UP ON THE SUPPORT PAGES.THIS IS NOT A NEW PROBLEM AS I HAVE BEEN UNABLE TO DOWNLOAD ANY UPGRADES FOR THE PAST YEAR ON MY PHONE AND IPADThis sounds like an ISP issue of some type on your end.
The Apple servers have been absolutely slammed and have been timing out, but certainly not for the past year.
Do you have an Apple Store nearby at which you can try downloading upgrades? -
Time Out ERROR CC Risk Analysis RFC
Hi Friends,
I am getting time out error when I am testing the CC risk analysis RFC. One thiing I monitor here is that when I am changing the parameters to 'YES' in tcode '/virsa/zrtcnfg',this RFC time out is occuring,when I am changing it back to 'NO' it is working fine.
I beleive there is some system perfomance issue or any bottleneck is happenning.
Please check error details of the Rfc below
Logon Connection Error
Error Details Error when opening an RFC connection
Error Details ERROR: program GRCRTTOCC5X not registered
Error Details LOCATION: SAP-Gateway on host hostname / sapgw00
Error Details DETAIL: TP GRCRTTOCC5X not registered
Error Details COMPONENT: SAP-Gateway
Error Details COUNTER: 65055
Error Details MODULE: gwr3cpic.c
Error Details LINE: 1960
Error Details RETURN CODE: 679
Error Details SUBRC: 0
Error Details RELEASE: 700
Error Details TIME: Thu Mar 11 09:21:35 2010
Error Details VERSION: 2
and also some time I am getting below error
Logon Connection Error
Error Details Error when opening an RFC connection
Error Details ERROR: timeout during allocate of registered program
Error Details LOCATION: SAP-Gateway on host hostname / sapgw00
Error Details DETAIL: TP GRCRTTOCC5X init/busy for more than 60 sec
Error Details COMPONENT: SAP-Gateway
Error Details COUNTER: 65068
Error Details MODULE: gwr3cpic.c
Error Details LINE: 1937
Error Details RETURN CODE: 677
Error Details SUBRC: 0
Error Details RELEASE: 700
Error Details TIME: Thu Mar 11 09:29:56 2010
Error Details VERSION: 2
Any suggestion please..
Thanks & Regards,
Satyabrat
Edited by: Satyabrat Mohanty on Mar 11, 2010 11:54 AM
Edited by: Satyabrat Mohanty on Mar 11, 2010 12:00 PMHi,
for further information the latest log is
2010-04-28 07:01:47,706 [SAPEngine_Application_Thread[impl:3]_18] ERROR User : not found to get full name
2010-04-28 07:02:21,066 [SAPEngine_Application_Thread[impl:3]_11] ERROR
java.lang.Throwable: java.lang.NullPointerException
at com.virsa.re.workflow.client.WorkflowRequestClient.getRoleProcessContextDtos(WorkflowRequestClient.java:284)
at com.virsa.re.workflow.client.WorkflowRequestClient.execSubmitRoleApprovalWF(WorkflowRequestClient.java:83)
at com.virsa.re.workflow.actions.WorkflowRequestAction.submitApprovalRequest(WorkflowRequestAction.java:95)
at com.virsa.re.workflow.actions.WorkflowRequestAction.execute(WorkflowRequestAction.java:54)
at com.virsa.framework.NavigationEngine.execute(NavigationEngine.java:273)
at com.virsa.framework.servlet.VFrameworkServlet.service(VFrameworkServlet.java:230)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:117)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:62)
at com.virsa.comp.history.filter.HistoryFilter.doFilter(HistoryFilter.java:43)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:58)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:384)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(AccessController.java:219)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
FYI
I have already checked all the webservices urls and password everything is fine.am I missing something.
Regards,
Satyabrat -
WRT300N V1.1 Time Out Errors
I keep getting Time Out Errors when trying to connect wirelessly with this router. I go into the prefs, turn WiFi off, then back out.... usually that helps matters, and everyone can log back in... at least for a while, then it happens all over again. I can't really re-set the router.... this is a small office and loosing connectivity isn't an option, and re-setting the router shouldn't be required every few days anyway. Settings are: Network Mode: Mixed Radio Band Wide Wide Channel 3 Standard channel 5 - 2.432 Ghz Security Mode WPA2 Personal Encryption AES key Renewal 7200 Any ideas ?
Try changing few more settings on the router ....
Click on Advanced Wireless
settings>>Change the Beacon Interval to 75 >>Change the Fragmentation
Threshold to 2304 Change the RTS Threshold to 2304 >>Click on "Save Settings" .... -
BPC Optimization Server Time Out error message
We’re using BPC 7.5 MS and on patch level 111.02
There’s two front-end servers and one back-end.
When completing a full optimization with compression on an application we immediately get the optimization popup screen with no processing information only a “Server Time Out” error message.
Optimization was taking a long to time run and sometimes timed out. To try and resolve this issue we have just updated indexes and statistics and during our test in production we now receive the “Server Time Out” error message immediately. However, the records from tbl.Factwb and tbl.Fac2 did move to the tbl.Fact.
Our development environment test ran fine.
Any suggestions?
Thanks.Hi Michael,
please look in the logs maybe you will found more informations regarding the timeout and eventually share it.
There are several notes about a timeout in 10 version,
1394533 - 'Server Time Out' error when performing Modify Application, Full Process of a dimension, or Full Optimize this is related with NLB
but it could be also related with the web.config 1628908 - How to fix Optimize with compress time-out failure
or if you reach the max number of connection
1635749 - Error Message: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool
Regards
Roberto -
ServletInputStream.read() causes read time out error
this part of the jsp page
<jsp:useBean id="testServlet" scope="page" class="testServlet" />
<%
testServlet.doUpload(request);
%>
this is part of the servlet
public void doUpload(HttpServletRequest request) throws IOException
BufferedInputStream br = new BufferedInputStream(request.getInputStream());
/* error here! */
int i = br.read();
it will produce an read time out error when i reach the error line
btw..... i am using tomcat as server and parsing the form :
<form name="form1" enctype="multipart/form-data" method="get" action="converter.jsp">
<input type="file" name="filename">
</form>
thnx in advance!I'd think for the request to have an input stream, the request method on the form would need to be post, not get. Other than that, I don't know why you've created a Servlet - seems like you could have just created a simple class that takes a HttpServletRequest object (doesn't have to be a servlet). Your jsp page is the real servlet that's being called.
-
Time Out error problem when i run the report for the whole plant
Dear all,
pls find the below coding, when i execute this report for the whole plant , it gives me time out error since it has to process huge database. pls suggest me in which part of my below coding i can improvise or any other better way to fetch the same result.
pls note that
i m using Views for querying.pls also note the comments given in Bold to understand the reason behind the coding.
Views used in are - ZVPOD and ZVPRDCONF.
START-OF-SELECTION.
Data: zstat type jest-stat.
data: stklocaf type mska-lgort.
data: stklocas type mska-lgort.
<u><b>To collect the status of the production order by joining the ZVPOD and JEST table.</b></u>
CLEAR it_ZVPRODDET.
SELECT DISTINCT ZVPOD~bukrs ZVPOD~aufnr ZVPOD~objnr
jest~stat ZVPOD~werks ZVPOD~arbpl ZVPOD~J_3AKORD2
FROM ZVPOD
INNER JOIN jest ON ZVPOD~objnr = jest~objnr
INTO CORRESPONDING FIELDS OF wa_ZVPRODDET where
plnbez in FGM and arbpl in wc and werks in plant
and SSAVD in eldate
and J_3AKORD2 in cups and jest~inact ne 'X'.
APPEND wa_ZVPRODDET TO it_ZVPRODDET.
ENDSELECT.
SORT it_ZVPRODDET BY aufnr stat.
<u><b>Loop thru Itab to check and delete the records from itab for the specified status.</b></u>
LOOP AT it_ZVPRODDET INTO wa_ZVPRODDET.
IF wa_ZVPRODDET-stat = 'I0045' . " TECO - compl
DELETE it_ZVPRODDET WHERE aufnr = wa_ZVPRODDET-aufnr.
ELSEIF wa_ZVPRODDET-stat = 'I0009' . " CNF - Confirmed
DELETE it_ZVPRODDET WHERE aufnr = wa_ZVPRODDET-aufnr.
ELSEIF wa_ZVPRODDET-stat = 'I0012' . " DLV - Delivered
DELETE it_ZVPRODDET WHERE aufnr = wa_ZVPRODDET-aufnr.
ELSEIF wa_ZVPRODDET-stat = 'I0046' . " CLSD - Closed
DELETE it_ZVPRODDET WHERE aufnr = wa_ZVPRODDET-aufnr.
ELSEIF wa_ZVPRODDET-stat = 'I0076' . " DLFL - Del Flag
DELETE it_ZVPRODDET WHERE aufnr = wa_ZVPRODDET-aufnr.
ELSEIF wa_ZVPRODDET-stat = 'E0003' . " SCLS - Short Close
CLEAR tj30t.
SELECT SINGLE txt04
FROM tj30t INTO tj30t-txt04
WHERE stsma = 'PRDHOLD' AND
estat = 'E0003' AND
txt04 = 'SCLS' AND
spras = 'EN'.
IF sy-subrc = 0.
DELETE it_ZVPRODDET WHERE aufnr = wa_ZVPRODDET-aufnr.
ENDIF.
ENDIF.
* Condition for Prod Order released - REL
IF wa_ZVPRODDET-stat = 'I0002'.
mreleased = 'Y'.
else.
mreleased = 'N'.
endif.
zstat = wa_ZVPRODDET-stat.
IF mreleased = 'N'.
DELETE it_ZVPRODDET WHERE aufnr = wa_ZVPRODDET-aufnr
and stat = zstat.
ENDIF.
ENDLOOP.
<u><b>Loop thru the filtered ITAB to get all the production order details for the production order number specified in the where clause( zaufnr ) and populate another internal table.</b></u>
LOOP AT it_ZVPRODDET INTO wa_ZVPRODDET.
zaufnr = wa_zvproddet-aufnr.
zarbid = wa_zvproddet-arbid.
at new aufnr.
SELECT DISTINCT * INTO CORRESPONDING FIELDS OF walnpln
FROM zvpod where plnbez in FGM and arbpl in wc and SSAVD in
eldate and werks in plant and J_3AKORD2 in cups and aufnr = zaufnr.
APPEND walnpln TO itablnpln.
endselect.
endat.
endloop.
clear walnpln.
<u><b>
Looping thru Internal table and performs all the following calculations and inner loop
and also relevant querying.</b></u>
<u><b>Assume that ITABLNPLN holds appox. 8000 records.</b></u>
LOOP AT itablnpln INTO walnpln.
contot = 0.
SELECT distinct * INTO CORRESPONDING FIELDS OF TABLE itablnp
FROM zvprdconf where aufnr = walnpln-aufnr and
j_3asize = walnpln-j_3akordx and stzhl ne '2' and stokz ne 'X'.
clear zvprdconf.
SELECT single isdd
FROM zvprdconf into zvprdconf-isdd
where aufnr = walnpln-aufnr and
j_3asize = walnpln-j_3akordx and stzhl ne '2' and stokz ne 'X'.
SELECT single isdz
FROM zvprdconf into zvprdconf-isdz
where aufnr = walnpln-aufnr and
j_3asize = walnpln-j_3akordx and stzhl ne '2' and stokz ne 'X'.
IF sy-subrc EQ 0.
<u><b>Assume that ITABLNP holds appox. 30 records.</b></u>
loop at itablnp into walnp.
contot = contot + walnp-J_3ALMNGA.
move walnp-J_3ASIZE to walnpln-J_3ASIZE.
move zvprdconf-isdd to walnpln-zdate.
move zvprdconf-isdz to walnpln-ztime.
endloop.
walnpln-output = contot.
endif.
walnpln-wip = walnpln-menge - contot.
if walnpln-werks = '1000'.
stklocaf = '1050'.
stklocas = '1060'.
elseif walnpln-werks = '2000'.
stklocaf = '2150'.
stklocas = '2160'.
endif.
select single kunnr into walnpln-ship from vbpa where
vbeln = walnpln-KDAUF and PARVW = 'WE'.
zship = walnpln-ship.
move zship to walnpln-ship.
select single kalab into walnpln-zactqty from mska
where matnr = walnpln-plnbez
and j_3asize = walnpln-J_3AKORDX and LGORT = stklocaf.
condense walnpln-kdauf.
zsales = walnpln-kdauf.
concatenate zsales 'S' into zso.
select single kalab into walnpln-zsndqty from mska
where matnr = walnpln-plnbez
and j_3asize = walnpln-J_3AKORDX and LGORT = stklocas
and J_4KSCAT = zso.
zmatn = walnpln-plnbez.
zsale = walnpln-KDAUF.
walnpln-kdauf = zsale.
walnpln-plnbez = zmatn.
zcust = walnpln-kunnr.
walnpln-kunnr = zcust.
select single bezei into walnpln-season from TVV2T where
kvgr2 = walnpln-kvgr2 and SPRAS = 'E'.
select single bezei into walnpln-shipmode from T173T where
vsart = walnpln-vsart and SPRAS = 'E'.
STRL = strlen( walnpln-j_3akord2 ).
if strl = 4.
move walnpln-j_3akord2 to walnpln-j_3akord3.
clear walnpln-j_3akord2.
endif.
move zremk to walnpln-remk.
MODIFY itablnpln FROM walnpln.
contot = 0.
clear itablnp.
ENDLOOP.
PERFORM build_fieldcatalog.
PERFORM build_layout.
PERFORM display_alv_report.Hi raja,
Plese go through the suggessitions.
1.avoide the select ...endselect. write the below select
CLEAR IT_ZVPRODDET.
SELECT DISTINCT
ZVPOD~BUKRS
ZVPOD~AUFNR
ZVPOD~OBJNR
JEST~STAT
ZVPOD~WERKS
ZVPOD~ARBPL
ZVPOD~J_3AKORD2
FROM ZVPOD
INNER JOIN JEST ON ZVPOD~OBJNR = JEST~OBJNR
INTO CORRESPONDING FIELDS TABLE IT_ZVPRODDET
WHERE PLNBEZ IN FGM AND
ARBPL IN WC AND
WERKS IN PLANT AND
SSAVD IN ELDATE AND
J_3AKORD2 IN CUPS AND
JEST~INACT NE 'X'.
IF SY-SUBRC = 0.
SORT TABLE IT_ZVPRODDET.
ENDIF.
2..first of all dont delete a record inside the loop. instead use the Field symobols.
have u obsereved you code in the loop!!!!. wht u r doing..
u r removing the same record which u in the loop..
If u wanto delete the entires with check to<b> stat</b>... <b>then.. why dont u put the STAT field in Wher e condition..?</b> by this you reduce the data base select time..
Now the select query is like the below....
CLEAR IT_ZVPRODDET.
SELECT DISTINCT
ZVPOD~BUKRS
ZVPOD~AUFNR
ZVPOD~OBJNR
JEST~STAT
ZVPOD~WERKS
ZVPOD~ARBPL
ZVPOD~J_3AKORD2
FROM ZVPOD
INNER JOIN JEST ON ZVPOD~OBJNR = JEST~OBJNR
INTO CORRESPONDING FIELDS TABLE IT_ZVPRODDET
WHERE PLNBEZ IN FGM AND
ARBPL IN WC AND
WERKS IN PLANT AND
SSAVD IN ELDATE AND
J_3AKORD2 IN CUPS AND
JEST~INACT NE 'X' AND
( STAT <> 'I0045' AND
STAT <> 'I0045' AND
STAT <> 'I0009' AND
STAT <> 'I0012' AND
STAT <> 'I0046' AND
STAT <> 'I0076' AND
STAT <> 'E0003' ).
IF SY-SUBRC = 0.
SORT TABLE IT_ZVPRODDET.
ENDIF.
<b>3.</b> WHT IS MEANING OF THE SELECT
<b> CLEAR TJ30T.
SELECT SINGLE TXT04
FROM TJ30T INTO TJ30T-TXT04
WHERE STSMA = 'PRDHOLD' AND
ESTAT = 'E0003' AND
TXT04 = 'SCLS' AND
SPRAS = 'EN'.
IF SY-SUBRC = 0.
DELETE IT_ZVPRODDET WHERE AUFNR = WA_ZVPRODDET-AUFNR.
ENDIF.</b>....... IN WHERE CONDION U R GIven all are constant values right?..
why u need select it inside the loop.. u can write before the SELECT from ZVPOD..
that why first checke this field then go for fur thure selects..
<b>now u r code looks like this....</b>
CLEAR TJ30T.
SELECT SINGLE TXT04
FROM TJ30T INTO TJ30T-TXT04
WHERE STSMA = 'PRDHOLD' AND
ESTAT = 'E0003' AND
TXT04 = 'SCLS' AND
SPRAS = 'EN'.
IF SY-SUBRC = 0.
CLEAR IT_ZVPRODDET.
SELECT DISTINCT
ZVPOD~BUKRS
ZVPOD~AUFNR
ZVPOD~OBJNR
JEST~STAT
ZVPOD~WERKS
ZVPOD~ARBPL
ZVPOD~J_3AKORD2
FROM ZVPOD
INNER JOIN JEST ON ZVPOD~OBJNR = JEST~OBJNR
INTO CORRESPONDING FIELDS TABLE IT_ZVPRODDET
WHERE PLNBEZ IN FGM AND
ARBPL IN WC AND
WERKS IN PLANT AND
SSAVD IN ELDATE AND
J_3AKORD2 IN CUPS AND
JEST~INACT NE 'X' AND
JEST~STAT <> 'I0045' AND
JEST~STAT <> 'I0045' AND
JEST~STAT <> 'I0009' AND
JEST~STAT <> 'I0012' AND
JEST~STAT <> 'I0046' AND
JEST~STAT <> 'I0076' AND
JEST~STAT <> 'E0003' ).
IF SY-SUBRC = 0.
SORT TABLE IT_ZVPRODDET.
ENDIF.
ENDIF.
there are so many select inside the loop...... please Delete all of them.... write them be for the loop.......using the FOR ALL ENTRIES.....
THEN LOOP THE TABLE USING THE WHERE CONDITIONS.
<b>Plese write u updated code here again</b>.. -
Hi
We have installed crystal reports server 2008 v1 in a windows 2008 R2 64 bits server.
We choose mysql as database and IIS for the web server.
The programer was made several reports and most of them work fine.
However , there is one report which gave him a time out error. He uses RAS.
I thought maybe in the web.config I can modify the session time out but when I open IIS , there are several web applications.
I don't know which one to modify.
Thanks for your help.Identical problem by different (?) user:
Joining tables EKPO & MSEG
Maybe you are looking for
-
Hi, Client wanted to Integrate Documentum with SAP ECC6.0.We have documntum specialist and SAP support. But we have not done previously how exactly it works and who needs to do what? I have found many SDN forums but could not find step by step docs.A
-
IMovie 9 video syncing problem...
I just started my first editing project on iMovie 9. When I imported the footage, the video seem to be in a fast forward mode but the audio was normal. How do I slow down the video to match the audio?
-
I am sure this has been answered somewhere but I can't find it. How do I keep widgets open on desktop in Leopard? I know how in Tiger but it doesn't work in 10.5 I have also tried TinkerTool to no avail. Even the Radio widget stops playing when the w
-
JTable auto size columns/headers
How do I autoresize a JTable column/headers so that each column/header is the minium size necessary. I've tried setAutoResizeMode(JTable.AUTO_RESIZE_ALL_COLUMNS); and that doesn't seem to work. Thanks
-
when I try to stop the dbconsole the following error occured. Is there a explanation for this ??? Oracle@DB-1 $ emctl stop dbconsole Oracle Enterprise Manager 10g Database Control Release 10.1.0.3.0 Copyright (c) 1996, 2004 Oracle Corporation. All ri