Problem with creating a new file in the Filter

hi,
i have the following problem.
1) For all requests ending with *.xml (for example requests such as http://www.asdf.com/feeds/myfile.xml ) i have mapped it to a filter
2 ) In the filter i did the following...................
//getting the file name from the url
//create the file if it does not exists..................
chain(request,reponse);
//done
problem is
3) a) For files which iam not creating in filter (i.e files which are already there) the response is proper it is returning a xml file
b) But for files which are not there already , which we are creating in the filter dynamically it is showing a 404 (i.e file not found message)
But if i refresh again in the browser it is getting a valid XML file.......................................
I could not able to figure it out why it is returning 404 error in cases where the file is being created dynamically.................................
Can any one guide me resolving this problem?

Hi pawan
Try this badi :   MB_MIGO_BADI  -
(BAdI in MIGO for External Detail Subscreens)  as the name suggest ,
If you want to add a screen in header level use : Method : PBO_header an code as :
    e_cprog   = 'ZMMPRM0001'.     """ Your screen created
    e_dynnr   = '1000'.                     "Your screen No
    e_heading = 'TEXT ID '(004).    """" Name of the screen to be created .
  ELSE .
    e_cprog   = 'ZMMPRM0001'.
    e_dynnr   = '1000'.                     "External fields: Display
    e_heading = 'TEXT ID '."(004).
or if at item level
u can use methid : PBO_DETAIL
for item level screen creation . and code in the same maaner ..
You can explore the remaning methods as per your requirements .
Hope it helps ..!
Regrads
Swapnil P KAmble

Similar Messages

  • Hi all, i'm new and facing a problem while creating a new file for Xcode. I can't select the box "with XIB for user interface" if the subclass is "UIViewController".this problem happen after i upgrade Xcode to 4.6 version.Appreciate for any help rendered.

    Hi all, i'm new to Mac book & Xcode. I'm learning and facing problems while creating a new file for Xcode. Before i upgrade the software, i have no issue to create simple steps in apps. After upgrade Xcode to 4.6 version, i'm facing lot's of issue eg.
    1) "the identity "iphone developer" doesn't match any valid certificate/ private key pair",
    2) can't select the box "with XIB for user interface" if the subclass is "UIViewController"..
    Appreciate for any help rendered.

    Mikko777 wrote:So what is the best?
    I wouldn't judge. I've been to Arch for a week, you know? But as said, it's VERY close to it.
    What I dislike after a week is makepkg not handling dependencies automatically (which would be overhead, so probably not appropriate).
    Mikko777 wrote:Also theres KDEmod for modular kde, dunno if its for 64 bits tho.
    Don't actually need that as said ... I see no real benefit of having that other than not beeing a KDE user or having Gentoos useflags.
    Mikko777 wrote:PS:You produce a lot of text and welcome smile
    Yeah. Wonder why I'm still employed? So do I ...

  • HT204382 Hi, Ive just got myself a Macbook Pro, and Im having problems with sound on movie files. The format is wmv and they play OK on a windows 7 laptop, and Im trying to play them now on the MAC. The picture is OK , but no sound. I have Flip4Mac - no d

    Hi, Ive just got myself a Macbook Pro, and Im having problems with sound on movie files. The format is wmv and they play OK on a windows 7 laptop, and Im trying to play them now on the MAC. The picture is OK , but no sound. I have Flip4Mac - no diference

    Download and install the free VLC for Mac - that should work:
    http://www.videolan.org/vlc/download-macosx.html

  • How do I automatically create a new file at the beginning of a new day, otherwise I only want to append that days file?

    In my robotics application I store my data using "Write to Spreadsheet.vi". I would like to append the file each time I run the program on any given day. On a NEW day I would automatically like to create a new file with a smiliar name and append that file for the day on which it is created. It's easy to do using the "Write to Measurement File. vi" but the text file created is vertical rather than horizontal, so I would like to use "Write to Spreadsheet". Any suggestions?
    Also how to I include my VI as part of this question for others to see?
    Thank you.
    Attachments:
    Untitled 4 (SubVI).vi ‏7 KB

    Does the file you are writing have a timestamp in it?  If so you could read the timestamp from the last time it was written and see if the day has changed, handling the name of the file appropriately.  The easiest way to record the timestamp is probably to write the timestamp as the number of seconds that have elapsed since 12:00 am on Firday January 1st 1904 in UT.  The "Get Date/Time in Seconds" function will give you this value.
    Message Edited by jmcbee on 03-05-2009 12:56 PM
    CLA, CLED, CTD,CPI, LabVIEW Champion
    Platinum Alliance Partner
    Senior Engineer
    Using LV 2013, 2012
    Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.

  • Problem with creating a ZIP file

    I have a program that uses java.util.zip to zip all the files in a user's directory (aproximately 7 files totalling 2 MB). When the files are extracted later using WinZip or a similar tool, the files appear to be the same (same file size & date), but they can not be opened by the program that uses them. When I use a binary diff tool to compare the before zip and after zip files, it shows about 20 random bytes that have changed. Anybody else seen this occur?
    Thanks

    Hi,
    I am successfull in putting all the files of a
    directory in a newly created ZIP file. But if my
    directory has a sub-directory, it's not workin....m
    not able to zip it properly. I mean, my program is
    doin it withour error but when i try to open it using
    WinZip...it's giving me an error sayin as not a proper
    archive...
    Do anyone have faced this problem??
    GauzYou need to call the following functions of ZipOutputStream after completing zipping in your code ?
         objZipOutputStream.finish();
         objZipOutputStream.close();Also for every file being zipped, you should to call
    objZipOutputStream.closeEntry()to close that zipEntry.
    Hope this helps.

  • BADI:problem with creating a new tab in BADI

    Hi
    I'm new to BADI's.
    i have a requriement to add a new tab in the MIGO transaction and add a field in that new tab .
    my Functional specification author is suggesting to use the BADI "MB_MIGO_ITEM_BADI" to create a new TAB .
    But i'm not find any function code availale in this BADI .
    Can anybody tell me how to use this BADI "MB_MIGO_ITEM_BADI" to create a new TAB .
    Also can anybody provide me any documentation available in designing a new TAB or new screen using BADI's ?

    Hi pawan
    Try this badi :   MB_MIGO_BADI  -
    (BAdI in MIGO for External Detail Subscreens)  as the name suggest ,
    If you want to add a screen in header level use : Method : PBO_header an code as :
        e_cprog   = 'ZMMPRM0001'.     """ Your screen created
        e_dynnr   = '1000'.                     "Your screen No
        e_heading = 'TEXT ID '(004).    """" Name of the screen to be created .
      ELSE .
        e_cprog   = 'ZMMPRM0001'.
        e_dynnr   = '1000'.                     "External fields: Display
        e_heading = 'TEXT ID '."(004).
    or if at item level
    u can use methid : PBO_DETAIL
    for item level screen creation . and code in the same maaner ..
    You can explore the remaning methods as per your requirements .
    Hope it helps ..!
    Regrads
    Swapnil P KAmble

  • Problems with adding a new city to the weather on ipod touch

    I try to add a new city on the weather page of my ipod itouch and it does nothing.. so when i go into safari, it says safari is not connected to the internet and yet, i got full bars on my wifi. I am pretty new to this and the manuals don't help much. any info would be greatly appreciated.

    Ok, you are not connected to WiFi. Just because the wireless indicator is on doesn't mean you are actually connected, so
    Tap Settings > WiFi and look at which networks come up. If they have a lock symbol in the listing, you can't just tap on them to connect as they are encrypted and need a password to connect.
    Do you have a home wireless network setup? If you do and are using WEP, you need to do a couple of things: 1) set encryption to WPA-personnel or WPA2-personnel if you can; 2) if you can't set your router to those, use 128 bit WEP; 3) If using WEP, write down the hex key generated by the router in response to your password; 4) When you sign on, tell your touch which encryption you are using; 5) Enter your password or hex key (WEP only) to log on.
    Write back with more details if you can't connect. BTW, here's some info on WiFi on the touch: http://support.apple.com/kb/TS1398

  • Problem with creating a new contact....gmail?

    Hi,
    When I create a new contact on my Iphone (5S) it doesn't appear as normal.  It only works when I say show all contacts which includes my gmail account.  Then I see all these random people who I e-mailed years ago....I don't want this...
    How do I just save a phone number/ new contact?
    Thanks,
    Gary

    Hi Gary,
    It sounds like when you are adding contacts that it is going to a different syncing service. Take a look in Settings > Mail, Contacts, Calendars and scroll down to the Contacts section to change the Default Account to what you want to use. 
    Contacts settings
    http://help.apple.com/iphone/8/#/iph96b20610
    Take it easy,
    -Norm G. 

  • Problem with creating a new webapp

    Hi All,
    i wrote a web app using tomcat as a web server, servlet and jsp container.
    and i would like to deploy my app to weblogic5.1.
    i created a directory D:\weblogic\MyAppName and placed my app file in it.
    i have created an entry for my web app in weblogic.properties:
    weblogic.httpd.webApp.WebBcc=MyAppName
    this works fine.
    the problem is that my context path is more complicated : WebBcc/EN
    and it is hard coded in all my jsp files.
    so i tried this:
    weblogic.httpd.webApp.WebBcc/EN=MyAppName
    this end up in file not found!!
    is there a way to specify a context name that contains "/" ???
    thanks in advance
    Yaron.

    I don't see any information within the specification or documentation which
    mentions conventions pertaining to the context name. I tried with an
    exploded and war format, and the inclusion of "/" in the context name always
    results in a 404 error. I don't think its possible and is probably related
    to request path elements.
    Patrick
    "Jacobson Yaron" <[email protected]> wrote in message
    news:[email protected]..
    Hi All,
    i wrote a web app using tomcat as a web server, servlet and jsp container.
    and i would like to deploy my app to weblogic5.1.
    i created a directory D:\weblogic\MyAppName and placed my app file in it.
    i have created an entry for my web app in weblogic.properties:
    weblogic.httpd.webApp.WebBcc=MyAppName
    this works fine.
    the problem is that my context path is more complicated : WebBcc/EN
    and it is hard coded in all my jsp files.
    so i tried this:
    weblogic.httpd.webApp.WebBcc/EN=MyAppName
    this end up in file not found!!
    is there a way to specify a context name that contains "/" ???
    thanks in advance
    Yaron.

  • Problem with creating a new object

    It's my stupid simple code:
    class Readers {
         int i, a;
    public     Readers(int i, int a){
    public static void main(String[] args) {
    Readers[] d = new Readers[5];
    d[4] = new Readers(2,2);
    System.out.println(+d[4].i);
    Why do I get the answer 0, instead of 2?

    See the comments in your code:
    class Readers {
        int i, a; // the global variables 'i' and 'a' are both initialized with zero
        public Readers(int i, int a){
            // the local values 'i' and 'a' are lost: you don't do anything with them!
        public static void main(String[] args) {
            Readers[] d = new Readers[5];
            d[4] = new Readers(2,2);
            System.out.println(d[4].i);
    } // note that you don't need semi-colons after a '}'

  • Problem with writing into txt file on the Web

    Hello friends - please could you give me an advice? Java console says:
    Exception in thread "AWT-EventQueue-2" java.security.AccessControlException: access denied (java.io.FilePermission http:\web.telecom.cz\jiriczech\xanado.txt write)
    Thank you a lot in advance:)!!

    The place you are trying to write the file to does not have write permission.

  • Problem with creating a new Siebel account using Web Service and ADF

    Problem solved.
    Edited by: noah.fang on Mar 15, 2011 3:45 PM

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by phil housley ([email protected]):
    <HR></BLOCKQUOTE>
    sorry this is first time I tried to reply on this group
    The USER is SYSTEM and there is no real password when first installed. However you do need to type something in the password field . This can be anything if you have not added a password.
    Phil
    null

  • How can I interactively create a New File in LabVIEW 2011?

    I am trying to create a new binary file interactively in LabVIEW, but the File Path control only offers the ability to either type in the full path and file name (cumbersome for the user), or browse for an existing file. I want to open a "New File" dialog that will allow the user to browse to the target directory, then be able to enter the name of a non-existing file to save the data to.
    The way I'm currently doing it is creating a TXT file using the Windows Explorer "New Text Document" pop-up, then changing the file extension to the new value...which is again, very cumbersome.
    The only thing I've found online is that there used to be a "New File.VI" in an older version of LabVIEW apparently...but I can't seem to find it in 2011.
    Solved!
    Go to Solution.

    You can create a new file using the browse button.
    Did your right click on the file path control and check the settings in the "Browse Options" menu?

  • When I create a new folder on the desktop of my macbook pro, it is automatically populated with all of the files on the desktop, which I don't want.

    when I create a new folder on the desktop of my macbook pro, it is automatically populated with all of the files on the desktop, which I don't want.

    I got the problem solved. It was pretty simple but new to me. I had evidently inadvertently switched the setting in the "View" tab on the dropdown menu so that all of my desktop folders were populated by all folders/documents residing on the desktop.
    The solution was to open one of the folders, then go to the "View" tab and change the setting to "List." Presto, now all the folders include only the contents I had intentionally loaded into them.

  • Hi. my laptop was reformatted recently, and my itunes there erased. i created a new one but the problem is it doesn't sync with my ipod anymore. what is the solution for this? can someone give me a tip? will really appreciate. thanks

    hi. my laptop was reformatted recently, and my itunes there erased. i created a new one but the problem is it doesn't sync with my ipod anymore. what is the solution for this? can someone give me a tip? will really appreciate. thanks

    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities

Maybe you are looking for

  • Free goods issue in return order

    Dear Guru's Please help to resolve the below issue We have Free goods process, If customer is ordered 10 goods will give 1 as free good total quantity 11 for this I have maintained the condition record, I have created a sales order for total quantity

  • How to install Kannada (Indian language) font on to Photoshop cc?

    I am unable to type a text in Kannada (Indian) language in Photoshop CC. Need help.

  • My Iphoto deleted ALL my pictures after I did an upgrade

    After I upgraded Iphoto to 9.6, i could't find my pictures anymore! The only reason i upgraded is because they wouldn't let me access Iphoto! Please help! where can i find them?? I already tried switching Library but i couldn't find it! I had near 10

  • Java.io.NotSerializableException: engine.MyMetaData

    the exception.... java.rmi.UnmarshalException: error unmarshalling return; nested exception is:      java.io.WriteAbortedException: Writing aborted by exception; java.io.NotSerializableException: engine.MyMetaData java.io.WriteAbortedException: Writi

  • ADF Faces performance

    Hi All, We need to do our project in ADF faces as UI technology. So we want to know the exact performance measures for that. There was some information that ADF faces is a bit slow as comparision to other JSF implementation like MyFaces. So can anyon