Caching@URLservices  How to clear  resp. exception after the provider-refresh?

Hello,
we have created a servlet-application "CondorSTAR", running in OC4J via mod_proxy.
Using URLservices at the portal, we get an 405 "Method not allowd". Oops, there was a misconfiguration in the servlet-application, so that was correct.
After repairing the application, we can now connect "native", i.e. via the URL for the OC4J! But that works not in Portal, the "error-page seems to be cached". We get the same error-message 405 Method not allowed...
Then we have restarted httpd (graceful, later restart), we have given a provider refresh, but still the error is there. Oops, there was also an exception...
Has anybody an idea, to clear the cache resp. what about the exception after the provider-refresh?
Thanks
Michael
-----8<---------8<----------8<---------8<---------8<--------8<--
configuration details:
this is PDK Services for Java version 3.0.9.0.5./PDK URL
Services version 3.0.9.0.4. (December-Release)/Oracle Portal Version: 3.0.9.8.0/iAS 1.0.2/SunOS 5.7
-----8<---------8<----------8<---------8<---------8<--------8<--
jserv.properties: wrapper.classpath=/oracle/IAS/web/PDK/JPDK.3.0.9.0.5/jpdk/lib/provider.jar
wrapper.classpath=/oracle/IAS/web/PDK/JPDK.3.0.9.0.5/urlservices/lib/urlservices.jar
wrapper.classpath=/oracle/IAS/web/PDK/JPDK.3.0.9.0.5/urlservices/lib/tidy.jar
-----8<---------8<----------8<---------8<---------8<--------8<--
From jserv.log after the provider.refresh
24/01/2002 10:20:28:199 GMT+01:00] CondorSTAR/ 3.0.9.8.0
[24/01/2002 10:20:28:200 GMT+01:00] CondorSTAR/DefaultProvider.getPortlets() - ProviderId = 83990
57
[24/01/2002 10:20:28:200 GMT+01:00] CondorSTAR/ - start index = 0
[24/01/2002 10:20:28:200 GMT+01:00] CondorSTAR/ - count = 999
[24/01/2002 10:20:28:201 GMT+01:00] CondorSTAR/ - byUser = false
[24/01/2002 10:20:28:224 GMT+01:00] CondorSTAR/ - User = PORTAL30
[24/01/2002 10:20:28:225 GMT+01:00] CondorSTAR/DefaultProvider.getPortlets() - returning 1 of 1 p
ortlets
[24/01/2002 10:20:30:942 GMT+01:00] page/JNI: Exception when trying to connect in 1.
[24/01/2002 10:20:30:953 GMT+01:00] page/Timeout occurred, label=71 url=http://c3po.isae.condor-v
ersicherungen.de:7778/pls/portal30/!PORTAL30.wwpro_app_provider.execute_portlet
[24/01/2002 10:20:30:953 GMT+01:00] page/ContentFetcher InterruptedIOException Caught, Fetcher Ti
medout name=content-fetcher20
-----8<---------8<----------8<---------8<---------8<--------8<--
From jserv.log after the 405 error is displayed
[24/01/2002 10:24:03:855 GMT+01:00] CondorSTAR/Entering URLSecurityManager hasAccess(Portlet,ProviderUse
r) *****************
[24/01/2002 10:24:03:855 GMT+01:00] CondorSTAR/URLSecurityManager:hasAccess(Portlet). Auhtorize Type Is
non registered, Returningtrue
[24/01/2002 10:24:03:989 GMT+01:00] CondorSTAR/Entering URLSecurityManager hasAccess(PortletReference,Pr
oviderUser) *****************
[24/01/2002 10:24:03:989 GMT+01:00] CondorSTAR/Entering URLSecurityManager hasAccess(Portlet,ProviderUse
r) *****************
[24/01/2002 10:24:03:989 GMT+01:00] CondorSTAR/URLSecurityManager:hasAccess(Portlet). Auhtorize Type Is
non registered, Returningtrue
[24/01/2002 10:24:04:012 GMT+01:00] CondorSTAR/URLSecurityManager:hasAccess(PortletReference: Return Val
ue being returnedtrue
[24/01/2002 10:24:04:098 GMT+01:00] CondorSTAR/renderBody : Entering render ****************************
[24/01/2002 10:24:04:098 GMT+01:00] CondorSTAR/renderBody : DebugLevel = 3
[24/01/2002 10:24:04:098 GMT+01:00] CondorSTAR/ProviderSubscribe : Hashtable doesn't have any values. Lo
ading from file ...
[24/01/2002 10:24:04:098 GMT+01:00] CondorSTAR/URLProvider:init:mapFilePath /oracle/IAS/web/Condor-Provi
der/CondorSTAR
[24/01/2002 10:24:04:099 GMT+01:00] CondorSTAR/URLProvider:storeSubscriberKeyPersistent: Leaving ...
[24/01/2002 10:24:04:099 GMT+01:00] CondorSTAR/URLProvider:loadSubscriberInfo: Entered ...
[24/01/2002 10:24:04:109 GMT+01:00] CondorSTAR/URLProvider:loadSubscriberInfo: Created File Inputstream
...java.io.FileInputStream@119119e
[24/01/2002 10:24:04:151 GMT+01:00] CondorSTAR/URLProvider:loadSubscriberInfo: Exception occured ... jav
a.io.StreamCorruptedException: Caught EOFException while reading the stream header
[24/01/2002 10:24:04:158 GMT+01:00] CondorSTAR/ProviderSubscriber:getSubscriber -- ProviderId & subscrib
erID -- 8399057 & null
[24/01/2002 10:24:04:158 GMT+01:00] CondorSTAR/URLRenderer:renderBody -- subscriberID -- null
[24/01/2002 10:24:04:158 GMT+01:00] CondorSTAR/Before getHtpsProxyInfo
[24/01/2002 10:24:04:158 GMT+01:00] CondorSTAR/No httpsProxy Values specified in provider.xml
[24/01/2002 10:24:04:158 GMT+01:00] CondorSTAR/After checking for httpsProxy proxy tag
[24/01/2002 10:24:04:197 GMT+01:00] CondorSTAR/Inline pageurl received = null
[24/01/2002 10:24:04:197 GMT+01:00] CondorSTAR/getURLStream Inside
[24/01/2002 10:24:04:210 GMT+01:00] CondorSTAR/getURLStream:Session = null
[24/01/2002 10:24:04:210 GMT+01:00] CondorSTAR/getURLStream : Content URL Specified = http://c3po.isae.c
ondor-versicherungen.de:7778/pof/servlet/Welcome
[24/01/2002 10:24:04:224 GMT+01:00] CondorSTAR/getURLStream : URL Constructed = http://c3po.isae.condor
-versicherungen.de:7778/pof/servlet/Welcome
[24/01/2002 10:24:04:267 GMT+01:00] CondorSTAR/Connection type = HTTPClient.HttpURLConnection[http://c3p
o.isae.condor-versicherungen.de:7778/pof/servlet/Welcome]
[24/01/2002 10:24:04:277 GMT+01:00] CondorSTAR/getURLStream : After doInput and doOutput
[24/01/2002 10:24:04:277 GMT+01:00] CondorSTAR/getURLStream : After Connect
[24/01/2002 10:24:04:277 GMT+01:00] CondorSTAR/getURLStream:After open connection
[24/01/2002 10:24:04:277 GMT+01:00] CondorSTAR/getURLStream: Null check for session
[24/01/2002 10:24:04:277 GMT+01:00] CondorSTAR/getURLStream: Check for Cookies != null
[24/01/2002 10:24:04:277 GMT+01:00] CondorSTAR/getURLStream: No cookies found in servlet session.null
[24/01/2002 10:24:04:277 GMT+01:00] CondorSTAR/getURLStream: Before getInputStream
[24/01/2002 10:24:05:823 GMT+01:00] CondorSTAR/getURLStream: After getInputStreamHTTPClient.RespInputStr
eam@1b45f7d
[24/01/2002 10:24:05:823 GMT+01:00] CondorSTAR/getUrlStream: Before returning Input Stream ...
[24/01/2002 10:24:05:823 GMT+01:00] CondorSTAR/UrlStream received = HTTPClient.RespInputStream@1b45f7d
[24/01/2002 10:24:05:823 GMT+01:00] CondorSTAR/renderBody:filter is not null
[24/01/2002 10:24:05:833 GMT+01:00] CondorSTAR/filterContent : Entering HtmlFilter filterContent ******
[24/01/2002 10:24:05:834 GMT+01:00] CondorSTAR/filterContent : Url input stream ---- : HTTPClient.RespIn
putStream@1b45f7d
[24/01/2002 10:24:05:834 GMT+01:00] CondorSTAR/ConvertStreamToStringBuffer: Inside
[24/01/2002 10:24:05:834 GMT+01:00] CondorSTAR/Character encoding = ISO-8859-1
[24/01/2002 10:24:05:834 GMT+01:00] CondorSTAR/ConvertStreamToStringBuffer:Before close
[24/01/2002 10:24:05:834 GMT+01:00] CondorSTAR/ConvertStreamToStringBuffer: Leaving
[24/01/2002 10:24:05:835 GMT+01:00] CondorSTAR/filterContent : HtmlFilter Trim HTML Header Contents :
[24/01/2002 10:24:05:835 GMT+01:00] CondorSTAR/TrimHtmlHeader:Before replacing escape characters
[24/01/2002 10:24:05:835 GMT+01:00] CondorSTAR/TrimHtmlHeader:Token to be replaced<head
[24/01/2002 10:24:05:835 GMT+01:00] CondorSTAR/TrimHtmlHeader:ExcludeString6
[24/01/2002 10:24:05:835 GMT+01:00] CondorSTAR/TrimHtmlHeader:Last occurence found for: <head
[24/01/2002 10:24:05:835 GMT+01:00] CondorSTAR/TrimHtmlHeader: Before returing after trimming
[24/01/2002 10:24:05:835 GMT+01:00] CondorSTAR/filterContent : URL Contents Before footerTrimTag : <HEA
D><TITLE>405 Method Not Allowed</TITLE></HEAD><BODY><H1>405 Method Not Allowed</H1>Initialisation Error:
Welcome null</BODY></HTML>
[24/01/2002 10:24:05:835 GMT+01:00] CondorSTAR/filterContent : Trimming HTML Footer Contents :
[24/01/2002 10:24:05:835 GMT+01:00] CondorSTAR/TrimHtmlFooter:Before replacing escape characters
[24/01/2002 10:24:05:835 GMT+01:00] CondorSTAR/TrimHtmlFooter:Token to be replaced/body>
[24/01/2002 10:24:05:835 GMT+01:00] CondorSTAR/TrimHtmlFooter:Last occurence found for: /body>
[24/01/2002 10:24:05:835 GMT+01:00] CondorSTAR/TrimHtmlFooter: Before returing after trimming
[24/01/2002 10:24:05:835 GMT+01:00] CondorSTAR/filterContent : URL Contents AFTER TRIM HTML FOOTER : <H
EAD><TITLE>405 Method Not Allowed</TITLE></HEAD><BODY><H1>405 Method Not Allowed</H1>Initialisation Erro
r: Welcome null</BODY>
[24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/filterContent : Processs Request : Before checking base
hrefhttp://c3po.isae.condor-versicherungen.de:7778/pof/servlet
[24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/********************filterContent : Converting relative
srcs to absolute srcs ********************
[24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/*********************************************
[24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/Attribute to be searched for = src
[24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/**********************************************
[24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/Total no. of occurences = 0
[24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/filterContent : Converting relative hrefs to absolute hr
efs
[24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/*********************************************
[24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/Attribute to be searched for = href
[24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/**********************************************
[24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/Total no. of occurences = 0
[24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/filterContent : Converting relative actions to absolute
actions
[24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/*********************************************
[24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/Attribute to be searched for = action
[24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/**********************************************
[24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/Total no. of occurences = 0
[24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/filterContent : Converting relative backgrounds to absol
ute backgrounds
[24/01/2002 10:24:05:837 GMT+01:00] CondorSTAR/*********************************************
[24/01/2002 10:24:05:837 GMT+01:00] CondorSTAR/Attribute to be searched for = background
[24/01/2002 10:24:05:837 GMT+01:00] CondorSTAR/**********************************************
[24/01/2002 10:24:05:837 GMT+01:00] CondorSTAR/Total no. of occurences = 0
[24/01/2002 10:24:05:837 GMT+01:00] CondorSTAR/filterContent : Convert all href to have a parameter of t
arget=_blank
[24/01/2002 10:24:05:857 GMT+01:00] CondorSTAR/addTargetNew: Inside
[24/01/2002 10:24:05:857 GMT+01:00] CondorSTAR/addTargetNew: HREF Not Found
[24/01/2002 10:24:05:857 GMT+01:00] CondorSTAR/addTargetNew: Before returning
[24/01/2002 10:24:05:857 GMT+01:00] CondorSTAR/filterContent() Before check for AuthType:
[24/01/2002 10:24:05:884 GMT+01:00] CondorSTAR/renderContents:getCharacterEncoding() = ISO-8859-1
[24/01/2002 10:24:05:884 GMT+01:00] CondorSTAR/******************renderContents:Contents to be rendered
[24/01/2002 10:24:05:884 GMT+01:00] CondorSTAR/<FORM NAME="urlservices_parameter_form_1889" METHOD="GET"
ACTION="http://c3po.isae.condor-versicherungen.de:7778/servlet/page"><INPUT TYPE="hidden" name="_pageid
" value="54,56,98,88,90" />^M<INPUT TYPE="hidden" name="_dad" value="portal30" />^M<INPUT TYPE="hidden"
name="_schema" value="PORTAL30" />^M<SCRIPT Language="JavaScript1.1">
function submitURL1889(url)
document.urlservices_parameter_form_1889.p_8401668.value=url;

Hi,
Log information shows that the URL you are trying to use =>
"http://c3po.isae.condor-versicherungen.de:7778/pof/servlet/Welcome" always return content
<HTML><HEAD><TITLE>405 Method Not Allowed</TITLE></HEAD><BODY><H1>405 Method Not Allowed</H1>Initialisation Error:
Welcome null</BODY></HTML>
while the exception has nothing to do with the portlet functioning. Please make sure that you are using the right servlet.
Thanks,
Amjad.

Similar Messages

  • How to start a thread after the execution/termination of another thread.???

    Hello,
    How to start a thread after the execution/termination of another thread....???
    For example:
    consider two threads: ThreadA and ThreadB
    I could start the ThreadB after the execution of ThreadA.
    How to identify the termination of one thread.....???
    Please help me...
    Thanks & Regards,
    Kayalvizhi

    What do you mean with "it doesn't work"? Do you get a compiler error? Do you get an exception at runtime? What's the error message?
    Jesper

  • How can i open iphoto after the new update OS X 10.9.2 (13C64) i keep getting this mac can not open this application.

    How can i open iphoto after the new update OS X 10.9.2 (13C64) i keep getting this mac can not open this application.

    This screenshow shows which previous versions of iPhoto are compatible with Mavericks.  It also indicates which versions qualify for a free upgrade to iPhoto 9.5.1 and which require a purchase:
    OT

  • Credit Risk Analyzer - How limits can be reset after the term has ended

    Hi Experts,
    I would like to know how limits can be reset after the transaction term has ended.
    Currently, my utilization reports still show past transactions and this transactions are still affecting my limit calculation report.
    Am I missing a process or a configuration?
    Also, would anyone know where the SAP limit utilization report is pulling out the transactions so when I run the limit utilization report, I can still view historical data?
    Thanks in advance.

    Hi Jerry,
      I do not think this customization helps. It only has two options to set start date as start of term or as date of commitment. But what if i want to set in future like your problem. Do we make it date of commitment for all the money market instruments?
    Best regards!
    Sandip

  • How to clear my contacts from the address book?

    how to clear my contacts from the address book?

    Right click the contact and choose delete. To do multiples at one time, click each while holding down the command key, then right click and delete.

  • HT5858 How do you close apps after the new apple update?

    How do you close apps after the new apple update?

    Double tap the home button and swipe upwards on the preview of the App (not the App Icon).
    http://manuals.info.apple.com/MANUALS/1000/MA1565/en_US/iphone_user_guide.pdf

  • TS4009 how do you retrieve information after the system has been reset to default

    how do you retrieve information after the system has been reset to default?

    From a backup on itunes or icloud, assuming you have made backups.  Connect to itunes and in the first tab for your device, choose to perform a restore.

  • How do we trap exception inside the function module?

    How do we trap exception inside the function module?

    Use ABAP Help - CATCH, RAISE for starters. Or take a look at an existing function module, for example.

  • I hit the wrong monitor refresh rate and now lost monitor picture.  How can I get back to the right refresh rate with no pic to view?

    I hit the wrong monitor refresh rate and now lost monitor picture.  How can I get back to the right refresh rate with no pic to view?

    Try this:
    Mac OS X 10.6 Help: If you changed your display’s resolution and now it doesn’t display a picture

  • How to load one movieclip after the other, without looping?

    Hi,
    I am new to Flash, and am trying to make this file work, in Flash CS4, using AS2. First some info on my file. I have 2 movieclips, mc1 and mc2. mc1 is in the first frame in scene1, it plays out for 138 frames, after which the scene darkens for 15 frames and then mc2 starts playing.
    The problem is that I cannot get the timeline to stop looping after it moves onto to mc2. I have tried everything, I have a stop function in the last frame, stop functions within mc2. I even tried a gotoandStop(mc2_Frameno). Nothing works. It still keeps looping. When I extended the mc1 layer to the complete extent of mc2 layer, then it did not loop. But I don't want that as it is causing undesirable effects on the screen.
    All I want is to play mc1 and mc2 one after the other, with no breaks. After entering mc2, the timeline needs to stop once buttons are loaded in mc2. But after loading the buttons, it moves out of mc2 and starts playing the timeline again.
    I am extremely frustrated as I cannot understand why this is happening. I am new and am clearly unaware of the mistake I am making, and would really really appreciate it if someone could tell me how to do this. mc1 and mc2 are not loaded with AS2, just put on the stage at the right frames. I tried to unload mc1 with unloadMovie, but it still won't work. Please Help Me.

    If you can make your fla file available for download as a CS3 or earlier file version (I don't have CS4), I can take a look at it.

  • How to clear text fields when the user navigates back to the screen

    Hi,
    Does anyone have any idea on how to clear the text input fields and dropdown boxes when the user navigates back to the screen, say for e.g. create screen?
    My issue is that i have plenty of fields in the create screen within a form. Is there a way to avoid programaticaly blanking out every field and just do it at the form level using an api to reset to a state before the user entry?
    Thanks

    This code allows you to make it more generic, and you would need to tweak it if there are more than TextInput controls, but it should provide some ideas.
    As far as using states, you could use SetProperty to set the text to empty, but that might be messier.
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
      <mx:Script>
        <![CDATA[
          import mx.containers.FormItem;
          import mx.controls.TextInput;
          import mx.events.IndexChangedEvent;
          import mx.core.Container;
          private function clearSreen(evt:IndexChangedEvent):void{
            var view:Container = tn.selectedChild as Container;
            for each(var child:Object in view.getChildren()){
              if(child is FormItem){
                var subchild:DisplayObject = child.getChildAt(0);
                if(subchild is TextInput){
                  TextInput(subchild).text = "";
        ]]>
      </mx:Script>
      <mx:TabNavigator id="tn" resizeToContent="true"
        change="clearSreen(event)">
        <mx:Form id="frm1" label="View Number One">
          <mx:FormItem label="First name:">
            <mx:TextInput/>
          </mx:FormItem>
          <mx:FormItem label="Last name:">
            <mx:TextInput/>
          </mx:FormItem>
        </mx:Form>
        <mx:Form id="frm2" label="View Number Two">
          <mx:FormItem label="Address1:">
            <mx:TextInput/>
          </mx:FormItem>
          <mx:FormItem label="Address2:">
            <mx:TextInput/>
          </mx:FormItem>
          <mx:FormItem label="City:">
            <mx:TextInput/>
          </mx:FormItem>
          <mx:FormItem label="State:">
            <mx:TextInput/>
          </mx:FormItem>
          <mx:FormItem label="Zip code:">
            <mx:TextInput/>
          </mx:FormItem>
        </mx:Form>
      </mx:TabNavigator>
    </mx:Application>
    If this post answers your question or helps, please mark it as such. Thanks!
    http://www.stardustsystems.com
    Adobe Flex Development and Support Services

  • How to clear UNB table in the payroll result?

    Hi,
    We are getting the payroll error- The gross wages do not cover the negative offset that has been forwarded. Therefore, no gross up is permitted while running the Grossup.
    I see the below table "UNB table" in the last payroll result. "UNB - Unbalance table used for tax retrocalculation" .
    I think we are getting the above error because of this UNB table, can anyone help me to how to clear this table?
    When we run the regular payroll, no tax is being deducted.
    Please help
    Saurabh

    Hi Arti,
    Thanks for your reply!!..
    Seeing your reply, it gives me bit confidence to crack the existing problem, however, I'm still not clear with your answer... let me explain you the problem-
    1. Employee was given 350,000 though Taxable Bonus WT with regular pay check
    2. Later it came to know- out of the above amount, 75000 was Grossup amount
    3. So in next payroll run, they entered -75000/- in regular Taxable bonus WT and +75000 in Grossup WT and also they deleted one IT210 record of GA tax authority which was wrongly created; and ran the payroll
    4. Since then, in next payroll period- No tax is being deducted, so we are creating IT221 infotypes with Tax wagetype
    5. If we are running the Grossup wage, payroll error- The gross wages do not cover the negative offset that has been forwarded; therefore, no grossup is permitted.
    While running the regular payroll, overpayment Wagetype is being generated.
    Now, I saw this UNB table is created and the below wagetype are there in the UNB table-
    WT /5UT amount 0.00
    WT 5430 amount -75000
    WT 0200 amount 12500 ( Monthly salary)
    WT 4530 amount 350000
    Now I am thinking, if we are deducting tax through IT221,if we clear this UNB table, our problem might get resolved
    It will be a great help for me if you can tell-
    1. how to check, claims process is implemented or not?
    2. I have good HCM experiece but this claims process is very new to me- pls guide me how to do that
    Waiting for your reply, thanks in advance
    Saurabh Garg

  • How to show mandatory icon after the Label text?

    Hi ,
    I am using JDeveloper 11.1.1.4.
    My Scenario is I have  <af:inputtext>  with Property required="true".
    Label look like ,
    "*Name but I want to show like Name* .I want to show the * icon after the label text .
    How to achieve this in ADF ? ..
    Thanks ...

    Hi rfh,
    Thanks for the updates ,
    I tried with ,
    .AFRequiredIconStyle
      float:right;
    this CSS moving the * icon to right side but not after the label ,It's moveing infront of the InputText Value the output looks like,
    Label   *Value
    I tried with ,
    AFRequiredIcon:alias
        content:inhibit;
    It's diabled * icon entire application .This solution is ok ...But I want to diable * icon for only particular places.
    How to hide * icon for particular fields ? ......
    Thanks......

  • How to raise a exception if the incoming value for a source field is empty

    Dear all,
    I have a scenario where the source and target structures are as follows :
    The output for the above transformation logic is
    The occurrence for field id in source and target is 1:1   Even if i don't provide the input value for id field,
    system is not throwing any runtime exception.But if the field tag id is missing in incoming payload, then
    system throws exception.
    1) *** How can i raise a exception it the value for field id is empty
    2) As the target structure occurrence for field id is 1:1  why system doesn't throw exception for null value
    Regards
    Koti Reddy

    1) *** How can i raise a exception it the value for field id is empty
    You need to impliment the check  to throw the error
    2) As the target structure occurrence for field id is 1:1  why system doesn't throw exception for null value
    You are sending a blank value " " and the same is being passed. if you remove the tag from source xml it'll throw the error
    Message was edited by: Hareesh Gampa

  • How to raise an exception in the badi

    Hi friends..I've got the badi to be used for my object.Badi workorder_confirm
    requirement is " if data is entered in one field leaving a field emprty,it should give an error message saying "Field is mandatory". I can make use of ERROR_WITH_MESSAGE exception for the message to be generated..
    but dont know the syntax of it..please provide me with the statement how the message needs to be raised

    Looking at the BAdI Documentation it says this:
    Note that in the methods, no system messages may be sent. The only      
    exceptions are the AT_SAVE and AT_CANCEL_CHECK methods. Within these    
    methods, a system message may be issued, but only if you trigger the    
    exception ERROR_WITH_MESSAGE (for AT_SAVE method) or NOT_ALLOWED (for   
    AT_CANCEL_CHECK method) at the same time.                                                                               
    Note also, that within the methods the "commit work" instruction may not
    be carried out because this would lead to incorrect data in the         
    database.                                                               
    So the only thing you can do is use:
    RAISE ERROR_WITH_MESSAGE.

Maybe you are looking for