Modifying the Standard Report template

Hi
I have a report with 10 columns and 2 of them are wb_id, pa_id. Depending on the search critiria either wb_id or pa_id will be null. I want to highlight the row with some color when I select any row and I am modifying the standard template and
column template condition is 'Use Based on PL/SQL Expression' and it is
NVL(#COL02#,0) = NVL(:GLOBAL_WB_ID,0). But when I run the report it is giving the error that encountered # wherea as expecting.......
Thans a lot.

Hi,
I have a report page uses the following block of pl/sql as its source.
This calls a function by passing page items and this functions returns sql query.
DECLARE
V_SQL VARCHAR2(4000);
BEGIN
V_SQL := WF_PCK02.search_wb_pa(
:P1000_WB_ID,:P1000_PA_ID,:P1000_RIVER_NO,:P1000_GENRE,:P1000_LOCATION,:P1000_WATER_DEPENDENT,:P1000_BASELINE,
:P1000_NBT_PRESSURE_TYPE_ID,:P1000_PURPOSE,:P1000_NBT_SIC_DESC,:P1000_ACTIVITY_DESC,:P1000_NBT_MORPH_ACTIVITY,
:P1000_SW_ASSET,:P1000_ORDER_BY,:P1000_R1);
RETURN V_SQL;
END;
Now if user is searching for water bodies the results look like this.
10317 - Allt Ceitlein SURFACE WATER River Y 2a 2b N N
10318 - Allt a Chaorainn SURFACE WATER River Y 2b 2b N N
10319 - River Coupall SURFACE WATER River Y 2b 2b Y N
10320 - Allt a Bhiorain SURFACE WATER River Y 2b 2b Y N
if the user is searching for PAS the results look like this.
- UKS7992310 Lochs Long and Goil SHELLFISH WATER - Y 1a 9z N N
- UKS79923100 Ulva SHELLFISH WATER - Y 1a 9z N N
- UKS79923101 Ura Firth SHELLFISH WATER - Y 1a 9z N N
- UKS79923102 Voe of Clousta SHELLFISH WATER - Y 1a 9z N N
- UKS79923103 Wadbister Voe SHELLFISH WATER - Y 1a 9z N N
- UKS79923104 Inner West Loch Tarbert SHELLFISH WATER - Y 1a 9z N N
I had written a java script to select the current row, and page refreshes when I click
any where on the row and displays the display item saying that
currently selected id is 10317
or
Currently selected id is UKS79923100
and also assigns the 10317 to GLOBAL_WB_ID or UKS79923100 to GLOBAL_PA_ID
Now my user want to change the color of the currently selected row.
For this I am trying to change the report template like this
Column Template 1
<td class="t15data"#ALIGNMENT# style="background:#d1e2f3">#COLUMN_VALUE#</td>
Column Template 1 Condition
NVL(#2#,0) = NVL(:GLOBAL_WB_ID,0);
BUT
it is giving the following error.
Encountered the symbol "<" when expecting one of the following: ( ) - + case mod new not null others table avg count current ........................
ERR-1025 Error processing PLSQL expression. :GLOBAL_WB_ID = NVL(10317,0);
Then I changed the condition to substitute the #2# in single quotes like this.
NVL('#2#',0) = NVL(:GLOBAL_WB_ID,0);
BUT it is giving this error
Encountered the symbol "10317" when expecting one of the following: ( ) - + case mod new not null others table avg count current ........................
ERR-1025 Error processing PLSQL expression. :GLOBAL_WB_ID = NVL('10317',0);
I am unable to understand where the error is coming from.
Please help me.
10317 is the first row of the result set.
Thanks a million in advance.

Similar Messages

  • Who modified the  standard report

    Hi,
      How can i find out who modified the  standard report in my server,guide me for the same.
    Thanku

    SE38 -> Enter report -> Mark Attributes -> Display  -> Last changed by.
    Regards
    Juan

  • Mailing the Standard Report Output

    HI,
      I have a requirement in which the output of a standard report has to be sent to the respective vendors.
    MCVE -- Vendor analysis Report.
    I have to schedule the job every month such that the rating of a vendor for the month will be sent to the respective vendors.
    This report is an interactive report.
    murali.c
    Edited by: murali ch on Aug 31, 2009 11:00 AM

    hi..
    thank u for the reply...
    my doubt is ...
    i have a report in which 1st list is like below
    total goods in the month        rating....
    100.000                                  98
    If I double click on it I'll get a 2nd list as follows
    vendor                  vendor rating
    1                          100
    2                            98
    3                          100
    4                           99
    5                           97
    my requirement is that I have to schedule the report evry month such that mail should go to the respective vendors with his rating.
    will this be possible with out modifying the standard report?
    report is  :MCVE  which is a vendor analysis report/
    murali.c

  • Modify the standard screen of a report

    I've just created a report with some parameters and when i try to modify the standard screen of this report via se80 i've got a warning message that tells me that all changes in standard selection dynpro will be discarded.
    Does that mean i can't modify this Dynpro?
    Thanks

    Hi jose,
    Wat is ur problem can u explain me clearly. wat u r trying to modify?? Ru trying to change screen settings??
    For dynpro check this link
    http://help.sap.com/saphelp_nw04/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/content.htm
    Regards,
    Pavan<a href="http://http://help.sap.com/saphelp_nw04/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/content.htm">http://http://help.sap.com/saphelp_nw04/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/content.htm</a>

  • How to Enhance the Standard Report?

    Hi All,
    How to Enhance the Standard Report? :
    When I am trying to execute the query called ZTIMES in the user group SQ01 it is navigating the screen to selection-screen with some inputs to be given here on the selection screen company code is mandatory as an input. The company code field is having the search help and it is fetching the values for the company code from table called PROJ  Table (Project definition Table).But I want the company code should fetch the value from the  PRPS Table ( Work break structure(WBS Element) Level).
    Tables used are PROJ and PRPS.
    The company code in PROJ is PROJ-VBUKR
                                    In PRPS is PRPS-PBUKR
    In the coding part related to that selection screen I have to replace PROJ-VBUKR with
    PRPS-PBUKR.But it is standard report to enhance.
    What is suggestible solution for this issue?
    Thanks,
    M Raju

    Hi,
    Since this is an ABAP Query, You can change the infoset query in SQ02 and establish the join linkages between PROJ and PRPS
    Also on the selection screen of the Query make sure you provide company code from PRPS table and report output also from the same table reference.
    Once you have modified the ABAP Query, activate and generate it so that it will internally regenerate the a standard program.
    http://help.sap.com/erp2005_ehp_02/helpdata/en/d2/cb4256455611d189710000e8322d00/frameset.htm
    ABAP Query (Sq01)Modification
    Hope this helps
    Regards,
    Shiva

  • Adding fields to the standard Report

    hi ,
    could u plz tell me what r the guidelines we have to follow
    while adding fields to the standard Report. (Ver ECC 6.0)
    in QA32 Tcode, after executing it will generate a report there i hv to add it.
    I could find structure of that main final table, i hv appended desired field also,
    Now im looking into Enhancement spot for it, is there any method to do it.
    Plz hv eye on it.
    Regards
    Vivek

    Hi ,
    this is the exact answer for your question.
    Go to the inclide RQALVF14 in this there is a perform  call_listviewer_f14, in this the output is displaying using REUSE_ALV_GRID_DISPLAY function module . before this do like this ..
    modify the output table p_object_tab like this .
    the output table is of structure QALS_D02 you can extend this by appending a structure with the custom fields and there is an enhancement ( i have checked it) in this routine call_listviewer_f14 in RQALVF14. Create an enhancement in this routine at the start of the routine and modify the output table using your custom code in it , then you wil get the data as well as fields into fieldcatalog,.
    Regards,
    Venkat Appikonda.

  • Enhance the standard report

    <b><u>Can anybody answer</u></b>
    Hi SDN's
    I had inserted a new Z-field in the table ANLA, and in transaction AS02
    Now i need to enhance the report RABEST01 - Asset Balances, to insert the new field in the report output of RABEST01.
    Can anyone show me the way to it?
    Points assured
    Regards
    Pratyusha

    Hi Pratyu,
    I have checked the standard report and there are no explicit calls for any type of enhacements like Customer Exits, BADIs or Enhancement-points / Sections .
    Thus the options you have at your hand are either to modify the tsandard code or to copy the standard to a Z development and do the necessary changes.
    regards,
    Vikas

  • Materials for modifying Oracle Standard Report

    Hi,
    I need to modify Oracle Standard Reports.
    Is their any material or documentation how to do it...?
    If some one could give me the link or documentation that would be really great full!
    Thank you!
    -Preetha.

    hi
    which type of modification u want explain me i will tel u soluation
    Rizwan

  • Issue in the standard report - S_ALR_87012357 outcome result

    Dear Friends,
    I am facing issues in the standard report S_ALR_87012357 "Advance Return on tax Sales/Purchases" where I am trying to pull the tax posting report for the current period.Here I would like to see the tax postings which are done with the custom t code ZFB01L (mass upload of data) which is the replica of FB01L. The issue here I see is, any postings done via custom t code with tax code does not appear in the standard report t code S_ALR_87012357. Please advice whether is there any alternative transaction code or program where in I can get all tax postings similar to this standard report or do we have to create a custom t code to get such report with the help of ABAPer.
    Kindly advice.
    Regards,
    Siri

    Dear expert
    Example :
    In Italy, you are required to register all you customer and vendor invoices about your company's sales and purchase activities within the country, in the European Union, or outside the European Union. According to the legal requirements, you need to create value-added tax (VAT) reports based on your customer and vendor invoices on a monthly basis. Depending on the size of your company, you can create the tax reports on a quarterly basis as well.
    You can use the Advance Return for Tax on Sales/Purchases (RFUMSV00) program to create tax reports (tax books) according to VAT types. It enables you to maintain your VAT registers per VAT types. You can create separate input and output tax reports about your sales/purchases activities in the country, in the European Union, or outside the European Union according to VAT types. The program enables you to save your reports with a report number (for example: 1/2008, 2/2008), and it generates a summary per VAT code at the end of the report. The program ensures the correct progressive page numbering of tax reports and calculates the debit and credit balance for the given VAT type. You can carry forward the credit balance to the following month.
    SE38 :RFUMSV00 =S_ALR_87012357
    PATH
    Accounting ® Financial Accounting ® General Ledger ® Reporting ® Tax Reports ® General ® Advance Return for Tax on Sales/Purchases ® Advance Return for Tax on Sales/Purchases.
    Under
    Set the following indicator(s)
    Output control :Read address data
    Output lists
    Output tax: Line items
    Input tax: Line items
    Regards
       Ajeesh.s

  • What is the STANDARD Web Template in BI 7.0?

    Hello guys,
    Do you know what is the Standard Web Template in BI 7.0?
    Today we only use Workbooks and the java is already installed.
    Do we have to do some configuration in this Web template for our first execution?
    Thank you,
    Carlos Edaurdo

    Hi,
      0ANALYSIS_PATTERN is the standard Web template for the BI Queries when executed through Web.
      We can copy this template to a Ztemplate and make the changes necessory based on project need and can be assigned
      as default  in Configuration settings .
    Thanks,
    Prakash

  • Getting a dump while executing the standard report BUSCHDOC

    Hi,
    I am getting a dump while executing the standard report BUSCHDOC.
    I am specifying the following values:-
    Application Object : BUPA
    Business partner:<some business partner>
    Changed on: <some date>
    Changed by:<some userid>
    Below are the dump details
    Short text
        CREATE DATA: The specified type "BUSSRCH_401BUPAT" is no valid data type.
    Any suggestions to avoid the dump are welcome.
    Thanks,
    Ravindra

    Hi Ravindra,
    Can you execute report BUP_BUSSRCHGF_REPAIR and try again ?
    Also, go to transaction BUS10, click the button Geneate Selection. On next screen, give Application object = BUPA, Max no. of tables per view = 1.
    Regards,
    Rishu.

  • What are the standard reports in QM?

    Hi,
    I want to know the standard reports available in Quality Management?

    QA33   : Inspection Lot List 
                  Quality report against Inspection Lot - Results
    Hi , here is some useful QM report.
    QC55   : Quality Certificate List in Procurements
    MMBE : Material stock overview u2013 Quality / Unrestricted / Block etc.
    MB52   : Ware House stock & Valuation (Quality / Unrestricted / Block etc.)
    MB51   : Material document List
    CC04    : Display product Structure
    MCXC  : Material Analysis (Month wise)
    MCXI   : Material analysis
    MCXB  : Material inspection result analysis
    MCVA  : Vendor analysis u2013 material inspection lot wise
    MCOA  : Customer analysis u2013 m aterial inspection lot wise
    QGA2    : Inspection results day wise
    QS28     : List of Master Inspection Characteristics
    QS26     : MIC where used lists
    QS38     : List of Inspection methods
    QS36     : Inspection method where used lists.
    QS49     : Code Groups & Codes
    QS59     : Selected sets
    QM11    : Display Quality notification Lists
    QM19    : Multilevel Quality notification List
    MCXV   : Quality Notification analysis

  • How to know the total page number of the standard report

    How to know the total page number of the standard report?
    If I insert a graph, a table, or text into the end of the standard report, how to know how much space is left for the current page?

    Hello Net,
    Unfortunately, we do not have any VIs in LabVIEW that can figure out the number of pages of a standard report. However, with the use of ActiveX calls you can achieve this task. Here are a couple of discussion forums which discuss this:
    Excel Page Numbering with ActiveX:
    http://forums.ni.com/ni/board/message?board.id=170​&message.id=194479&requireLogin=False
    Number Pages in Word Report:
    http://forums.ni.com/ni/board/message?board.id=170​&message.id=162972&requireLogin=False
    There is also great documentation on using ActiveX on msdn. You can search this document for page number objects. Here is a link to this:
     http://msdn2.microsoft.com/en-us/library/aa223048(​office.11).aspx
    Please refer to these links. If you still have questions please feel free to let us know so we can assist you.
    Thank you
    Best Regards,
    Dominic L.

  • Adding BSEG-WSKTO to the standard report S_ALR_87012078

    The requirement we have is that we need to add BSEG-WSKTO to the standard report S_ALR_87012078.
    Is it possible to add a new field to a standard report build by report painter/writer. If so can you let me know how.
    Thanks,
    Gopi.

    No, it is no possible.
    You have to add a create a new biblioteque and then add a new report.

  • Hiding buttons in the standard web template based on roles

    Hi,
    In the standard web template, the requirement is to hide few buttons based on the authorization.
    Can this be achieved by assigning the roles? If not what is the work around?
    Regards
    Narayana

    Narayana,
    Restricting the Buttons is not feasible thru Role restrictions, you need to work around with the WAD..
    Action Events with Btn Clck.
    Cheer's
    HVR.

Maybe you are looking for

  • Web Service is not Working

    HI Experts, I have created a FM for creation/updating of Business Partner. My FM is working fine and not giving error. I published this FM as a Web Service, and it got generated successfully. Now when i am running this web service, my FM is not worki

  • BusinessObjects Portal Integration - iView Template Missing

    Hello I have installed my BusinessObjects for Portal as follows: 1. We already have BI 7.0 on SQL 2005 on BIDEMOSER SERVER. 2. Installed BusinessObjects Enterprise 3.1 , Crystal Reports 2008, SAP GUI 7.1 and SAP Integration Kit on this new server nam

  • May you tell me: why firefox 7 isn't compatible with Windows 7??

    I'd liked me the last Version of Firefox7; my PC has been worked very well. After I make the respective actualization my PC presented several problems!.. Always told: without the plug ins!.. I discharged the Above Flash Player & charged it again, sev

  • One process generating too much archives

    Hi all, DB-Oracle 9.2 OS- Aix One of my friend ask me how to find out which process generating too mcuh archive logs below are some of the parameters log_checkpoint_interval integer 30000 log_checkpoint_timeout integer 1800 log_checkpoints_to_alert b

  • Importing iMovie files

    Hi all, I could have sworn I had done this previously, but maybe I'm going crazy. I have multiple video files (tv show episodes) that I have edited within individual iMovie files (ie, cut out the commericals). Each episode is one iMovie file. I want