Host parameter null and convert SOAP to HTTPUrl

Hi,
We are trying to fire a SOAP request and print the response but its throwing this error
Exception in thread "main" java.lang.IllegalArgumentException: host parameter is null
The piece of code is:
HttpClient hc = new HttpClient();
System.out.println("Came here");
int iResultCode = hc.executeMethod(post);
executeMethod(post) is failing but when I print the value of post, its �org.apache.commons.httpclient.methods.PostMethod@fd54d6�
Can anybody throw some light on this error and how to solve it??
Also, there�s another issue.
We are upgrading from Weblogic 7.2 to 9.1
Earlier we were able to pass the request and get the response in HTTPUrl form but now after upgrading, its getting passed in SOAP format. Is there any way to bypass the SOAP and get it in HTTPUrl format or what are the configurations to be made to adapt to the SOAP format?
connection =(HttpURLConnection) url.openConnection();
     This line was returning HTTPUrl format, now its coming in SOAP format

your PostMethod takes the Url as the parameter. Check you are using the proper URl i.e like http://host:port/name?params like that

Similar Messages

  • Host parameter null.

    Hi,
    We are trying to fire a SOAP request and print the response but its throwing this error �host parameter null�.
    hc.executeMethod(post) is failing. the strXMLRequest seems to be correct
    Exception in thread "main" java.lang.IllegalArgumentException: host parameter is null
    The piece of code iim using is:
    String strURL = "http://athenec:47112/oms/XMLAPI/login";
    URI u = new URI(strURL);
    PostMethod post = new PostMethod();
    String strXMLRequest = new String(baos.toByteArray());
    post.setRequestBody(strXMLRequest);
    post.setURI(u);
    post.setPath("/");
    post.setRequestHeader("Content-type", "text/xml");
    System.out.println("post url is " post.getURI() " post is " +post.getQueryString());     
    HttpClient hc = new HttpClient();
    System.out.println("Came here");
    int iResultCode = hc.executeMethod(post);
    System.out.println("passed here");
    The logs are as follows
    post url is http://athenec:47112/ post is null_
    Came here
    passed here
    iResultCode = 404
    Can anybody help me out ??

    your PostMethod takes the Url as the parameter. Check you are using the proper URl i.e like http://host:port/name?params like that

  • HT3311 Problem submitting podcast (hosted on GoDaddy) to i Tunes Store - host parameter null

    Why do I get following reply from iTunes Store when I attempt to publish my podcast:
    "We had difficulty reading this feed. Host parameter is null." ?
    This is my podcast website:
    http://www.einarpetterson.org/Ars_et_Medicina/Podcast/Podcast.html
    I have validated the following feed with Feed Validator.  It is ok.  (there are some minor suggestions for changes which should not be criical)
    http://www.einarpetterson.org/Ars_et_Medicina/Podcast/rss.xml
    When I write this feed URL in the box for suscribing to podcasts in ITunes  (Advanced/Suscribe to podcast menues),  iTunes finds my podcasts and downloads them successfully (and fast).  All the podcasts downloaded that way work fine.
    So, if the rss reed is validated, and works in iTunes,  why am I not able to publish my podcasts in iTunes Store?
    My hosting service is GoDaddy.com.   I see from other articles on this support forum (Apple) and on GoDaddy´s support forum, that other people have had the same problem.   Sometimes their problem apparently just disappeared (and iTunes Store finally just stopped writing "We had difficulty reading this feed.  Host parameter is null"  everytime they tried to submit their podcasts to iTunes.  I have now tried submitting this and other podcasts (hosted on GoDaddy) many, many times for several days, but always get the same irritating negative message.
    Does anyone out there understand what the problem could be?   As far as I can see from reading other descriptions of this same problem, no one has yet provided an adequate explanation of what is causing this "glitch" (as some call it). 
    I want to publish several podcast series on iTunes Store which are now hosted on GoDaddy.com.   Many other MobileMe users like me, will in the next 30 days have to move their websites from MobileMe to other hosting services.   GoDaddy.com is a large hosting service.   This problem might appear often during the next month.  I therefore believe that Apple and GoDaddy should attempt to find out why this problem occurs, and do something about it.   It seems from other descriptions of this problem, that it often occurs with people using GoDaddy hosting service.  Have not read or analyzed all descriptions of this problem on the net, but there are enough descriptions to support a hypothesis that there is some communication difficulty between iTunes Store and GoDaddy hosting service. (? - at least some others have made this hypothesis, like I do)

    TEST OF SUBMISSION OF 16 RSS FEEDS TO ITUNES STORE "SUBMIT PODCAST" PAGE
    I have now tested all my podcast rss feeds which are now stored on GoDaddycom hosting service in three ways:
    1) Feed validator
    2) iTunes (Menu: Advanced/suscribe to podcast)
    3) iTunes Store "Submit Podcast Page"
    Results:
    All 16 rss feeds are valid according to Feed Validator.  There are some small insignifcant suggestions for improvements which are not critical.
    All 16 rss feeds function in iTunes (Advanced/suscribe to podcasts)
    None of the 16 rss feeds can be successfully submitted to iTunes Store "submit podcast" page.  The same error occurs in all cases:
    "We had difficulty reading this feed. host parameter is null"
    The following 5 of these 16 podcasts were submitted while the websites were hosted by MobileMe.  No problems with submission.  All accepted and now on iTunes.  These podcast sites are now transferred to GoDaddy.com (with same domain as earlier  - einarpetterson.org - and all function.  I can change pages, make alterations etc.
    Here are the 5 rss feeds.
    http://www.einarpetterson.org/New_Perspectives_on_Baroque_Art_and_Culture/Podcas ts/rss.xml
    http://www.einarpetterson.org/Utopia/Podcast/rss.xml
    http://www.einarpetterson.org/Dystopia/Video_Podcast/rss.xml
    http://www.einarpetterson.org/Dystopia/Podcast/rss.xml
    http://www.einarpetterson.org/Ekskursjonsemner/Podcast/rss.xml
    The following 11 podcasts now hosted on GoDaddy webhosting service can not be submitted successfully to iTunes Store despite the fact that their rss feeds are validated by Feed Validator and work on iTunes (and probably on most  other rss readers)
    http://www.einarpetterson.org/Orientering_utenlandskurs_VS2011/Podcast/rss.xml
    http://www.einarpetterson.org/ViK_VS2009/Verk_i_Kontekst_VS2009/rss.xml
    http://www.einarpetterson.org/ViK_VS2010/Podcast/rss.xml
    http://www.einarpetterson.org/KUN2_4009_tidlig_kristen_kunst_HS2009/Podcast/rss. xml
    http://www.einarpetterson.org/KUN2_4011_Middelalderen_i_Italia_HS2009/Podcast/rs s.xml
    http://www.einarpetterson.org/KUN2_4092_New_York_VS2010/Podcast/rss.xml
    http://www.einarpetterson.org/PropFide_VS2009/Propaganda_Fide_VS2009/rss.xml
    http://www.einarpetterson.org/PropFide_VS2009/Propaganda_Fide_VS2009/rss.xml
    http://www.einarpetterson.org/Propaganda_Fide_VS2012/Podcast/rss.xml
    http://www.einarpetterson.org/Ars_et_Medicina/Video_Podcast/rss.xml
    http://www.einarpetterson.org/Ars_et_Medicina/Podcast/rss.xml
    THIS PROBABLY MEANS THAT IT IS EITHER VERY DIFFICULT, OR IMPOSSIBLE FOR ANYONE WHO IS USING GODADDY.COM AS A WEBHOSTING SERVICE (WITHOUT USING THEIR VIRTUAL OR DEDICATED SERVER OPTIONS WHICH ARE VERY EXPENSIVE) TO PUBLISH ANY PODCASTS ON ITUNES STORE.
    I may have made some error in my submission to ITunes Store, but do not think so.  If anyone discovers that I have made a simple and stupid error, please tell me.  If I have not made an error, one should probably not use GoDaddy.com as a webhosting service if one ever wants to publish podcasts to iTunes Store.
    It would be interesting to hear if anyone in this forum who is using GoDaddy.com webhosting service has recently (or ever) managed to succesfully submit a rss feed to iTunes Store submit page.  If so, I would like to hear about it.

  • SOAP Axis receiver: host parameter is null

    Hello,
    we are on a PI 7.11 (SP06) system & we are trying to setup a scenario SOAP - SOAP (Axis) where we initiate a third party webservice. To connect to this service we are obliged to go through our proxy, which we defined in our JVM parameters:
    http.nonProxyHosts: [*.ont.local|*.val.local|*.mon.local]
    http.proxyHost: [proxypac.mon.local]
    http.proxyPort: [8080]
    http.proxySet: true
    When we execute our scenario via soapUI we get following error:
    com.sap.engine.interfaces.messaging.api.exception.MessagingException:
    com.sap.engine.interfaces.messaging.api.exception.MessagingException:
    XIAdapterFramework:GENERAL:com.sap.engine.interfaces.messaging.api.exception.MessagingException:
    java.lang.IllegalArgumentException: host parameter is null
    We already tried with http://proxypac.mon.local as parameter as well but still we get this error.
    Furthermore we are able to make a connection to the service via a SM59 connection.
    Axis details:
    Adapter Common Library Version: 1.7.1106.20110202095400.0000, NW711_06_REL
    Adapter Application Version: 1.7.1106.20110202095400.0000, NW711_06_REL
    Axis Version: Apache Axis version: 1.4 Built on Apr 22, 2006 (06:55:48 PDT)
    Many thanks in advance for your help,
    Frédéric.

    Hello Mark,
    we get this last error when connecting with SOAP receiver instead of Axis receiver.
    We are sending different headers (wsa & wsse) in our soapUI request:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:klip="http://ws.agiv.be/klipws" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Header>
    <wsa:Action xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://ws.agiv.be/klipws/ListKLB</wsa:Action>
    <wsa:MessageID>urn:uuid:2a46571e-d5a7-4b33-a4a1-a174330cd36c</wsa:MessageID>
    <wsa:ReplyTo> <wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address></wsa:ReplyTo>
    <wsa:To>http://wsklip.beta.agiv.be/**********.asmx</wsa:To>
    <wsse:Security soapenv:mustUnderstand="1" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:klip="http://ws.agiv.be/klipws" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
    <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
      <wsu:Created>2011-09-27T10:00:31Z</wsu:Created>
      <wsu:Expires>2011-09-30T18:01:31Z</wsu:Expires>
      </wsu:Timestamp>
    <wsse:UsernameToken>
      <wsse:Username>*********</wsse:Username>
      <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">***************************************wsse:Password>
      <wsse:Nonce>****************************************</wsse:Nonce>
      <wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">2011-09-12T14:01:31Z</wsu:Created>
      </wsse:UsernameToken>
      </wsse:Security>
    </soapenv:Header>
       <soapenv:Body> <klip:ListKLB xmlns="http://ws.agiv.be/klipws"/>
       </soapenv:Body>
    </soapenv:Envelope>
    For the Axis receiver it looks like one of the handlers can't get the value of our host parameter.
    Any help or tips would be really appreciated!
    Regards,
    Frédéric.

  • 'we had difficulty reading this feed. host parameter is null' I am getting no where here, help!?

    I've had an RSS feed created for an online video podcast but keep getting the message: 'we had difficulty reading this feed. host parameter is null' i've looked at the forums but none of them make any sense. My IT team say the RSS feed is valid and it should work and that is more like down to an itunes error, any help?

    This will be our first podcast so do not currently have a page. Below is the feed.
    Thank you Roger.
    <?xml version="1.0" encoding="utf-8"?>
    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
    <atom:link href="http://dmsukltd.com/rss/rss.xml" rel="self" type="application/rss+xml" />
    <title>The Big Picture</title>
    <link>http://www.dmsukltd.com/hawk/dms_big_picture/</link>
    <description>A brand new monthly movie show produced by DMS</description>
    <language>en-gb</language>
    <item>
    <title>The Big Picture: Mission: Impossible-Ghost Protocol first podcast</title>
    <link>http://dmsukltd.com/dl/paramount/tbp_mi4gp_uk_premiere_v1_qt_hires.mov</link>
    <guid>http://dmsukltd.com/dl/paramount/tbp_mi4gp_uk_premiere_v1_qt_hires.mov</guid>
    <pubDate>15 Dec 2011 12:00:00 GMT</pubDate>
    <description>[CDATA[The cast of Mission Impossible - Ghost Protocol joined The Big Picture on the red carpet for the films UK Premiere! Tom Cruise, Simon Pegg, Paula Patton and Samuli Edelmann were on hand to talk about this latest chapter of the popular series!]]</description>
    </item>
    </channel>
    </rss>

  • We had difficulty reading this feed. host parameter is null

    Hi,
    I'm fairly new to creating podcasts and have come across the 'host parameter is null' error when submitting my podcast to itunes.
    The RSS feed validates )bar the <itunes:link> tag to which I understand Feed Validator doesn't yet support due to previous errors. (correct me if i'm wrong)
    I've tried linking copying the source code and uploading a XML file to the server and linking to that, but still get the same error in itunes.
    Any help is welcome
    link to Feed - http://www.spinoutrecords.co.uk/index.php?page=temp

    itunes error - restarted and all ok.

  • Error Message from ITS "host parameter is null" - Huh?

    I am having trouble submitting a podcast to the iTunes Store.
    I have a podcast that I can access directly through my blog: blog.mindthegap.us
    The RSS2 feed to my podcast is: http://blog.mindthegap.us/podcasts-only/rss2.aspx
    I have subscribed to my podcast through the "Advanced" menu in iTunes. It finds my podcast and adds them to my podcast library.
    BUT, when I submit my podcast to the iTunes Store, I get this message:
    We had difficulty reading this feed. host parameter is null
    I just spent an hour with tech support from godaddy determining that the feed is legit.
    Can someone help me resolve why iTS won't take it?
    Thanks

    I had sumitted the same (or variations of the same) for nearly a week and after submitting the question to iTunes Technical Support, tried one more time.
    Eureka! It was accepted. The only thing that I could possibly have changed was to have added some episode descriptions. The error message "host parameter is null" isn't very helpful if that WAS the solution.
    Now, I can get back to my podcasts.

  • RSS Help - iTunes Error - "host parameter is null"

    hello all,
    I checked the history and there seems to be no answer why iTunes is giving this error, but that it some how fixes itself. I am trying to submit a new podcast (and podcast series) to iTunes. The error that I am getting is "host parameter is null". I am not creating the xml myself i am using Feeder and I have checked it again the FeedValidator.org. I am pretty sure that I have all the fields filled out. Any ideas?
    Thanks
    http://flixmakers.net/feeds/NoBudgetMovieMaking(MP4).xml
    http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fflixmakers.net%2Ffeeds%2FNoB udgetMovieMaking%28MP4%29.xml

    I'd start by taking those parentheses out of the URL - they might be the cause of trouble. If you want to let people know that this is an MP4 version of your feed, put the (MP4) in the podcast title.
    Hope this helps.

  • Iweb/itunes problem - host parameter is null

    i use iweb to publish and host our website. everything works fine, except... i have never been able to successfully publish a podcast to itunes through iweb. the error message in itunes is that the host parameter is null. i'm really scratching my head on this, because why would iweb offer an application that does not sync up with itunes automatically? please help!

    The feed appears to be OK: it references a media file:
    http://www.undergroundfellowship.info/undergroundfellowship/Media/uftv.intro.m4v
    However making this URL into a link in an html page and then downloading from the the link produces not the m4v file but an html file called uftv.intro.m4v.html which references the media file:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <title>www.undergroundfellowship.info </title>
    </head>
    <frameset rows="100%,*" border="0">
    <frame src="http://web.me.com/growingdeeper/undergroundfellowship/Media/uftv.intro.m4v " frameborder="0" />
    <frame frameborder="0" noresize />
    </frameset>
    <!-- pageok -->
    <!-- 02 -->
    <!-- 7.9-->
    </html>
    I don't know how this is happening, or how this page is being generated, but it's what is causing the problem.

  • Host Parameter is null / Podcast submission

    Hi there!
    I'm starting a new podcast, in the hope that it will be avaliable via iTunes soon! but I hit a brick wall when I submitted my XML/rss feed to itunes and the following error message occured...
    "We had difficulty reading this feed. host parameter is null"
    What does it mean and how do i get rid of it?
    here is my xml file >>> http://www.intfi.in/rss/intfi.xml
    Any info wouldbe greatly appreciated!
    +The Squire+ ^_^

    pyrotech13 - your feed appears to be valid.
    LBesquire: there are some minor errors in your feed. The 'lastpubdate' doesn't have a timezone (and is earlier than the date of the last episode) - also your dates are variously GMT or +0100. The 'itunes:subtitle' for both episodes is too long - they should be limited to 255 characters.
    None of these errors is likely to be serious. Both feeds can be subscribed to manually from the 'Advanced' menu and work OK. I can't say why submitting them is failing, unless perhaps there is a temporary glitch in the system. Certainly the error message doesn't make much sense - it would suggest a failure to communicate with your servers. I should leave it for a day and try again. Do come back if you continue to have failures.

  • Host Parameter is Null Error

    So i'm trying to publish my podcast on itunes, but all i get is ''Host Parameter is Null''. The rss feed has been created following itunes instructions, and it has been 100% validated on the feed validator. If you also paste our feed manually it works. this is the feed http://www.someguysonemic.com/rss.php

    I had sumitted the same (or variations of the same) for nearly a week and after submitting the question to iTunes Technical Support, tried one more time.
    Eureka! It was accepted. The only thing that I could possibly have changed was to have added some episode descriptions. The error message "host parameter is null" isn't very helpful if that WAS the solution.
    Now, I can get back to my podcasts.

  • Replacing NULL and EmptyString('') with "Unknown" in SSRS parameter dropdown

    All,
    What I want to do is, in the SSRS parameter drop down, instead of showing NULL and Blank values(), i want to categorize them as "Unknown", so, if the user selects "Unknown" from the SSRS drop down parameter, he should be able to see all
    the records that have NULL values or empty strings in that particular column in the result set.
    Can you tell me, how should I handle it in my main stored proc as well as in the dataset?
    Right now, i have something like this:
    Where
    (t1.name in (select value from dbo.Split(@TName,',')) OR @TName IN ('All'))
    -- Where t1.Name has empty strings and NULL values. Both of these values should be categorized under "Unknown"
    -- How would the dataset query look like? Right now I have this query for populating the drop down for that parameter:
    Select All
    UNION
    Select Distinct Name
    Order BY 1

    Hello,
    Please refer to the following stored procedure:
    SELECT
    CASE WHEN TName IS NULL OR TName = ''
    THEN 'Unknown' ELSE TName END AS TName
    From DemoTable
    Then, use following query code to get the parameter values:
    SELECT Distinct
    CASE WHEN TName IS NULL OR TName = '' THEN 'Unknown'
    ELSE TName END AS TName
    FROM DemoTable
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • OWSM 10.1.3.4 and Non-SOAP XML-based web service

    Hi all,
    According to the OWSM 10.1.3.4 Administrator's Guide, "all Web services registered with an Oracle WSM Gateway are virtualized as both a SOAP and non-SOAP Web service." To access the non-SOAP (XML-only) web service, the documentation states "The non-SOAP virtualized URL can be determined from the virtualized SOAP URL by replacing the services keyword in the URL with the xml keyword."
    For example, if the SOAP virtualized endpoint is:
    http://host:port/gateway/services/SID0003001
    then, the non-SOAP XML service endpoint is:
    http://host:port/gateway/xml/SID0003001
    I have several web services registered with an OWSM gateway, running on SOA Suite 10.1.3.4, and can access those without any problem. However, when I attempt to access the "/gateway/xml" version of these services, I simply get an HTTP 200 response header with a null body.
    Does anyone have any ideas what could be causing this or what the secret is to get the non-SOAP XML service feature of OWSM to work?
    Thanks!
    --Gary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi all,
    According to the OWSM 10.1.3.4 Administrator's Guide, "all Web services registered with an Oracle WSM Gateway are virtualized as both a SOAP and non-SOAP Web service." To access the non-SOAP (XML-only) web service, the documentation states "The non-SOAP virtualized URL can be determined from the virtualized SOAP URL by replacing the services keyword in the URL with the xml keyword."
    For example, if the SOAP virtualized endpoint is:
    http://host:port/gateway/services/SID0003001
    then, the non-SOAP XML service endpoint is:
    http://host:port/gateway/xml/SID0003001
    I have several web services registered with an OWSM gateway, running on SOA Suite 10.1.3.4, and can access those without any problem. However, when I attempt to access the "/gateway/xml" version of these services, I simply get an HTTP 200 response header with a null body.
    Does anyone have any ideas what could be causing this or what the secret is to get the non-SOAP XML service feature of OWSM to work?
    Thanks!
    --Gary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Critical Issue:-- Convert SOAP Attachment into SOAP Body

    hi,
       My requirment is
    FTP----> SOAP synchronous.
    In this one  at SOAP receiver side SOAP request is an attachment file and response also I m getting as an attachment.
    My problem is that I need to convert this SOAP response (attachment)  in SOAP body so that I can map it with FTP datatype.
    I used PayLoadSwapBean module but i m unable to convert this attachment into SOAP Body.
    I just followed this blog 
    The specified item was not found.
    May be i m not using this module in a proper mannner.
    Can anybody explan it step by step.
    Is there anyother solution for my problem..
    <It is against the rules of Engagement to post a question with the catch of awarding points. Please refrain from the same.>
    Thanks
    Jaideep Jain
    Edited by: Bhavesh Kantilal on Dec 3, 2008 10:26 AM

    hi stefan,
      I m getting this error after using PayloadSwapBean.
    com.sap.aii.af.ra.ms.api.DeliveryException: Object not found in lookup of payloadSwapBean
    I m mentioning here the value of parameter name and value for this module:--
    parameter name                                    parameter value
    swap.keyName                                        payload-name
    swap.keyValue                                        MainAttachment
    Can u suggest where i went wrong.....
    Thanks
    Jaideep
    Edited by: Jaideep Baid on Dec 5, 2008 9:27 AM

  • NULL and Space value in ABAP

    Hi All,
           I like to know, is it NULL and Space value is same in ABAP, if it is not how to check null value.
    Thank you.
    Senthil

    everything is correct though some answers are not correct.
    A Database NULL value represents a field that has never been stored to database - this saving space, potentially.
    Usually all SAP tables are stored with all fields, empty fields are stored with their initial value.
    But: If a new table append is created and the newly-added fields do not have the 'initial value' marked in table definition, Oracle will just set NULL values for them.
    as mentioned: There is no NULL value to be stored in an ABAP field. The IS NULL comparison is valid only for WHERE clause in SELECT statement. WHERE field = space is different from WHERE field IS NULL. That's why you should check for both specially for appended table fields.
    If a record is selected (fulfilling another WHERE condition) into an internal table or work area, NULL values are convertted to their initial values anyway.
    Hope that sheds some light on the subject!
    regards,
    Clemens

Maybe you are looking for

  • HDMI monitor no longer working after 10.9.3

    While rebooting/upgrading to 10.9.3 the external HDMI monitor connected to my macbook pro '13 started "flashing" as in "detecting the display" similar to when you plug in the hdmi cable with the system running. I'm not able to do anything unless I un

  • QM Sceneri: MIC which has it Limits dependent on the results of a MIC.

    QM Scenerio   The plan has multiple MIC's all with limits. First five MIC's are independent and rest three are having their limits dependent on the results of a MIC eg with a formula. say 0.8X lower limit and 1.1X upper limit of a MIC., where X is th

  • Error invoking nnfgt.o of makefile ins_new_client.mk

    Hello, I have Oracle OMS 10.2.0.1 installed and then upgraded to 10.2.0.5 on an AIX 6.1 (IBM) server. I also have Oracle 11.1.0.7 OMS repository database running on the same server. After upgrading the OMS to 10.2.0.5, the next step is to upgrade the

  • Flagging pages in a secured document

    Hi, Does anyone has a suggestion on how to flag pages in a secure document. I want to be able to look through a 100+ page secure document and place some kind of sticky note or just a flag next to it so I can refer back to it. Thanks, Meryl

  • Exchange 2013 / Outlook 2010+ Attachment size limit

    I have an issue with my Exchange 2013 deployment.  I am unable to send attachments over 10MB.  I know, I know not another one of those threads, but I promise I have searched for a solution to my issue as best I can before posting. So in the EMC I hav