PayloadZipBean with customized zip filename

Hi,
I am using PayloadZipBean for zipping my XML payload, However i get zip file as expected e.g. rakesh_05_05_2010.xml.zip But inside this zip file i get MainDocument or untitle.txt based on zip.filenameKey setting as payloadName or contentType etc..
Question : Is their any way by which i can get files named as rakesh_05_05_2010.xml wrapped in rakesh_05_05_2010.xml.zip ?
i want to have embedded file name as zip file name without .zip.
Please let me know how we can achieve this in SAP PI 7.0.
Regards,
Rakesh Mourya.

Hi Mark,
Yes, Shell Script on command line after file is created filename.xml.
You need to be very careful in scripting ... you need to put some delay or wait time.
Since file creation and availability of file on drive /folder take time and Shell script execution is very fast.
You need to ensure you put sufficient amount of wait time depending on maximum size of xml or file you are creating else file will not be zipped.
Hope it helps!!!
Regards,
Rakesh Mourya.

Similar Messages

  • PayloadZIPBean with Mail Package... is it possible?

    Hi,
    In proxy to file scenario, I send mails from PI with data received from proxy as attachment. I also need to zip the attachment.
    I will be getting the email address dynamically, hence I should use Mail Package with 'Keep Attachments' option. Now the problem is if I use mail package since the <content> tag data is taken as mail attachment, can I use PayloadZipBean in receiver mail adapter to zip the attachemnt?
    I tried using the follwoing adapter module in receiver mail mail adapter but ended with an error.
    Module Name: AF_Modules/PayloadZipBean                             Module Key: zip
    Module Config:
    zip             zip.filenameKey                   payloadName
    zip             zip.mode                              zipOne
    Error:
    org.xml.sax.SAXParseException: Content is not allowed in prolog
    Regards,
    Sreedhar

    Hi Sreedhar,
        Have you looked at this help link?
    http://help.sap.com/saphelp_nwpi711/helpdata/en/45/da9358a1772e97e10000000a155369/content.htm
    Also see :
    Zip Payload using PayloadZipBean Module Processor
    Regards,
    Ravi Kanth Talagana
    Edited by: Ravi Kanth Talagana on Oct 22, 2009 5:13 PM

  • Customized OAF pages(with customized controller) not working in Upgraded R 12.2.4

    Hello All,
    There is a problem, I am facing with my custom page. I am trying to extend the controller with my custom class, but getting the below error
    oracle.apps.fnd.framework.OAException: Could not create Java class: (oracle.apps.xxar.cusstd.createcus.webui.xxArCreCusCO) associated with region: (ArUtilRN). This is probably because the class name is wrong or not included in project.
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1247)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2848)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1991)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:567)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:455)
    Though the file is present in the right folder
    [applmgr@gfs3devapp1 webui]$ pwd
    /opt/oracle/gfs2d/fs1/EBSapps/comn/java/classes/oracle/apps/xxar/cusstd/createcus/webui
    [applmgr@gfs3devapp1 webui]$ ls -ltr
    total 4
    -rw-r-----. 1 applmgr oinstall 1177 Feb 25 10:17 xxArCreCusCO.class
    I got to follow this discussion but it is not helping me: https://community.oracle.com/thread/3647610
    Please assist.
    Thanks, Prakhar

    Hi Prakhar,
    I hope that xxar is your custom application name. You dont need to run the adop_sync.drv
    Please follow the below steps to create your own jar.
    Creating a custom jar file and making it available:
    Create a temporary custom.zip file which contains all the custom application's directories/files at the non-standard location. The commands are:
    cd $JAVA_TOP
    zip -r customprod.zip <directory list> where the <directory list> is the list of all the directory paths, relative to $JAVA_TOP, for custom application's java files at the non-standard location.
    Generate and sign the customprod.jar file. Command: adjava oracle.apps.ad.jri.adjmx -areas $JAVA_TOP/customprod.zip -outputFile $JAVA_TOP/customprod.jar -jar $CONTEXT_NAME 1 CUST jarsigner -storePass <KeyStore Password> -keyPass <Key Password>
    Delete the temporary customprod.zip. Command: rm $JAVA_TOP/customprod.zip
    Follow the steps below to make the custom jar file available for WebLogic Server:
    Back up the existing <FND_TOP>/admin/template/ebsProductManifest_xml.tmp
    Modify <FND_TOP>/admin/template/ebsProductManifest_xml.tmp to add the entry below for customprod.jar (after customall.jar):
    <library>customprod.jar</library>
    Run AutoConfig.
    Bounce the middle-tier services.
    NOTE: These changes will be lost if ebsProductManifest_xml.tmp is patched in future; changes will need to be done again.

  • Delete mutiple image with custom trigger

    I am attempting to delete multiple images associated with a record being deleted. The record has a field with the default filename, then each image has a prefix ("thumb_", "callout_", "feature_") along with this filename.
    My issue is two-fold. I am attempting this with a custom trigger (on the delete record; using AFTER), but I keep getting an error message when I try to pull in the filename using tNG->getColumnValue(). The error reads:
    tNG_fields.getColumnValue:
    Column file is not part of the current transaction.
    Here is my code:
    $file = $tNG->getColumnValue('file');
    deleteFileAndThumbs($file);
    My second issue is in regards to the redirect after the triggers.
    getPrimaryKeyValue() works just fine. Thus, if I change the image names to correspond to my record's "id" #, it will pull the ID # just fine. It will make it through my code and redirect back to the listing page. However, the images will not be deleted. If I remove the redirect, the images delete, but it just sits on this page. So I assume my issue is a result of the page redirecting before al the images are deleted. Is there a way to not allow the redirect to run until my deleteImages function is completed?
    Thanks!

    Ok. How about executing a SELECT inside a Custom Trigger and accessing
    the resulting rows to use in PHP code also in the trigger?
    Example - within the Custom Trigger execute:
    $sql="SELECT * FROM table";
    How do I execute it? With the regular DW code like:
    mysql_select_db($database_conWV, $conWV);
    $sql="SELECT * FROM table";
    $result = mysql_query($sql, $conWV) or die(mysql_error());
    $row_result = mysql_fetch_assoc($result);
    $totalRows_result = mysql_num_rows($result);
    or with some ADDT code like:
    $result = $tNG->connection->execute($sql);
    If I do the "ADDT" way, how do I access the rows?
    $result['column'] or something?
    Alec
    Adobe Community Expert

  • Neet a Custom proposal Filename while using ALEWEB_DOWNLOAD

    Hello,
    we used over years the function ALEWEB_DOWNLOAD to send PDF, EXCEL, WORD content to the Frontend User for sevaral ITS Applications. This works fine and no problems occur.
    But now the customers do not like any more the given filename of ALEWEB_DOWNLOAD in process of saving the file.
    The filename begins normally with ~flNUQVRFPTI5NDAyLjAwNi4wNS4xMA==
    I know that this behavior results in the functionality of the SAPGUI.
    ( This ist the RFc CALL inside the ALEWEB_DOWNLOAD
      CALL FUNCTION 'ALEWEB_DOWNLOAD_EX'
        DESTINATION 'SAPGUI'
    We do not use WEBGUI, so i think a solution over CL_GUI_FRONTEND_SERVICES are not supported. We send the data as RAW to the ALEWEB_DOWNLOAD and with given  parameter ID
    ITS_DOWNLOAD_FUNC = 'NEW'.
    Now my question:
    Are there other Options, Possibilities or else to use a CUSTOM proposal Filename i.E.  MYPDF.PDF ?
    System Informations:
    Intergrated ITS ECC 6.0 SAP Basis 7.0 Patchlevel 17, Most user are using Internet Explorer
    Thank You
    Thorsten

    Hello,
    I had to do this implementation as well.
    To change the filename and also force the file download I copied the FM ALEWEB_DOWNLOAD and change to always use the subroutine aleweb_download_old. And I changed this subroutine at line 42:
    content_type = 'Content-Disposition: attachment; filename=[filename_you_want].[ext]; Content-Type:'.
    The content-type must be right according the file (eg. application/xml)
    Setting this header you are able to change the filename.
    Hope it's still useful!
    Regards,
    Filipe

  • Creating 3d Cube with Custom Texture in CS6

    Hi All,
    Spent the whole day at work, trying to figure out how to create a 3d box in CS6 with custom texture. Before explaining my problem, i saw couple of good 3d onject videos already, they helped me alot and i am close to my target but yet not finished
    Problem:
    I would like to create a 3d product box with custom textures, reflection and shadows. I have my top, front, back and side images in high quality.
    My Solution:
    1- With my box TOP image, i create the 3d layer.
    2- Because it creates the box with the top image looking front, i position it as the top image comes to the top of the box.
    3- I resize the box to the dimensions i would like to.
    4- Side, front and back textures are missing. As its a custom made box, i can only add all of them in one image so i merge them vertically in a file and add the texture in 3d section
    5- With UV scaling, i fit the image perfectly
    6- Adding light and reflections
    7- Render
    Now the main problem is, my images have the exact measures of the real product box and i would like to create a box with these dimensions.
    1- How can i play with the dimensions of the 3d box with numbers, such as pixel or cm ? As i can see, its only with %. Or is there an option so when i add the second image (side, front and back, merged), box's length dimension changes accordingly?
    2- How can i create 3d box and add different textures to different part of the box? I found CUBE MESH PRESET in the forums but no download link, EVEN IN THE DISCCUSION itself
    3- I have a i5-3570 , 8GB Ram, 1GB Radeon HD7750 at work, newly built. I work with high resolution files, and when i create my box and render it, some parts come out blur, why this is happening? At home i have a older PC, and it doesnt happen that much. Where i can modify the render quality or such a thing if it exists?
    Thanks in advance, this bugs me alot, if someone helps with this, i will be really happy !
    Buri

    The long and short version is: Use a 3D program. Blender is free, after all.
    1- How can i play with the dimensions of the 3d box with numbers, such as pixel or cm ?
    You can't. All units in PS are relativeand normalized to the scene.
    2- How can i create 3d box and add different textures to different part of the box? I found CUBE MESH PRESET in the forums but no download link, EVEN IN THE DISCCUSION itself
    That's what 3D-programs and UV layout tools are for. Creating an unfolded cube UV set is a 10 second thing. Here's one: http://www.mylenium.de/_temp/uv_box.zip.
    Where i can modify the render quality or such a thing if it exists?
    Select the Scene root to change the render mode and quality and also check the 3D section in the prefs.
    Mylenium

  • Problem with attached zip file

    I received an email with a zip file attached, but whenever I try to open it I get the message "Unable to unarchive "filename.zip: into "Desktop." (Error 1 - Operation not permitted)"
    Can anyone help?

    Download Stuffit Expander which can open just about anything you throw at it. You can obtain this "free" utility from Versiontracker and Macupdate.

  • Problems with custom buttons

    I have problems with custom buttons in Captivate 5. The button is not switching from the _up stage to _over stage, but when I click on it the _down stage works fine. It is not a problem with the naming of the buttons. They are all with the same name and in lower case. I have tried with various custom buttons and the problem is the same. There is no problems with the standard buttons from the Adobe Gallery, so it is a bit strange, also strange that it is only the _over stage that causes problems.
    The buttons I have made in Adobe Illustrator. Have tried both exporting in png and bmp format. It is the same problem.
    Hope someone has some idea as to what can be wrong.

    Hi Manish,
    I have uploaded the zip file with the button files to Acrobat and mailed you the link.
    Look forward to hear if you find a reason or more importantly a solution :-)
    Kind regards
    Rene

  • How do I add URI web link with custom tooltip like "CLICK HERE TO UPDATE" instead of URI web link in tooltip.

    How do I add URI web link with custom tooltip like "CLICK HERE TO UPDATE" instead of URI web link in tooltip.

    You've probably found an answer to this by now, but I think this has been addressed in another forum -- The link below suggested using a button and adding the tooltip to the button. 
    https://forums.adobe.com/thread/304974?start=0&tstart=0
    Sounds like it would work but I haven't actually tried it. 
    Good luck~!

  • Is there a way to create a project with custom audio settings that are NOT only "Stereo" or "Surround"?

    Is there a way to create a project with custom audio settings that are NOT only "Stereo" or "Surround"?
    Thanks!
    -Adrian

    the old apps are on my computer but they have had upgrades since they were put on the ipod originally.  you think you would get a warning about this when you restored. I was not worried about losing the progress of the apps but i would have been worried about the app it self!!!!!

  • Anyone know how to contact anyone in Verizon headquarters?  Since I'm not getting anywhere with Customer Service

    I'd like to express how unsatisfied we have been with Verizon on an issue that has been ongoing now since March 14, 2014.  It involves an upgrade on one of our lines.  After all these months, phone call with customer service, Tech support, and visits to a Verizon stores, I would hope that there are ample notation on our acct but since I've had to explain the situation on a bi-weekly time frame, I would assume that no one has documented any contacts.
    We've been with Verizon for few yrs now and I have always been very satisfied with Verizon who, up until now , always provided excellent customer service in their knowledge, concern, and customer satisfaction.  But I have to say, every positive outlook I've had with your company has been wiped clean with the worst service we have received in the last few months.
    We upgraded my daughter's phone on 03-14-14 with a Samsung Galaxy Mini from an Iphone 4s.  Within 24 hrs, the phone failed.  After 2 visits to a Verizon store the next day which took 6 hrs, we still had to return the next day to speak to a manager.  The 2 stores advised us to make a CLAIM on the defective phone thru our insurance plan with Verizon.  A CLAIM on a 24 hr old phone!!  A 3rd visit with a manager finally convinced him to replace the phone with another new phone at the store.  Within 2 weeks - issues began to occur with the replacement phone.  Several visits more, several calls more with Customer Service, several calls more with tech support which adds up to soooo many of our time taken up to simple have temporary "fixes" is outrageous.  If I billed Verizon for my time, perhaps the situation would have been resolved more quickly.  Each visit lasts approx 2 hrs, each phone call approx 1-1 1/2 hrs.  We are talking at least 2x a month for the course of 5 1/2 months.  Plus the time it takes to get the phone back to where she needs it - contacts, apps, internet. 
    Not once were we offered a new phone or replace the phone.  Not until today.  Replace the phone with the same phone that my daughter has grown to hate.  So basically a 3rd phone - same phone.  She is not interested in this phone any longer.  She dealt with this phone model for far too long.
    Today we were offered to replace the phone with same phone, or pay for a refurbished Iphone 4.  So basically she would be going back to her original Iphone 4s before the upgraded WITH a cost.  So her upgrade was wasted, we'd paid over $200 for a defective phone, and would need to pay for an even older model Iphone 4 and have to pay for it.  Why wasn't she offered a different phone within those 30 days after the upgrade and 6 visits? 
    Every rep at the stores, every rep in tech support would provide a different reason for the issue.  Finally, tech support advised not to download apps.  WHAT GOOD IS A SMARTPHONE IF YOU CAN'T HAVE APPS???  We are talking about a 20 yrs college student who attends school in another state.  Do you know the trouble she has to go thru to visit a store? To find 2 hrs between being a full time student with 2 jobs to sit on the phone with a tech support or go to a Verizon store?  Once-ok  Twice-maybe  BUT for 5 months?
    She's not eligible for an upgrade.  She will be stuck with a phone that she had grown to hate.  And I with customer service which I've grown to hate. 
    Finally, The Edge.  Trying to find a way to make my daughter happy, I spoke with 4 representative today about the Edge.  Each rep gave me 4 different information.  1st rep advised Edge phone could not be used on another line so I could not use a line eligible for the Edge and give that phone to my daughter since she isn't eligible for the Edge.   2nd rep advised that although new phone thru edge must be used by same number that it was eligible for, we could use the current phone o that line for my daughter.  My son currently has an Iphone 5 and is eligible for the Edge early upgrade.  He would not have to return his Iphone 5 so my daughter could use it.  However, all the lines would have to go to the More Everything Plan and share the Data between all our phone lines.  3rd rep advised the cost would almost double from our current $358 to go to the More Everything Plan so suggested to have 2 accounts vs just 1.  4th rep advised not every line needs to go the More Everything Plan, we could not keep the current phone, and my daughter could get a replacement phone but same phone or made exception to offer the Edge early upgrade to my daughter but only after we go thru the replacement program because the phone we send to Verizon has to be in good working order/no defects. 
    After 5 1/2 months, it is now Verizon that is indicating that we have a defective phone and can't accept it thru the Edge program or we would get billed approx $299 for a defective phone.  After 5 1/2 months of me calling in about a defective phone that not one rep replaced because they "fixed" the problem ( by the way, a temporary fix is not fixing, if it was fixed I would have made those calls today or writing this email), I am now being told her phone is defective.  She advised to get a replacement phone first, return the old phone, activate the new phone, then call in to get the Edge early upgrade.  So my daughter would have to do all this, plus add contacts back, apps and whatever else she needs to use her phone just to turn around a couple weeks later and do it all over again with the new phone thru the Edge program.  Once again, we are the ones having to be inconvenienced and go thru all these steps.  Did I mention she is going to be studying abroad in Italy beginning Nov?  So the idea of having to wait 2-3 weeks for a new phone and having only a week or 2 to test the phone to make sure it's working properly before she's out of the country doesn't sound appealing to me.  Verizon has made us have a defective phone for 5 months advising it's in good working order after each and every "fix" but Verizon will not accept that phone if returned in the same condition as a phone in good working condition.  Do you see the irony in that? 
    I have reached my limit and after 5 yrs of my brother in law trying to convince us to switch to AT&T where he works in their Corporate Office, I can honestly say I will not be sad to leave Verizon.  Especially when one of your reps simply provided me with the contract end dates to provide to AT&T because they offered to buy out our contract.  No effort in customer retention what so ever.  That was a phone call on Thursday. 
    And yes, one of your tech reps tried to convince me of all the hassle it would be to switch and time AT&T would take to buy out our contracts but honestly it was the pot calling the kettle.  I am not in the position to discuss hassle and time after 5 months of getting that with Verizon.  Did I mention it's my brother in law so we would be getting special treatment and no out of pocket expenses to switch.  It was my loyalty and satisfaction with Verizon that has kept me from switching all these years.  Something Verizon clearly does not appreciate. 
    So can you guess where I am with confidence that your customer service department is knowledgable about the plans/offers?  Where I am that I can trust what I'm being told?
    I know this email is confusing and really hard to understand...perhaps now you will know how i've been feeling--lost and confused with all the mis-information, with a hit and miss phone, and out of time with all the 1 1/2 hr to 2 hrs EACH wasted on this issue. 
    On top of all this, I can't even find out how to file a complaint with anyone higher up than Customer Service. 

    Jneklason wrote:
    ~snip~
    I know this email is confusing and really hard to understand...perhaps now you will know how i've been feeling--lost and confused with all the mis-information, with a hit and miss phone, and out of time with all the 1 1/2 hr to 2 hrs EACH wasted on this issue.
    On top of all this, I can't even find out how to file a complaint with anyone higher up than Customer Service.
    I hate to tell you this, but you didn't write an email. You wrote a discussion post on the Verizon Wireless Community forum which is a public peer to peer forum. Unfortunately since you didn't mark your post as a question, the VZW reps that roam this community won't ever see your post. Before you re-post it, don't. Duplicate posts get removed from the community.
    I see there were several missteps both by the reps and yourself in your post. First you should have insisted on returning the phone within the 14 day return policy period. Second which Samsung Galaxy mini model did you purchase? The S3 mini or the S4 mini? Did you do any research prior to deciding on this device. The reps at that time deflected the easiest course of action, by trying to get you to replace the phone under insurance instead of returning the phone. The Early Edge payment option requires the current phone on the line using the early Edge must be returned to Verizon Wireless. Did you once considered going to a third party site like Swappa to purchase a gently used device for your daughter?

  • WP8 Map control with custom tiles

    I'm trying to display a map control in my app targeting Windows Phone 8 but I want to use custom tiles from open street map.
    I'm using this line :
    mapControl.TileSources.Add(new TileSource("http://a.tile.openstreetmap.org/{zoomLevel}/{x}/{y}.png"));
    When I launch the app the custom tiles are properly displayed, but there's still the default map tiles underneath them.
    I tried to hide them, but I counld'nt even find where they exist in the map control and what is displaying them exactly.
    I would like to know how I can remove those default tiles when loading custom tiles.
    I tried to hide them, but I counld'nt even find where they exist in the map control and what is displaying them exactly.

    Hi MakanWG,
    You have solved your question in here:
    http://stackoverflow.com/questions/27948331/wp8-map-control-with-custom-tiles .
    Good!
    Vote if help you

  • How to clear vendor open items with customer open items in APP?

    Hi Experts,
    Our vendor is our customer - in this scenario how to clear vedor open items against customer open items. I have defined vedor is customer means I have given customer number in vendor master record, selected chek box 'clear with customer'.  Still problem is not solved, hence I am requesting you to help me in this regard.
    Thank you very much,
    Regards,
    Ganesh.

    Hi
    In FBCJ after payment you have clear manually vendor balance in F-44.
    If you want SPL GL in FBCJ then write a Substitution .
    1. step 001 - Special G/L Substitution
    2. Prerequisite - Transaction code = 'FBCJ'
    3. Substitution posting key -- Exit (need help from abap) exit name
                                              G/L Exit (need help from abap) exit name
                                              Special G/L Ind Exit (need help from abap) exit name
    you can't do this without ABAP help
    Best Of Luck
    Tanmoy

  • Line item report with Customer number

    Hi all,
    I am facing the following issue:
    I need a line item report to analyze an accrual account by customer.
    Since the customer is not captured on the accrual account itself, but on the recon. account (which is not defined as line item display), I did not find a way to present the customer and the accrual  on the same line.
    I can always go to BSEG and vlookup and match by document number the accrual account and the customers from the customer recon. account, but I thought maybe someone has a better idea.
    Thanks,
    Yoel.

    If the recon account line items have al lthe info needed I'd suggest using a query (SQ01).
    1. Create an Infoset in SQ02 with logical database "BRM". Choose the fields from BSEG that you need
    2. Create the Query in SQ01 using that Infoset.
    If you want to see individual line items, include the fields you want in the "basic list" of the query. If you want totals by customer, don't include anything in the basic list, but make a "statistics" with customer and amount.
    Selections would habe to be made for account no and period.

  • Error while trying to Execute the Query with Customer Exit

    Hi Experts,
           I am having a Query with Customer Exit, it is working fine for all the Employess, except for one. When i try to remove the Customer Exit it is working for her too. Below is the error i am getting.
    system error in program SAPLLRK0 and form RSRDR; CHECK_NAV_INIT_BACK
    Thanks,
    Kris.

    Hello Kris,
    Are you working with multiprovider? Please check if OSS notes 813454,840080 or 578948 are applicable in your case.
    Regards,
    Praveen

Maybe you are looking for

  • HP Officejet 8500A Plus will not connect to router.

    A couple month ago I had this printer up and running on my network fine. I use a Cradlepoint MBR1200B router with a Verizon wireless aircard. We took the printer out of the office while we were remodeling, we went to go back and hook it up after the

  • I need help, i just synced my iphone3gs for the first time and now most of my apps wont work

    I just used itunes for the first time to sync my iphone 3GS!!!  Now, half of my apps will not work! Any suggestions? I touch on the app and it flashes real fast then back to my home screen...  HELP PLEASE!!!!

  • How to install SSD on Mac pro as boot disc

    Currently using two WD 500GB HDs, one cloned by Super Duper. I'm replacing these with two Hitachi 1TB (6 Gb/s) and would like to add an SSD for a boot up and app disk. Please help with advice on how to mechanically install the SSD (E.g., is an adapte

  • Top link in ipad not Working

    Hi I am using a Window scrollTo() Method to go to the specified area in the ipad safari browser, but the top link is not working. When i click on the link nothing happens. Please help!! -Sandip

  • Servlet Reloading

    Client: Internet Explorer version 4.0. Server: Weblogic 4.5 on Windows NT 4.0 using JDK1.1.X. I have included the following in my weblogic.properties file. weblogic.httpd.servlet.classpath=/xyz;/xyz/test weblogic.httpd.servlet.reloadCheckSecs=10 Thes