How to handle transparent parts of layers in filter plugin?

What is the right way to handle layers in a filter plugin so as to preserve the colors at the semi-transparent edges of the opaque parts of a layer?
It seems the inData my plugin gets from Photoshop already has the image composited (based on the alpha channel) with a white background. So even if I just copy all the RGB and alpha data from inData back to outData, I end up with light-colored edges around the non-transparent parts of the layer. Simply setting inHiPlane=outHiPlane=3 (since all I really want to modify is the RGB data) doesn't seem to work either.

Chris,
I'm not sure what you mean by treating it as if there was no transparency. Simply copying the RGBA planes from inData to outData results in those light-colored edges. Likewise if I set inHiPlane=outHiPlane=3 and just copy the RGB planes.
Can you tell me how to specify how the data should be matted? It seems to default to a white matte. Ideally, I would have thought I'd want to get from inData the color value at each pixel in the layer _before_ any matting is applied, along with the alpha values. Then for example, a red pixel at the edge that's 50% transparent would be RGBA = (255, 0, 0, 127). It seems like that's what my plugin needs to hand back to Photoshop (when I don't modify that pixel), in order for it to be able to correctly matte it against any background. Instead, what I get from inData is (255, 127, 127, 127), which then shows up when I hand it back as a pink pixel of 50% transparency on the edge. Can you tell me what I'm missing here?

Similar Messages

  • How do I copy parts of layers from one AI doc into a new AI doc and keep/create same layer names?

    How do I copy PARTS of layers containing many objects from one CS5 AI (v.15.0.2) doc into a new CS5 AI doc and keep/create the same layer names?
    To start with, I have one fairly complex AI document with 100 layers,  with several hundred items in each layer. For example, one layer named "Stars" contains  400 separate stars (not grouped), another layer named "Crosses" contains 300 separate crosses, and a 3rd layer named "Text" contains 200 separate words (not outlined).
    If I select, by marqueeing a section of the image/artboard, some (but not all) of the individual items contained in the several layers, then  paste that selection into a new CS5 AI doc, I cannot get them to  create new layers of the same name. Instead they go into one general layer (e.g. "Layer 101") as a jumble of discrete, but unorganized objects (no layers or sublayers). In other words, I have lost the 3 main layers from which I selected a bunch of objects.
    Checking "Paste Remembers Layers" has no effect on this result. In fact "Paste Remembers Layers" does not remember layers at all. Only if I select ALL the items in the several layers will it paste those layers by those names into the new doc (or create new layers of the same names).
    Of course it is a COLOSSAL waste of time copying the ENTIRE document, then pasting the WHOLE thing into the new doc (with layers retained), then deleting the parts I DON'T need, so please don't suggest that as the solution.

    No Monica, nothing in Plug-ins other than the standard installed items (extensions, filters, formats, etc.). No 3rd-part clipboard extension on my computer that I'm aware of, either. All frustratingly basic. And my other CS5 Adobe programs appear to work well, at least to the extent that I am familiar with them.
    So, from what I can tell of the various comments (thanks to all of you), am I correct in thinking that it seems I can't, in fact, do what all of you can do (that is, copy some objects from some layers in one doc and paste into another doc preserving those same layers by name and organization, and each containing the correct objects from each original layer)?
    If so, that solves half my issue - "is it supposed to be possible to do it"; leaving just the other half - "why can't I do it too".
    I'll get those screenshots made and posted later just in case I haven't adequately described the issue, or y'all haven't understood it.

  • How to handle multiple part appraisers in OSA

    how do I configure the system for two part-appraisers and one final appraiser?
    1. do I need to configure two standard columns PAPP?
    2. how do I autorize partappr1 to access PAPP column 1 and partappr2 to access PAPP column2?
    3. how to specify who the part appraisers are? ex. john doe is partappr1 and mary jones is partappr2.
    4. do I need two process steps in the process flow (step1="partappr1 feedback completed", step2="partappr2 feedback completed" )
    Thanks,
    Tiberiu

    Hi Tiberiu,
    1. do I need to configure two standard columns PAPP?
    - No, one column is enough. system will occupy separate columns for each of the part appraisers.
    2. how do I autorize partappr1 to access PAPP column 1 and partappr2 to access PAPP column2?
    - In column access tab you can select "Phase dependent access for owner" ,in the Default field
    3. how to specify who the part appraisers are? ex. john doe is partappr1 and mary jones is partappr2.
    - There part appraiser names are determined when the form is first created by the HR specialist or the appraiser.
    4. do I need two process steps in the process flow (step1="partappr1 feedback completed", step2="partappr2 feedback completed" )
    - When you select part appraiser column, in status flow In Process - Part Appraiser in process substatus is automatically selected. You don't need a separate status. Please make sure that you hit "Set status" field while maintaining  Part Appraiser in process substatus  and determine the target status/substatus -probably In Process (by final appraiser)- when the last part appraiser is finished with the document.
    Regards,
    Dilek

  • How to handle the global exception at servlet filter?

    I cannot redirect the page or add the error message to faces context after the rollback. How do I can show the error to the client?
    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
    throws IOException, ServletException {
    UserTransaction utx = null;
    try {
    InitialContext ctx = new InitialContext();
    utx = (UserTransaction) ctx.lookup("java:comp/UserTransaction");
    utx.begin();
    EntityManager em = EntityManagerUtil.getEntityManager();
    chain.doFilter(request, response);
    em.flush();
    utx.commit();
    em.clear();
    }catch(Throwable t) {
    logger.error(t, t);
    try {
    utx.rollback();
    }catch(SystemException se) {
    logger.error(se, se);
    } finally {
    EntityManagerUtil.closeEntityManager();
    }

    If I send the error code, it will throw the following exception because the response is committed.
    java.lang.IllegalStateException
    java.lang.IllegalStateException
    at org.apache.coyote.tomcat5.CoyoteResponseFacade.sendError(CoyoteResponseFacade.java:433)
    at mo.gov.safp.eform.web.filter.EntityManagerFilter.doFilter(EntityManagerFilter.java:57)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
    Should I solve it?
    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
    throws IOException, ServletException {
    UserTransaction utx = null;
    try {
    // Define the request and the response encoding.
    request.setCharacterEncoding("UTF-8");
    response.setCharacterEncoding("UTF-8");
    InitialContext ctx = new InitialContext();
    utx = (UserTransaction) ctx.lookup("java:comp/UserTransaction");
    utx.begin();
    EntityManager em = EntityManagerUtil.getEntityManager();
    chain.doFilter(request, response);
    em.flush();
    utx.commit();
    em.clear();
    }catch(Throwable t) {
    logger.error(t, t);
    try {
    utx.rollback();
    }catch(SystemException se) {
    logger.error(se, se);
    ((HttpServletResponse)response).sendError(500);
    }

  • How to use manifest file in Adobe Photoshop Filter Plugin

    Hi all,
    I am developing the Photoshop Filter plugin using wxWidgets-2.6.2 on PhotoshopSDK CS2 for windowsXP.I am unable to use XP themes in my plugin.Though I have already added the following line in my Plugin .rc file ----->
    2 RT_MANIFEST "Plugin.manifest"
    I have also added the "ISOLATION_AWARE_ENABLED" in the properties.
    But still I am unable to use XP themes in my Plugin. Please Help!!!
    Regards
    Deepesh Negi

    Thanks, that helps.

  • How can I export a smallformat flatten PDF-file with transparant parts in?

    My post on a PDF - more clear with images (english):
    http://www.logicontrol.be/gallery/documents/help-eng.pdf
    Deze post in nederlandstalige versie:
    http://www.logicontrol.be/gallery/documents/help-nl.pdf
    Scope?
    I'dd like to export an Indesign-file (.indd) to a PDF-file that has to be:
    - the smallest possible file size
    - which displays images and text sharp on the screen
    - which also certainly remain transparent parts of .psd-files after exporting
    - that is flattened for easy print
    The problem?
    ▪ How and with which of settings can I export such a file from InDesign 5.0?
    ▪ If necessary in combination with some settings (after exporting) in our Adobe Acrobat 9 Pro?
    Further explanation
    The export file contains lots of text, graphics, photographs and drawings. Many of these items are .psd-files that contain transparent areas. The intention is that this transparent parts actually remain transparent even after exporting/flattening /decreasing the PDF.
    ▪ With InDesign 5.0?
    → In the window Export Adobe PDF: (images see: http://www.logicontrol.be/gallery/documents/help-eng.pdf )
    Should I start from a default PDF preset   (if yes > which one??)
    Possibilities are: High Quality Print / PDFX-1a: 2001 / PDFX-3:2002 / PDFX-4:2007 / Press Quality / Smallest File Size
    Or is it better to create a PDF preset on my own?     (if yes > which settings??)
    Standard > PDF/X-format?
    Compatibility > PDF-version?
    Compression > If artwork should be compressed and downsampled, and if so,
                            which method and settings to I have to use ?
    Ouput > How can I control colors and PDF/X output intent profiles in the PDF-file?
    Advanced > How can I control fonts, OPI specifications, transparency flattening, and JDF instructions are
                      in the PDF file?
    ▪ With Adobe Acrobat 9 Pro?
    → How can I reduce the file size extra, so more reducing after exporting into PDF ?
    → How can I flatten the exported file (if not done during the export) ?
    !! Important, when I export/reduce/flatten the file, I ‘dd like that the parts of images who were transparent before, stays also transparent after !!
    WHAT CAN I DO ??

    Hello,
    I'm sorry you're having trouble. Unfortunately, this forum is for the ExportPDF service of Acrobat.com. The ExportPDF service functions as a PDF to *.docx file convertion and we can't help with problems specific to the desktop version of Acrobat or InDesign.  I'm happy to point you in the right direction.
    Acrobat Users moderated forums:
    http://forums.adobe.com/community/acrobat
    InDesign forums:
    http://forums.adobe.com/community/indesign/indesign_general
    Good luck!

  • Missing start boundary exception, caused by an empty Part, how to handle?

    Hello,
    i wrote an application that automatically handles mails from laboratories. The only essential part of the mail is the attachment, where chemical analyses are submitted (from permitted addresses, recognized by whitelist and fileheader of the attachment). Other ways to submit data weren't allowed.
    Currently a mail was received that can't be parsed. It's from a laboratory, that
    use its provider's (a german internet suplier named Arcor) webmail, a browser-based mailing portal. It always worked fine, because they wrote some greetings. But this time they sent a blank message. The result is following structure of the mail:
    MIME-Version: 1.0
    Content-Type: multipart/mixed;
    boundary="----=_Part_50112_10709369.1203586767396"
    //Some X-Flags
    ------=_Part_50112_10709369.1203586767396
    Content-Type: multipart/alternative;
         boundary="*----=_Part_50111_24141780.1203586767396*"
    ------=_Part_50111_24141780.1203586767396--
    ------=_Part_50112_10709369.1203586767396
    Content-Type: application/octet-stream
    Content-Transfer-Encoding: base64
    Content-Disposition: attachment; filename=somefile.bin
    ABCDEF.... //Some binary data
    ------=_Part_50112_10709369.1203586767396--
    It seems the webmailer creates an empty mailpart and only writes the end boundary (Line: ------=_Part_50111_24141780.1203586767396--).
    I know, the start boundary is really missing.
    I checked it out by getting a mailaccount from Arcor, and it always creates this structure when sending a message without a text. By the way, the Message-ID (header) generated from Arcor's server seems to be from javamail. (.....1234.567890.....JavaMail.ngmail@....).
    I don't know how many mailclients create "empty" parts, but impossible is nothing (e.g. other or future webmailer services).
    But how to handle?
    The error occures when calling MimeMultipart.getCount(), which causes to parse the mail if not parsed. All actions, which cause the mail to be parsed, will end in this exception (for this mail).
    I looked at the javamail source and found out, that the line of the empty part is not recognized as a boundary, because of its ending delimiters:
    if (line.equals(boundary))
    break;
    So the boundary is added to the preamble. It goes on with reading lines from the stream, until line == null.
    if (line == null)
    throw new MessagingException("Missing start boundary");
    Because there is no test, if the line matches the end boundary, it's not recognized. Wouldn't it be better in this case, to add an empty bodypart and set a variable to false (e.g. complete) instead of throwing an exception? Because MimeMultipart.parse() is called by other methods, like getCount, getBodyPart and writeTo, I can't nearly do anything automatically with the mail. How should i walk through the bodyparts and fetch the parts I'm interested in?
    Subclassing seems to be difficult to me:
    Object content = message.getContent();
    //javax.mail.Message, won't return a subclassed multipart
    if (content instanceof Multipart) {
    //recursive method!
    handleMultipart((Multipart) content); //collecting parts from multipart
    Of course, I could ask the laboratory: "please send me a greeting!" ;-)
    Greetings,
    cliff

    Interesting.
    Yes, it's probably a bug that JavaMail allows you to
    create a multipart with no body parts, since the
    MIME specification doesn't allow that. Still, the
    webmail application should be fixed so that it doesn't
    try to do that, at least including an empty plain text
    body part.
    Please contact the webmail provider and tell them of
    this bug in their application.
    I'll also look into making JavaMail cope with these
    broken messages more gracefully. Contact me
    at [email protected] and I'll let you know when
    I have a version ready to test.

  • How to put the part of text behind someone a shape or a shape?

    I was thinking about something since I've gotten into magazines recently and the design of them. I was wondering how do they put part of the text behind a person on a magazine cover? Or like have have the text look like it's going around a person(like with some parts behind some parts in front of person like a ring of text around a person or a letter "O" encircling someone? I know how to achieve this in photoshop (in a probably non-standard way) but I have no clue how you would achive this in Indesign. I've attached some examples of what I'm talking about.

    How are your Photoshop skills? Because you’ll need to them to silhouette the model. I’d probably just add the magazine title there, too.
    I guess I've always sort of wondered about this...you can do it in Photoshop, sure. But...should you?
    I mean, in Photoshop you split your image into two layers, a foreground layer and a background layer (via whatever mechanisms you like. Magic Wand tool, etc., etc.). And then you add a 3rd layer for the text inbetween those layers.
    But if your cover is normally layed out in InDesign, you've got the text in InDesign already. And what if the text is more complicated than just a plain old title.
    Do you split your Photoshop file into two seperate files (with transparency) and place them on seperate InDesign layers with the text on an ID layer inbetween?
    That seems a bit awkward. Is there a neater solution?
    (I suppose what I would really want would be the ability to have ID insert a layer of ID objects inbetween the two layers of the Photoshop file, and we know that's not possible....)
    I suppose another approach is to keep 2 layers in the Photoshop file and place the image twice, on top of itself, with different layer visibility options in each one. I'm not sure if this is a Clever Idea or a Stupid Trick That Hurts.
    I dunno!

  • How to handle special characters in NWDI

    Dear All
    I am trying to update the Description from JSP form. Through JCO we are calling the RFC of ABAP. We are passing these description from Java to RFC of ABAP and this RFC update the text in Database.
    We have noticed that if there is some special character in description like as : š or ž, complete description is not getting updated in to the SAP database.
    Can anyone help me how to handle these special characters in Java. There may be N number of special characters. We want to generalize it. We want to replace these characters by s and z respectively.
    For example : We want to update this description.
    APPLERR H'4301 H'FA03 H'254C na Zagreb TC4 riješen je cleaning procedurom, te je i kroz CSR odgovoreno da trap korekcija N01TCADG-0052 u bloku UPDC više nije potrebna, te se može izbaciti (AP143).
    Uspješno su završene HR17/CN-A3 FOA-e na tranzitnom nivou, te slijedi roll-out u dva termina 12/13.04 i 19/20.04. ETK je na sastanku isporučio SW, te ALEX i mini PLEX za sve objekte.
    AP147. Poslati finalnu dokumentaciju za uvođenje paketa (implementacijsku instrukciju i sve popratne datoteke).
    WHile updated text is as follows :
    APPLERR H'4301 H'FA03 H'254C na Zagreb TC4 rije
    N01TCADG-0052 u bloku UPDC vi
    Uspje
    sastanku isporu
    AP147. Poslati finalnu dokumentaciju za uvo
    Regards
    Bhavishya

    Hi Bhavishya,
    Apparently your SAP database isn't configured to support Unicode. That would be the first solution to your problem, but I can imagine it's a bit drastic to convert your DB.
    A second solution would be to encode the input description to ASCII before storing it in the database. When reading from the database, decode again to Unicode. This way, no information is lost. A suitable encoding would be Base64. e.g.
    String description = "šunday žebra";
    String descriptionBase64 = new sun.misc.BASE64Encoder().encode(
      description.getBytes("UTF-8")); // ""
    // store descriptionBase64 in the DB
    // later, when reading descriptionBase64 from the DB
    String description2 = new String(
      new sun.misc.BASE64Decoder().decodeBuffer(descriptionBase64), "UTF-8");
    Instead of using Sun's implementation, a better alternative is to use the open source implementation
    org.apache.commons.codec.binary.Base64 from Commons Codec . 
    The 3rd approach is indeed to normalize the description by replacing all special characters with their ASCII equivalent. A rather easy solution is as follows:
    String description = "šunday žebra";
    String descriptionNormalized = sun.text.Normalizer.normalize(
      description, sun.text.Normalizer.DECOMP, 0).replaceAll(
      "[^p{ASCII}]", "");
    sun.text.Normalizer decomposes the string, e.g. "éàî" becomes "e´a`i^", after which non-ASCII characters are being removed using a regular expression.Again, note that it's usually a bad idea to use sun.* packages, see note about sun.* packages. The above code only works with J2SE 1.4 and J2SE 5.0, but it breaks in J2SE 6.0 (where
    java.text.Normalizer became part of the public API ;-). A good open source implementation can be found here: ICU4J (com.ibm.icu.text.Normalizer). 
    Kind regards,
    /Sigiswald

  • How to handle this kind of scenario in SBO

    Hello, I am new to SAP Business One. I would like to know how to handle Transporation Company scenario below in SBO.
    QUESTION 1: A transportation company has 30 truck. The company receives orders from the customer and use the trucks to deliver the goods from Point A to Point B everyday. The cost for delivery is $0.50 per-KG.
    The way I handle above:
    1. In ITEM MASTER DATA:
    Create a new item > Item Type: Labor > Description: Delivery from Point A to Point B > and determine the delivery price is $0.50.
    2. Use the item created in no 1 above when creating Sales order/Invoice.
    If the weight is 5000kg then simply put QTY 5000 in Sales Order with the price of $0.50/KG, which has been set in Item Master Data.
    Is the above method correct or there is better way to handle?
    QUESTION 2: TRACKING EACH TRUCK EXPENSES BY ITS LICENSE PLATE:
    Each truck has Spare Parts expense (e.g. bulbs, oil, battery, tires etc) that the company would like to track.
    The company purchased the spare parts from suppliers and keep it in the warehouse. When a truck needs to replace its spare parts, the company will issue the parts and record it under that truck's license number as that truck's expense.
    The goal is SBO must be able to provide detail monthly expense report for each truck when inquired by its license plate. I prefer NOT to manually input "directly" in Journal Entry to prevent error.
    Thanks.

    Hi,
    welcome to sbo forum!
    For your question 1, it will depend if you will only have 1 route for all of your deliveries.If your point of origin is always point a then destination is point B w/ price of $0.50,then you are right with your process... but if you will have to expand and move into different places, i think it will best for you to create a UDT for your pricing.
    in summary:
    1.create UDT pricing(with origin,destination and price)
    2.Create UDF in row level of Sales order(U_origin,_U_destination)
    3.) create FMs for your Sales order Origin and destination based on UDT Pricing table.
    4.) create automatic fms for your price( based on origin and destination selection).
    for question 2, all your repairs and maintenance will pass through AP invoice( either by item or service). in our country we normally use Ap service,since a truck has normally several types of spare parts. This figures will will surely add up to the number of item master data record in your system ,since you will need create a unique item for each and every item available.
    -To monitor all your expenses, you will need to create a UDF in the header of PO, GRPO or AP invoice, place your plate number here. so that when you extract your reports, you will easily identify your expenses per truck.
    in summary:
    1.create UDF for header of PO,GRPO or AP( Udf_Plate number) you can set valid values for you udf or by FMS with default values.
    2.Create Udf for lines of PO,GRPO or ap(UDF_spare part type) --note: if you will use the Item type document for repairs and  maintenance then i guess you dont need to add UDF_spare parts.
    Hope i was able to help you.
    Regards,
    Darius Gragasin

  • How to Handle SAP SUS XML Acknowledgment

    Hi folks,
    I have a scenario here where the SAP R/3 system sends a Purchase Order document to SAP SUS through a SAP XI Mapping.
    After processing the P.O. document, the SAP SUS system, automatically, returns a Acknowledgment message (ns: http://sap.com/xi/XI/Message/30) to SAP XI.
    I need to implement a BPM scenario where SAP XI processes this Acknowledgment message and Logs it into my Monitor System (JDBC Adapter). Actually, the SAP XI needs to send to my Monitor System the status (Success or Fail) of the P.O. processing by SAP SUS.
    How can I handle this Acknowledgment message with a BPM Scenario? Is it possible?
    Best Regards,
    Nascimento

    Hi Thiago,
    Currently in BPM you can do this with ASYNC-SYNC Bridge design.
    You can not dirrectly access the content of the ACK, however the BPM shows different behaviours based on the ACK status. E.g. if the ACK contains a success message the BPM will continue in its normal process, if the ACK contains a permanent error, it will either stop or go through an exception branch (provided such a branch has been defined). Have a look at the documentation: http://help.sap.com/saphelp_nw04/helpdata/en/43/65ce41ae343e2be10000000a1553f6/content.htm It doesnt"t state the above mentioned behaviour in detail but says that you need to define an exception branch.
    The trickiest part is always to find out, when you will get a transient vs. as permanent error ack. If you are using ACKs with Proxies refer also to this link http://help.sap.com/saphelp_nw04/helpdata/en/29/345d3b7c32a527e10000000a114084/content.htm and this http://help.sap.com/saphelp_nw04/helpdata/en/f4/8620c6b58c422c960c53f3ed71b432/content.htm
    Receiver adapters that run on the Adapter Engine support system acknowledgments if they are requested by the sender. Acknowledgements are triggered when a message is successfully processed by the adapter or if an error occurs while it is being processed. Receiver adapters do not support application acknowledgments. The RNIF and CIDX adapters are exceptions to this rule, since they also support scenario-dependent application acknowledgments. Sender adapters of the Adapter Engine do not request any acknowledgments.
    However IDoc adapter is requesting application acks. Therefore you have to disable acks for this scenario using report IDX_NOALE.
    Also go through these documents for any further help:
    http://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how%20to%20handle%20acknowledgments%20for%20idoc.pdf
    http://help.sap.com/saphelp_nw04/helpdata/en/6a/e6194119d8f323e10000000a155106/content.htm
    Also refer the guide: "How To Handle Acknowledgments for IDoc"
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    Regards,
    Abhy
    Message was edited by: Abhy Thomas

  • How to handle spaces in Sender File

    I have sender file and it is reading wrongly as it is not reading spaces. It is fixed file lengthe with no seperator.
    Following r the parameters I am using but still it is not picking up spaces.
    ignoreRecordsetName                                 true
    Record.fieldSeparator                                   nl
    Record.endSeparator                                    nl
    Record.additionalLastFields                        ignore
    Record.missingLastfields                            ignore
    Record.fieldContentFormatting                    nothing
    Record.fixedLengthTooShortHandling           ignore
    Record.fieldFixedLengths                           15,25,9,1,15,20,15,1,3,15,1,3,9,50,100,50,100,100,15
    Record.fieldNames                                      15,25,9,1,15,20,15,1,3,15,1,3,9,50,100,50,100,100,15
    Record.keepIncompleteFields                           YES
    My file format looks like as follows....there r 2 recods and u see psaces after each line they r part of particular field. Please help how to handle this..
    GLPRMS         Other                    20-MAR-09A               30800845237527018000000000000000000.000000000000011241.34020-MAR-09260IN0103-616714                                                                                260IN0103-616714                                                                                REFR1 - 000000 / REFR2 - 000000 / REFR3 - SUMRY           / TRANSFERS FROM
    GLPRMS         Other                    20-MAR-09A               30800845237527018000000000000000000.000000000000000305.60020-MAR-09260IN0103-616714                                                                                260IN0103-616714                                                                                REFR1 - 000000 / REFR2 - 549944 / REFR3 - 7691            / TRANSFERS FROM
    Thanks in advance
    Ria
    Edited by: ria sen on Mar 25, 2009 4:00 AM

    Hi Ria,
    Use the parameter Record.fieldContentFormatting = nothing
    If you dont specify this parameter trim is taken as a default value hence you are not gettign the spaces.
    This parameter should help you .
    Regards,
    Rajesh

  • How to handle multiple tables data in Entity Beans?

    How to handle multiple tables data in Entity Beans?
    i mean, my bean (non trivial) is responsible for frequent
    insertion in one table and some deletion on another table.
    Can anyone of you...please..?

    Is your data model right? If you are adding in one and deleting in another it sounds to me more like a process that an entity, in which case you may revisit your data model and simplify it, add in a session bean with the process method to co-ordinate between the two.
    However, if you want to map multiple different tables within a single entity bean it is possible and just part of the mapping. How you actualyl specify it depends on which implementation you are working with.
    Cheers,
    Peter.

  • How to handle the #error in ssrs expression

    hi 
    Please any one help me to resolve this #error ,
    I have a calculated filed in that expression i given a if condition like below 
    data of column is coming like this 0 , 0.0 
    =IIF(Fields!Column1.Value=0,0,((Fields!Column2.Value - Fields!Column1.Value)/( Fields!Column1.Value)))
    how to handle the #error 
    Please let me know any one 

    Hi deepuk23,
    According to your description, when you use the IIF() function in the report you got some error,right?
    The issue can be caused by the column1 and column2 have different datatype, I assumed that one is integer and another is float, when the Column1 is 0 or null,  because IIF() function always evaluates both the true part and the false part, even
    though it returns only one of them, it will throw out the error. 
    To resolve the issue, you should use a nested IIF() function to avoid the zero-divisor in any rate like below:
    =IIF(Fields!Column1.Value=0,0,((Fields!Column2.Value - Fields!Column1.Value)/(IIF(Fields!Column1.Value=0,1,Fields!Column1.Value))))
    For more information, please refer to this article:
    FAQ: Why does the “Attempted to divide by zero” error still happen?
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • How to turn off all the layers in one go?

    How to turn off all the layers in one go?
    In case the pdf file contains layers, then how to turn them all off in one go?
    Thank you for the help,
    Best
    Jamal

    able,
    What happens if you select both the grunge and the image and in the Transparency flyout tick Make Opacity Mask? You may try different ticking/unticking and colours.

Maybe you are looking for

  • How do I make my printer wireless

    I have a HP Photosmart C4680 and I am needing to set it up as a wireless printer instead of having to keep it pluged into my lap top. Can you Please help. I already have wireless high speed internet.

  • Iphone 5 keeps cutting calls off

    My iPhone 5 keeps cutting my calls exactly at 2 hours. Sometimes even earlier than that, why might this be happening ?

  • Photo booth locks

    Photo Booth version 3.0 (115) works fine on my iMac w/ SL but it crashes on my Macbook under the same conditions. I would appreciate any comments that might help me. I've even thought of trashing it, if I could find where to download it and reinstall

  • Imessages won't deliver after cell number change

    My husband and I recently changed our cell phone numbers, and now imessages won't deliver between us.  We both have iphone 4, ios5.1, and we had no issues at all until we changed numbers.  We share an apple id, so I've already deleted the id from my

  • Black screen with text LOGIN what to do?

    A few years ago I gave my oldest nephew my old G3 iBook when I purchased my G4 iBook. The G3 iBook work fine for him for several years. A few weeks ago the G3 iBook started taking forever to load/startup. I was eventually able to get it to read the o