How to hide particular data on rows in ssrs reports ?

Hi,
i have requirement, in my ssrs report i have columns like sites,Accounts,LOBs and etc.,
i don't want to show some of the accounts in rows for some particular sites, please check the below image.here i don't want to show the ally finacial and fox tel accounts in the report, and even client  don't want to add accounts to the filters.
please help me with this issue,how to not show those particular accounts for particular sites in the report.
*here we are building reports on cube.
Thanks in advance,
Naveen 

I think I would create an internal multivalue parameter with the default values set to the accounts you wish to exclude... call it ExcludeAccts. Then use this parameter to filter out these accounts in the dataset, not the report. I am not an MDX guy but
in Transact-SQL the filter would be:
WHERE Account NOT IN (@ExcludeAccts)
This will return all accounts except for those explicitly excluded in your parameter. The reason I would use a parameter is maintenance. Once the appropriate equivalent statement is added to your MDX, you just need to update the parameter default values
to change the exclusions rather than editing the MDX each time.
"You will find a fortune, though it will not be the one you seek." -
Blind Seer, O Brother Where Art Thou
Please Mark posts as answers or helpful so that others may find the fortune they seek.

Similar Messages

  • How to hide columns in each page of SSRS report for grouped tablix

    Hello all,
    I have a requirement like when SSRS report (used row grouping)is exported to EXCEL
    1)  Each report page should be exported to a separate excel sheet
    2) Each sheet will have different columns (that is some columns will hide in sheet2, sheet3...)
    3) Eg: If a country report is there with details like country name, country code, currency code. Now each country details should export to separate excel sheet and sheet 1 should show Country Name and Country code; Sheet2 should show: Country Code, Currency
    Code; Sheet3 should show: Country Name, Country Code, Currency Code.
    I am done with point#1 above: Each report page should be exported to a separate excel sheet. Can some one help on point#2:Each sheet will have different columns (that is some columns will hide in sheet2, sheet3...)
    Thanks,
    Paandey : Dont forget to mark it as Answered if found useful

    Hi paandey,
    According to your description, there are three columns named country name, country code, currency code in the report. When export the report to excel, you want to show Country Name and Country code in sheet1, Country Code and Currency Code in sheet2, and
    show all of the three columns in sheet3.
    In Reporting Services, we couldn’t achieve your goal by setting visibility of columns in one tablix. As a workaround, we can use three tablix in the report, then add page break to the tablix. For detail information, please refer to the following steps:
     1. Since you have created a tablix with three column, copy and paste it to the report twice.
     2. Right-click column handle of Currency code in tablix1, click Column Visibility.
     3. Check Show or hide based on an expression, click (fx) button, then type the expression:
    =(Globals!RenderFormat.Name = “EXCELOPENXML”)
     4. Right-click column handle of Country name in tablix2, set its visibility like step3 above.
     5. Select and right-click tablix2, click Tablix Properties.
     6. In General pane, in Page Break Options section, check Add a page break before check box.
     7. Click Visibility in left pane, check Show or hide based on an expression, click (fx) button, then type the expression:
    =(Globals!RenderFormat.Name <> “EXCELOPENXML”)
     8. Select and right-click tablix3, add page break to it like step6 above.
     9. Set its visibility like step7 above.
    The following screenshot is for your reference:
    For more information, please refer to the following document:
    http://blogs.msdn.com/b/robertbruckner/archive/2010/05/16/report-design-naming-excel-worksheets.aspx
    If you have any more questions, please feel free to ask.
    Best Regards,
    Wendy Fu

  • 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 transpose the data records (rows) to column(lists) using apd

    Hi,
      how to transpose the data records (rows) to column (lists) using apd  in sap bw.
    I do not want to use abap routine.only use the transpose rows to list  transformation .
    Pls provide the step by step procedure .
    thanks,
    Nimai

    Save youe file to transpose as a csv and in the header row of your file for the columns you want to transpose you need to put some soer of a tag before the column name (ie your colum header was for a period budget will be something lie 2011001:ZFIBDD)
    1. You will need to create a new apd process (rsanwb)
    2. Insert a "Read from Data File" data source object and map it file (,csv)
    3. insert a transpose object into your apd process (middle row 4th one over in the transformations section)
    4. under the definition tab in the transformation object select all the columns that are to be transposed into rows and move them to the transformed area, the grouping fields section should contain the rows that you want to now be columns
    5.under the transformation tab enter in the seperator you selected  under the Field Name/Infoobject area (ie. ZFIBDD)
    6. under the details tab  you need to enter in all the fields to be transformed and tner the transposition field (ie ZFIBDD)
    7. Then you can insert a set of transformations and a DSO and link the newly transposed fields into that.
    hope that helps

  • How to hide or make the row invisible in RTF report?

    Hi ,
    I am setting a flag = 'Y' in one condition as i want to display records only if flag = 'Y'. It is not displaying data in case flag != 'Y'.But it is displaying empty row in report for the record which does not have flag = ' Y'. How to hide those empty rows?
    See following code for example:
    <?for-each: LIST_G_STORE_ID/G_STORE_ID?>
    <?xdofx: if STORE_ID = '' then '-' else STORE_ID?>
    <?for-each: LIST_G_TRANSACTION/G_TRANSACTION?>
    <?for-each: Q1?><?if: PLAN_CODE = 'PLN'?><?xdoxslt:set_variable($_XDOCTX,'flag', 'Y')?><?end if?><?end for-each?>
    <?if: xdoxslt: get_variable($_XDOCTX,'flag') = 'Y'?><?xdofx: if TRN_DATE = '' then '-' else TRN_DATE?><?end if?>
    <?for-each@inlines:LIST_Q1/Q1?>
    <?if: xdoxslt: get_variable($_XDOCTX,'flag') = 'Y'?><?xdofx: if INVC_NUM= '' then '-' else INVC_NUM?><?end if?>
    <?for-each@inlines:LIST_Q1/Q1?><?if: xdoxslt: get_variable($_XDOCTX,'flag') = 'Y'?><?xdofx: if substr(PLAN_CODE,1,3) != 'PLN' then PRODUCT_CODE?><?xdofx: if PLAN_CODE!= 'PLN' then ','?><?end if?><?end for-each?>
    <?end for-each?><?xdoxslt:set_variable($_XDOCTX,'flag','N')?>
    <?end for-each?>
    <?end for-each?>
    please advice or let me know if more detail is needed.
    Thanks in Advance!!

    <?for-each:LIST_G_STORE_ID/G_STORE_ID [PLAN_CODE ='PLN' ]?> will only show the rows where that value of xml field PLAN_CODE is equal to 'PLN'.
    Hope this helps
    Domnic
    Edited by: Domnic_JDE_BIP on Apr 12, 2010 5:47 PM

  • Hide particular data in the tasks list in performance management

    Hi,
    I'm trying to hide transfer scorecard task from task list in performance management page in Manager self service.
    I tried by extending that view object and I added where clause additionally to hide that row. But i got sqlexception error.
    So i revert back the vo extension and i tried by extending the controller and added where clause after
    super.processRequest(oapagecontext, webbean);
    <added whereclause to hide particular record>
    but still I'm getting that sqlexception error.
    Any suggestions please.
    Thanks in advance,
    SAN

    You can do that by simply sorting the alv display by <b>object type</b>, all the data after that will be group according to its object type and the object type will only be printed once.
    You can make a varian inthe ALV and call it on your code, or insert the code with this (if you use function module for creating ALV):
    information for sort and subtotals
    types: begin of slis_sortinfo_alv,
           spos(2) type n,
             spos like alvdynp-sortpos,
             fieldname type slis_fieldname,
             tabname type slis_fieldname,
           up(1) type c,
           down(1) type c,
           group(2) type c,
           subtot(1) type c,
             up like alvdynp-sortup,
             down like alvdynp-sortdown,
             group like alvdynp-grouplevel,
             subtot like alvdynp-subtotals,
             comp(1) type c,
             expa(1) type c,
             obligatory(1) type c,
           end of slis_sortinfo_alv.
    DATA: l_v_sort TYPE slis_sortinfo_alv.
      REFRESH: ta_fieldcat, ta_sort.
      v_layout-zebra = 'X'.
      v_layout-colwidth_optimize = 'X'.
      l_v_sort-fieldname = 'OBJECTTYPE'.
      l_v_sort-spos      = 1.
      l_v_sort-up        = 'X'.
      l_v_sort-subtot    = 'X'.
      APPEND l_v_sort TO ta_sort.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = v_repid
          is_layout          = v_layout
          it_fieldcat        = ta_fieldcat[]
          <b>it_sort            = ta_sort[]</b>
          it_events          = ta_events[]
          is_sel_hide        = wa_selcrit
          i_save             = 'A'
          is_variant         = spec_layout
        TABLES
          t_outtab           = ft_output
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
      IF sy-subrc NE 0.
        EXIT.
      ENDIF.
    Regards,
    -don-

  • How can we show data in rows when it is in Columns........

    I have strucked with a simple but a complex problem.
    I have a Report with data in vertical rows..need of the hour is how can we show that data into column structure.
    here is the table sample which i have in Database..
    Location      chrg_type    Effective_date
    xxxxxxx        xxxx          xx-xx
    thhis is the structure in effective date we have several months in it in a single column i want show the effective date or effective month in various columns instead of a single column.
    my required table is....
                                Effective_date     Effective_date
    Location      chrg_type     xx-xx              xx-xx
    xxxxxxx        xxxx          xx-xx
    any tough heads?????

    Hi Sunil,
    Your 1st problem is that you are going to need one more field to accomplish you goal. What type of data do want under your new date columns?
    Anyway, once you have that you need to move on to how to move the data out into columns based on date.
    Try something like this.
    0_Date = IF DATEPART('m',{tbl.Effective_date}) = DATEPART('m',CurrentDate) AND
    DATEPART('yyyy',{tbl.Effective_date}) = DATEPART('yyyy',CurrentDate)
    THEN {tbl.DataField}
    1_Date = IF DATEPART('m',{tbl.Effective_date}) = DATEPART('m',DATEADD('m', -1, CurrentDate)) AND
    DATEPART('yyyy',{tbl.Effective_date}) = DATEPART('yyyy',DATEADD('m', -1, CurrentDate))
    THEN {tbl.DataField}
    2_Date = IF DATEPART('m',{tbl.Effective_date}) = DATEPART('m',DATEADD('m', -2, CurrentDate)) AND
    DATEPART('yyyy',{tbl.Effective_date}) = DATEPART('yyyy',DATEADD('m', -2, CurrentDate))
    THEN {tbl.DataField}
    ... Repeat this process until you have all of the columns you need, following this format.
    Hope this works for you,
    Jason

  • How do get particular date of total time

    this is our java code
        private static PreparedStatement preparedStatement;
        private static ResultSet rs;
        public static void main(String[] args) throws NamingException, SQLException
            int objectId;
            int clientId;
             DateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
            // String gpstime = null;
             PreparedStatement preparedStatement = null;
             Connection conn=null;
             long mill;
             long diffSeconds=0;
             long diffMinutes=0;
             try
              Class.forName("com.mysql.jdbc.Driver");
            Connection conn1=DriverManager.getConnection("jdbc:mysql://108.108.8.4:3306/navl?","root", "ajmani@%");
            preparedStatement = conn1.prepareStatement("select gpstime from xydata a inner join fm4features f on a.ID=f.ID where a.objectId= '18'  AND a.clientId = '1' AND a.gpstime > '2010-05-11 00:00:00'  AND a.gpstime < '2010-05-13 23:59:59' AND f.DataId='1' AND f.value = '1'");
            rs = preparedStatement.executeQuery();
            int a = 0;
            int b=0;
             int b1=0;
             int b2=0;
             int x=0;
             float secs = 0;
            Set<String> dates = new HashSet<String>();
            ArrayList<Integer> l=new ArrayList<Integer>();
              Timestamp t1 = null;
              Timestamp t2 = null;
              int count  = 0;
              while ( rs.next() )
                    String gpstime = rs.getString("GpsTime");
                 if (dates.add(gpstime) )
                     //System.out.println(rs.getTimestamp(1));
                     t2 =   rs.getTimestamp(1);
                     count++;
                   if (t1 == null )
                       int nano = t2.getSeconds();
                         System.out.println(nano);
                       System.out.println(nano);
                       System.out.println(t2);
                       System.out.println(count);
                  else
                        mill= (t1.getTime() - t2.getTime())/-1;
                        //System.out.println(mill);
                        diffSeconds = mill / 1000;
                        diffMinutes = mill / (60 * 1000);
                        long diffHours = mill / (60 * 60 * 1000);
                        long diffDays = mill / (24 * 60 * 60 * 1000);
                        //System.out.println("\nThe Date Different");
                        //System.out.println("Time in milliseconds: " + mill+ " milliseconds.");
                        System.out.println("GPSTime " +gpstime+ " Time in seconds: " + diffSeconds+ " seconds.");
                        //System.out.println("Time in minutes: " + diffMinutes+ " minutes.");
                        //System.out.println("Time in hours: " + diffHours+ " hours.");
                        //System.out.println("Time in days: " + diffDays+ " days.");
                  t1 = t2;
                //System.out.println("Time in minutes: " + diffSeconds+ " seconds.");
                if(diffSeconds < 80)
                  b=(int) diffSeconds;
                  System.out.println(b);
                  l.add(b);
                 else if(diffSeconds > 80)
                    b2=(int)diffSeconds%60;
                    System.out.println(b2);
                    l.add(b2);
                 a++;
              for (int i=0; i<l.size();)
                  secs+=l.get(i);
                  i++;
                 System.out.println(secs);
                 int hours = (int) (secs / 3600),
                 remainder = (int) (secs % 3600),
                 minutes = remainder / 60,
                 seconds = remainder % 60;
                    String disHour = (hours < 10 ? "0" : "") + hours,
                    disMinu = (minutes < 10 ? "0" : "") + minutes ,
                    disSec = (seconds < 10 ? "0" : "") + seconds ;
                    if (count < 2)
                        int se = Integer.parseInt(disSec);
                        String min = (t2.getSeconds() < 10 ? "0" : "") + t2.getSeconds();
                        System.out.println("00" + ":" +  "00" + ":" + min + " hh:mm:ss");
                    System.out.println(disHour +":"+ disMinu+":"+disSec+ " hh:mm:ss");
             }catch(Throwable th)
               Logger.getLogger(testing1.class.getName()).log(Level.SEVERE, null, th);
             }finally
               if(preparedStatement!=null)
                   preparedStatement.close();
               if(conn!=null)
                   conn.close();
    }this is output
    GPSTime 2010-05-13 20:16:13.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:17:10.0 Time in seconds: 57 seconds.
    57
    GPSTime 2010-05-13 20:18:10.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:19:10.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:20:10.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:21:11.0 Time in seconds: 61 seconds.
    61
    GPSTime 2010-05-13 20:22:11.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:23:11.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:24:11.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:25:11.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:26:11.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:27:11.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:28:12.0 Time in seconds: 61 seconds.
    61
    GPSTime 2010-05-13 20:29:12.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:30:12.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:31:12.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:32:12.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:37:46.0 Time in seconds: 334 seconds.
    34
    GPSTime 2010-05-13 20:38:46.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 20:47:22.0 Time in seconds: 516 seconds.
    36
    GPSTime 2010-05-13 21:12:54.0 Time in seconds: 1532 seconds.
    32
    GPSTime 2010-05-13 21:13:54.0 Time in seconds: 60 seconds.
    60
    GPSTime 2010-05-13 21:14:55.0 Time in seconds: 61 seconds.
    61
    GPSTime 2010-05-13 21:37:08.0 Time in seconds: 1333 seconds.
    13
    GPSTime 2010-05-13 21:38:09.0 Time in seconds: 61 seconds.
    61
    31169.0
    08:39:29 hh:mm:ssi am getting the total time for all date
    i need only the particular date of total time
    2010-05-11-->total time
    2010-05-12->Total time
    2010-05-13->total time
    how do i change the given code to get the above output
    please help me anybody having idea

    Bakthavachalam wrote:
    i am getting the total time for all date
    i need only the particular date of total timeIn which case your while(rs.next()) loop needs to process 1 day at a time and print its results when the date changes (assuming your Timestamps come in in date sequence; if not, you'll have to sort them first).
    I suspect you'll also have to decide what you want to do with
    GPSTime 2010-05-13 23:59:59.0
    followed by
    GPSTime 2010-05-14 00:00:01.0
    Do you still need to calculate the difference? And if so, which "date" does it go in, or is it split?
    Your logic seems incredibly convoluted for such a simple task. What exactly are you trying to do?
    Winston
    BTW: TimeStamp.getSeconds() is deprecated, which means you use it at your peril.

  • Listview Report: how to hide "no data found" message

    Good evening everybody,
    I use the "jquery mobile theme 50" and the "listview report" of it. The report always shows "no data found"-entry  if the source query doesn't return any row.
    Is there a way to suppress this entry in Apex? I can hide "no data found"-entry in html using CSS, but I don't want to have it in the html at all.
    Has someone an idea?
    Thanks a lot!
    Jewgenij

    Thank you very much for the answer!
    Unfortunately it works only for desktop themes but doesn't for jquery mobile Theme 50 :-)
    The help text for the listview's (jquery mobile Theme 50) property "No Data Found Message" is
    Defines the text message that displays when the query does not return any rows. If no value is specified the text of the system message APEX.REGION.NO_DATA_FOUND_MESSAGE is used.
    BR
    JeMo

  • How can I filter data by row contents? Similar to Excel's filter feature.

    I would like to view only the rows in which the data in column x is some particular value.
    For instance, I'd like to view (and create a group of channels) containing only data from rows where the text in column 2 is MC1.
    ... guess I can't put a picture inline...
    See attached for sample data.
    Thanks.
    Attachments:
    MyData.PNG ‏40 KB

    Hi ebloohm,
    This script will break out your loaded data rows by the "Station" channel values.  let me know if you want to filter out the "1;2" suffix or leave it differentiated.  If you want to do the same sort of thing not within a single file but across multiple files, then you'd do better to change your DataPlugin to enable the DataFinder to pull only the desired rows from each file.
    OPTION EXPLICIT
    Dim i, j, iMax, jMax, RawGroup, Channel, IdChName, OrderChName, Msg, LastTime
    Dim IdChDict, IdChannel, OrderChannel, RowDict, RowKeys, RowItems, DataChDict
    IdChName = "Station"
    OrderChName = "" ' "Time" or ""
    Set RawGroup = Data.Root.ChannelGroups(GroupCount)
    On Error Resume Next
    Set OrderChannel = RawGroup.Channels(OrderChName)
    On Error Goto 0
    Set IdChDict = CreateObject("Scripting.Dictionary")
    Set IdChannel = RawGroup.Channels.Add(IdChName, DataTypeString)
    IdChDict.Add UCase(IdChannel.Name), IdChannel
    Set Channel = RawGroup.Channels(IdChName) : IdChDict.Add UCase(Channel.Name), Channel
    jMax = RawGroup.Channels.Count-1
    Set DataChDict = CreateObject("Scripting.Dictionary")
    IF IsObject(OrderChannel) THEN
    DataChDict.Add UCase(OrderChannel.Name), OrderChannel
    END IF
    FOR j = 1 TO jMax
    Set Channel = RawGroup.Channels(j)
    IF NOT IdChDict.Exists(UCase(Channel.Name)) AND UCase(Channel.Name) <> UCase(OrderChName) THEN
    DataChDict.Add UCase(Channel.Name), Channel
    END IF
    NEXT ' j
    Msg = "Enumerating all the Groups..."
    Call MsgBoxDisp(Msg, "MB_NOBUTTON", "MsgTypeNote", 0, 0, 1)
    Call CreateIdChannel(IdChDict)
    Set RowDict = EnumerateIdRows(IdChannel)
    RowKeys = RowDict.Keys
    RowItems = RowDict.Items
    iMax = UBound(RowKeys)
    LastTime = Timer
    FOR i = 0 TO iMax
    IF Timer > LastTime+1 OR Timer < LastTime THEN
    Msg = "Sort Extracting Group " & i+1 & " of " & iMax+1
    Call MsgBoxDisp(Msg, "MB_NOBUTTON", "MsgTypeNote", 0, 0, 1)
    LastTime = Timer
    END IF
    Call ExtractIdGroup(RowKeys(i), RowItems(i), IdChDict, DataChDict)
    NEXT ' i
    Call RawGroup.Channels.Remove(IdChannel.Name)
    Call MsgBoxCancel
    Sub TextToNumeric(Group, ChanName, ChanType, Factor, Offset)
    Dim RawChannel, NewChannel
    Set RawChannel = Group.Channels(ChanName)
    Set NewChannel = Group.Channels.Add("New|" & ChanName, ChanType)
    L1 = RawChannel.Properties("Number").Value
    L2 = NewChannel.Properties("Number").Value
    ChnLength(L2) = ChnLength(L1)
    Call ChnCalculate("Ch(L2) = CDbl(Ch(L1))")
    IF Factor <> 1 OR Offset <> 0 THEN
    Call ChnLinScale(NewChannel, NewChannel, Factor, Offset)
    END IF
    Call ChnMove(NewChannel, RawGroup.Properties("Index").Value, RawChannel.Properties("GroupIndex").Value)
    Call RawGroup.Channels.Remove(RawChannel.Name)
    NewChannel.Name = Mid(NewChannel.Name, 5)
    End Sub ' TextToNumeric()
    Sub CreateIdChannel(IdChDict)
    Dim j, jMax, RawGroup, ChListStr, IdChannels, IdChannel
    IdChannels = IdChDict.Items
    Set IdChannel = IdChannels(0)
    Set RawGroup = IdChannel.ChannelGroup
    Call RawGroup.Activate
    ChListStr = ""
    jMax = UBound(IdChannels)
    FOR j = 1 TO jMax
    ChListStr = ChListStr & "Ch(" & IdChannels(j).Properties("Number").Value & ") & ""."" & "
    NEXT ' IdCh
    ChListStr = Left(ChListStr, Len(ChListStr)-9)
    Call ChnCalculate("Ch(" & IdChannel.Properties("Number").Value & ") = " & ChListStr)
    End Sub ' CreateIdChannel()
    Function EnumerateIdRows(IdChannel)
    Dim j, jMax, RawGroup, RawChannel, RawChnStr, RowDict, StartRow, StopRow, RowMax
    Set RawGroup = IdChannel.ChannelGroup
    Call RawGroup.Activate
    RawChnStr = ""
    jMax = RawGroup.Channels.Count-1
    FOR j = 1 TO jMax
    Set RawChannel = RawGroup.Channels(j)
    RawChnStr = ChnStrAdd(RawChnStr, RawChannel.Properties("Number").Value)
    NEXT ' j
    Call ChnMultipleSort(IdChannel, RawChnStr, 0, 1)
    L3 = IdChannel.Properties("Number").Value
    Set RowDict = CreateObject("Scripting.Dictionary")
    StartRow = 1
    StopRow = 1
    RowMax = ChnLength(L3)
    Do While StopRow <= RowMax
    T1 = ChT(StartRow, L3)
    StopRow = ChnFind("UCase(Ch(L3)) <> UCase(T1)", StartRow+1)
    IF StopRow = 0 THEN StopRow = CLng(RowMax+1)
    RowDict.Add T1, StartRow & "|" & CLng(StopRow-StartRow)
    StartRow = CLng(StopRow)
    Loop ' Until End Of Channel L3
    Set EnumerateIdRows = RowDict
    End Function ' EnumerateIdRows()
    Function ExtractIdGroup(RowKey, RowItem, IdChDict, DataChDict)
    Dim j, jMax, RawGroup, RawChannel, NewGroup, NewChannel, RawChnStr, NewChnStr, DataChannels, Cols
    Dim StartRow, RowCount, NewDataType, NewDataDisp, NewOrderCh, IdChannels, IdChannel, OrderChannel
    Cols = Split("|" & RowItem, "|")
    IF UBound(Cols) < 2 THEN Exit Function
    StartRow = CLng(Cols(1))
    RowCount = CLng(Cols(2))
    IF Data.Root.ChannelGroups.Exists(RowKey) THEN Call Data.Root.ChannelGroups.Remove(RowKey)
    Set NewGroup = Data.Root.ChannelGroups.Add(RowKey)
    Call NewGroup.Activate
    IdChannels = IdChDict.Items
    jMax = UBound(IdChannels)
    FOR j = 1 TO jMax
    Set IdChannel = IdChannels(j)
    NewGroup.Properties.Add IdChannel.Name, ChV(StartRow, IdChannel.Properties("Number").Value)
    NEXT ' j
    RawChnStr = ""
    NewChnStr = ""
    DataChannels = DataChDict.Items
    jMax = UBound(DataChannels)
    FOR j = 0 TO jMax
    Set RawChannel = DataChannels(j)
    Set NewChannel = NewGroup.Channels.Add(RawChannel.Name, RawChannel.DataType)
    ChnLength(NewChannel) = RowCount
    RawChnStr = ChnStrAdd(RawChnStr, RawChannel.Properties("Number").Value)
    NewChnStr = ChnStrAdd(NewChnStr, NewChannel.Properties("Number").Value)
    NEXT ' j
    Call DataBlCopy(RawChnStr, StartRow, RowCount, NewChnStr, 1)
    NewChannel = ""
    On Error Resume Next
    Set NewChannel = NewGroup.Channels("Value")
    On Error Goto 0
    IF OrderChName <> "" THEN
    NewChnStr = ""
    jMax = UBound(DataChannels)
    Set OrderChannel = NewGroup.Channels(DataChannels(0).Name)
    FOR j = 1 TO jMax
    Set NewChannel = NewGroup.Channels(DataChannels(j).Name)
    NewChnStr = ChnStrAdd(NewChnStr, NewChannel.Properties("Number").Value)
    NEXT ' j
    Call ChnMultipleSort(OrderChannel, NewChnStr, 0, 1)
    END IF ' can order the rows of each extracted Group
    Set ExtractIdGroup = NewGroup
    End Function ' ExtractIdGroup()
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • How to display the data in row wise in smartform

    Hi,
        I have to make a modification a smartform of poprinting and i want to display the row wise . At present it is displaying the  
        column wise. Actually there is a text which i want to display the data row wise.
        It is possible to display the data in row wise of the text .
    Edited by: nav009 on Oct 8, 2009 10:39 AM

    Hello ,
    I  assume that your requiremen is related to smartform.the below is the solution i suggest.
    As per my understanding of your requirement ,It's clear that as of now there is some description field which is also getting displayed along with other PO fields.
    However you would like to display the description field in a new line since the length of this field is longer than other fields as a result the data is getting scattered .
    Therefore one better option could be: since the whole data from PO would be in a loop you can display all other fields in one line type of the table as per the intial requirement and you display the description line alone in a new line type wth the desired length so that data would not be scattered and no data loss would happen.
    I assume you are aware of creating of line types for table.
    Thanks
    M.Naveen.

  • How to hide particular block in selection screen

    Hi,
    I am having different blocks in a selection screen.
    How to show the blocks dynamically according to a radio button selection.
    means how to Hide/show entire block.
    Thanks,
    anandan

    Hi Anandan,
    Try this program.
    REPORT  zvk_collect.
    SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME NO INTERVALS.
    PARAMETER : p_plant RADIOBUTTON GROUP g1 USER-COMMAND radio DEFAULT 'X',
                      p_mrp   RADIOBUTTON GROUP g1.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME NO INTERVALS.
    PARAMETER : p_werks TYPE marc-werks MODIF ID sp1.
    SELECTION-SCREEN END OF BLOCK b2.
    *SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME NO INTERVALS.
    *PARAMETER : p_berid TYPE smdma-berid MODIF ID sp2.
    *SELECTION-SCREEN END OF BLOCK b3.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        CHECK screen-group1 = 'SP1' OR
              screen-group1 = 'SP2'.
        IF p_plant = 'X'.
          IF screen-group1 = 'SP2'.
            screen-input = 0.
            screen-active = 0.
            screen-required = 1.
            MODIFY SCREEN.
          ENDIF.
        ELSE.
          IF screen-group1 = 'SP1'.
            screen-input = 0.
            screen-active = 0.
            screen-required = 1.
            MODIFY SCREEN.
          ENDIF.
        ENDIF.
      ENDLOOP.
    Execute with Comments ON and Without Comments and See the difference
    Reward if found helpful

  • How to hide a data column in a planning Layout

    Hi experts,
    we use BW-BPS and I need some datacolums in planning layout, which should be calculated.
    Rest Volume = Forecast - Actual
    The customer wants to see only the "Rest Volume".
    But i need for calculation Forecast and Actual values, which are available in Infocube.
    Do you know how to hide some colums in planning layout ?
    thanks a lot.

    Write a one line macro in SAPAfterDataPut sub module and check the option in the tab MS Excel Settings in the last screen of the layout.
    Sample macro:
    suppose the column you want to hide is 4.
    columns(4).hidden = true

  • How to hide the data in any object(keyfiguer)

    hi expects,
           What is the procedure to hide the data under an object. In my case i supposed to hide the data which is under Tax column, I don't want to be viewed by others. pl. help me in this.
    thanks
    vijay

    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 Hide Live Data Page

    While accessing a Report, i am getting actual report as well as Live data page. For certain reports(Static data), i need to hide the Live Data page.
    Is it possible to suppress it.

    hello- In the current version, you cannot disable or hide the little livedata window. Engr is aware of this, and we plan to hide this in next version.

Maybe you are looking for

  • PDF Toolbar in Safari?

    When opening a pdf file in Safari I used to see a toolbar which allowed me to print, save, resize etc the pdf. This seems to have disappeared, I am using now Leopard and Safari 5.1 Does anyone know how I can get the toolbar back?? Tony

  • Repairing permissions

    hi i just upgraded to tiger, about a week ago. and i have a little bit of a problem,or i hope its not a problem. everything seems fine with repair permissions, but i noticed when i used macaroni the other day that i had the message ./users/shared/sc

  • How to reference BPMN process from a different Composite

    I have one "master" composite that defines a BPMN process. This process takes the input and, based on that input, will direct the workflow to the required BPMN process. There will be several BPMN process that can be referred to, and each one is creat

  • GOS: create attachment sent by PI while creating Service Request Notificati

    Hi Friends, I am developing a custom FM which creates Service Request Notification(QMEL).  This FM will be called by PI with data using web services and gets back the results after execution of function module. PI receives the attachments also from t

  • Dump with Message "ASSIGN_CAST_WRONG_LENGTH"

    Hi, I have this code where in i am trying to get the Changes log to a report DATA : OFFSET TYPE C. FIELD-SYMBOLS <F_NEW> TYPE ANY. FIELD-SYMBOLS <F_OLD> TYPE ANY. ASSIGN YPLABMSR+OFFSET(IT_TABINFO-INTLEN)   TO <F_NEW> TYPE IT_TABINFO-INTTYPE. ASSIGN