Help needed in providing conditional hyperlinks in report

Hi,
I need to apply links to a number column in my report. But depending on another column value, I need to link my number column to page 1 or 2 or 3. How can I achieve this conditional linking in APEX? I cant give links or href tag in my query as then all number formatting would be lost.
A more detailed view:
Col 1 Col2
1 100.00 --no link to be given here
1 20.00 -- no link
2 123,45.00 --link must go to page 3
3 35,001.40 -- link must go to page 4
Any ideas/suggestiones would be welcome.
Thanks & Regards,
Sumana

Sorry for the late reply Andy. I guess u have not got my point entirely. I will explain more clearly. I had already used case statement before I posted my previous post.
Now the entire column is displayd in a font which is similar to having a hyperlink. (brown font with mousever effect too). I dont want that. any way to remove it?
I need as shown below E.g.,
col1 col2
row 1 100,00 50.00 -- normal balck font
row 2 300.00 150.00 hyperlink (link) font - brown color etc. links to pqge 1
row 3 16.75 10.00 -- hyperlink (link) font - to different page. -- links to page 4
row4 20.76 35.67--no link -- normal balck font.
But now all row have amounts in brown color.
Thanks
Sumana

Similar Messages

  • Help needed regarding Pricing Conditions in Invoice

    Hi Experts,
    I have added some Z fields to the Tkomp  Pricing table and did the relevant modifications in user exit Pricing Prepare Tkomp in MV45AFZZ.My pricing conditions are being created successfuly for the sales order.
    Now when a Invoice is being created for the Sales Order after the delivery thru VF01 , initially I am able to see my new pricing record under the Item condition tab., but when user clicks on the UPDATE button in the same conditions tab and clicks on 'carry put new pricing' my new condition record vanishes from the scene.
    Do I need to write a seperste code for that?
    If yes, please guide me where?
    Thanks
    vipul

    Hi Aravind,
                             For domestic purchase Vat & CST are applicable. If it is intra state VAT is used & if it is interstate CST is used. These condition types have to be manitained in the TAX procedure.
    JVRD - I/P VAT
    JVCS- I/P CST.
    we have maintained condition records for both these condition types along with the tax code in FV11. In the case of import purchase, you need to maintain seperate pricing procedure for import which will include ,
    JCDB - BASIC CUSTOMS DUTY
    JCV1-CVD
    JECV-EDU CESS
    J1CV- SEC EDU CESS
    JEDB- IMPORT CESS
    JADC- ADDITIONAL CUSTOM DUTY.
    All these conditions will be available in PO item level & you need to maintain % for these conditions. Hope it helps.

  • Help Needed in passing parameter to cryst report

    Hello everyone, I am trying to create a report for a single record and as such am trying to pass parameters to a crystal report but I am not sure exactly how to do this. This is my own method that I am employeeing. I do not want to create a data table and put all the info I need in there and then base a report off of it. I do not want to deal with loops and arrays right now. I just want to pass for example parameter JuvenileID = 1 to my crystal report, then create a command under the database expert and set the parameter for my command to the parameter I passed my crystal report. How would I go about in doing this? I am using VS 2010 C#. This is a windows application. I have a dataentry form that is already populated with the info needed for the report. I just need to pass all the controls.text values to the report and populate it that way.

    I'm not sure if I fully understand the issue, but since you have all the data you need in a data entry form that is already populated, why don't you simple create an ADO .NET Dataset and pass that to the report? Much easier to implement, faster execution with the small amount of data you have and less code.
    Dataset sample app is here:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    More info on datasets is here:
    [1511438 - How to use datasets to pass data to crystal reports|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533313331333433333338%7D.do].
    - Ludek

  • Help needed - trying to programatically change a report

    I want to write a VB program that can open a crystal 2008 report, change the size of 1 field, add a text box, and save the report.
    I can open the report, change a field size, and save it, but I don't know how to add an object.
    There is no add method for the reportobjects collection.
    Any hints / ideas / sample code?
    Thanks

    You will need to be using CR XI R2 SP2 or later so that you can use inproc RAS to do this.
               using CrystalDecisions.CrystalReports.Engine;
               using CrystalDecisions.ReportAppServer.ClientDoc;
                //CR Declarations
                ReportDocument                                                                                m_boReportDocument;
                ISCDReportClientDocument                                                                                m_boReportClientDocument;
               CrystalDecisions.ReportAppServer.ReportDefModel.ReportObject                        m_boReportObject;
               CrystalDecisions.ReportAppServer.ReportDefModel.ReportObject                        m_boReportObjectModified;
               CrystalDecisions.ReportAppServer.ReportDefModel.Section                                m_boSection;
               CrystalDecisions.ReportAppServer.ReportDefModel.TextObject                           m_boTextObject;
               CrystalDecisions.ReportAppServer.ReportDefModel.Paragraphs                          m_boParagraphs;
               CrystalDecisions.ReportAppServer.ReportDefModel.Paragraph                            m_boParagraph;
               CrystalDecisions.ReportAppServer.ReportDefModel.ParagraphElements           m_boParagraphElements;
               CrystalDecisions.ReportAppServer.ReportDefModel.ParagraphTextElement      m_boParagraphTextElement;
               CrystalDecisions.ReportAppServer.ReportDefModel.FontColor                             m_boFontColor;
               CrystalDecisions.ReportAppServer.ReportDefModel.Font                                      m_boFont;
                //create a new ReportDocument
                m_boReportDocument = new ReportDocument();
                //load the RPT file
                m_boReportDocument.Load("..
    DummyReport.rpt");
                //access the ReportClientDocument in the ReportDocument (EROM bridge)
                m_boReportClientDocument = m_boReportDocument.ReportClientDocument;
                //first determine which area and section to add the text field to - in this case the ReportHeaderArea first's section
                m_boSection = m_boReportClientDocument.ReportDefController.ReportDefinition.ReportHeaderArea.Sections[0];
                //create the textobject
                m_boTextObject = new CrystalDecisions.ReportAppServer.ReportDefModel.TextObject();
                //create the paragraph elements for the textobject
                m_boParagraphs = new CrystalDecisions.ReportAppServer.ReportDefModel.Paragraphs();
                m_boParagraph = new CrystalDecisions.ReportAppServer.ReportDefModel.Paragraph();
                m_boParagraphElements = new CrystalDecisions.ReportAppServer.ReportDefModel.ParagraphElements();
                m_boParagraphTextElement = new CrystalDecisions.ReportAppServer.ReportDefModel.ParagraphTextElement();
                //set the text value for the text field
                m_boParagraphTextElement.Text = "This is the added text field in the reportheader";
                m_boParagraphTextElement.Kind = CrystalDecisions.ReportAppServer.ReportDefModel.CrParagraphElementKindEnum.crParagraphElementKindText;
                //fix some wierd defaults and behavior by explicitly setting default font
                m_boFontColor = new CrystalDecisions.ReportAppServer.ReportDefModel.FontColor();
                m_boFont = new CrystalDecisions.ReportAppServer.ReportDefModel.Font();
                m_boFont.Bold = true;
                m_boFont.Name = "Arial";
                m_boFontColor.Font = m_boFont;
                m_boParagraphTextElement.FontColor = m_boFontColor;
                m_boParagraphElements.Add(m_boParagraphTextElement);
                m_boParagraph.ParagraphElements = m_boParagraphElements;
                m_boParagraphs.Add(m_boParagraph);
                m_boTextObject.Paragraphs = m_boParagraphs;
                //now add it to the section
                m_boTextObject.Left = 2000;
                m_boTextObject.Top = 1;
                m_boTextObject.Width = 5000;
                m_boTextObject.Height = 226;
                m_boReportClientDocument.ReportDefController.ReportObjectController.Add(m_boTextObject, m_boSection, -1);
                //display in reportviewer
                crystalReportViewer1.ReportSource = m_boReportDocument;
    Jason

  • Help needed to "map" HRMS fields for reporting

    Hi all,
    I have been asked to map for reporting purposes all the fields in the HRMS person and assignment forms, plus vacany requisition and absence.
    For example, on the people form in HRMS the "last Name" field would translate into sql as "per_people_F.last_name".
    I have found all the person/assignment/absence and vacancy fields but cannot find any of the following:
    Bank account/ pay method information.
    Salary previous/ salary proposal form information
    Anything from the element entries screen or the tax information fields.
    Anyone have any ideas which tables would hold this information for querying using developer or toad??

    Hi Michel, Vijaya, Praksh
    Thanks for all the replies. I will be a bit more detailed in my Query and Vijaya if u cud explain me the same way then it wud be helpful...
    Idoc Structure:
    GLMAST01
    IDOC
      BEGIN
    --EDI_DC40
         SEGEMENT
        TABNAM
    --E1SKA1M
         SEGMENT
        MSGFN
        KTOPl
        SAKNR
      --E1SKATM
         SEGMENT
         MSGFN
      --E1SKB1M
         SEGMENT
         MSGFN
    The Message type is
    FCC_MSGTYPE
    -MOVEMENT
      -Row
        MANDT
        KTOPL
        SAKNR
    I am not sure whether to Map the MOVEMENT part. Tell me what I should do. The requirement is to populate the R/3 with the MANDT, KTOPL, SAKNR etc which all occur in the E1SKA1M segemnt and the nothing to the subsegments under it.
    Please tell me how to do that.
    Thanking all in anticipation.
    Best Regards
    Chakra and Somnath

  • Help needed with JOIN condition

    I have two tables tb1 and tb2. They join on two columns, viz., plan_name and activity_name. However, I have to ensure the following conditions while joining:
    1. Pick up all the records that join between tb1 and tb2.
    2. If tb1.plan_name is 'Adhoc Activity' then pick the rows which join with tb2. Also pick up those rows which don't join with tb2 where plan_name = 'Adhoc Activity'. For example:
    tb1 has 2 records with plan_name Adhoc Acitivity
    plan_name activity_name
    Adhoc Activity A1
    Adhoc Activity A2
    tb2 has 1 record with plan_name Adhoc Activity
    plan_name activity_name
    Adhoc Activity A1
    then both records from tb1 should be taken. besides other joining records where plan_name <> 'Adhoc Acitivity' should also be taken

    user10566312 wrote:
    I think the first condition fails. If plan_name is not 'Adhoc Activity' but if it is present in both tb1 and tb2 then it should be picked... like inner join.???
    Could you tell, what is the expected output for below data ? Is it not the one what I am getting -"Some Another Activity" is not picked..?
    with tb1 as
    select 'Adhoc Activity' plan_name,'A1' activity_name from dual union all
    select 'Adhoc Activity' plan_name,'A2' activity_name from dual union all
    select 'another Activity' plan_name,'A2' activity_name from  dual union all
    select 'Some another Activity' plan_name,'A2' activity_name from dual
    tb2 as
    select 'Adhoc Activity' plan_name,'A1' activity_name from  dual union all
    select 'another Activity' plan_name,'A2' activity_name from  dual --union all
    select *
    from(
       select a.plan_name a_plan_name,b.plan_name b_plan_name,a.activity_name a_act,
              b.activity_name b_act
       from tb1 a,tb2 b
       where a.plan_name = b.plan_name(+)
       and a.activity_name = b.activity_name(+)
    where (a_plan_name = 'Adhoc Activity'  or b_plan_name is not null)
    order by 1;
    A_PLAN_NAME           B_PLAN_NAME      A_ACT B_ACT
    Adhoc Activity        Adhoc Activity   A1    A1   
    Adhoc Activity                         A2         
    another Activity      another Activity A2    A2   

  • Urgent help needed on oracle queueing

    Hi
    we have created AQ tables and queues but are facing with the following errors
    Thu Aug 30 17:25:31 2007
    Errors in file e:\orant\ora9i\pds\udump\pds_ora_4092.trc:
    ORA-00600: internal error code, arguments: [opidor: call 1], [], [], [], [], [], [], []
    Thu Aug 30 17:44:17 2007
    Errors in file e:\orant\ora9i\pds\udump\pds_ora_4092.trc:
    ORA-00600: internal error code, arguments: [17281], [1001], [0x25EBB628], [], [], [], [], []
    ORA-01001: invalid cursor
    Thu Aug 30 17:44:17 2007
    Errors in file e:\orant\ora9i\pds\udump\pds_ora_4092.trc:
    ORA-00600: internal error code, arguments: [17281], [1001], [0x25EBB628], [], [], [], [], []
    ORA-01001: invalid cursor
    ORA-00600: internal error code, arguments: [17281], [1001], [0x25EBB628], [], [], [], [], []
    ORA-01001: invalid cursor
    help needed asap
    thanx

    ORA-600 should be reported to Oracle support with trace files and alertlog.
    Well the following note may help you:
    Note: 433389.1
    Hope this Helps
    Regards

  • Help Needed REP-1800 Formatter error VGS-1701 Not enough memory

    Hi. Gents
    Help needed
    I’m working on a Report, it gets some 2 million records and the report pages are approximately 52,000
    It works fine if the pages are lesser then 48,000 or the data is less let say one and half a million, the problem occurs only after 48000 + pages formatted.
    Report is generated successfully when trying to go to the last page it throw an error.
    REP-1800 Formatter error
    VGS-1701 Not enough memory
    I have already gone through the metalink DOC Id 95505.1 as well as OTN
    But all in vain,
    Any comments or help much appreciated.
    Details are:
    Reports 6i (Clients/Server) on Windows platform
    (Windows XP Professional with SP 2)
    Database: Oracle9i Enterprise Edition Release 9.2.0.5.0
    Computer:
    Pentium(R) 4, CPU 3.00GHz, 1 GB of RAM
    Still 20 GB free space
    Thanks & Regards

    I don't see the point in making a report with more than 48,000 pages, I think Al Gore will not be happy when you start printing it...
    The problem might be caused by the fact that Reports needs to format all output at once, and then even 1GB of memory will probably be not enough. Formatting all pages at once is needed if you use pagination with displaying total number of pages. If you have this, try to get that out of the report definition and try again.

  • Error in week number while running a discoverer reports. URGENT HELP NEEDED

    Hi All,
    we had a requirement of getting the week number for the given date in one of the columns. Here the start date of the year was not always 1-jAN so we had to create a function which returns the week number as an output.
    The problem that we are facing is we are using the Discoverer 4.1.41.05 both at my end and user end. While i am trying to run the report i am getting the right output but while with the same login id when user is trying to get the output he is getting correct data till the data in year 2009 and from 2010 onwards the answer for the week number is coming in lacks. I had suggested the user to re-install the discoverer but still the issue is there.
    If someone know something about this than please reply to the thread and also mail me on [email protected]
    Thanks,
    Sarang.A.Mehta

    I might be late in replying, but hope it might help.
    From your query it seems you are inserting records into interface tables and then calling process order API( probably from some PL/SQL block).
    This is where I am confused, because I hope you understand, that interface tables are for use with Order Import concurrent Program, and for Process ORder API, you need to provide the data as parameter. The api has, header record type and line table type as parameters. So you need to assign correct data to these variables and pass them as parameter when you are calling Process Order API.
    If you are doing the same thing, then post the exact pl/SQL code and error message from the API. That might help diagnose the issue.
    Regards,
    Nitin Darji

  • Error while running disco report (Help needed urgent)

    Hello All,
    When i am running a disocoverer report i am getting the following error.
    ORA-01840 input value not long enough for date format
    ORA-02063 preceding line from prod
    The data retrieved by the query is incomplete because it was canclled?
    Kind Regards,
    Kumar.

    Hi Kumar
    It sounds like you could be trying to use the TO_DATE function and are either passing to it a value that is doesn't understand or you have not defined the format mask. Only if the string being converted is already in the database date format you do not need to provide a format mask. In all other cases you do.
    For example, if your database format is DD-MON-YYY then this is valid: TO_DATE('01-OCT-2009')
    However, if your format is something like 10/01/2009 you will have to tell Discoverer how the date is made up. In this particular case the answer would be: TO_DATE('10/01/99','MM/DD/YY')
    You should notice how the format mask is included in single quotes and separated from the date itself by a comma.
    Hope this helps
    Best wishes
    Michael

  • Help needed on Report painter

    Hi All,
    I have a requirement where i have to copy standard cost center report S_ALR_87013611 and change the G/L account to Alternative account and text.
    how do i copy this report painter report and modify the G/L account as required.
    i haven't worked on report painter .
    Points guaranteed !!!!
    Thanks & Regards,
    Raghavendra

    Hi,
    The Transaction code to create creating report writer it is GR31 and report painter is GRR1 and for .
    Reaport Painter allows you to create reports using data from SAP application components, which you can adapt to meet your individual requirements.
    Many of your reporting requirements can already be met by using the standard reports provided by various SAP application components. If these SAP standard reports do not meet your reporting needs, Report Painter enables you to define your specific reports quickly and easily.
    Report Painter fulfills a function similar to Report Writer, but is easier to use. Most of the functions found in Report Writer have been built into Report Painter; however, you do not need to be familiar with all Report Writer concepts (such as Sets) in order to use Report Painter.
    When executing a Report Painter report, it is displayed by the system in Report Writer format. You thus have access to the same functions as for Report Writer reports defined in the same way, and can combine Report Painter and Report Writer reports together in a report group.
    Report Painter uses a graphical report structure, which forms the basis for your report definition and displays the rows and columns as they appear in the final report output.
    To facilitate report definition, you can use many of the standard reporting objects provided by SAP (such as libraries, row/column models, and standard layouts) in your own specific reports. When you define a Report Painter report you can use groups (sets). You can also enter characteristic values directly.
    Advantages of Report Painter include:
    Flexible and simple report definition
    Report definition without using sets
    Direct layout control: The rows and columns are displayed in the report definition as they appear in the final report output, making test runs unnecessary.
    Hope this helps u.
    Regards,
    Seema.

  • Report creation - help needed urgent

    Hi all,
    My client is asking for certain information in terms of Area Budget, Amount spent at any point of time , breakup of expenditures among different activities which should be accessible to the sales team.
    I think i need to create a report for that. But i dont have much idea about the report.
    Please help me in this regard.
    If anyone has any other idea to how to approach this issue, please do let me know.
    Thanks in advance,
    Sourav

    Hi Sourav,
    Initially you should have clarity about the client's requirement. What are all the fields required in that report i.e., the output (shape of the report) required by the client. Then search for the availability of the standard report which is similar to your requirement and if required take the help of the ABAPer to make the report.Use Tcode SARP to look for the standard reports  provided by SAP. SAP has provided around 1600 standard reports.
    Thanks,
    Ravi

  • Conditional hyperlinks in a report by row

    Is it possible to have conditional hyperlinks in a report by row based on values of columns in the row?

    You would replace the hyperlinks I provided with links to pages in your application.... As suggested..
    SELECT X,
               Y,
               CASE X
                   WHEN X = 16 THEN
                         < a href="f?p=&APP_ID.:[your target page here]:&SESSION.">Link-text</a>
                    WHEN X = 21 THEN
                         < a href="f?p=&APP_ID.:[your NEXT target page here]:&SESSION.">Link-text</a>
                    WHEN X > 22 THEN
                          < a href="f?p=&APP_ID.:[your NEXT target page here]:&SESSION.">Link-text</a>
                    ELSE
                          < a href="f?p=&APP_ID.:[your target page here]:&SESSION.">Link-text</a>
               END CASE
    FROM Blah BlahThankyou,
    Tony Miller
    Webster, TX

  • Troubleshoting help needed:  My iMac keeps crashing and restarting with a report detail: "spinlock application timed out"  What can I do to fix this?timed out"

    Troubleshooting help needed:  My iMac keeps crashing and restarting with a notice: "Spinlock application timed out"  What can I do?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the page that opens.
    Select the most recent panic log under System Diagnostic Reports. Post the contents — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post shutdownStall, spin, or hang reports.

  • Help needed  while exporting crystal reports to HTML file format using java

    Help needed  while exporting crystal reports to HTML file format using java api(not using crystalviewer).i want to download the
    html file of the report
    thanks

    the ReportExportFormat class does not have HTML format, it has got to be XML. Export to HTML is available from CR Designer only.
    Edited by: Aasavari Bhave on Jan 24, 2012 11:37 AM

Maybe you are looking for

  • Won´t send back to FCP

    Hi everybody. I have a big problem: When I´m done with my grading in Color, and has rendered, I go to " send to FCP"- it sends a xml file- but it doesn´t show up in FCP with the ( from Color)?? FCP doesn´t seem to read it? I´m completely lost- I have

  • Re:Bi content reports in excel Format

    Hi expert, This is pradeep.in my project  my client required sd,mm and fico reports are  in excel format ofter then the client decision take place .please give me those reports please .my id [email protected] Thanks & Regards, Pradeep kandepu Edited

  • How to find corresponding form to vl01n and vf01

    Hi all, we try to change our invoice and delivery note form in sap r/3 standard. We found the forms RVINVOICE01 and RVDELNOTE, but they are not the right one. How can we find out, which form is called with transaction e.g. vl01n or vf01? Please could

  • Error in Post processing of Client Copy

    Hi, While doing a Client copy, i am facing an error in Post Processing step. Its getting hanged saying: "Client copy is completed with status "Post-Processing Required". There is an error in log for object FINB-TR-DERIVATION" Please help me out of th

  • Oracle Provider for OLE DB 9.0.1.0.1.

    We need to install in several client machines the Oracle Provider for OLE DB 9.0.1.0.1. Can we do it without installing the whole client package? in other words, can we just register a dll through a batch file, withoug going through Oracle's client i