Using CSS with Linked Report Field

I'm using the CSS Style width:150px on a report column that has a link. However, when using a CSS Style on linked column the formatting doesn't work. If I remove the link the width setting takes effect. How can I correct this? If I embedded the link URL in the query data it will format fine so there appears to be something different happen when Application Express generate the link.

When a report column is rendered as a hyperlink, the CSS style you specify is not used, that is used only for regular report columns.
Try putting your style as style="width:150px;" in the Link Attributes in the Column Link section (where you specify the other hyperlink details)

Similar Messages

  • Using CSS in Crystal Report

    Hi,
    I wanted to know if and how do we use CSS for formating the fields in Crystal Report. I did see a "CCS" class name option in the "Format Filed" selection, not sure how it works.
    Also, wanted to know how do we UPLOAD the CSS to the CMC.
    Thank you.
    KS.

    Hi Chito,
    You cannot load multiple images dynamically. Using the 'graphic location' formula for the OLE Object, you can only point to a location that can load one image.
    For the second image, you'll need to manually insert another OLE Object and point the formula to the next image's location.
    You can try posting to the SAP Crystal Reports, version for Visual Studio space to find out whether this can be done using CR SDK.
    -Abhilash

  • Using appintegrator with BW reports - Mapping problem

    Hi All,
    I've been using appintegrator with BW reports for a while.
    The portal was connected to BW by ticket and it worked without a problem.
    Since a new group of users was added to the portal and the UserID of those users in the portal & BW is not the same I want to change the logon method to user mapping.
    Now, I have a problem:
    when I try to run bex report I get a popup asking me for username/password (although the user mapping is configured correctly - transactions are running without a problem).
    Even if I click the 'cancel' button the report will run so I guess the user/password is passed to the bw.
    I use FQDN in the system definition in the portal and in the browser (both systems are on the same domain).
    I read note no. 593640, according to the note configuring the /sap/bw/mime service to anonymous login should solve the problem.
    Doesn't configuring the service this way will cause security issues? or is it just for eliminating the popup?
    Portal is EP6 SP16.
    Thanks,
    Omri

    Hi Dagfinn Parnas,
    The BW definition in EP is indeed user mapping.
    The mapping works for transactions without any problem.
    For bex reports I get the popup and even then, clicking the 'cancel' button shows the report. It's all explained in note 593640.
    Since I'm not a BW person I don't know what defining anonymous login for the MIME service means.
    This is a paragraph from the end of the note:
    'The /sap/bw/mime service is not authorization-relevant because only constant MIMEs such as JavaScript, images (.gif) or stylesheets can be queried. All data-relevant queries (tables or graphics) are made using /sap/bw/bex.'
    I guess it should work but I need to understand what anonymous login means in this case.
    Regards,
    Omri

  • Using CSS With id=form1:txtbox1

    Author: Mike12779 Sep 7, 2004 5:27 PM
    I am having a problem using CSS with the id's that JSF creates for the components on my page. After specifying an id="txtbox1", the rendering of the page changes my id to "form1:txtbox1". This is giving me problems applying styles to that element by ID. Please let me know if there is a way around this besides having unique classes for the css.

    you can use styleClass or style instead of id.
    For example,
    .text1 { font-size: 14px }
    <h:outputText styleClass="text1" />
    or
    <h:outputText style="font-size: 14px" />
    *NOTE:  the 'style' at JSF is similiar to 'style' in CSS                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Attaching URL using GOS with 2 key fields

    I found a program to attach URL using GOS. I tried the program using his sample Business object (BUS2012) and supplied a valid PO and the program works.
    When I use the program using business object BUS1505 (Real Estate Contract) and put a valid contract number, the program didn't attached the URL. When I check the business object, I found out that the key fields are 2, Company Code and Contract Number. With this, how can attach it to the program.
    Please help me on this. Thanks in advance.
    Report  Z_RMTIWARI_ATTACH_DOC_TO_BO
    Written By : Ram Manohar Tiwari
    Function   : We need to maintain links between Business Object and
                 the attachment.Attachment document is basiclally a
                 business object of type 'MESSAGE'.In order to maintain
                 links, first the attachment will be crated as Business
                 Object of type 'MESSAGE' using Message.Create method.
                 Need to check if we can also use FM
                 'SO_DOC_INSERT_WITH_ORIG_API1' or SO_OBJECT_INSERT rather
                 than using Message.Create method.
    REPORT  Z_RMTIWARI_ATTACH_DOC_TO_BO             .
    Include for BO macros
      INCLUDE : <cntn01>.
    Load class.
      CLASS CL_BINARY_RELATION definition load.
      CLASS CL_OBL_OBJECT      definition load.
    PARAMETERS:
    Object_a
       P_BOTYPE LIKE obl_s_pbor-typeid DEFAULT 'BUS1505', " e.g. 'BUS2012'
       P_BO_ID  LIKE OBL_S_PBOR-INSTID DEFAULT '0000010000273',    " Key e.g. PO No.
    Object_b
       P_DOCTY  LIKE obl_s_pbor-typeid DEFAULT 'MESSAGE' NO-DISPLAY,
       P_MSGTYP LIKE SOFM-DOCTP        DEFAULT 'URL'     NO-DISPLAY,
    Relationship
       P_RELTYP  LIKE mdoblrel-reltype DEFAULT 'URL'.
      types: BEGIN OF TY_MESSAGE_KEY,
              FOLTP   TYPE SO_FOL_TP,
              FOLYR   TYPE SO_FOL_YR,
              FOLNO   TYPE SO_FOL_NO,
              DOCTP   TYPE SO_DOC_TP,
              DOCYR   TYPE SO_DOC_YR,
              DOCNO   TYPE SO_DOC_NO,
              FORTP   TYPE SO_FOR_TP,
              FORYR   TYPE SO_FOR_YR,
              FORNO   TYPE SO_FOR_NO,
             END OF TY_MESSAGE_KEY.
      DATA : LV_MESSAGE_KEY type TY_MESSAGE_KEY.
      DATA : LO_MESSAGE type SWC_OBJECT.
      DATA : LT_DOC_CONTENT type standard table of SOLI-LINE with header
    line.
    First derive the Attachment's ( MESSAGE )document type.
      P_DOCTY = 'MESSAGE'.
      CASE P_RELTYP.
      In case of URls
        WHEN 'URL'.
           P_MSGTYP = 'URL'.
      In case of Notes / Private Notes
        WHEN 'NOTE' OR 'PNOT'.
           P_MSGTYP = 'RAW'.
        WHEN 'ATTA'.
           P_MSGTYP = 'EXT'.
      Not implemented as yet...exit
         EXIT.
        WHEN OTHERS.
       ....exit
         EXIT.
        ENDCASE.
    Create an initial instance of BO 'MESSAGE' - to call the
    instance-independent method 'Create'.
      swc_create_object LO_MESSAGE 'MESSAGE' LV_MESSAGE_KEY.
    define container to pass the parameter values to the method call
    in next step.
      swc_container LT_MESSAGE_CONTAINER.
    Populate container with parameters for method
      swc_set_element LT_MESSAGE_CONTAINER 'DOCUMENTTITLE' 'Title'.
      swc_set_element LT_MESSAGE_CONTAINER 'DOCUMENTLANGU' 'E'.
      swc_set_element LT_MESSAGE_CONTAINER 'NO_DIALOG'     'X'.
      swc_set_element LT_MESSAGE_CONTAINER 'DOCUMENTNAME' P_DOCTY.
      swc_set_element LT_MESSAGE_CONTAINER 'DOCUMENTTYPE'   P_MSGTYP.
    'DocumentContent' is a multi-line element ( itab ).
    In case of URLs..it should be concatenated with &KEY& in the begining.
      CASE P_MSGTYP.
        WHEN 'URL'.
          LT_DOC_CONTENT = '&KEY&http://intranet.corpoff' .
          append LT_DOC_CONTENT.
    In case of Notes or Private Notes, get the data from files on appl
    server or from wherever(? - remember background).
         WHEN 'RAW'.
           LT_DOC_CONTENT = 'Hi How r u?' .
           append LT_DOC_CONTENT.
    In case of File attachments
         WHEN 'EXT'.
          Upload the file contents using open dataset in lt_doc_content .
          Some conversion ( Compress ) might be required.
          Not sure at this point
      ENDCASE.
      swc_set_element LT_MESSAGE_CONTAINER 'DocumentContent' LT_DOC_CONTENT.
      swc_call_method LO_MESSAGE 'CREATE' LT_MESSAGE_CONTAINER.
    Refresh to get the reference of create 'MESSAGE' object for attachment
      swc_refresh_object LO_MESSAGE.
    Get Key of new object
      swc_get_object_key LO_MESSAGE LV_MESSAGE_KEY.
    Now we have attachment as a business object instance. We can now
    attach it to our main business object instance.
    Create main BO object_a
      data: LO_IS_OBJECT_A type SIBFLPORB.
      LO_IS_OBJECT_A-INSTID = P_BO_ID.
      LO_IS_OBJECT_A-TYPEID = P_BOTYPE.
      LO_IS_OBJECT_A-CATID  = 'BO'.
    Create attachment BO object_b
      data: LO_IS_OBJECT_B type SIBFLPORB.
      LO_IS_OBJECT_B-INSTID = LV_MESSAGE_KEY.
      LO_IS_OBJECT_B-TYPEID = P_DOCTY.
      LO_IS_OBJECT_B-CATID  = 'BO'.
    *TRY.
    CALL METHOD CL_BINARY_RELATION=>CREATE_LINK
      EXPORTING
        IS_OBJECT_A            = LO_IS_OBJECT_A
       IP_LOGSYS_A            =
        IS_OBJECT_B            = LO_IS_OBJECT_B
       IP_LOGSYS_B            =
        IP_RELTYPE             = P_RELTYP
       IP_PROPNAM             =
       I_PROPERTY             =
    IMPORTING
       EP_LINK_ID             =
       EO_PROPERTY            =
    *CATCH CX_OBL_PARAMETER_ERROR .
    *CATCH CX_OBL_MODEL_ERROR .
    *CATCH CX_OBL_INTERNAL_ERROR .
    *ENDTRY.
    Check if everything OK...who cares!!
      commit work.

    HI
    You can look at object VBAP as an example.  It'sthe sales order item and has two keys - sales order number and item number. 
    the key was created:
    BEGIN OF KEY,
         SALESDOCUMENTNO LIKE VBAP-VBELN,
         ITEMNO LIKE VBAP-POSNR,
    END OF KEY,
         MATERIAL TYPE SWC_OBJECT,
         SALESDOCUMENT TYPE SWC_OBJECT,
         _VBAP LIKE VBAP.
    ND_DATA OBJECT. " Do not change.. DATA is generated
    Here is a object instantiation - just build the key with the two fields - then when you call the macro - you pass the one field that already has both keys in it.
    GET_PROPERTY SALESDOCUMENT CHANGING CONTAINER.
      SWC_CREATE_OBJECT
        OBJECT-SALESDOCUMENT 'VBAK' OBJECT-KEY-SALESDOCUMENTNO.
      SWC_SET_ELEMENT CONTAINER 'SalesDocument' OBJECT-SALESDOCUMENT.
    END_PROPERTY.

  • CSS with crystal reports not working

    <p><span><font size="3"><font face="Times New Roman">We have typed the CSS Class Name property of a text object. We have used the Publishing wizard to publish the cascading style sheet on the reports server. Still it does not work. I have searched the web for answers and the only answer I got was from a forum that said Crystal Reports does not fully support css.</font></font></span><span><font face="Times New Roman" size="3"> </font></span></p><p><span><font size="3"><font face="Times New Roman">All I want to do is apply css to the reports we have developed in Crystal Reports Developer XI R2, and then publish the reports on Crystal Reports Server XI using the publishing wizard and then view them with InfoView. Can anyone give my a straight forward way of doing this?</font></font></span><span><font face="Times New Roman" size="3"> </font></span><span><font size="3"><font face="Times New Roman">Thanks,</font></font></span><font size="3"><font face="Times New Roman"><span>Peter Mead</span><span> </span></font></font></p>

    <p>Hi Peter, </p><p>I do not believe (although documentation is scarce as you have found out) you can use style sheets if you are using InfoView. I was able to use them by including them in our custom JSP pages using the LINK tag (we are printing reports using RAS). However, that&#39;s not applicable if you plan on using InfoView.</p><p>For the record though, you cannot really use style sheets if you are using conditional formatting. If you use CSS to control things like font, color, alignment, basic look-and-feel stuff, and your reports are also using conditional formatting values, then any value that triggers the conditional formatting will lose the CSS Class Name, and will look very out of place on the report with the rest of the values in the column. In those cases, you basically have to hard code the font type, font size, alignment, etc into the conditional formatting rule, which completely invalidates the point of using CSS. If you ever want to change FONT-FAMILY from Times New Roman to Arial then you have to change it in the CSS (which is very easy) and then also in every single report that uses conditional formatting (which is very lame). At that point, you&#39;re better off just using a template. </p><p>Does anyone from Business Objects have any suggestions? I think for CSS to be useful you basically need not only to have the ability to conditionally format, but you also need a checkbox for every possible attribute for "overwrite CSS." If the CSS says FONT-COLOR = black but the conditional format says to make all negative values red, you should be able to say "I want negative values red but I want the font and the alignment to match the rest of the report, so use whatever the CSS says." </p><p>Anyway, I hope your experience is better than mine. Definitely reply if you figure out a good way to use style sheets. </p>

  • Working/Join with Two Reports field

    Hey Folks,
    I have read couple of post and kind of confused. I have two reports and each have their column total at the bottom(Sum).
    Now on my first report i have to add my first report col1_total+second report col1_total and get my grand total.
    SO, my question is how can add or call or join that second report field to my first report field and get my grand total?
    I have read about Data Link Object but i wasnt sure about it. So, please give me some direction/advice. That would be greate.
    Thank

    Thankx but i never used two query to gether.
    so basically, you want me to put second query and join it to gether...or...can you explain me little bit. Can you give me small step where i can get closer where you mention to use the same query.
    Thanx

  • How to use Count with other all fields

    Hello guys. Sorry about my question because it s syntax but i didnt find in google.
    How can i use count combined with other all fields.
    Like SELECT count(*) 'other all fields like * '  FROM VBAK .
    Thank you very much.

    Don't sure to understand your requirement (count would always be 1, aggregates are only defined with grouping)
    So either use two SELECT (or replace count(*) counting Nr of records selected) if no relation between count and field values....
    Or use a dynamic SELECT syntax. Use FM DDIF_FIELDINFO_GET to  get field list, then create fieldlist with every field name and count(*), create grouplist with every field name
    SELECT (fieldlist)
           INTO ...
           FROM table
           GROUP BY (grouplist).
    Regards,
    Ramond

  • Using CSS with Contribute

    I just stumbled upon a small hitch in my get-along.
    While trying to assign an alignment class in Contribute (that
    I had originally created in Dreamweaver) I discovered that I
    couldn't figure out how to accomplish this. I have already created
    a class and it's in the external style sheet, but I can't figure
    out how to associate the picture with the class so that text will
    flow around the image.
    help!
    thanks,
    Ron

    Thanks for the input.  I'm well aware of how to use CSS.  The focus of this discussion was really how to get images out of <p> tags, not how to write a bunch of extra CSS to undo what Contribute really shouldn't be doing to images.
    I am committed to use CSS on my site, but I am also committed to making that CSS easy to use, which mean working at tag and block levels as much as I can, rather than becoming "class happy".  I know I have to use classes to do the left and right alignment, but let me share a specific scenario where CSS shouldn't be used.
    I have an <h2> element that is the full width of my container.  Below that, I have a <p> element for my paragraph.  For my design, I want the paragraph to have 1em of padding.  Now, I want an image banner that is the full width of the container, so it can nest under the <h2> and be the same width.  If I insert the image in Contribute above the <p>, it puts that in a <p> tag.  Now, the image is too wide because it's trying to add padding around something that is already the full width of the page.  I can't add a rule to remove the padding from all images, because that would remove padding from images that need it also.
    I could write a custom CSS class to resolve this issue, but that takes time, adds to my CSS file size and gums up my dropdown menu with an unnecessary class that's only used to solve this one scenario.  Instead, it makes more sense to just break the image out of the paragraph tag and treat it as a block.
    This is an example of what I was trying to get Contribute to do.  I just needed the image tag as such, an image, not an image inside my paragraph padding rules.
    In this case "remove paragraph breaks" is the most logical choice, rather than writing a bunch of CSS to undo Contribute's quirks.

  • Using CSS with Alert

    I'm using CSS to stylet an Alert panel and it's producing the following Warning:
    CSS type selectors are not supported in components: 'Alert' 
    Despite the warning, the css is working, but I don't want to keep seeing the warning.
    Here's my css:
    Alert{
        backgroundColor: #000000;
        borderColor: #000000;
        buttonStyleName: buttonStyle6;
        dropShadowEnabled: true;
        fontSize: 11;
    I've also tried using alert.styleName("myAlert")
    where the css is placed into
    .myAlert
    but that produces the following error:
    TypeError: Error #1006: value is not a function.
    Is there a better way to style the Alert?

    Somehow I posted this in the wrong forum, moving to Java Server Faces.

  • Can I use CSS with PS Web Gallery Preset?

    Using DW CS4. I wanted to create a web gallery with captions under the thumbnail images. I could not get captions to show up using the workspace output tool in Bridge, so I used the web gallery plug-in and preset in Photoshop. The doc title and description from the metadata shows up with each thumbnail and large photo, which is what I wanted. I added an Iframe to make the gallery show up in my web page layout with all the links I wanted, and I re-wrote part of the preset html to eliminate some of the extra preset gallery text at the top of the gallery pages. I am using a transitional doc type.
    It all worked out just fine and the pages are working as planned.
    However, when I used DW to validate the gallery pages, the report showed errors because the font attributes for the gallery pages are controlled by html and not by CSS. There are two problems cited in the report:
    The tag "center" is not allowed within: <p>
    In HTML 4.0, FONT is deprecated... consider using style sheets instead.
    Questions: On the gallery pages generated by the PS plug-in and pre-set, is there a way to control font attributes with a style sheet instead of using the pre-existing html styling? Do I need to be concerned about the attributes being deprecated?
    If you need to look at the web gallery, you can see it at http://www.LoonSongGardens.com/webgallery/galleryab.html
    If you look, you can see why I am daylilybud!

    I used an iframe (as opposed to a frame) as suggested in an article by David Powers about embedding a gallery into a web page. He says the iframe is acceptable in html, and no problem with the iframe itself was indicated during validation, just the FONT attributes from the PS preset I used. You can read the article here: http://foundationphp.com/tutorials/gallery/embed1.php
    In my current gallery, thumbnail captions appear from the metadata for each photograph. For each large image, both the title and the description come from the photo's metadata.  This works well for my purpose, and I want to avoid re-entering each title and description. I guess my question could be better stated by asking if CSS can be added to the preset to apply to captions coming from the metadata of each photo.
    Regarding the lightbox approach you suggest, I looked at the example and do not see captions under the thumbnails. Can captions be added to the thumbnail images? (It is essential that my thumbnails have captions.)
    Customers need to see the name of each plant when they browse thumbnails in order to select items (daylily plants) of interest.
    Because I am dealing with hundreds of photos and will need to update frequently, I am looking for a solution that is efficient and fairly easy to maintain. So far, the PS web gallery preset meets my needs better than anything else I have found, but I thought I'd try to find out if I should and can fix the FONT attribute validation problem.

  • Using CSS in crystal reports

    Hi All,
    We have used external CSS files to apply styles to the report content. But after the CSS implementation we have come across issues with Zoom and export.Following are the issues for which we need a solution.
    1. When the content is zoomed in /out, the size of the text does not change along with the lines and borders and hence the data is seen to be overlapping (incase the zoom is 25% )
    2. The alignment given through the CSS files do not reflect after exporting the content to pdf/excel etc. (eg: The decimal fields and given alignment as "right" but in the exported documents it appears as "left")
    Is this a known behavior in Crystal report or are we missing something?
    Thanks in advance..
    Thara

    Hi Todd Linscott,
    We have using this type of query in SAP in Query Generator
    SELECT  T0.[DocNum] as 'Invoice No.', T0.[DOCDATE] as 'Invoice Date', T0.[CardName] as 'Customer Name' ,
    FROM OINV WHERE  T0.[DOCDATE] >=[%0] AND T0.[DOCDATE]<=[%1]
    For Crystal Report
    SELECT  T0.[DocNum] as 'Invoice No.', T0.[DOCDATE] as 'Invoice Date', T0.[CardName] as 'Customer Name' ,
    FROM OINV WHERE  T0.[DOCDATE >= {?FromDate}  AND T0.[DOCDATE ]< = {?ToDate}
    Pass Parameter in Crystal Report in thats type of syntax
    When you have to add command Right side Parameter button will appear
    For Layout pass
    {?@Dockey}
    This is must.
    Thanks,
    Srujal Patel

  • Using CSS With PHP..

    Hello!
    I need to create several PHP-based pages for use with a photo gallery and would like to use my existing CSS to style the pages.  Is this possible?
    Thanks!

    You certainly can; just link to your existing stylesheet as with an html page

  • Using PRE Function to report field changes

    Hi Everyone,
    As they reporting on audit trail is not available, I was wondering if there was a work around using the PRE function (or any other way) in analytics.
    We're looking to track Revenue changes with respect to Opportunities (so, if Opp A's Revenue ever changed since the first time the $ amount was submitted) - we're especially interested in reporting on weekly changes. If the weekly isn't possible, tracking any change would be helpful.
    Any suggestions?
    Thanks!

    Why not create a workflow using the PRE() function to record the changes in a Task, you could then report on that task.
    cheers
    Alex

  • More info needed on BC Dynamic menus and using CSS with them

    Hi all,
    The BC Gurus tutorial on Dynamic Menus and how to style them with CSS made no sense to me, unfortunately. The presentation was too rushed and the screen too small to see what was happening.
    In a previous question I found out how to apply CSS classes to BC menus after a bit of a run around.
    I was putting the # in front of the Item ID name and a . in front of the class name and this was not necessary.
    I have further questions though, as I am still struggling to get a BC Dynamic menu to style properly with the CSS I have created.
    1. If you choose CSS as the menu type, can you set the font, background colour and rollover state of the menu items in the Dynamic menu section? Or do you have to style it all in the CSS stylesheet?
    2. If you choose CSS as the menu type, the option to say how the submenu sits under the root menu disappears. So do you need to set this in the CSS stylesheet? And if so in which element? UL or LI?
    3. If you choose CSS/HTML only, how is this different to the option of CSS for the dynamic menu?
    4. If you choose CSS as the menu type and if you set a width and height in the menu item, and then set a different width and height in the CSS stylesheet, which width and height wins?
    5. If you want a dynamic menu to show on an Android phone, do you have to choose CSS/HTML only and do all the styling in the CSS stylesheet? Or should you avoid dynamic menus all together and just use a UL list in the template? (I am doing a responsive fluid grid layout in DW for the template).
    6. I am finding that the dynamic menu I have done, with CSS as the type, does not show and hide the sub menu items properly on an Android phone. Is there a problem with the javascript in Dynamic menus?
    Thanks for any help you folks can give on these questions!

    .pacnew files are only created if you have modified the default (or a change has been made to the config upstream); in both cases, you should be looking to incorporate the changes.
    It seems some new options are being shipped with lxdm: you want those in your config (turning them on or off is a matter for you and the man page to sort out)...

Maybe you are looking for

  • HT1766 Choose File Devices Back up is greyed out and not an option?

    i smashed the screen on my 5s ... i got a new one... File > Devices > Back up does not seem to be an option when i plug in my iphone with the cracked screen..... so i tried to plug in my smashed one to back it up and transfer using my itunes that i j

  • Can I install Mountain Lion on a different hard drive when it's already installed on one hard drive?

    I have a Mac Pro with two 2TB hard drives installed, one I use for storage, and one as my startup disk (also store things on there as well). I just installed two new 2TB drives and have set up a RAID 0 with them. I want to use the RAID drive as my st

  • New Computer Help

    I have been reading through these forums for the past couple of weeks and I just want to first say thanks to all the people that post here, it has really helped in me getting to this planned build I have now . I primarily use Premire and After Effect

  • Script to display users and what they have spent

    its giving me the username fine, but is not adding up the costs correctly just displays it as 100 for all users, have tried to change it but now its giving me a syntax error. any ideas? insert into clubcosts(USER_NAME, TOTALSPENT)      select        

  • Add a param to an EventListener, is that possible?

    Hi , does anyone know if it's possible to add a param to an EventListener? for example i have an timer. myTimer= new Timer(500, 3); myTimer.addEventListener("timer", createSquare); myTimer.start(); I would like to pass the current movie to my EventLi