How to HIDE one data field in BEx???

Hi all,
I tried to HIDE one CHAR's value from report but no matter what I did. It still shows in the report. Need advice, please.
<b>EX: In the FILTER, I drag & drop 'product ID' to filter section and assign certain' value' under it and then run the query. It shows 'product ID with those values I assigned in the report.</b> I need to remove them from the report. How? (I already personized my variant so it won't show in the selection screen)
Thank you
J.

Hi all,
Thank you for all informaiton. Here is an example for my scenario: I need to put Product ID in the FILTER section and 'restrict' the value- #112, #113 (ie: my sales report will be only for these two products). <b>This report is for products-#112,#113 only so my client doesn't want to see one row show: Product ID: #112, #113 in the report.</b> Any advice that I can avoid this row?  I used 'no display' but it is still there.
J.

Similar Messages

  • How to hide empty data fields (php users only)

    how do you suppress the display of a given field if it has no value in a database (see code below)? You can take a look of the printscreen also.
    Thanks
    <td align="center" valign="middle"><span class="STYLECENTER"><img src="<?php echo $row_DetailRS2['thumbnail1']; ?>" alt="" name="" border="1" /></span><span class="STYLECENTER"><br />
              <?php echo $row_DetailRS2['code1']; ?></span></td>
            <td align="center" valign="middle"><span class="STYLECENTER"><img src="<?php echo $row_DetailRS2['thumbnail2']; ?>" alt="" name="" border="1" /></span><span class="STYLECENTER"><br />
              <?php echo $row_DetailRS2['code2']; ?></span></td>
            <td align="center" valign="middle"><span class="STYLECENTER"><img src="<?php echo $row_DetailRS2['thumbnail3']; ?>" alt="" name="" border="1" /></span><span class="STYLECENTER"><br />
              <?php echo $row_DetailRS2['code3']; ?></span></td>
            <td align="center" valign="middle"><span class="STYLECENTER"><img src="<?php echo $row_DetailRS2['thumbnail4']; ?>" alt="" name="" border="1" /></span><span class="STYLECENTER"><br />
              <?php echo $row_DetailRS2['code4']; ?></span></td>
            <td align="center" valign="middle"><span class="STYLECENTER"><img src="<?php echo $row_DetailRS2['thumbnail5']; ?>" alt="" name="" border="1" /></span><span class="STYLECENTER"><br />
              <?php echo $row_DetailRS2['code5']; ?></span></td>

    // run the query; if it fails, print out the error message and terminate the script
    $result = mysql_query($QrySQL) or die('Query failed: ' . mysql_error());
    //if there isn't a row to fetch, then mysql_fetch_assoc() will return FALSE.
    if ($row = mysql_fetch_assoc($result)) {
        //$row now contains an associative array of the field names to their values in the first row
        $firstSeen = $row['FirstSeen'];
    You could loop through the result set by replacing that if with a while. If you wanted to find out how many rows were returned, you could use mysql_num_rows().

  • I am working in Adobe Acrobat 9 Pro and just created a pdf form from a MS Word document. I need to find out how to have a date field in my form which will update automatically. Can some one out there help me?

    I am working in Adobe Acrobat 9 Pro and just created a pdf form from a MS Word document. I need to find out how to have a date field in my form which will update automatically.

    Update automatically under which circumstances, exactly?

  • How to Hide the Parameter field at run time....

    Hi,
    I have a parameter field which behaves differently depending on the User logged in.
    It has the LOV coming from following SQL.
    SELECT customer_name FROM Cust_mast;
    If the user = 'INTERNAL' then the Where clause will be
    WHERE cust_id in('DELL', 'SBC', 'BANK')
    Else there will be no WHERE clause or the parameter field
    should be hidden in the parameter form.
    So my questions are:
    1) How to hide the Parameter field during Run time?
    OR OR OR
    2) How to change the LOV select statement during Run time?
    Thanks.
    Ram.

    Hi Ram,
    Is there any way to play with the sql query SELECT using DECODE ?I'm not sure of this part, maybe someone else can suggest a way.
    However, what you want can be done in 2 other ways:
    1. Build 2 reports. Both reports will just be duplicates of each other, only difference being that the 'LoV where clause' will be different. Now you can fire the appropriate report in many ways. For example, if the customer is alreay logged inside your custom application, and therefore you already know whether the user is internal of external, you can design your button or link which launches the report to contain logic such that one of the 2 reports is fired depending on who the user is.
    1. Use a JSP parameter form, not a paper parameter form In this case, just build an HTML parameter form in the web source of your report. Use Java logic to populate the LoV drop-down list. When you have to launch the final report, just launch the paper-layout of the report. For example (you will have to modify this):
    <form action="http://machine:port/reports/rwservlet?report=ParamForm.jsp+..." name="First" method="post">
    <select name="selected_customer" onChange="First.submit()" >
    <option value="">Choose a Customer Name
    <rw:foreach id="G_cust_id" src="G_cust_id">
         <rw:getValue id="myCustId" src="CUSTOMER_ID"/>
    <rw:getValue id="myCustName" src="CUSTOMER_NAME"/>
    <option value="<%=myCustId%>"><%=myCustName%>
    </rw:foreach>
    </select>
    </form>
    In the code above, you will have to make sure that your report's data model defines 2 CUSTOMER_ID's (like CUSTOMER_ID_INT and CUSTOMER_ID_EXT). These 2 will be internal and external Cust ID's. Use Java logic to show one of them.
    Navneet.

  • How to hide the Parameter field during Run time?

    Hi,
    How to hide the Parameter field during Run time?
    I have a parameter field which behaves differently depending on the User logged in.
    I am using reports 10G
    For ex: I have 3 field created in JSP
    CUSTOMER
    PROVIDER
    FROM DATE
    END DATE
    If the user = 'SUPER show all the parameter
    CUSTOMER
    PROVIDER
    FROM DATE
    END DATE
    If the user is 'GATEKEEPER" Just show
    PROVIDER
    FROM DATE
    END DATE
    Can I do that?
    Please help
    Thanks.
    KK

    hi, i'm not familiar much with JSP. but i think workaround is to create two window one which have 4 fields and the other which have 3. if user is SUPER then call the first screen otherwise if user is GATEKEEPER then call the second screen.

  • How to add one more field to an exist internal table

    hi abapers
    i am a very new abap programmer and just started learning it.
    i want to know How to add one more field to an exist internal table.
    lemme me put my question in a very simple way.
    i have a internal table having fields f1,f2,f3 and which also that internal also contains some data.
    now i want to add two more fields (mm & nn) to that internal table now.
    how can i do that.
    and i wanna know the websites names where i can find some brain teasing questions in abap programming.
    eagerly waiting for ur reply
    regards,
    Maqsood A Khan

    Hi, MAQSOOD.
    You can insert more fields in your internal table like this.
    refer this code snippet.
    DATA : BEGIN OF tbl_itab OCCURS 0.
            INCLUDE STRUCTURE zsdtc009.
    DATA :  vkorg   LIKE vbak-vkorg,  "inserted one
            vtweg   LIKE vbak-vtweg,  "inserted one
            vkbur   LIKE vbak-vkbur,  "inserted one
            vkgrp   LIKE vbak-vkgrp,  "inserted one
           END OF tbl_itab.
    you can also read the book "Teach yourself abap in 21 days"
    at http://cma.zdnet.com/book/abap/
    but that book is just about basic concept of abap and report program.
    it doesn't give a lecture for on-line program.
    you can get pdf version books(about abap, sap...things) from sap.
    http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm
    I wish I could help you.
    Regards
    Kyung Woo.

  • How to add the date field in the dso and info cube

    Hi all.
    I am new to bi 7. in the earlier version v hav to button to add the date field. but in the bi 7 der is no option so can any body tell me how to add the date field in the data targets
    Thanks & Regard
    KK

    my prob is solved
    KK

  • How to hide the data in particular table in oracle 10g

    How to hide the data in particular table in oracle 10g
    i want steps

    If its on Report u can  always hide the column - Keyfigure or Selection - Display - Hide......y do u want to have it on the report if it is to be hided in the first place?

  • How to add one more field in infotype and PA 30 screen

    Hi to all
    My requirement is to add a new field in infotype and that should be reflected in PA30 screen.
    Actually in my company one field require from which date the car allowance is started.
    For that one date field is require on PA30 screen ..
    Also suggest me which screen is suggestable for that. and also give me any othe way is possible.
    Thanks & Regards
    Anubhav

    Yes .. I added the field in the structure but that field is not reflecting in PA30 screen.
    please advice me .. what to do...
    Thanks..
    Anubhav

  • How to add one date column and charecter column

    hi all,
    i have 3 column start_date(date),end_date( date),duration (varchar2)
    i am trying to add start_time and duration like this
    end_date := to_char(start_time) + duration;
    but its showing value_error
    how to add one date column and charecter column.
    Thanks

    you need something that does:
    end_date (DATE) := start_date (DATE) + <number of
    days> (NUMBER)Not necessarily, because if the duration is just a string representation of a number then it will be implicitly converted to a number and not cause an error
    e.g.
    SQL> ed
    Wrote file afiedt.buf
      1  with t as (select to_date('01/07/2007','DD/MM/YYYY') as start_dt, '3' as duration_days from dual)
      2  -- END OF TEST DATA
      3  select start_dt + duration_days
      4* from t
    SQL> /
    START_DT+
    04-JUL-07

  • How to convert a date field with format (dd,mm,yyyy) to format (mm,dd,yyyy)

    Hello.
    How to convert a date field with format (dd,mm,yyyy) to format (mm,dd,yyyy)
    I have text field which has a databind to a date field. When I click on it, we can select the date, it is added on the format (dd,mm,yyyy). When I want to insert this date field to a database It doesnu2019t allow me to do it because it will only accept date field on the format (mm,dd,yyyy)
    I tried to store this format on a date variable and I get a message saying that is impossible to convert a string into a date.
    Regards,
    Jose

    Hi Jose,
    usually you format strings in c# like
    string.Format("{0:yyyyMMdd}", insertyourstring);
    in your case
    string.Format("{0:MM/dd/yyyy}", insertyourstring);
    [look here|http://idunno.org/archive/2004/14/01/122.aspx]
    there are more details
    if everything fails split the string with Mid()
    or ask me
    lg David

  • Workingdays with one date field

    Morning all,
    I have a report which uses only one date field. This report takes averages of lenses and jobs per day.
    The report works fine when it is running on daily basis however when it runs on monthly basis it messes up the averages.
    For example:
    Daily report:
    Job -1
    Lens - 1
    Average per day (job) -1
    Average per day (lens) - 1
    Month to date report
    Date Range: Month to date (01/08/2008 to 28/08/2008)
    Job - 6
    Lens - 438
    Average per day (Job)- 0.21 (where it should be 0.31)
    Average per day (lens)- 15.64 (where it should be 23.05)
    If you see above example, monthly should be taking Weekends and bank holidays in account.
    I have done similar thing but used two different date fields however here I am facing only one date field which is being used.
    So What I have done is, I modified the formula like this
    WhileReadingRecords;
    DateVar Array Holidays;
    DateVar Target:={lab_rework.rework_date};
    NumberVar Add:= -2;
    NumberVar Added := 0;
    WHILE Added > Add
    Do (target := target -1;
        if dayofweek (target) in 1 to 7 and not (target in holidays)
            then Added:=Added-1
            else Added:=Added);
    Target;
    I added this formula into my Report Selection formula like this
    ({@WeekdaysOnly} in MonthToDate)
    Oh and background of the report history:
    Crystal Reports: 2008
    Database: Informix
    Report: Record Selection formula ({lab_rework.rework_date} in MonthToDate);
    Report Group by: Report grouped by Reason Code
    Report Average formula:
    Whileprintingrecords;
    Numbervar FAvg;
    Numbervar myaverage=0;
    Numbervar CAvg=0;
    myaverage := {#Total Lenses}; 
    CAvg:= myaverage /Day(Maximum(MonthToDate));
    //({@EndDate}-{@StartDate}+1);
    FAvg:=FAvg + CAvg;
    CAvg
    Anyone who can help me using only one formula which I can use to take in account working days?
    The expected results aren't coming up correctly.
    Regards
    Jehanzeb

    Nope, no need for that.
    I sorted it out after editing my working days formula
    here is the solution I used
    WhileReadingRecords;
    Local DateVar Start := Date(Year(CurrentDate),Month(CurrentDate),1);// place your Starting Date here
    Local DateVar End :=   Currentdate;// place your Ending Date here
    Local NumberVar Weeks;
    Local NumberVar Days;
    Local Numbervar Hol;
    DateVar Array Holidays;
    Weeks:= (Truncate (End - dayofWeek(End) + 1 - (Start - dayofWeek(Start) + 1)) /7 ) * 5;
    Days := DayOfWeek(End) - DayOfWeek(Start) + 1 +
    (if DayOfWeek(Start) = 1 then -1 else 0)  +
    (if DayOfWeek(End) = 7 then -1 else 0); 
    Local NumberVar i;
    For i := 1 to Count (Holidays)
    do (if DayOfWeek ( Holidays<i> ) in 2 to 6 and
         Holidays<i> in start to end then Hol:=Hol+1 );
    Weeks + Days - Hol;
    //Holidays Code
    //Holiday Array Formula for the report Header:
    BeforeReadingRecords;
    DateVar Array Holidays := [
    Date (2003,12,25),   // you can put in as many lines for holidays as you want. 
    Date (2003,12,31),
    Date (2008,08,25)
    0
    Regards
    Jehanzeb

  • How to set the data fields column wide at sqlplus

    Dear Sir/Madam
    I would like to know how to set the data fields column wide at sqlplus
    Thanks
    Francis

    see
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch6.htm#sthref1131
    and the FORMAT clause of the COLUMN command in
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch12013.htm#BACHCABF

  • How to find Maximum of a date field using BEx

    We are trying to just display the maximum of a date field in a BEx report along with some fixed text .
    If we need to create a formula using Maximum function , how to use the same?
    For ex, we have a field "Flight Date" in the cube and cube has been updated with flight date till 10.09.2006.
    we want to display in the BEx report something like "Flight details are available only till <maximum of the flight date field from the cube>"
    Please help.

    Srilakshmi,
    Create a formula on the data and then sort the query on the date , that way the latest date would come on top. I am not sure if you can have something the way you have described..
    an option could be :
    Have a query on the cube with a condition of top date where the date could be a formula , this way you would get the latest date. se this as a value set to filter another query that displays only the date and nothing else , have some static text beside the query to indicate that this is the latest date.
    Hope it helps..
    Arun
    Assign points if helpful

  • How to set date +120 daye to one date field

    Hi,
    I have 2 fields one is Close date(Item style is Message Layout) and Quote Valid Until(Item Style is Date Field).After opening the page Close date will come automatically. Now My requirement is need to put Close date+120 days to Quote Valid unti field. Pls let me how to do this one and pls provide Sample code....
    Thanks in advance,
    Hanimi....

    Hanimi,
    Use Below Code
    //Convert the fetched date to calendar date and use the below method.
    import java.util.Calendar;
    public class CalendarAddExample {
        public static void main(String[] args) {
            Calendar cal = Calendar.getInstance();
            System.out.println("Today : " + cal.getTime());
            // Subtract 30 days from the calendar
            cal.add(Calendar.DATE, -30);
            System.out.println("30 days ago: " + cal.getTime());
    }Regards,
    Gyan

Maybe you are looking for