Issue while uploading the document with VA02 and VA03

Hello Experts,
Can any body please help me out from this issue, as while uploading the PDF's, docs from VA02, VA03 in ECC6 EHP7 system.
Steps to reproduce the issue - TX. VA02 --> service object --> create an attachment then we are facing like below
Thank you in advance,
Bhaskar N.

Hi Bhaskar,
Please check Tcode: SKPR08 - Category for Document Class) contains the Content server repository settings
change the category of SOFFPHIO class to R/3, then you will able to attach any documents
I hope it will help.
BR
AKJ

Similar Messages

  • Need to create the document with originals and checkin that document

    HI Guys,
    My requirement is to write a method to  create the document with originals and checkin that document of DMS.
    Plz suggest the approach to get this requirement solved.
    Regards,
    RSK

    Hi Bala,
    Thanks for the reply.
    Iam writing the code under method like below.
    Importing:
    ls_doc type bapi_doc_draw2.
      APPEND is_files TO it_files.
      CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
        EXPORTING
          documentdata               = ls_doc
       IMPORTING
         documenttype               = iv_doctype
         documentnumber             = iv_docnumber
         documentpart               = iv_docpart
         documentversion            = iv_docvers
         return                     = iv_return
       TABLES
        documentfiles              = it_files.
    Iam checking with document number , document type, document part, document version... it is throwing error message as
    error while checking in and storing: version number(25).
    Please advice whether it is correct approach?
    Regards,
    RSK
    Edited by: shravan kumar ravula on Dec 22, 2011 11:24 AM
    Edited by: shravan kumar ravula on Dec 22, 2011 1:26 PM
    Edited by: shravan kumar ravula on Dec 22, 2011 1:26 PM

  • Issue while uploading the PAR file thru system admin- AdministrationConsole

    Hi All,
    I have downloaded the PAR file "com.sap.portal.navigation.lightdetailednavigationtree.par.bak" from system admin->support->Portal Runtime ->browse deployment->Web-Inf->deployment->PCD.
    after downloaded to the desktop for manual change in one of the JSP file rather than importing into NWDS. I have removed the bak from the file and added the .Zip to the file and i extracted the file.
    here inside i got the three folders i.e WEB-INF,PORTAL-INF and file_list. now i went to jsp file called "LightDetailedNavigationTree.JSP" , changed one small property value  in the code from false to true. after that i again zip the folders strcuture make the file name as original in the form of .PAR file. now i am trying to upload it in the portal thru system admin->portal runtime->administration console, but i am getting the deployment error as mentioned in the below.
    even though with error, the wrong version of the par file with extension .err was saved in the PCD folder strcture, and original file also still exists. now i wanted to remove the wrong version of the file from PCD, what is the procedure to delete the wrong version, here in administration console i found one button clean , but i could not able to locate the wrong file version , only original right version showing up in the clean dropdown??
    Can u tell me what is the procedure to edit the PAR file manually after downloaded to the desktop, rather than going edit thru NWDS??
    if we need to upload the PAR file after changes, do we need to delete the original PAR file before we upload the new version of the same PAR or it will be automatically overwrite the original file with the same name??
    Still i am getting confusion, please let me know how to edit the PAR file manally and how to upload the PAR file with out any isse while uploading it in the portal thru system admin->administration console??
    Any pointers in this regard would be the great help to me??
    Error as i got while uploading the par file after the changes manually. (com.sap.portal.navigation.lightdetailednavigationtree.par)
    2011-01-24_07-40-18
    Application upload failed: com.sap.portal.navigation.lightdetailednavigationtree.par
    java.util.zip.ZipException: Error opening zip file /usr/sap/BIS/DVEBMGS13/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/deployment/pcd/com.sap.portal.navigation.lightdetailednavigationtree.par
    *     at java.util.zip.ZipFile.open(Native Method)*
    *     at java.util.zip.ZipFile.<init>(ZipFile.java:140)*
    *     at java.util.zip.ZipFile.<init>(ZipFile.java:155)*
    *     at com.sapportals.portal.prt.deployment.ArchiveIterator.iterate(ArchiveIterator.java:39)*
    *     at com.sapportals.portal.prt.deployment.UploadProcess.upload(UploadProcess.java:60)*
    *     at com.sapportals.portal.prt.deployment.DeploymentManager._uploadArchive(DeploymentManager.java:835)*
    *     at com.sapportals.portal.prt.deployment.DeploymentManager.uploadArchive(DeploymentManager.java:474)*
    *     at com.sapportals.portal.prt.deployment.DeploymentManager.uploadApplication(DeploymentManager.java:319)*
    *     at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.doUpload(ArchiveUploader.java:116)*
    *     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)*
    *     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)*
    *     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)*
    *     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)*
    *     at java.lang.reflect.Method.invoke(Method.java:391)*
    *     at com.sapportals.portal.prt.component.AbstractPortalComponent.handleRequestEvent(AbstractPortalComponent.java:706)*
    *     at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:412)*
    *     at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:249)*
    *     at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:368)*
    *     at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:707)*
    *     at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:235)*
    *     at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:541)*
    *     at java.security.AccessController.doPrivileged(AccessController.java:246)*
    *     at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:430)*
    *     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)*
    *     at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)*
    *     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)*
    *     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)*
    *     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:104)*
    *     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)*
    Can you please what are the steps if any specific while editing the PAR file manually and uploading it with out any issues??
    Thanks in advance.
    Regards,
    PortalUser
    Edited by: PortalUser100 on Jan 24, 2011 6:01 PM
    Edited by: PortalUser100 on Jan 24, 2011 6:04 PM
    Edited by: PortalUser100 on Jan 24, 2011 6:05 PM

    Hi Shusil,
    Thanks for your reply.
    I have one more dought here.
    the PAR file of lightdetailnavigation has been modified thru NWDS and deployed the PAR file by adding the required JARS.
    Now my question is, the application server which i am used as local portal server installed in my desktop.
    now this depoyed latest par file i have picked it from the workspace in the local desktop, and i am planning to upload the same PAR file in of the sandbox portal system of client , will it update successfully in the new portal apart from the deployed portal??
    i am here used the path system admin->support->portal runtime -> administrate console  ( this in the sand box system to upload the par file which was deployed in the local portal server in my desktop.
    Thanks,
    Portal user

  • Errors while uploading the document

    Hi ,
    I am implementing Applcore Attachment functionality to upload the docs to UCM.
    I have created Content Repository in Jdev by specifying the connection details of UCM instance.But I do not see any "Attachments" folder under "Contribution Folders" and no "Trash" folder either.
    Also , I see some errors ( in UCM server )when I upload the document as below:
    +Privilege cannot be determined for role sysmanager. Cannot find the group Attachments. Exception type is 'java.lang.Throwable'. [ Details ]+
    The content server has generated a diagnostic warning. The stack trace below shows more information.
    +!apUnableToDetermineRolePrivilege,sysmanager,Attachments!syExceptionType,java.lang.Throwable+
    java.lang.Throwable
    +     at intradoc.shared.RoleDefinitions.getRolePrivilegeEx(RoleDefinitions.java:266)+
    +     at intradoc.shared.RoleDefinitions.getRolePrivilege(RoleDefinitions.java:222)+
    +     at intradoc.shared.SecurityUtils.determineGroupPrivilege(SecurityUtils.java:119)+
    +     at intradoc.server.ServiceSecurityImplementor.determinePrivilege(ServiceSecurityImplementor.java:655)+
    +     at intradoc.server.DocumentAccessSecurity.checkSecurity(DocumentAccessSecurity.java:162)+
    +     at intradoc.server.DocumentAccessSecurity.checkSecurity(DocumentAccessSecurity.java:117)+
    +     at intradoc.server.ServiceSecurityImplementor.checkSecurity(ServiceSecurityImplementor.java:371)+
    +     at intradoc.server.Service.checkSecurity(Service.java:2776)+
    +     at intradoc.server.Service.checkSecurity(Service.java:2754)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)+
    More details can be viewed here
    here
    Any pointers will be helpful to me.
    Regards
    Aradhana

    Which version of UCM are you using? UCM 10g had different default content types and came with ADENG, ADHR, ADMFG etc. already created . 11g has a different set of content types which does not include ADENG. These content types are really just examples to get the system started an operational and would not ever be used in production (I hope).
    You can add the ADENG content type Administration > Admin Applets > Configuration Manager > Options > Content Types...
    A better solution would be to see where ADENG is being set in the code you should be able to change the dDocType setting to something supported in UCM 11g like 'document'
    Tim
    Edited by: Tim Snell on 23-Aug-2010 01:38
    Edited by: Tim Snell on 23-Aug-2010 01:38

  • Access denied error while uploading the document into document library which is associated with a content type

    hi,
     am trying to upload a document in a document library which is associated  with content types [ the content type contains 10 site columns and one of them is taxonomy field]. i added this content type in the document library.
    this document library is residing in a team site which is saved as a template and  based on this template i have created sub sites.
    and when i tried to upload a file to the doc lib, it throws me "access denied error".
    what may be went wrong .
    any help is  appreciated!

    Access denied indicates the user account uploading the file doesn't have access to the library, or sometimes it means there's already a document in the library with the same name that was never checked in. It's also possible that your template contains
    custom code that tries to do something that is not allowed.
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • How to create the document with originals and checkin that document

    I am using this 2 bapi for creating DMS ,
    BAPI_DOCUMENT_CREATE2
    BAPI_TRANSACTION_COMMIT
    BAPI_DOCUMENT_CHECKIN2
    BAPI_TRANSACTION_COMMIT
    at last we want to c in DRAO table the created doc no should be updated here.
    But it not updating.how can i update in the table..
    Please tell via code..

    How do you call BAPI_DOCUMENT_CREATE2?
    I just tried with the example given in the documentation and with a little adjustment I created a document with an original which appears in the DMS_DOC_FILES table.
      DATA: ls_doc    LIKE bapi_doc_draw2,
            ls_return LIKE bapiret2.
      DATA: lf_doctype    LIKE bapi_doc_draw2-documenttype,
            lf_docnumber  LIKE bapi_doc_draw2-documentnumber,
            lf_docpart    LIKE bapi_doc_draw2-documentpart,
            lf_docversion LIKE bapi_doc_draw2-documentversion.
      DATA: lt_files LIKE bapi_doc_files2 OCCURS 0 WITH HEADER LINE,
            lt_drat  LIKE bapi_doc_drat OCCURS 0 WITH HEADER LINE.
      ls_doc-documenttype    = 'Z01'.
      ls_doc-documentversion = '01'.
      ls_doc-documentpart    = '000'.
      ls_doc-statusextern   = 'DR'.
      ls_doc-laboratory     = '001'.
      REFRESH lt_files.
      CLEAR lt_files.
      lt_files-docfile      = 'c:\BP\test.docx'.
      APPEND lt_files.
      CLEAR lt_drat.
      REFRESH lt_drat.
      lt_drat-language    = 'EN'.
      lt_drat-description = 'Info Rec Description'.
      APPEND lt_drat.
      CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
            EXPORTING: documentdata         = ls_doc
            IMPORTING: documenttype         = lf_doctype
                       documentnumber       = lf_docnumber
                       documentpart         = lf_docpart
                       documentversion      = lf_docversion
                       return               = ls_return
           TABLES: documentdescriptions = lt_drat
                   documentfiles        = lt_files.
      IF ls_return-type CA 'EA'.
        ROLLBACK WORK.
        MESSAGE ID '26' TYPE 'I' NUMBER '000'
                WITH ls_return-message.
      ELSE.
        COMMIT WORK.
      ENDIF.
    Best Regards,
    Martin

  • LSMW issue while uploading the hiring data

    Dear Experts,
    I am trying to create LSMW  to upload hiring data for IT0000, IT0001, IT0002. Initially i tried with PA40 recording, but it was not selecting my respective action type. Then i tried with PA30 with external no. range, but still its not selecting action infotype.
    I used the following source file data for recording, please check and advise anything if i need to modify
    PERNR     N     008
    SELEC_01     C     001
    TIMR6     C     001
    CHOIC     C     035
    SUBTY     C     004
    BEGDA     DDMMYY     010
    ENDDA     DDMMYY     010
    MASSN     C     002
    MASSG     C     002
    PLANS     N     008
    WERKS     C     004
    PERSG     C     001
    PERSK     C     002
    BTRTL     C     004
    ABKRS     C     002
    VDSK1     C     014
    NACHN     C     040
    VORNA     C     040
    TITEL     C     015
    GESCH     C     001
    SPRSL     C     002
    GBDAT     DDMMYY     010
    FATXT     C     006
    GBORT     C     040
    GBLND     C     003
    GBDEP     C     003
    KITXT     C     004
    NATIO     C     003
    Regards
    Tan

    Hi,
    I am running it on foreground with external no. range for two employees. My main issue is its not selecting the action infotype from PA30 screen only.
    How to test in display mode...please suggest
    Regards
    Tan

  • While opening specific Document "Not enough Memory" while rendering the Document with Large Image

    When Opening a PDF-File with a Large Image, the Adobe Reader and Acrobat will Crash while rendering with the Message Out of Memory.
    After some investigations this error is reproducable on Windows 2008 R2 and 2012 R2 Machines running on HP ProLiant BL460c Gen8.
    The Servers are updated with the latest Firmware from HP.
    This error does not occure on a Virtual Machine running Windows 2008 R2, so it seems like a Hardware dependent Bug.
    When disabling the Option Show large Images, the error will not Show up. But this is neither a solution nor a workarround, as we Need to Display all Information in the PDF.
    Thanks for any Help

    Hello SumitV
    Thanks for your answer.
    Indeed the Output File can be opened without any Errors. It's a good workarround, but it's not a solution.
    Why does it work (and much faster) on a Virtual Machine, but not on a very Powerful HP Machine?
    I hope Adobe will investigate in this case to solve it completely.
    We have a test machine where we could install some debug tools, are there any to get a deeper analysis of this problem?
    Thanks a lot.

  • TNS Name issue while installing the Peoplesoft 9.1 and peopletools 8.52

    Hi All,
    I have been installing the peoplesoft 9.1, tools 8.52, OS: Windows 7, 64-bit, oracle 11g release 2.
    I have been following the installation guide given by Peoplesoft. So far so good. but i am having problem at TASK 6A-14.
    It is asking me to login to app designer in bootstrap mode. So i invoked the data mover and gave both the username and password same "sysadm".
    I have got the following error
    "File: SQL Access ManagerSQL Error. stmt#2 Error Position: 0 Return 12154 - ORA-12154: TNS:could not resolve the connect identified specified."
    So i went to C:\app\windows7\product\11.2.0\dbhome_1\NETWORK\ADMIN\tnsnames.ora and added the following.
    FSDMO91 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = FSDMO91)
    but again, i got the same error.
    My Configuration manager has "Datbase Driver DBBIN" has the path as "C:\app\windows7\product\11.2.0\dbhome_1\BIN".
    Please help me solve this problem.

    Hi Nicolas, thanks for the prompt reply.
    when i did the TNSPING FSDMO91 here is the output.
    C:\Users\windows7>TNSPING FSDMO91
    TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 15-DEC-2
    +011 10:40:55+
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Used parameter files:
    C:\app\windows7\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhos
    t)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = FSDMO91)))
    OK (0 msec)
    C:\Users\windows7>
    when i do try login using the SQL Plus
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Dec 15 10:43:27 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Enter user-name: sysadm/sysadm@FSDMO91
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    Enter user-name: system/manager@FSDMO91
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    Enter user-name:
    but when i do only system/manager (no @FSDMO91)
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Dec 15 10:46:08 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Enter user-name: system/manager
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>
    when i do lsnrctl start
    C:\Users\windows7>lsnrctl start
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 15-DEC-2011 10:47
    +:52+
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    TNS-01106: Listener using listener name LISTENER has already been started
    C:\Users\windows7>

  • Getting error while uploading a document in a library

    Hi,
    I'm getting a weird error while uploading the document in the library. And I don't get it all the times but most of the times.
    It reads:
    The file <library name>/<file name> has been modified by i:0#.<user-id> on <datetime stamp>
    How to resolve this ? I have referred many articles on this one, but none helped.
    Thanks for your response in advance.
    Regards

    Hi Prajk,
    Based on your description, I recommend to check if there are any ItemAdded event receiver or workflows which are triggered when an item is created to update the document properties in the library.
    If there is any ItemAdded event receiver on the library, I recommend to wait for ItemAdded to finish before the ListFieldIterator control residing on EditForm.aspx loads (It’s the ListFieldIterator which displays the Item’s fields ).
    http://blogs.msdn.com/b/manuj/archive/2009/09/22/itemadded-event-on-document-library-the-file-has-been-modified-by-on-error.aspx
    If there is any workflow on the library, I recommend to add a Pause for Duration step at the beginning of the workflows.
    If above cannot work, please check ULS log for detailed error message.
    For SharePoint 2013, by default, ULS log is at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Issue while uploading data from flatfile to Transaction(VK13).

    Hi All,
    I am facing an issue while uploading the data from flatfile to the transaction(vk13). My flat file is as shown below.
    SalesOrganization    DistributionChannel    Customer    Material    Releasestatus    Amount    Currency    Quantity    UOM    ValidFrom    ValidTo
    2000    01    0010029614    AT309739    A    20.00    USD    1    PC    09/11/2014    12/31/9999
    If I upload these data using the RV_CONDITION_COPY  FM it is succesfully uploading to the relevant tables(konh,konp) but in the tcode VK13  I am getting all values fine, except UOM. Instead of PC it is showning as ***. I did not understand why it is happening please give an idea to solve my issue.
    Regards,
    Chakradhar.

    Hi Raymond,
    Thanks for your reply.Yes,If I use CONVERSION_EXIT_CUNIT_INPUT in my program the issue is, Assume If the user is giving PC as value for UOM field in flat file and upload the flat file.It is successfully uploading the value PC to the UOM field in transaction VK13 but the in the database table(konp) it is showing the value as ST.
    Regards,
    Chakradhar.

  • How to avoid lo-gin prompt while check in the document and saving doc while opening the document?

    Hello
    I might be missing something to configure or verify but many times I have faced below situation :
    When I click on document in document library either its just opens or first save to disc and open.
    When I check in a document , its asking for credentials but sometimes doesn't
    Can anyone please describe the reason behind above behaviors ? how to avoid saving doc while opening and lo-gin prompt while check in the document?
    Thanks and Regards,
    Dipti Chhatrapati

    It the sharepoint site accessed through firewall
    http://support.microsoft.com/kb/2756625
    You can try adding below registry
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WebClient\Parameters\AuthForwardServerListAdd the site to Trusted Sites Zone instead of Intranet Go to Control Panel >> User Accounts >> Manage Your Credentials and remove any credentials storedMake sure your office and IE Is same build (64 or 32)http://www.techrepublic.com/blog/smb-technologist/prevent-unwanted-credentials-prompts-with-sharepoint-document-libraries/ checked that 'basic authentication' is unchecked under Central Administration -> Application Management -> Authentication
    ProviderOr tryhttp://social.technet.microsoft.com/Forums/office/en-US/45feb132-c304-4521-8b79-42236a829aab/login-prompt-appearing-when-opening-office-documents?forum=sharepointadminlegacy
    If this helped you resolve your issue, please mark it Answered

  • While browsing the internet with my iPhone 4S the screen goes black and it looks like it's turning off, but it pops up to the unlock keypad screen.

    While browsing the internet with my iPhone 4S the screen goes black and it looks like it's turning off, but it pops up to the unlock keypad screen. It has plenty battery and I was wondering if it is an issue of using too much of the iPhones RAM or not. I have no other apps open besides Messages. I am getting kind of worried as it started around two weeks ago and it has gotten increasingly frequent.

    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Try each of these steps in order until the issue is resolved.

  • Issue While executing the Query for Pagination using ROWNUM with like

    Issue While executing the Query for Pagination using ROWNUM with like.
    Database is Oracle11G.
    Oracle Database Table contains 8-9 lakh records
    1) SQL equal (=)
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE A.REFERENCE = 'KMF22600920'
    Execution Time:- 0.00869245 seconds
    Returns 2 resultsets
    2) SQL like (one %)
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE A.REFERENCE = 'KMF22600920%'
    Execution Time:- 0.01094301 seconds
    Returns 2 resultsets
    3) SQL like (two%)
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE A.REFERENCE like '%KMF22600920%'
    Execution Time:- 6.43989658 seconds
    Returns 2 resultsets
    In Pagination, we are using Modified version of SQL Query 3) with ROWNUM as mentioned below :-
    4) SELECT * FROM (
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE REFERENCE like '%KMF22600920%' AND ROWNUM <= 20 ) WHERE RNUM > 0
    Execution Time:- Infinite
    ResultSets:- No as execution time is infinite
    a) Instead of like if we use = in the above query it is returning the 2 resultsets (execution time 0.02699282 seconds)
    b) Instead of two % in the above query, if use one example REFERENCE like 'KMF22600920%' it is returning the 2 resultsets (execution time 0.03313019 seconds)
    Issue:- When using two % in like in the above query i.e. REFERENCE like '%KMF22600920%' AND ROWNUM <= 20 ) , it is going to infinite.
    Could you please let us know what is the issue with two % used in like and rownum
    5) Modified version of Option1 query (move out the RNUM condition AND RNUM <= 20)
    SELECT * FROM (
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE REFERENCE like '%KMF22600920%' ) WHERE RNUM > 0 AND RNUM <= 20
    Execution Time:- 7.41368914 seconds
    Returns 2 resultsets
    Is the above query is best optimized query which should be used for the Pagination or still can improve on this ?

    This would be easier to diagnose if there was an explain plan posted for the 'good' and 'bad' queries. Generally speaking using '%' on both sides precludes the use of any indexes.

  • Always facing the "Not Responding" issue while launching the internet explorer 11. I have tried reset in advanced, deleting all cookies, history and all. But no result.

    Always facing the "Not Responding" issue while launching the internet explorer 11. I have tried reset in advanced, deleting all cookies, history and all. Also I did change the default site to https://www.google.com. But no result.
    Some times after some time, able click on new tab and did open any urls. But it is rare. Please help me on this issue. Because of this unable to work with QTP/UFT tool.
    I am getting on top of the screen the below error -
    Error on top the ie screen :
    res:/ieframe.dll/acr_error.htm#google.com,https://www.google.com/ - Internet Explorer (Not Responding)
    I am getting at the bottom of the screen the below error -
    Error at the bottom of the ie screen :
    A problem with this webpage caused Internet Explorer to close and reopen the tab.

    Hi,
    Please refer to the following link to troubleshoot this issue:
    http://msdn.microsoft.com/en-us/library/dn338138.aspx
    Check the browser add-ons
    Check the browser rendering mode
    Then, please also make sure to install latest Windows Updates which might address this issue.
    Update your anti-virus program and perform a security scan incase some virus cause this issue.
    Yolanda Zhu
    TechNet Community Support

Maybe you are looking for

  • MB11/MB1C/MB1B post GL entry for tax for movement type 561 initial stock

    Hi, We want to bring in stock into new system using movement type 561. The usual account posting is: Debit stock   Credit account in OBYC GBB How can I add additional tax posting in the transaction? For e.g. Debit stock Debit input tax   Credit accou

  • I want to use finished animations in Windows Movie Maker

    I use Flash cs6 and I have finished my first animation and want to finish the whole video on Windows Media Player. - I have tried Publishing it in different files. Non are accepted in the program. - I have tried Exporting it in different files. Still

  • Imac G5 Intel Duo and flash player/pacifist software.....

    following advice from this discussion room i downloaded the Pacifist software to correct the ongoing problem with flash/shockwave on intel imacs.....pacifist will not recognise my registration details....as they have a notice on their website about t

  • Setting the Font color.

    hello, Could someone tell me what the method is to change the Font color.

  • SE71 - Converting Form to a different language

    Ok, I am having to edit a form in German since that is the original language of the form. An English version of the form currently exists as well. I got my changes in, saved and activated. On the Header page under Language Attributes, the Translate o