NOT ABLE TO RECLAIM STORAGE USED BY XMLTYPE COLUMN

Since we are on Oracle 9i, the 10G solution DBMS_XMLSCHEMA.CopyEvolve() is not available, we are trying to do it by ourselves.
see the doc,
Re: how to make xml schema change when there are existing records in the ta
However, our requirement is different in the following ways:
1. We hope to be able to add/drop as many XMLTYPE columns to a table as we
want( all structured storage, but with different schemas).
2. When a XMLTYPE Schema needs to be updated, we will add a new
xmltype column, assign it the new schema and migrate the data from the old column. After that we want to drop the old xmltype column and it's schema to reclaim all the storage.
The underlying xml tables are drop, space reclaimed.
However, we found out that the segment/blocks/bytes of the xmltype column itself is not released.
Question:
1. Since Xmltype column associated with xmltype schema is structured
stored, the xmldoc should parsed and stored in underlying tables. However, it seems that the xmltype column itself is acquiring sunstantial amount of space.
By querying user_segments table, we saw the underlying structure is actually taking constant and small space, however, the main table is taking huge space.(We populated the table with 61K rows), For instance,
SEGMENT_NAME BYTES SEGMENT_TYPE
PERFORMANCEEVENT 260046848 TABLE
SYS_C007080275 1048576 INDEX
Performance1833_TAB 65536 TABLE
Date1831_TAB 65536 TABLE
LocationAddress1814_TAB 65536 TABLE
SYS_IL0010401244C00018$$ 65536 LOBINDEX
SYS_IL0010401244C00012$$ 65536 LOBINDEX
Where PERFORMANCEEVENT is the main table.
Why?

Try to read this post.
This will give you an idea about the way and when xml is shred into tables.
XMLType column based on XML Schema: several questions
In your case since you are not using the default table, the data is stored witin the table itself as oracle has not shred the data.

Similar Messages

  • Not able to run validation using validation.xml & validator-rules.xml

    Hello Friends,
    I am not able to run validation using validation.xml & validator-rules.xml.
    Entire code in running prefectly but no error messages are prompted.
    Following is my code:
    File Name : struts-config.xml
    <struts-config>
    <!-- Form Beans Configuration -->
    <form-beans>
    <form-bean name="searchForm"
    type="com.solversa.SearchForm"/>
    </form-beans>
    <!-- Global Forwards Configuration -->
    <global-forwards>
    <forward name="search" path="/search.jsp"/>
    </global-forwards>
    <!-- Action Mappings Configuration -->
    <action-mappings>
    <action path="/search"
    type="com.solversa.SearchAction"
    name="searchForm"
    scope="request"
    validate="true"
    input="/search.jsp">
    </action>
    </action-mappings>
    <!-- Message Resources Configuration -->
    <message-resources
    parameter="ApplicationResources"/>
    <!-- Validator Configuration -->
    <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
    <set-property property="pathnames"
    value="/WEB-INF/validator-rules.xml,
    /WEB-INF/validation.xml"/>
    </plug-in>
    </struts-config>
    <br> File Name : <b> validation.xml </b>
    <form-validation>
    <formset>
    <form name="searchForm">
    <field property="name" depends="minlength">
    <arg key="label.search.name" position = "0"/>
    <arg1 name="minlength" key="${var:minlength}" resource="false"/>
    <var>
    <var-name>minlength</var-name>
    <var-value>5</var-value>
    </var>
    </field>
    <field property="ssNum" depends="mask">
    <arg0 key="label.search.ssNum"/>
    <var>
    <var-name>mask</var-name>
    <var-value>^\d{3}-\d{2}-\d{4}$</var-value>
    </var>
    </field>
    </form>
    </formset>
    </form-validation>
    <br> File Name : <b> SearchForm.java </b>
    package com.jamesholmes.minihr;
    import java.util.List;
    import org.apache.struts.validator.ValidatorForm;
    public class SearchForm extends ValidatorForm
    private String name = null;
    private String ssNum = null;
    private List results = null;
    public void setName(String name) {
    this.name = name;
    public String getName() {
    return name;
    public void setSsNum(String ssNum) {
    this.ssNum = ssNum;
    public String getSsNum() {
    return ssNum;
    public void setResults(List results) {
    this.results = results;
    public List getResults() {
    return results;
    <br> File Name : <b> SearchAction.java </b>
    package com.jamesholmes.minihr;
    import java.util.ArrayList;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    public final class SearchAction extends Action
    public ActionForward execute(ActionMapping mapping,
    ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response)
    throws Exception
    EmployeeSearchService service = new EmployeeSearchService();
    ArrayList results;
    SearchForm searchForm = (SearchForm) form;
    // Perform employee search based on what criteria was entered.
    String name = searchForm.getName();
    if (name != null && name.trim().length() > 0) {
    results = service.searchByName(name);
    } else {
    results = service.searchBySsNum(searchForm.getSsNum().trim());
    // Place search results in SearchForm for access by JSP.
    searchForm.setResults(results);
    // Forward control to this Action's input page.
    return mapping.getInputForward();
    <br> File Name : <b> EmployeeSearchService.java </b>
    package com.jamesholmes.minihr;
    import java.util.ArrayList;
    public class EmployeeSearchService
    /* Hard-coded sample data. Normally this would come from a real data
    source such as a database. */
    private static Employee[] employees =
    new Employee("Bob Davidson", "123-45-6789"),
    new Employee("Mary Williams", "987-65-4321"),
    new Employee("Jim Smith", "111-11-1111"),
    new Employee("Beverly Harris", "222-22-2222"),
    new Employee("Thomas Frank", "333-33-3333"),
    new Employee("Jim Davidson", "444-44-4444")
    // Search for employees by name.
    public ArrayList searchByName(String name) {
    ArrayList resultList = new ArrayList();
    for (int i = 0; i < employees.length; i++) {
    if (employees.getName().toUpperCase().indexOf(name.toUpperCase()) != -1) {
    resultList.add(employees[i]);
    return resultList;
    // Search for employee by social security number.
    public ArrayList searchBySsNum(String ssNum) {
    ArrayList resultList = new ArrayList();
    for (int i = 0; i < employees.length; i++) {
    if (employees[i].getSsNum().equals(ssNum)) {
    resultList.add(employees[i]);
    return resultList;
    <br> File Name : <b> Employee.java </b>
    package com.solversa;
    public class Employee
         private String name;
         private String ssNum;
         public Employee(String name, String ssNum) {
         this.name = name;
         this.ssNum = ssNum;
         public void setName(String name) {
         this.name = name;
         public String getName() {
         return name;
         public void setSsNum(String ssNum) {
         this.ssNum = ssNum;
         public String getSsNum() {
         return ssNum;
    Pls help me out.
    Not able to prompt errors.

    Hello Friends,
    I am not able to run validation using
    validation.xml & validator-rules.xml.
    Entire code in running prefectly but no error
    messages are prompted.
    Following is my code:
    File Name : struts-config.xml
    <struts-config>
    <!-- Form Beans Configuration -->
    <form-beans>
    <form-bean name="searchForm"
    type="com.solversa.SearchForm"/>
    ans>
    <!-- Global Forwards Configuration -->
    <global-forwards>
    <forward name="search" path="/search.jsp"/>
    global-forwards>
    <!-- Action Mappings Configuration -->
    <action-mappings>
    <action path="/search"
    type="com.solversa.SearchAction"
    name="searchForm"
    scope="request"
    validate="true"
    input="/search.jsp">
    tion>
    </action-mappings>
    <!-- Message Resources Configuration -->
    <message-resources
    parameter="ApplicationResources"/>
    <!-- Validator Configuration -->
    <plug-in
    className="org.apache.struts.validator.ValidatorPlugI
    ">
    <set-property property="pathnames"
    value="/WEB-INF/validator-rules.xml,
    /WEB-INF/validation.xml"/>
    >
    </struts-config>
    <br> File Name : <b> validation.xml </b>
    <form-validation>
    <formset>
    <form name="searchForm">
    <field property="name" depends="minlength">
    <arg key="label.search.name" position = "0"/>
    <arg1 name="minlength" key="${var:minlength}"
    resource="false"/>
    <var>
    <var-name>minlength</var-name>
    <var-value>5</var-value>
    </var>
    </field>
    <field property="ssNum" depends="mask">
    <arg0 key="label.search.ssNum"/>
    <var>
    <var-name>mask</var-name>
    <var-value>^\d{3}-\d{2}-\d{4}$</var-value>
    </var>
    </field>
    /form>
    </formset>
    form-validation>
    <br> File Name : <b> SearchForm.java </b>
    package com.jamesholmes.minihr;
    import java.util.List;
    import org.apache.struts.validator.ValidatorForm;
    public class SearchForm extends ValidatorForm
    private String name = null;
    private String ssNum = null;
    private List results = null;
    public void setName(String name) {
    this.name = name;
    public String getName() {
    return name;
    public void setSsNum(String ssNum) {
    this.ssNum = ssNum;
    public String getSsNum() {
    return ssNum;
    public void setResults(List results) {
    this.results = results;
    public List getResults() {
    return results;
    <br> File Name : <b> SearchAction.java </b>
    package com.jamesholmes.minihr;
    import java.util.ArrayList;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    public final class SearchAction extends Action
    public ActionForward execute(ActionMapping
    mapping,
    ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response)
    throws Exception
    EmployeeSearchService service = new
    EmployeeSearchService();
    ArrayList results;
    SearchForm searchForm = (SearchForm) form;
    // Perform employee search based on what criteria
    was entered.
    String name = searchForm.getName();
    if (name != null && name.trim().length() > 0) {
    results = service.searchByName(name);
    else {
    results =
    service.searchBySsNum(searchForm.getSsNum().trim());
    // Place search results in SearchForm for access
    by JSP.
    searchForm.setResults(results);
    // Forward control to this Action's input page.
    return mapping.getInputForward();
    <br> File Name : <b> EmployeeSearchService.java </b>
    package com.jamesholmes.minihr;
    import java.util.ArrayList;
    public class EmployeeSearchService
    /* Hard-coded sample data. Normally this would come
    from a real data
    source such as a database. */
    ivate static Employee[] employees =
    new Employee("Bob Davidson", "123-45-6789"),
    new Employee("Mary Williams", "987-65-4321"),
    new Employee("Jim Smith", "111-11-1111"),
    new Employee("Beverly Harris", "222-22-2222"),
    new Employee("Thomas Frank", "333-33-3333"),
    new Employee("Jim Davidson", "444-44-4444")
    // Search for employees by name.
    public ArrayList searchByName(String name) {
    ArrayList resultList = new ArrayList();
    for (int i = 0; i < employees.length; i++) {
    if
    (employees.getName().toUpperCase().indexOf(name.toU
    pperCase()) != -1) {
    resultList.add(employees[i]);
    return resultList;
    // Search for employee by social security number.
    public ArrayList searchBySsNum(String ssNum) {
    ArrayList resultList = new ArrayList();
    for (int i = 0; i < employees.length; i++) {
    if (employees[i].getSsNum().equals(ssNum)) {
    resultList.add(employees[i]);
    return resultList;
    <br> File Name : <b> Employee.java </b>
    package com.solversa;
    public class Employee
         private String name;
         private String ssNum;
         public Employee(String name, String ssNum) {
         this.name = name;
         this.ssNum = ssNum;
         public void setName(String name) {
         this.name = name;
         public String getName() {
         return name;
         public void setSsNum(String ssNum) {
         this.ssNum = ssNum;
         public String getSsNum() {
         return ssNum;
    Pls help me out.
    Not able to prompt errors.
    Hi,
    Your error message are not displaying because u does not made Message-Resoucrce property file (Resource Bundle) when you make it .
    give it entry in
    struts-config.xml
    <message-resources parameter="ApplicationResources" />
    and
    define key and corresponding error message to key in this ApplicationResources i.e
    #Error Resources
    label.search.ssNum=Plz Enter correct ssNum

  • Not Able to send messages using NOKIA TEXT MESSAGE...

    Hi,
    I am not able to send messages using text message editor. I am having N70. I also have the latest PC suite and latest phone software. Whenever I try to send message, a message appears "Unable to send". It does not even give me the reason. I have connected my phone using data cable and I can transfer music, syncronize and do other stuffs.
    Can someone suggest what needs to be done to send messages using PC??
    Thanks in advance.
    Raghu.

    Hello,
    i am having the same Problem.
    I cannot send any sms via my phone (N70) nor via the latest Pc Suite. It also just says "Unable to send" with no reason.
    I am on:
    V5.0705.3.0.1
    30-01-07
    PM-84
    Model: N70-1
    Code: 0530495
    Any help is much appreciated. :-)
    Kind regards,
    Thorsten
    Message Edited by deeplook on 01-Jul-2008 08:59 PM

  • Not able to select data using DB link.

    Hi ,
    I have created the database link in oracle 8.1.7.0.0 to oracle 8.1.7.4.0
    But I am not able to select data using DB link.
    The error is = ORA 12154 : TNS: could not resolve service name.
    I have created the DB link with the same command in oracle 9.2.0.4.0 to oracle 8.1.7.4.0. I can select data using this link.
    Please suggest me the solution.
    Thanks,
    Shailesh

    If the service name is different on the 8i machine than on the 9i machine, you'll need to modify the service name when creating the link from 8i. Can you see the DB link in ALL_DB_LINKS in the 8i database?

  • HT1349 I own an Ipad 1. Recently, my imessage does not work as i am not able to log in using my Apple ID and password which before this I had been using to log in. How do i resolve this? Tq

    Own an Ipad1. Recently, my imessage does not work and i am not able to log in using my existing name and passwrd. However, this existing username and password can be used to login into my itunes etc.
    How do I resolve this? Tq

    If the problem persists, you'll probably have to make another apple id, it wont take off any games or music or apps or anything you've bought it will all stay there, i have two apple id's and i don't have a problem with anything.

  • Not able to sign in using my apple id

    not able to sign in using my apple id

    for me same problem. could any one give solution for this problem

  • Not able to see the result in particular column of BPC report

    Dear All,
    I have problem in one of the BPC report where I am not able to see the result into one column but rest of the users are able to see the result for same column in same report without any issues.
    Generally, I used this report frequently but having such problem from last few days. Excel has created any logs which I need to clear? Please advice.
    Request your help to resolve such problem please.
    If you need any information, please let me know.
    Thank You
    Kind Regards
    Anukul

    Hello Anukul,
    In the report what type of data you are trying to check in that column. can you please brief about report.
    And also please check the excel cell format (right click and check it is a numeric or character), which may help to resolve this issue.
    Regards,
    Rajesh.K

  • Not able to upload Documents using  BAPI_DOCUMENT_CREATE2 (From SE37)

    Hi
    Not able to upload and created Document in SAP DMS Repository using Function BAPI_DOCUMENT_CREATE2.
    I'm using this BAPI directly from SE37.
    Alwasy it is giving Error - E26 253 Error while checking in and storing:c:\ZANALYSIS_PATTERN.XLS
    Inputs I have given -
    In Document Data -
    Document Type - SDC
    Document Version- 00
    Document Part - 000
    Description - TEST
    In Document Files -
    Document Type - SDC
    Document Version- 00
    Document Part - 000
    Storage Category - ZHCL_CS
    WS Application - XLS
    DocPath - C:\
    DocFile - C:\ZANALYSIS_PATTERN.XLS
    Language - EN
    CheckedIn - X
    PF_FTP_DEST - SAPFTPA
    PF_HTTP_DEST - SAPHTTPA
    DEFAULTCLASS - X
    Please advice if I had skipped something and mentioned anything wrong.
    Thanks
    Prashant

    HI,
    I am also uploading a pdf file to dms through bapi_document_checkin.
    I am getting error E26 253 Error while checking in and storing:C:\DOCUMENTS AND SETTINGS\AGARW01S\DESKTOP\10 2_VIEW 1.PDF
    Inputs I have given -
    In Document Data -
    Document Type - SPE
    Document Version- A
    Document Part - 000
    Description - UPLOAD
    In Document Files -
    Document Type - SPE
    Document Version- A
    Document Part - 000
    Storage Category - DMS_C1_ST
    WS Application - PDF
    DocPath - C:\DOCUMENTS AND SETTINGS\AGARW01S\DESKTOP\10 2_VIEW 1.PDF
    DocFile - 10 2_VIEW 1.PDF
    Language - EN
    CheckedIn - X
    PF_FTP_DEST - SAPFTPA
    PF_HTTP_DEST - SAPHTTPA
    can u please help me as it is urgent.
    Shilpa

  • File not able to pick while using FCC at sender channel

    Hi Experts ,
    we design one scenario that we need to process flat file to ECC. So we have used FCC at sender channel.
    while we testing ,  only its showing as successfull logs in channel , but we not able to pick the file.
    could you please check the below details and let me know it i missed any thing.
    PFB file which  need to pick.
    PFA scrren shot of FCC
    26.Jun 2014 #123
    Country|Currency|Amount|Code|Rate
    Australia|dollar|1|AUD|18.989
    Brazil|real|1|BRL|9.119
    Bulgaria|lev|1|BGN|14.037
    Canada|dollar|1|CAD|18.836
    China|renminbi|1|CNY|3.242
    Croatia|kuna|1|HRK|3.623
    Denmark|krone|1|DKK|3.682
    EMU|euro|1|EUR|27.455
    Hongkong|dollar|1|HKD|2.603
    Hungary|forint|100|HUF|8.916
    IMF|SDR|1|XDR|31.154
    India|rupee|100|INR|33.540
    Indonesia|rupiah|1000|IDR|1.668
    Israel|shekel|1|ILS|5.883
    Japan|yen|100|JPY|19.824
    Lithuania|litas|1|LTL|7.952
    Malaysia|ringgit|1|MYR|6.272
    Mexico|peso|1|MXN|1.550
    New Zealand|dollar|1|NZD|17.678
    Norway|krone|1|NOK|3.286
    Philippines|peso|100|PHP|46.019
    Poland|zloty|1|PLN|6.627
    Romania|new leu|1|RON|6.258
    Russia|rouble|100|RUB|59.842
    Singapore|dollar|1|SGD|16.137
    South Africa|rand|1|ZAR|1.894
    South Korea|won|100|KRW|1.986
    Sweden|krona|1|SEK|2.989
    Switzerland|franc|1|CHF|22.569
    Thailand|baht|100|THB|62.119
    Turkey|lira|1|TRY|9.469
    United Kingdom|pound|1|GBP|34.361
    USA|dollar|1|USD|20.179
    FCC details
    channel logs.
    regards
    raju

    Hi Peddaraju,
    Cross check correct source directory and file name is maintained in the sender file communication channel. If everything is fine try to restart the XPI File Adapter service in NWA.
    Troubleshoot as suggested in the below thread:
    File Adapter in PI not reading file from file system.
    Regards,
    Krupa

  • Not able to checkout Files using Java Code and SAP BAPI  from DMSServer

    Hi
    Able to download / checkout the files using T-Code SE37 (BAPI_DOCUMENT_CHECKOUTVIEW2).
    But when same RFC is executed from Java, it alsways says -
    Message ::::::::Document LGL/10000000003/000/00 does not exist
    My inputs in Java Code is as below -
    import java.io.*;
    import java.util.*;
    import com.sap.mw.jco.*;
    //CREATED ON - 10-APRIL-2010.
    public class BapiDocCheckOutview {
         public static void main(String args[]){
              try{
                   if(mConnection!=null){
    JCO.Repository repository=new JCO.Repository("AraSoft",mConnection);
    JCO.setMiddlewareProperty("jco.middleware.allow_start_of_programs", "SAPFTPA");
    JCO.Function function=repository.getFunctionTemplate("BAPI_DOCUMENT_CHECKOUTVIEW2").getFunction();
                        //End of get function.
                     System.out.println("Before execution1");
                     if(function !=null){
                   JCO.Field DOCUMENTTYPE = function.getImportParameterList().getField("DOCUMENTTYPE");
                    DOCUMENTTYPE.setValue("LGL");
                    JCO.Field DOCUMENTNUMBER = function.getImportParameterList().getField("DOCUMENTNUMBER");
                    DOCUMENTNUMBER.setValue("10000000003");
                    JCO.Field DOCUMENTPART = function.getImportParameterList().getField("DOCUMENTPART");
                    DOCUMENTPART.setValue("000");
                    JCO.Field DOCUMENTVERSION = function.getImportParameterList().getField("DOCUMENTVERSION");
                    DOCUMENTVERSION.setValue("00");
                    JCO.Field GETSTRUCTURE = function.getImportParameterList().getField("GETSTRUCTURE");
                    GETSTRUCTURE.setValue("1");
    JCO.Field GETCOMPONENTS = function.getImportParameterList().getField("GETCOMPONENTS");
                 GETCOMPONENTS.setValue("X");
    JCO.Field ORIGINALPATH = function.getImportParameterList().getField("ORIGINALPATH");
                  ORIGINALPATH.setValue("C:
    TEMP
    DMS_");
    JCO.Field GETHEADER = function.getImportParameterList().getField("GETHEADER");
                          GETHEADER.setValue("X");
    JCO.Field PF_FTP_DEST=function.getImportParameterList().getField("PF_FTP_DEST");
              PF_FTP_DEST.setValue("SAPFTPA");
    //JCO.Field PF_HTTP_DEST=function.getImportParameterList().getField("PF_HTTP_DEST");
         //PF_HTTP_DEST.setValue("SAPHTTPA");
                          System.out.println("Here Setting Values Inside Structure ::DOCUMENTFILE");
    JCO.Structure DOCUMENTFILE=function.getImportParameterList().getStructure("DOCUMENTFILE");
    DOCUMENTFILE.setValue("1","ORIGINALTYPE");
    DOCUMENTFILE.setValue("WWI","WSAPPLICATION");
    DOCUMENTFILE.setValue("ZHCL_CS","STORAGECATEGORY");
    DOCUMENTFILE.setValue("E0DF7893E2BD5DF19C07001517B4A299","APPLICATION_ID");
    DOCUMENTFILE.setValue("E0DF7893E2BD5FF19C07001517B4A299","FILE_ID");
    DOCUMENTFILE.setValue("X","CHECKEDIN");
    DOCUMENTFILE.setValue("X","ACTIVE_VERSION");
                            //DOCUMENTFILE.setValue("LGL","DOCUMENTTYPE");
                            //DOCUMENTFILE.setValue("10000000003","DOCUMENTNUMBER");
                            //DOCUMENTFILE.setValue("000","DOCUMENTPART");
                            //DOCUMENTFILE.setValue("00","DOCUMENTVERSION");
                          //JCO.Field GETCOMPONENTS = function.getImportParameterList().getField("GETCOMPONENTS");
                          //GETCOMPONENTS.setValue("X");
                          //JCO.Field GETHEADER = function.getImportParameterList().getField("GETHEADER");
                          //GETHEADER.setValue("X");
                        mConnection.execute(function);
    If anyone have an Idea on what I have missed out...
    Please do advice me.
    Thanks
    Prashant

    Hi
    To update in the initial requirement, I have added (prefixed, zeroes) in Document No., doing that, now the  application is able to find the document, but not able to transfer the same from DMS Server to my local Machine, always giving the following error -
    Type ::::::::E
    Message ::::::::File d:\dms\z_IPI_PRASHANT01.doc cannot be created
    Please let me know, if some services needed to checked in SAP System or some more information to be provided in RFC.
    Thanks
    Prashant
    Dear Experts
    Any advice on this. Still not able to download the documents from DMS Server.
    I have also added few more code in my Java program -
         private int use_sapgui;
         public void setSapGui(int use_sapgui){
              use_sapgui = 2;
    PLease help !!
    Regards
    Edited by: Prashantroy on Sep 26, 2011 12:49 PM
    Hi,
    Further to my earlier Mail, while checking the Trace suing SM59 in ECC System I got  the following Error -
    Trace file opened at 20111010 142232 India Standard Time, SAP-REL 701,0,134
    ======> cannot open SAPGUI
    ABAP Programm: SAPLSYSE (Transaction: )
    User: IPI_PRASHANT (Client: 220)
    Destination: SAPFTP (handle: 3, , )
    SERVER> RFC Server Session (handle: 1, 43220900, {5D1DF3E0-ACBD-F11F-8EA0-00A0D1
    SERVER> Caller host:
    SERVER> Caller transaction code:  (Caller Program: java)
    SERVER> Called function module: RFC_START_PROGRAM
    Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1742
    FUNCTION: 'exec_sapgui'
    cannot open SAPGUI
    PROG =sapftp erpdev sapgw00 43232164 IDX=4
    Can someone help me in getting this sorted out.
    Thanks N Regards
    Edited by: Prashantroy on Oct 10, 2011 2:32 PM

  • I am not able to fecth data using this statement

    Hi All,
    Iam getting problem when i was using select queiry based on vbak,vbap and konv tables.
    Error is i am not able to get  all condition types but i am getting only first record
    Example...
    number of the document condition which is KNUMV
    condition item number which is KPOSN
    condition type which is kshcl
    knumv              kposn             kshcl
    00000002          000100        zpro
    00000002          000100        zdsc
    00000002          000100        zima
    00000002          000100        zpak
    but iam getting only first fecord not getting all the records
    like
    000000002    000100    zpro
    code is ..........
    *select Sales Document: Header Data and Item Data from vbak and vbap
    select avbeln aerdat aernam aauart avkorg avtweg aspart akunnr avkbur avkgrp alifsk afaksk aaugru aknumv
           bposnr bmatnr bwerks blgort bkwmeng bpstyv babgru bbedae blprio bvstel bntgew bbrgew
           bvolum bfaksp bktgrm btaxm1 babfor bkalsm_k bmatkl bkondm bgsber bprctr
           into corresponding fields of table it_vbak
           from vbak as a inner join vbap as b on avbeln = bvbeln
           where a~vbeln in lr_vbeln and
                 a~vkorg in lr_vkorg and
                 a~vtweg in lr_vtweg and
                 a~spart in lr_spart and
                 b~werks in lr_plant and
                 a~auart in lr_auart and
                 a~erdat in lr_erdat.
    Move all the data to it_sorder
      IF sy-subrc = 0.
        LOOP AT it_vbak.
              MOVE-CORRESPONDING it_vbak TO it_sorder.
              APPEND it_sorder.
              CLEAR it_sorder.
        ENDLOOP.
      ENDIF.
    *select Conditions from konv
    IF NOT it_sorder[] IS INITIAL.
        SELECT knumv kposn STUNR KAPPL ZAEHK kschl kbetr KAWRT
               INTO CORRESPONDING FIELDS OF TABLE it_konv
               FROM konv FOR ALL ENTRIES IN it_sorder
               WHERE knumv = it_sorder-knumv and
                     kposn = it_sorder-posnr.
      ENDIF.
    Read Conditions  from it_konv move it to it_sorder
      sort it_konv by knumv .
       sort it_sorder by knumv .
        LOOP AT it_sorder.
        READ TABLE it_konv WITH KEY knumv = it_sorder-knumv
                                    kposn = it_sorder-POSNr binary search.
        IF sy-subrc = 0.
          it_sorder-Kposn = it_konv-kposn.
          it_sorder-STUNR = it_konv-STUNR.
          it_sorder-KAPPL = it_konv-KAPPL.
          it_sorder-ZAEHK = it_konv-ZAEHK.
          it_sorder-kschl = it_konv-kschl.
          it_sorder-kbetr = it_konv-kbetr.
          MODIFY it_sorder.
          CLEAR it_sorder.
        ENDIF.
        CLEAR it_konv.
      ENDLOOP.
    pls can you help me
    thanks
    mars

    I think the problem is here:
    sort it_konv by knumv .
    sort it_sorder by knumv .
    LOOP AT it_sorder.
    READ TABLE it_konv WITH KEY knumv = it_sorder-knumv
    kposn = it_sorder-POSNr binary search.
    There will be mulitple lines in it_konv with this key so it will only return the first. You need a second loop round it_konv eg:
    LOOP AT it_conv WHERE knumv = it_sorder-knumv and kposn = it_sorder-POSNr.
    * do stuff here
    ENDLOOP.
    Try that and see if it helps...
    Andy

  • Not able to connect db using developers(plsql developer,sql developer)

    Hi,
    I used to work on plsql developer, but since from few days i am not able to connect to it, so i have installed sql developer still i am not able to connect to database.
    I can connect to the database using sql*plus. dont know what happend suddenly i have not changed any settings.
    I am getting the error when connecting sql developer: Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection
    when connecting through plsql developer getting the error: ora-12545 connect failed because target host or object does not exist
    Please help.
    Thanks,
    Vinod

    Wrong forum - please repost in the SQL Developer forum, edit this post to include the link to the SQL Developer thread and then mark this as ANSWERED.
    SQL Developer
    >
    when connecting through plsql developer getting the error: ora-12545 connect failed because target host or object does not exist
    >
    In you post on the other forum include your 4 digit Oracle version and the version of SQL Developer that you are using.
    Also provide the step by step details of how you are trying to create the new connection.
    The error message is telling you that you are using a server or host name that does not exist.

  • Not Able To Connect Internet Using Ethernet Getting Not Able To Connect PPP Server

    I was able to connect to internet using ethernet,but suddenly it is not working when i try to connect it says not able to connect ppp server but i am able to connect same ppoe to windows machine

    Hello vivek.palamkar,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    Solutions for connecting to the Internet, setting up a small network, and troubleshooting
    http://support.apple.com/kb/ht1714
    Mac OS X: Connecting to the Internet With PPPoE
    Mac OS X: Troubleshooting a PPPoE Internet Connection
    Best of luck,
    Mario

  • Not able to start server using  wlst in windows

    hi everyone,
    i am trying to start the weblogic 10.3 server thru wlst using the command
    startServer('AdminServer_name','Domain_Name',"............
    first it used to give an error saying that it is not able get the encrypted username and password from the boot.properties file.
    then i tried copy pasting the username and passwd in the same command and it gives me a error saying
    wlst could not start a new jvm for the server process, this might happen if you have provided illegal jvmArgs or the JVM picked up any illegal JVM_OPTIONS from your path.
    if i mention the JVM parameters same as obtained from the help('startServer') command parameters. it says
    Traceback (innermost last):
    File "(console)", line 1, in?
    File "(iostream)", line 398 , in startServer
    TypeError: startSvr(): 10th arg cant be coerced to int.
    i am desperately trying to get through this error
    please help....
    thank you,
    Roop

    Annoying syntax bug:
    60000 works
    '60000' doesn't
    wls:/offline> startServer( 'AdminServer', 'base_domain', 't3://host:7009', 'weblogic', '****'', '/opt/oracle/bea/user_projects/domains/base_domain', 'true', '60000' )
    Traceback (innermost last):
    File "<console>", line 1, in ?
    File "<iostream>", line 398, in startServer
    TypeError: startSvr(): 10th arg can't be coerced to int
    wls:/offline> startServer( 'AdminServer', 'base_domain', 't3://host:7009', 'weblogic', '***', '/opt/oracle/bea/user_projects/domains/base_domain', 'true', 60000 )
    Starting weblogic server ...
    WLST-WLS-1253908409262: <Sep 25, 2009 3:53:29 PM EDT> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:

  • Not able to debug procedure using oracle 11g & toad 9.0.1.8

    hi..
    i m using oracle 11g & toad 9.0.1.8 ..i want to debug procedure , i set parameter, but not able to debug procedure , there is 'debug' option, but that option is disable..
    can u plz help me regarding this..
    can u suggest me another tool where i can debug my procedure..
    thanx..
    Edited by: user10502250 on Jun 22, 2009 4:15 AM

    "Help, About" should list the installed options, and "Debugger" should be in the list otherwise you'll need an expensive upgrade or a change of IDE.
    In TOAD you have to open the source code editor, at which point the debugging options should be accessible. You can either set a breakpoint and hit the 'Execute' lightening symbol, or place the cursor at a suitable point in the code and press F12.
    I'm not completely sure how you are supposed to pass runtime parameters but it may be to do with right-click, Action Console, Execute, which brings up a 'Set Parameters' dialog. However this won't run in debug mode, it just runs and remembers the arguments. I don't really get it. As you can probably tell I'm not a great fan of the product. Have you looked at PL/SQL Developer?

Maybe you are looking for

  • How to open 2 playlist at the same time and have them in two diferents windows?

    until iTunes 10 i can open more than one playlist at the same time, and have this playlist in diferents windos but since 11 i cannot do it anymore.. is anoying if i need to fast switc music froms playlists.. so it become usseless... i think the aim o

  • 80GB IPOD to TV

    I am using the 5 wire conector and getting audio only. I have tried setting tv out in all positions, on, off and ask, no video. I use my friends IPOD Touch and I get it all, great video and audio. What should I do?

  • Why is updating such a pain and so confusing

    In my post below you will notice I am currently using 9.1 I downloaded the updates for 9.2.1 and 9.2.2 I click on the 9.2.1 and I get a start up disk with very confusing instructions. Where is this disk supposed to go and then since this is the 1st f

  • Coloring a field in copy of ptrv_expense form.

    hi all. i am new to adobe forms. had a small doubt . I just created a copy of PTRV_EXPENSE_FORM and added a new column in that, the O/P is working fine. My doubt is when I am getting the correct O/P there is a yellow color on the sum part or the last

  • Problems with Activation Key for Windows 7

    Seeing as this has to do with the physical key and not the software for Windows 7 I do not know which board I should post this in. I have a Toshiba Satellite A665 that came with Windows 7 Home Ed. serial key label on the bottom of the laptop. After 3