RE: Hide a column in web report using table interface class

Hi,
I want to hide first column in web template using table interface class. Following is the code i used in CAPTION_CELL and CHARACTERISTIC_CELL. Is this correct?
method CAPTION_CELL.
*First column
if i_x = 1.
add comment tag
move '<!-- ' to C_CELL_CONTENT.
endif.
endmethod.
method CHARACTERISTIC_CELL
First column
if i_x = 1.
save start-time column
move I_CHAVL_EXT to L_STARTTIME.
add comment tag
move '<!-- ' to C_CELL_CONTENT.
endif.
endmethod.
When i execute the web template it is still displaying the first column. Do i have to code in any other method?
Thank you,
Mala Venkatesh

Hi , the implementation should look like...
method CAPTION_CELL .
*CALL METHOD SUPER->CAPTION_CELL
EXPORTING
I_X =
I_Y =
I_IS_EMPTY =
I_IOBJNM_ROW =
I_ATTRINM_ROW =
I_TEXT_ROW =
I_IOBJNM_COLUMN =
I_ATTRINM_COLUMN =
I_TEXT_COLUMN =
I_IS_REPETITION =
I_COLSPAN =
I_ROWSPAN =
CHANGING
C_CELL_ID =
C_CELL_CONTENT =
C_CELL_STYLE =
C_CELL_TD_EXTEND =
First column
if i_x = 1.
add comment tag
move '<!-- ' to C_CELL_CONTENT.
endif.
Second column
if i_x = 2.
close comment tag
concatenate '--> '
C_CELL_CONTENT
into C_CELL_CONTENT.
endif.
endmethod.
method CHARACTERISTIC_CELL .
*CALL METHOD SUPER->CHARACTERISTIC_CELL
EXPORTING
I_X =
I_Y =
I_IOBJNM =
I_AXIS =
I_CHAVL_EXT =
I_CHAVL =
I_NODE_IOBJNM =
I_TEXT =
I_HRY_ACTIVE =
I_DRILLSTATE =
I_DISPLAY_LEVEL =
I_USE_TEXT =
I_IS_SUM =
I_IS_REPETITION =
I_FIRST_CELL = RS_C_FALSE
I_LAST_CELL = RS_C_FALSE
I_CELLSPAN =
I_CELLSPAN_ORT =
CHANGING
C_CELL_ID =
C_CELL_CONTENT =
C_CELL_STYLE =
C_CELL_TD_EXTEND =
First column
if i_x = 1.
save document-item number
move I_CHAVL_EXT to l_docitem.
add comment tag
move '<!-- ' to C_CELL_CONTENT.
endif.
Second column
if i_x = 2.
close comment tag
concatenate '--> '
C_CELL_CONTENT
l_docitem
into C_CELL_CONTENT
separated by space.
endif.
endmethod.
Activate the methods/class and add this in the Web Template!
for example:
<param name="MODIFY_CLASS" value="ZHCOLAPP">
ZHCOLAPP is the table interface class in this case.
Best,
Michael

Similar Messages

  • Hide/Unhide Columns in WEBI Report output

    We have a WEBI report which has 2 columns/measures to display the cost in EUR and USD. User would like to have the flexibility to filter the column so as to display USD or EUR cost column. Is it possible to hide/unhide column in WEBI. Can we have a input control on multiple measures so that user can dynamically select which measures they want to see on report.
    Its possible in BEx Analyser using filter option on key figure. Is simillar functionality available in WEBI? We're on BO 3.1 XI. Is thre any other way to achieve this?
    Thanks,
    Milind

    hi,
         i think it is not possible to hide a column based on condition. but in webi 4.0 u have an option using which, u can hide/ show a table based on the user selection. in ur scenario, create two tables, one with value in USD and other in EU, super impose the table. then right onthe table and select "Format cell". in that u ll have a option to hide the table based on condition. select that and apply the condition.
    see the follwoing url for more info : http://bihappyblog.com/2011/11/05/dynamic-visibility-in-webi/
    thank u,
    Edited by: aady89 on Mar 9, 2012 7:39 AM

  • Rolling month for webi report using Univ based on BEX Query

    Dear Experts,
    I'm new to OLAP universes.
    We have a requirements of having last 12 months rolling  for given measure(Key figure) in webi report using Univ based on Bex Query.
    We require a calmonth (time dimension) object  (restricted for last 12 months) where user can drag and drop on column section of cross-tab table.  User should drag more than one Key figure ( for ex. sales rev and & qty sold) for each month
    Could you please provide me the solution to do this?
    Thanks
    Akshara

    Hi Henry,
    Thank  you for your response.
    BEx query has not been created yet. we need to create accordingly and require your help in creating the same.
    Regarding reporting requirements,  User wants to have adhoc reporting  with rolling months ( 12 months or 6 months) functionality. Users want to link any KF to this rolling months dimension.
    If we can't have this, what is the alternative that we can propose to user.
    Thanks
    Akshara.

  • How to Hide a column in a report @run time

    Hello Can you help me please
    I need to hide some columns in a report when you run it , I dont want it to be displayed.
    Here is the scenerio.
    I have a column called (QTY) and the other (Price). Now I have a new one where I take
    (Qty*Price) and the result is in a column called(qtyprice)now I only want to display of the qtyp*price at the end of the report.
    can you help please
    Thank you
    alpha

    Their are so many ways to do this..
    1.simplest thing is just delete that field from your layout so it will not apperar.
    2.go to layout and right click on that field and go to property and just click hide so that field will be hide while running the report.
    3. when you create a layout at that time just deselect that fields so it will not appeare in report while it running.

  • WebI Report using BW Query

    Hi,
    I am using WebI Report using BW Query. I don't see some Formulas in Universe which is there in BEx Query.
    Did anybody face the same problem before?

    Hi,
    I meant that you should post in the forum the calculation contained in the formula that you cannot see in your universe.
    But let's start from the begining since you are new to SAP: Did you generated the universe yourself? If the formula was added in the query after the universe was created then you must refresh your universe (In the Universe designer  please select the option "Refresh structure" under the "view" menu) in order to get the newly created formula (I assume we are takling about a calculate figure here) in your universe also.
    Regards,
    Stratos

  • How to hide a column (clnt) in tableview using MVC?

    Hy,
    I would like, please if you cand help me: how to hide a column (clnt) in tableview using MVC for example on sflight table.
    Thanks

    Hi,
    You can use the below logic
    <htmlb:tableView id = "t1"
               visibleRowCount = "10"
               table = "<%= flights %>">
         <htmlb:tableViewColumns>
              <htmlb:tableViewColumn columnNamd = "carrid" />
              <htmlb:tableViewColumn columnNamd = "connid" />
              <htmlb:tableViewColumn columnNamd = "fldate" />
         </htmlb:tableViewColumns>
    </htmlb:tableView>
    define all the required columns using tableViewColumn tag.
    Regards,
    Ravi

  • Create a Webi report using QAAWS as a data source

    Hi Experts,
    I am on BO 4.1 SP 3, and using the Webi Rich Client to create a WEBi report using a QAAWS url as a data soruce.
    This is the first time I am trying this, so any tips/helpful links are welcome.
    I get the below error, when I try to map the fields. But I do not have any personal data files involved.
    Thanks,
    Vasu Natari.

    Hi Vasu,
    We can create webi report with QAAWS.When creating the report on webservices /Personal data providers we'll not get prompt/query filters option .
    Are you trying to change source ? Instead create new source and get data.

  • Created Webi report using BEx Query.

    Hi All,
    I am going to upgrade in BW and using BEx  & Webi Report. I have created webi report using BEx query. Now I need to test data in webi report.
    Can anyone tell me how to test data?
    Regards,

    Hi,
    compare the webi report data with Bex report. more you can compare webi report with SAP R3 system for random records.
    Thanks,
    Amit

  • Unable to create web reports using WAD in BI 7.0

    We are unable to create web reports using WAD in BI 7.0 because of the missing BI metadata. Please take a look at the error below .

    didnt see the error??

  • Opening XIR2 webi reports using C# code

    Hi all,
             Is it possible to open Xir2 webi reports using C# code.If so can u throw light on the same.Thanks in advance

    Check out the Dev Library:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
    You will find a scheduling Webi sample under the BusinessObjects Enterprise|Tutorials section.
    You will the viewing code under the Report Engine .NEt Developers guide section under Application Essentials.
    Jason

  • How do i hide a column in table interface class

    Hi,
    I need to hide a column in Abap table interface class. When i tried to hide from web item properties it didn't work so i am thinking to hide first column in the table interface class
    Thanks,
    mala

    In the WebApplication Designer start Tools -> View Definition -> Based on a Query. Choose your query, change layout to your requirements and save the view. Now just use the view in your webtemplate.
    Pls assign points if answer is useful
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/u/37289">vitaliy</a>

  • Removing Columns in Web Reports

    Hello Experts,
    I would like to remove a column in a We report. I would like to remove the first column in a web report it should be this way by default. Is there any way to do this. Please do help me out....

    Hi Sweatha,
    you can try the following step:
    In the specific properties of your table web item you can set the "Data Display from Value Column" to 2. This should work. But if you use any graphics this will have no effect to your graphics. Otherwise i would recommend to create a view in the Bex Analyzer and hide the column in the view. Then you can assign the view to your data provider.
    Regards,
    Adem

  • Different column detail webi report

    Dear experts,
    Is it possible to have a webi report with the following columns' layout:
    Country | Average 2009 | Jan 2010 | Feb 2010 | .... | Dec 2010 | Average 2010
    I've created a variable directly in the webi report but I'm not able to have detail by month in 2010 and a column with the 2010 total.
    Any ideas?
    thank you!
    Best,
    Inês Santos

    Hey Inês,
    Country | Avg 2009 | Jan10 | Avg 2010 | Feb 2010 | Avg 2010 | .... | Dec 2010 | Avg 2010.
    You're correct foreach Month-Year it will append one column, yesterday I didn't find enough time to see this.
    Solution:
    1. just drag Cross-tab from templates.
    2. In Column section(far left) Drop object.
    3. In Rows Just right-click on it and Say Insert row above.
    4. on Newly inserted row, Drag object
    Note: object should contain only years only like 2009, 2010 etc...,
    5. In below row , just drag object (which has Jan10,Feb10 etc...,)
    6. Now Click on object and say Insert column right
    Here, use formuls to calculate Avg(2009) == See my earlier post
    7. Now on Object , the top one (row), apply Break.
    8. It will append two columns for you. One is exact size with Column and one more with small size(white background). Here you can remove small one.
    9. Now on newly added/appended column , write Avg(2010) formula.
    10. On object (top one== row), go to properties == Make Text and Back ground color to White and Width and height to 0(Zero- it will take 4 pixels== which is default)
    Now you can see exact report, what you are trying to achieve.
    I tried and tested. Hope it should work for you.
    Thank You!!
    Sent from iPhone

  • Fetch table value in BEX Web report using Javascripts, and assign condition

    Hi Gurus,
    I am currently using WAD 3.5. I need to change the web report to behave like below :-
    1. Default layout (Field A B C) with condition A & B activated.
    2. If the drilldown Field B and C is removed, leaving only field B alone in the report drilldown, deactivate condition A & B, Activate condition C & D.
    3. the above can be reversed where user drilldown field B & C into the layout, the condition A & B need to then be activated back.
    So I believe this can be done using Javascript. So my questions are below
    1.) How do i fetch table value for the navigationblock ? with navigationblock i am able to know what are the columns are in the drilldown (i will not display free characteristics, so ignore this part). how do i read the content of NAVIGATIONBLOCK_1 as shown in following code? using javascript.
    <P><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="NAVIGATIONBLOCK_1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_NAV_BLOCK"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="SHOW_FREE_CHARACTERISTICS" value=""/>
             <param name="SHOW_NAVIGATION_ICONS" value=""/>
             <param name="SHOW_FILTER_ICONS" value=""/>
             ITEM:            NAVIGATIONBLOCK_1
    </object></P>
    2.) After question 1.) is done, please advice how do i activate/deactivate the conditions? based on the fields found in above. Maybe I can use IF navigationblock_1 contain field A only, then set condition A & B , etc.
    <p><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="CONDITIONLIST_1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_CONDITION"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             ITEM:            CONDITIONLIST_1
    </object>
    I would appreciate if we can solve Question 1 first before proceed to 2.)
    Please advise. Thanks

    Hi JTi,
    what i have understood from your requirement is that you want to access the web item table_1 in javascript, you can get that as below:
    Add
    <span> 
    tag before your web item and set its id to table.
    <span id = "table">
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="GET_ITEM"/>
    <param name="NAME" value="TABLE_1"/>
    <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
    <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
    <param name="GENERATE_CAPTION" value=""/>
    <param name="CAPTION" value="jezel"/>
    <param name="ONLY_HIERARCHY_NAVIGATION" value="X"/>
    <param name="BLOCK_SIZE" value="0"/>
    <param name="SHOW_PAGING_AREA_BOTTOM" value=""/>
    ITEM: TABLE_1
    </span>
    In javascript access it as :
    var mytable = document.getElementsById("table");
    Hope this helps
    Thanks
    Dipika

  • Webi report using openDocument URL,the window does not close..

    Hello,
    While viewing a Web intelligence report using openDocument URL, the window does not close after clicking on Document -> Close option, and the report remains open.
    And if I close the browser, the session of the user in InfoVierw remains opened
    Thanks
    Environment
    Firefox/3.6.15
    Internet Explorer 8
    BusinessObjects Enterprise XI 3.1
    SAP Integratio KIT XI 3.1
    SAP BW 7.02

    Please check SAP note 1512960  and SAP note 1384496.
    http://service.sap.com/notes
    This behaviour is by design.
    Regards,
    Stratos

Maybe you are looking for

  • Stream audio from macbook pro to tv

    I'm using a MacBook Pro 8.2 and want to stream video to à Sony Bravia TV. I've connected them with à cable from the Thunderbolt port to the HDMI port on the TV. I get the video images but no sound. Is there à way to do this or do I need à separate au

  • Hidden button in jsp doesn't work

    Hi SDN. In jsp (jspdynpage) I would like to get to the server after showing a "Confirm" dialog box. I have tried with a hidden button like this: <%@ taglib uri="tagLib" prefix="hbj" %> <hbj:content id="myContext" >   <hbj:page title="PageTitle">    <

  • Getting warning message when using bulk option

    Hi I have a very strange problem. When I am trying to insert records into my table (Using Buld Loader Options) I am receiving warning says "ODBC data source <xxxxxxxx> warning message for operation <bcp_bind ScheduleID>: <[Microsoft][ODBC SQL ServerD

  • Updation of INPUT Request fields in PI sheet automatically from xMII system

    Hi, We are getting the consumption data(Material Weight and Batch) from xMII in SAP browser based PI sheet through Z function module as a parameters .These values needs to updated automatically in PPPI_INPUT-REQUEST fields (PPPI_MATERIAL_CONSUMED & P

  • How to make a physical copy of database when using ASM

    I used to make a physical copy of production database every night to create test environment. I have simply physically copied files, recreated control file, ... to create it. But on 10g I want to use ASM, is there some way to do physical copy of the