Case Issue in Mapviewer WMS GetMap request

I've been working with Mapviewer 10.1.2.0.2 for a couple weeks now and have used the wms_getmap_request using the XML API to get layers from various WMS servers including USGS. I am interested in getting images specifically from wms.jpl.nasa.gov as they seem to have better global coverage than USGS which is primarily interested in the US. I believe that the wms.jpl.nasa.gov is a non compliant WMS server because the REQUEST=GETMAP name pair in the url created by Mapviewer using the wms_getmap_request fails while using REQUEST=GetMap works.
Here's and easy test: The URL in Example 1 fails while the Example 2 URL returns an image.
Short of asking Nasa's Jet Propulsion Laboratory to get a new wms image server, is there a workaround for this that would force the url request to use the mixed case version of the value instead of the all upper case? From what I can tell they are a leading source of this kind of information.
Example 1:
http://wms.jpl.nasa.gov/wms.cgi?VERSION=1.1.1&REQUEST=GETMAP&SRS=EPSG:4326&BBOX=-123.3865,367766,-121.1365,38.2766&WIDTH=600&HEIGHT=400&FORMAT=image/jpeg&BGCOLOR=0xffffff&TRANSPARENT=true&LAYERS=global_mosaic&STYLES=pseudo_bright&EXCEPTIONS=application/vnd.ogc.se_inimage
Example 2:
http://wms.jpl.nasa.gov/wms.cgi?VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=-123.3865,36.7766,-121.1365,38.2766&WIDTH=600&HEIGHT=400&FORMAT=image/jpeg&BGCOLOR=0xffffff&TRANSPARENT=TRUE&LAYERS=global_mosaic&STYLES=pseudo_bright&EXCEPTIONS=application/vnd.ogc.se_inimage
Thanks,
Ken

Hi,
Since MapViewer is a component of Oracle App Server, any MapViewer patch will have to be part of an App Server-wide patch, which is out of the control of the Mapviewer team (schedule wise).
We are however preparing for an early access release of MapViewer 11g, which will be available for download on OTN late Janurary 2006. That version will fix this issue (and also provides a ton of exciting new features).
In the mean time, if you contact me directly we can probably help you on this issue now. [email protected] please replace _ with . for the correct email adderess.
thanks

Similar Messages

  • MapViewer WMS GetMap uses SDO_FILTER

    When I use the WMS request GetMap, MapViewer uses SDO_FILTER for the generated queries. This is not always accurate because sometimes features are not selected and drawn. How can I make MapViewer use SDO_RELATE instead of SDO_FILTER?

    The fact that mapping applications use sdo_filter is because it is much more faster to supply a resultset which normally is bigger than the actual set needed for a rectangular view in such an application, then to use an operator like sdo_relate to get an exact matching resultset.
    After all speed is important in (web)mapping applications.
    This is also noted in the user manual:
    http://download.oracle.com/docs/html/B14255_01/sdo_intro.htm#sthref91
    Extract:
    Spatial uses a spatial index to implement the primary filter. Spatial does not require the use of both the primary and secondary filters. In some cases, just using the primary filter is sufficient. For example, a zoom feature in a mapping application queries for data that has any interaction with a rectangle representing visible boundaries. The primary filter very quickly returns a superset of the query. The mapping application can then apply clipping routines to display the target area.
    The purpose of the primary filter is to quickly create a subset of the data and reduce the processing burden on the secondary filter. The primary filter, therefore, should be as efficient (that is, selective yet fast) as possible. This is determined by the characteristics of the spatial index on the data.
    However, I think, it should not return less features then the sdo_relate.
    Maybe a Mapviewer expert can help you further.
    Luc

  • Using Basemaps with MapViewer/WMS

    I've set up a basemap which zoom layers a Georaster layer and MasterMap vector layers.
    This works fine when accessing MapViewer in the normal manner, however, when I access it through WMS I only get the MasterMap data at all zoom levels.
    e.g.
    http://10.104.30.10:8888/mapviewer/wms?request=getmap&version=1.1.1
    &format=image/jpg&service=wms&bbox=525000,180000,530000,185000
    &srs=SDO:81989&BASEMAP=WMSBASE1&layers=&width=800&height=800
    Why would it not behave the same when accessing via WMS?
    Ken

    Hi,
    fill &layers= with you layer names like &layers=layer1,layer2
    regards, Andreas

  • Mapviewer WMS Server

    I have spatial data in Oracle database. The SDO_SRID of this data is 262148 (Non-Earth meters).
    Now I want to configure mapviewer as a WMS server.
    If I try http://host:port/mapviewer/wms?REQUEST=GetCapabilities&VERSION=1.1.0&SERVICE=WMS
    I get
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd">
    <ServiceExceptionReport version="1.1.1">
    <ServiceException>
    <![CDATA[java.lang.NullPointerException
         at oracle.spatial.geometry.JGeometry.load(JGeometry.java:2972)
         at oracle.lbs.webmapserver.WMSCapabilities.getLatLonBounds(WMSCapabilities.java:1084)
         at oracle.lbs.webmapserver.WMSCapabilities.GetCapabilities(WMSCapabilities.java:684)
         at oracle.lbs.mapserver.oms.wmsGetCapabilities(oms.java:2648)
         at oracle.lbs.mapserver.oms.doPost(oms.java:703)
         at oracle.lbs.mapserver.oms.doGet(oms.java:386)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.lbs.webmapserver.WMSServletFilter.doFilter(WMSServletFilter.java:254)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    ]]>
    </ServiceException>
    </ServiceExceptionReport>
    Thanks in advance

    Thanks for reply
    SQL> select * from user_sdo_geom_metadata
    2 where
    3 (table_name = 'TERENURI')
    4 /
    TABLE_NAME
    COLUMN_NAME
    DIMINFO(SDO_DIMNAME, SDO_LB, SDO_UB, SDO_TOLERANCE)
    SRID
    TERENURI
    GEOLOC
    SDO_DIM_ARRAY(SDO_DIM_ELEMENT('X', 0, 400000, ,000002), SDO_DIM_ELEMENT('Y', 0,
    400000, ,000002))
    262148
    Posting request like http://host:port/mapviewer/wms?REQUEST=GetMap&VERSION=1.1.1&...
    returns image.
    Could there be any problems with SRID?

  • WMS GetFeatureInfo request return Error

    Hi,
    MapViewer (patchset5 )
    http://.../mapviewer/wms?REQUEST=GetFeatureInfo&VERSION=1.3.0&DATASOURCE=geo_pl&CRS=EPSG:4326&BBOX=20.82,52,21.28,52.38&LAYERS=WA_DZIELNICE&WIDTH=600&HEIGHT=600&INFO_FORMAT=text/xml&QUERY_LAYERS=WA_DZIELNICE&I=300&J=300
    Request return following error:
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    An invalid character was found in text content. Error processing resource 'http://..../mapviewer/wms?RE...
    <NAME>Mokot
    Correct name is Mokotów.
    This problem is coreleted with national character, when column value contains national character ....Temporary I change vales to names without national chars, but its only temporary :-)
    Does anyone solve this problem(and how to) or is a bug?
    BR,
    TM

    This is not helping because it's not really related to a process.
    I'm using the request value to show/hide an item.
    As I'm losing the request value when I submit the page and get the errors, my item is not displayed anymore.
    I will have a look at the url posted by Jari and keep you posted if this helps.
    Uji.

  • Multiple datasources for Mapviewer WMS

    Hello,
    I have set up a WMS server using mapviewer. I have data sources "prod" and "pub", one is default configured like this in the WMS configuration:
    <wms_config host="myhost" port="8080"
                  protocol="http" default_datasource="wms"
                  public_datasources="prod,pub">
    The problem I am facing is when I am trying to get layers from the  "pub" datasource. Most of the applications I am using throws me the following errors:
    "The WMS server returned no data from the GetMap request" , "Layer NotDefined" , "Invalid Layer requested" or this other one from QGIS:
    "Map request error (Status: 200; Response: <?xml version = '1.0' encoding = 'UTF-8'?>
    <!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd">
    <ServiceExceptionReport version="1.1.1">
       <ServiceException code="LayerNotDefined">
          <![CDATA[<oms_error>
    <![CDATA[
    OMS: MAPVIEWER-00003: SQL error occurred while generating map.
    ]]>
    </oms_error>]]>
       </ServiceException>
    </ServiceExceptionReport> "
    I tried to add the DATAOURCE Mapviewer parameter but I still get these same errors.
    When I switch "pub" from public_datasources to default_datasource everything works fine. It seems that I can get layers only from the default datasource. The problem is that I use several database intances and I relly need to have all datasources working.
    Could you help me to know if I'm using it the wrong way or if it is a known bug ?
    Thank you

    Hi Sachin,
    The basi answer is yes.  The other infoobjects will be empty if you load in two seperate update rules.
    Remember one basic rule about cubes: you cannot change (in general) records in a cube that you have loaded previously. 
    But this does not mean the behaviour you want in queries is not correct.
    Suppose you load the following:
    CHAR A, CHAR B, CHAR C, KF 1
    A1               C1      10
              B1     C1       5
    In this case a query on C1 will return 15, although a query for the values of B1 will only return 5.
    hope it helps,
    Tom

  • Map viewer is not able to parse WMS map request

    I am experimenting with using Mapviewer to deliver WMS data using the built-in WMS support as documented in appendix D of the manual. The Mapviewer version is 10.1.2.0.2.
    Using the following arguments in a browser window, I am able to receive a map image from Mapviewer (I have defined the datasource 'namn_utv' and the map 'SN8307'):
    VERSION=1.1.1&
    SERVICE=WMS&
    REQUEST=GetMap&
    STYLES=&
    FORMAT=image%2fpng&
    SRS=EPSG:4326&
    BASEMAP=SN8307&
    LAYERS=&
    BBOX=5,60,6,61&
    WIDTH=524&
    HEIGHT=524&
    BGCOLOR=0xFFFFFF&
    EXCEPTIONS=application/vnd.ogc.se_xml&
    DATASOURCE=namn_utv
    The problem is that applications able to render WMS layers do not send exactly this format (I have tried ESRIs ArcGIS version 9.1 and Cadcorp SIS Map Browser version 6.2.658). They do not specify the BASEMAP parameter or the DATASOURCE parameter, as they are Mapviewer only.
    Is there a way to make Mapviewer accept standard WMS requests such as the one below? Or do I have to re-implement the WMS support myself to be able to handle such requests?
    VERSION=1.1.1&
    SERVICE=WMS&
    REQUEST=GetMap&
    STYLES=&
    FORMAT=image%2fpng&
    SRS=EPSG:4326&
    LAYERS=NAMN8307&
    BBOX=5,60,6,61&
    WIDTH=524&
    HEIGHT=524&
    BGCOLOR=0xFFFFFF&
    EXCEPTIONS=application/vnd.ogc.se_xml
    Kind regards,
    Øyvind Eide

    Rename your datasource to WMS.
    Then omit the datasource and basemap names from the request.
    See Sec D.2.1
    The default data source for a GetMap request is WMS. That is, if you do not specify the DATASOURCE parameter in a GetMap request, it is assumed that a data source named WMS was previously created using the <add_data_source> element (described in Section 7.1.1) in an OracleAS MapViewer administrative request.
    "

  • Issue related to Debit Memo Request

    hello,
    I am facing one issue related to debit memo request,as when i generating Debit memo request through DP90 t code,in debit memo request whatever the line items it will generate through this t code it all are getting in to NON-EDITABLE MODE,so i need to make this in to EDITABLE MODE, i have change in the condition types  as "MANUAL" even though its getting in to non editable mode ,so please help me to make this line items in to editable mode.

    Hi Abdul,
    We have a provision in DP90 itself to change the price of the conditions, if manual changes are allowed to the conditions. Please check the configuration setup of the condition type whether manual changes are permitted or not.
    Regards,
    SAM

  • DVD Case Issue

    I posted an issue concerning a new Macbook Pro I purchased the week before last and Apple have removed the post from this forum claiming it was not of a technical nature. I advised people to check their new Macbook Pro 17" under the area of the DVD as I found the lower case indented. I have had two occassions now where the DVD has not ejected but can here a noise which sounds likes its trying an meeting resistance. Apple service advised me yesterday the lower metal case is not covered by warranty and yet from a techincal standpoint the indentation may be causing the DVD intermitent problem. As this is a "fit to use" technical issue I think it is appropriate to be highlighted in the forum and perhaps someone can help by suggesting another way I can determine if the DVD is having an issue. I think Apple do not want the lack of claim on the lower case to be public knowledge. The Apple service centre stated they cannot help me even though I purchased the laptop just recently. So perhaps there is another technical solution to sorting out the DVD problem and manufacturing case issue?
    Message was edited by: Host

    They don't come with dented cases, so who dented it? You must have. I can see a dent near the slot affecting its performance. Buy an external firewire DVD drive and gain a ton of speed and save a ton of money vs. the repair which they rightfully say you are responsible for.

  • Mapviewer WMS and GetCapabilities

    Hi,
    We have a Mapviewer WMS server running well, but have noticed that when we use a WMS client to query the data (e.g. Quantum GIS, NASA WW) the WMS service returns the entire extent, not the extent of the data. This is really annoying and is an important part of WMS.
    All the georasters we have are built correctly etc. (i.e. tested system known to work).
    How do provide extents for just the data in the GetCapabilities?
    Thanks,

    I cannot find the user_sdo_view_metadata view. I do have:
    user_sdo_geom_metadata
    user_sdo_geor_sysdata
    Yes, I would not expect the GetCapabilities spatial extent for all the images in the table, not just 1 image.
    I used this query to check the spatial extents of each image and they are all there:
    SELECT t.image.spatialextent FROM oblique t
    Looking at the view in user_sdo_geom_metadata shows:
    3 | oblique | image.spatialextent | <points showing diminfo> | 41103
    which all looks good.
    I noticed though for the user_sdo_geor_sysdata view, there is an entry for each image, for example:
    9 | oblique | image | (null) | oblique_rdt | 1 | (null)
    which means that for the meta_data_column_name it is set to null. Is that bad?

  • Mapviewer WMS servered from tilecache instance?

    It seems that GetCapabilities only returns my maps and none of my cached maps are available. Is there anyway to have mapviewer server WMS requests out of a tile cache?

    Hi,
    This is not supported currently. We could probably modify our WMS implementation so that if a base map already has a tile layer created for it, then it will try to reuse its existing map tiles when generating the response map. The problem is however map tiles are by nature of fixed map scales (zoom level), whereas a WMS request can be for an arbitrary map scale that often falls between two adjacent tile-layer zoom levels. In such case the tiles can't really be re-used without distortion.
    Thanks
    LJ

  • Filename case issue in precompilation of JSPs for Windows

    Hello,
              I have determined why my JSP pages have been recompiling
              despite including the corresponding compiled class files in
              my application package.
              It seems as though on Windows, any jsp files that have
              filenames that have upper
              case letters are being recompiled, even if their precompiled pages
              are included in the .war file. JSP files that have filenames that are all
              lower case
              are not recompiled, which is expected behavior.
              The UNIX version of BEA does not seem to have this bug
              related to the case of JSP filenames.
              Could someone from BEA please give us more information
              on this issue and when we can see it fixed?
              Thank you very much,
              Peter Kim
              p.s. I am using Weblogic Server version 7.0.1.0.
              

    I'm seeing something slightly different here.
              I'm including __MyJsp.class (with the proper case) in my
              packaged .war file, but when a request is made for MyJsp.jsp,
              BEA looks for __myjsp.class instead of __MyJsp.class--
              therefore it recompiles MyJsp.jsp.
              -peter
              "Simon Spruzen" <[email protected]> wrote in message
              news:[email protected]...
              >
              > You get the same behaviour on 6.1 SP2 as well. MyJsp.jsp gets turned into
              __myjsp.class
              > (all lower case), but WebLogic looks for __MyJsp.class. This works just
              fine on
              > NTFS which is case-preserving/case-insensitive, but is hosed on Unix.
              Hence the
              > recompile.
              >
              > But the generated class file refers to the correctly cased Jsp page in its
              _isStale()
              > method. Sigh.
              >
              >
              > simon.
              >
              >
              > "Peter Kim" <[email protected]> wrote:
              > >Hello,
              > >
              > >I have determined why my JSP pages have been recompiling
              > >despite including the corresponding compiled class files in
              > >my application package.
              > >
              > >It seems as though on Windows, any jsp files that have
              > >filenames that have upper
              > >case letters are being recompiled, even if their precompiled pages
              > >are included in the .war file. JSP files that have filenames that are
              > >all
              > >lower case
              > >are not recompiled, which is expected behavior.
              > >
              > >The UNIX version of BEA does not seem to have this bug
              > >related to the case of JSP filenames.
              > >
              > >Could someone from BEA please give us more information
              > >on this issue and when we can see it fixed?
              > >
              > >Thank you very much,
              > >
              > >Peter Kim
              > >
              > >p.s. I am using Weblogic Server version 7.0.1.0.
              > >
              > >
              >
              

  • Adding a watermark  to raster maps before  MapView displays users requests

    Dear everyone
    Is it possible to create a transparent watermark overlay that Oracle can then place on top of any raster maps just before they are served via MapViewer to web browsers.
    I have some large raster maps which users will be able pan and zoom in and out of. It would be extremely helpful if every time they recentre or zoom the map, the same copyright image was displayed over the map image. I know this can be done as text but I would prefer to have a transparent image displayed across the whole screen so that a user cannot copy parts of the image so easily. I also do not want non transparent text obscuring any of the raster data.
    I can do this on the original data but that is time consuming and means I would have to keep copies of both the modified and unmodified data.
    I am working in Oracle 10.2 using PL/SQL and the PL/SQL API, which replicates the Java API, in order to sent scripts to MapViewer.
    Kind regards
    Tim

    Hi
    This is an old question but I since found the answer so thought I would post it. The answer is in the MapViewer manual.
    In 10.1.2 it is located from page 1-23 (it's in section 1.5.5.). It's known as adding your own logo as opposed to watermark.
    The code required is added to the MapViewer configuration file and therefore as such I believe, would apply to every map request, regardless of user. It also means it wouldn't have been of use in my case because I do not have the correct permission to edit this file and nor should I, given many other people besides myself use MapViewer.
    Regards
    Tim

  • Outlook Anywhere, high availability cas issue.

    We are beginning a deployment of a 3 node exchange 2013 dag/cas group and have hit a snag with outlook anywhere.
    the configuration:
    SIDHEX01A - DAG member and CAS
    SIDHEX02A - DAG member and CAS
    SIDHEX03A - DAG member and CAS
    We have one live database running on SIDHEX02A with passive copies on 1 and 3. We have 5 live users functioning as a test group.
    DNS: we have internal DNS set to resolve mail.domain.net as all three servers. We have public DNS set to resolve mail.domain.net to an external ip on our firewall. From there we forward ports 25, 80, and 443 to server SIDHEX02A.
    All 3 servers have Certs for mail.domain.net applied to iis and smtp.
    We have set the external ( and internal names) of all the exchange services to mail.domain.net including owa, ecp, outlook anywhere, oab, activesync, and ews.
    Our next step plan was to replace the direct port forward with a load balancer completing the high availability cas, when we hig hthe following snag:
    The DAG works prefectly.
    OWA, activesync, ecp, oab, ews all function fine.incomming and outgoing mail works perfectly. we simulate cas load balancing by changing the port forwarding to direct to a different cas server.
    We are however experiencing some weird behavior with outlook anywhere.
    We have a large number of users that work completely off-prem and will be using outlook with out ever connecting to the internal network at all. When we try to configue outlook to connect to the CAS we are trying to use the following:
    server: mail.domain.net
    exchange proxy: mail.domain.net
    This doesn't work, the outlook client never finds the server.
    testexchange reports that it is unable to ping the proxy server (it is pingable) after corectly checking certs and doing all the other communications.
    Attempting to ping RPC proxy mail.domain.net.
      RPC Proxy can't be pinged.
     Additional Details
    A Web exception occurred because an HTTP 404 - NotFound response was received from Unknown.
    Headers received:
    request-id: e9462008-75e2-4990-9d0f-a6c5514f5bce
    X-CasErrorCode: EndpointNotFound
    Persistent-Auth: true
    X-FEServer: SIDHEX02A
    Content-Length: 0
    Cache-Control: private
    Date: Mon, 30 Dec 2013 02:46:34 GMT
    Server: Microsoft-IIS/8.0
    X-AspNet-Version: 4.0.30319
    X-Powered-By: ASP.NET
    Elapsed Time: 21308 ms. 
    Now if we tell the outlook client to use SIDHEX02A as the server name outlook will resolve the mailbox and everything apears great, except for two issues.
    With a load balancer implimented we wouldnt know what the target server name was.
    Secondly, we see some sort of link in outlook to the internal server name. On a cas failover outlook functions perfectly until it is closed and reopens with around a 60 second "trying to connect" before finally resolving the mailbox. This apears to
    be permanent, if we start an outlook profile on sidhex03a for example, it will have 60 sec delays on 01 or 02, but never 03. Its as if the client is looking for its "home server" before considering alternitives.
    Its posible that the load balancer would resolve some of this and we are happy to do that, we have also looked at ARR since this blog post seems to imply its required.
    http://blogs.technet.com/b/exchange/archive/2013/07/19/reverse-proxy-for-exchange-server-2013-using-iis-arr-part-1.aspx but we dont want to add complexity over a problem until we understand why its needed.
    Also of note: we dont have a cert for autodiscover.domain.net, nor is it publicly resolvable.
    we dont have any 2010 servers, this is a clean 2013 envroment.
    Thank you for taking the time to review this issue, I will provide any follow up info I can.

    Hi,
    Firstly, I’d like to explain, the host name autodiscover.domain.com should be in the certificate to ensure Autodiscover service can work externally.
    And I’d like to confirm if the test users are used internally and how about directly accessing the following URL:
    https://autodiscover.domain.com/autodiscover/autodiscover.xml
    Additionally, according to your description, you forward ports 25, 80, and 443 to server SIDHEX02A.
    Then to understand more about the issue, I’d like to confirm if you set all SMTP,HTTP and HTTPS requests forward to the server SIDHEX02A and how to achieve that. Maybe this is the key point of the issue.
    Thanks,
    Angela Shi
    TechNet Community Support

  • Case issue in Database table

    Hi All,
    We have an issue of lowercase in database table and we want to convert that lowercase data to upper case. The code for doing this operation is as follows:
    SELECT * FROM zehs_volumes INTO TABLE i_volumes_temp.
    LOOP AT i_volumes_temp.
    DELETE zehs_volumes FROM i_volumes_temp.
    IF sy-subrc is INITIAL.
      COMMIT WORK.
    ELSE.
      ROLLBACK WORK.
    ENDIF.
    TRANSLATE i_volumes_temp-zehs_business TO UPPER CASE.
    MODIFY i_volumes_temp.
    CLEAR i_volumes_temp.
    ENDLOOP.
    SORT i_volumes_temp BY SUBID ZEHS_BUSINESS ZEHS_SITE ZEHS_ROLE
                           ZST_DATE ZED_DATE.
    DELETE ADJACENT DUPLICATES
    FROM i_volumes_temp COMPARING SUBID ZEHS_BUSINESS ZEHS_SITE
                                  ZEHS_ROLE ZST_DATE ZED_DATE.
    MODIFY zehs_volumes FROM TABLE i_volumes_temp.
    IF sy-subrc is INITIAL.
      COMMIT WORK.
    ELSE.
      ROLLBACK WORK.
    ENDIF.
    The problem wid the above code is that it first clears the entire database table and then fills it with the modified data from the internal table. But we do not want to take risk of emptying the database table. Is there any way out to perform the above operation?
    Thanks in advance
    Regards,
    Yogesh Sharma

    Hi Karthik,
    Thanks for replying.
    In our case the scenario is we need to delete wrong entires in the database table based on the primary input fields. There is already a utility to do so. But in the table some of the entries are present in the lower case.
    For eg. Suppose we need to delete entry with field zehs_business = "Pioneer". When we input this SAP interpret it as PIONEER and we get an error message "No data exist".
    So the code should we in such a way that all the value in field zehs_business should be translated to upper case otherwise SAP will give an error message of non-existence of data.
    The code which you gave adds one more entry in database table with zehs_business = "PIONEER". Now the database table have two records one with "Pioneer" and other with "PIONEER". After the execution of DELETE statement only the record with zehs_business = PIONEER gets deleted....and the other record still exist.
    Is there any way to avoid above situation....

Maybe you are looking for

  • Interrupted Setup Assistant

    In the middle of answering the questions on Setup Assistant on my new iMac, the power cord disconnected. The idiot setting up the iMac (me) did not realize that the power cord was not securely in place. When I fixed my mistake and rebooted I was take

  • How can delete application on lion

    how can i delete any application on Mac Os X Lion from launchpad?

  • Proxies - Queueing and Error handling features ???

    My understanding is that you can have synchronous and asynchronous proxies. Do proxies have a queueing mechanism, and do they provide reprocessing and error handling features ??? Thanks in advance.

  • Text pluggin for music video text

    I am looking for a text plugin for music video text. Can anyone recommend one?

  • Launching pse 10

    hi all i have just installed pse 10 from disc under windows 7, my problem is that i seem to be only able to launch pse 10 once, if i decide to close the program down, before i am able to open it again, i need to shut my pc down and restart before i c