IIR Filter without using a loopm t

I'm trying to apply an IIR filter equation to a large array and for this reason I don't want to use a FOR loop - because it takes forever to get through the array. Is is possible to do this using array functions? I have done similar things for FIR filters but it's the use of previous output values that has me stumped.
Can anybody help?
Thanks,
Ken

Ken,
There are two VIs that should be available to help with this.  Look for IIR Cascade Filter.vi and IIR Filter.vi.  Both implement the filter with the coefficients being inputs.  The difference is in the layout of the coefficients.  IIR Filter.vi uses direct form, IIR Cascade Filter.vi uses cascaded 2nd or 4th order stages.  The layout for both structures can be found in the online help.
-Jim

Similar Messages

  • Can I using Oracle Password filter without using DIP?

    Hi expert,
    Can I using Oracle Password filter without using DIP?
    I installed OID 1.1.1.5.0 and AD MS 2008 + Password Filter without other configuration about DIP.
    While Install password filter, I use 'sAMAccountName' as Source Attribute (Microsoft Active Directory) and 'orclSAMAccountName' as Target Attribute (Oracle Internet Directory) instead of using objectGUID.
    My Scenario test
    1. setup password filter follow by 20 Deploying the Oracle Password Filter for Microsoft Active Directory
    2. create user in AD
    3. create user in OID
    4. reset password in AD
    I found that it can't send password from AD to OID.
    See log below
    OID Base DN is ---->
    dc=ksso,dc=com
    About to retrive connection
    Got the Connection
    Inside Add Parent
    About to add node
    Node Added
    retval is NOT success
    Out of Add Parent
    Domain String -->
    KSSO.LOCAL
    User Domain String -->
    [email protected]
    Inside OID Search User sgslodac
    About to fire the search request
    TEST BASE -->
    dc=ksso,dc=com
    Password Update Failed. No record to update
    Search did not reterive any data
    Writing data into persistence store
    INSIDE IF PERSISTENT STORE
    Inside sgsladds::sgslperwriteData YOOOO
    Inside sgsladac c-tor
    AD Host
    10.20.5.60
    AD Port
    389
    AD Base DN
    DC=KSSO,DC=LOCAL
    Only dataattribute
    Got Registry enteries
    contact
    description
    Got Entiredn
    OU=orclpwfKSSO.LOCAL,DC=KSSO,DC=LOCAL
    Encrypted record already exists in Datastore
    Already Exists
    Encrypted record already exists in Datastore
    Already Exists
    Inside sgsladdsSearchUser
    Firing Search Request
    AD search for a user objectGUID is successfull
    Count success
    Search result fetched
    0:437 7 monsoft314 420 AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAlfdA8eazxkaNLy8BEBQHKgAAAAAmAAAAUABhAHMAcwB3AG8AcgBkACAARQBuAGMAcgBwAHQAaQBvAG4AAAAQZgAAAAEAACAAAAALknXvaho0gPrrP34AQqdBSMLHHcVupTrFuuN0lQdV0QAAAAAOgAAAAAIAACAAAAAKxX3FGNQ/lJBjETm3pRiveLFRiiCwxbrf3UNlQtk5C0AAAAC66Ip1jAzC6U1gTVP9LHETW1MwEfzxSXHcCny9wy7pFyDlLtmpnP1nGYUegAMxvJTu5yGmciBMmfZAgS1Oan3PQAAAAETSu3JcNAkdSqm2E1zxSWxClWrBid/eLHpbasjHo5cLgkGjzI6+UWNHzhfOf86wJ0uuex+++0ttFRzzMEf9atE=
    Inside sgsladds::sgsladdsgetData NEW Look
    0:437 7 monsoft314 420 AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAlfdA8eazxkaNLy8BEBQHKgAAAAAmAAAAUABhAHMAcwB3AG8AcgBkACAARQBuAGMAcgBwAHQAaQBvAG4AAAAQZgAAAAEAACAAAAALknXvaho0gPrrP34AQqdBSMLHHcVupTrFuuN0lQdV0QAAAAAOgAAAAAIAACAAAAAKxX3FGNQ/lJBjETm3pRiveLFRiiCwxbrf3UNlQtk5C0AAAAC66Ip1jAzC6U1gTVP9LHETW1MwEfzxSXHcCny9wy7pFyDlLtmpnP1nGYUegAMxvJTu5yGmciBMmfZAgS1Oan3PQAAAAETSu3JcNAkdSqm2E1zxSWxClWrBid/eLHpbasjHo5cLgkGjzI6+UWNHzhfOf86wJ0uuex+++0ttFRzzMEf9atE=
    Encoded Data Extracted in sgsladdsgetData
    437 7 monsoft314 420 AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAlfdA8eazxkaNLy8BEBQHKgAAAAAmAAAAUABhAHMAcwB3AG8AcgBkACAARQBuAGMAcgBwAHQAaQBvAG4AAAAQZgAAAAEAACAAAAALknXvaho0gPrrP34AQqdBSMLHHcVupTrFuuN0lQdV0QAAAAAOgAAAAAIAACAAAAAKxX3FGNQ/lJBjETm3pRiveLFRiiCwxbrf3UNlQtk5C0AAAAC66Ip1jAzC6U1gTVP9LHETW1MwEfzxSXHcCny9wy7pFyDlLtmpnP1nGYUegAMxvJTu5yGmciBMmfZAgS1Oan3PQAAAAETSu3JcNAkdSqm2E1zxSWxClWrBid/eLHpbasjHo5cLgkGjzI6+UWNHzhfOf86wJ0uuex+++0ttFRzzMEf9atE=
    Moving out sgsladdsgetData
    Encoded Data Extracted
    437 7 monsoft314 420 AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAlfdA8eazxkaNLy8BEBQHKgAAAAAmAAAAUABhAHMAcwB3AG8AcgBkACAARQBuAGMAcgBwAHQAaQBvAG4AAAAQZgAAAAEAACAAAAALknXvaho0gPrrP34AQqdBSMLHHcVupTrFuuN0lQdV0QAAAAAOgAAAAAIAACAAAAAKxX3FGNQ/lJBjETm3pRiveLFRiiCwxbrf3UNlQtk5C0AAAAC66Ip1jAzC6U1gTVP9LHETW1MwEfzxSXHcCny9wy7pFyDlLtmpnP1nGYUegAMxvJTu5yGmciBMmfZAgS1Oan3PQAAAAETSu3JcNAkdSqm2E1zxSWxClWrBid/eLHpbasjHo5cLgkGjzI6+UWNHzhfOf86wJ0uuex+++0ttFRzzMEf9atE=
    Incrementing the MAX_RETRY LIMIT:
    1
    numretries ====== 
    1
    Inside sgslcodsupdateChild
    1:437 7 monsoft314 420 AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAlfdA8eazxkaNLy8BEBQHKgAAAAAmAAAAUABhAHMAcwB3AG8AcgBkACAARQBuAGMAcgBwAHQAaQBvAG4AAAAQZgAAAAEAACAAAAALknXvaho0gPrrP34AQqdBSMLHHcVupTrFuuN0lQdV0QAAAAAOgAAAAAIAACAAAAAKxX3FGNQ/lJBjETm3pRiveLFRiiCwxbrf3UNlQtk5C0AAAAC66Ip1jAzC6U1gTVP9LHETW1MwEfzxSXHcCny9wy7pFyDlLtmpnP1nGYUegAMxvJTu5yGmciBMmfZAgS1Oan3PQAAAAETSu3JcNAkdSqm2E1zxSWxClWrBid/eLHpbasjHo5cLgkGjzI6+UWNHzhfOf86wJ0uuex+++0ttFRzzMEf9atE=
    Encrypted record data updated successfully
    Inside sgsladac destructor
    Inside sgslodac destructor
    Inside sgsladac destructor
    Password updation failed in child process
    Moving out sgslpascsynchDataStoreWithOID
    About to UNBIND datastore after processing the Records
    Deleting datastore object pointer
    ***********Inside sgslldpcopenLDAPConnection****************
    REG BASE Key === 
    SYSTEM\CurrentControlSet\Control\Lsa\orclidmpwf\OIDConfig
    OID Host Key
    OIDHost
    OID Host Value ====
    Oracle.OID
    am I missing something?
    or this scenario can't work without DIP?
    Thank you
    Noraset,

    Hi,
    As yingkuan had provided nice link for understanding...
    Why you od this doubt... Since, When you are holding two different Database, then you can carry out stream replicaiton, the bottom line is on the on two different DB's.. .still if they are on same host.. !!
    - Pavan Kumar N

  • How can I create a Glow without using a filter

    I am creating an application for iPhone4, and one of the problems I am having is the lack of filter support.
    I am trying to create a "stroke" around some bitmaps... an example would be a text field that is white on a bright background - I would put a black stroke around it to contract it... there are other needs as well, but this is an example.
    Before, I would just put a glow filter on the text field, tweak the settings and it looked good and did exactly what I wanted.
    But iPhone4 high resolution with gpu acceleration don't support filters - and I can't change those requirements... so any and all bitmap filters are out.
    Does anyone know of a way I can create a glow filter effect without using filters that would not be a major preformance hit for fps and memory?

    Have you tried using tweenMax and code in a glow effect.
    Something like this:
    import com.greensock.*;
    import com.greensock.plugins.*;
    TweenPlugin.activate([TintPlugin]);
    var glowEffect:TweenMax = new TweenMax(mc,0,{glowFilter:{color:0x330000,alpha:1,blurX:5,blurY:5,strength:2,quality:2,ov erwrite:5}});

  • Does anyone know how the cutout filter works and is there a way of achieving the same effect without using filters to get more control over final look?

    does anyone know how the cutout filter works and is there a way of achieving the same effect without using filters to get more control over final look?

    Several ways to get similar results.  Image > Adjustments > Posturize with low values similar to what you'd use n Cutout.  This is the most flexible way I can think of as you keep the image in RGB mode with layers intact.  A more radical approach would be to reduce bit depth using Indexed Colour.  You'll need to experiment with settings, try changing Forced to Primaries, and Matte to Foreground Color.  There's no going back from this route, although you can change the mode back to RGB to re-enable layers, adjustment layers etc.
    A nice thing about the Filter gallery filters is that you can change the layer to a Smart object with all the control that gives you.
    Now if only this forum could filter out bizarre content.

  • How to create "Filter- Render- Clouds" without using the filter....?

    Hi,
    I'm trying to do something and it would take forever to explain. So I'll simplify my question, and I hope you guys know how to do this.
    I want to create the same effects the filter called "Clouds" creates. This filter is found in the "Render" sub-menu under "Filter".
    I've tried creating Noise, and then bluring it. I've tried painting blobs of white on black, blurring it, then using the "Sponge" filter with no luck.
    So, again, a way to create the same effect using any method besides "Clouds" filter... to make it look near or very near to what the "Clouds" filter creates, without using that particular filter. I've spent about 3 hours attempting this with no luck.
    Thanks so much!

    Actually, it is not that hard to create clouds from scratch.  The secret is to look at lots of real clouds to see how they work.   But you can create some pretty good clouds with the render Clouds filter.  Start with a canvas way bigger than your target image, and fill with the Render Clouds filter.  Then use Free Transform to flatten and reshape it.  Also use FT to add LOTS of perspective if you want to get that UltraWide lens look.
    Where Render Clouds and FT falls short is that real clouds are layered, and surprisingly dark on their shadow side.  But it is still doable with Dodge Burn and multiple cloud layers.
    Not quite the sme thing, but I saw a really cool tutorial using clouds on Planet Photoshop a while back. Definitely worth a look at.
    http://www.planetphotoshop.com/creating-exploding-brushes.html

  • Question about setting opacity in DW Cs6, without using rgba

    Hello,
    I prefer not to use html5/css3 until there are no more windows xp accessing the internet. However, the html5/css3 functions are pretty nifty and I would like to find a ie8 friendly way of doing similar stuff. I would like to set the opacity of my background colors between my <div></div> and not use rgba, but rather hex, but NOT change the text color at all. I would prefer to do it in the css editor rather than hand coding if possible. Is there a way to do this?
    I'm new to the new stuff. Last time I built a site was back in 2007 using Frontpage 2003:)
    Thanks

    Without using rgba, you would be stuck with the opacity atribute if wanted to just use css. The problem with the opacity attribute (and filter for IE) is they affect the entire html element they are applied to and its contents.
    The only way to have a background with some opacity/transparency without using rgba for the background-color attribute is to use what Gramps points out. Create an image in Photoshop, add your color to a new layer, drop the opacity of the layer to the level you want. Remove any background layer (so you have just the checkerboard background with your partially transparent color over the top of it) then save it as a PNG-24.

  • Drill down report without using heirarchies in OBIEE11g

    Hi,
    Can we create multiple column drill down report without using hierarchies in OBIEE11g?
    Kindly let me know the solution.
    Thank you!
    -Harshith

    Yes, It can be done, but for each drill level you will require one seperate report. Drilling can be achieved using OBIEE Report Navigation.
    For eg. If I have to create a drill report which starts from Year and goes to QTR and then to Month level. That means I have to create 3 reports.
    1. A year report which will have report data at year level (Consider Year, Product, Order_QTY and Order_Amt are the columns)
    2. A QTR report which will have report data at Qtr level. This report will have Year column in filter section as IS PROMPTED (Consider Qtr, Product, Order_QTY and Order_Amt are the columns).
    3. A Monthly report which will have report data at Month level. This report will have Year, Qtr column in filter section as IS PROMPTED (Consider Month, Product, Order_QTY and Order_Amt are the columns).
    Then we can go to Yearly report and put the OBIEE navigation on Year column and our target report will be QTR report. Similarly in Qtrly report put the OBIEE navigation on QTR column and our Target report will be Monthly report.
    This way you can impliment drilling without hierarchy.
    For step by step see below URL:
    http://www.askjohnobiee.com/2012/07/how-to-drill-through-guided-navigation.html
    Appriciate if you can mark Correct.
    Thanks,
    Kashi
    Edited by: K N Yadav on 4 Jun, 2013 10:27 PM

  • O/p of butterworth filter and o/p of butterworthcoeff- cascade coeff- IIR filter is different?

    Hello All,
    I am designing a system wherein i need to make use of a IIR butterworth Low pass filter .
    I tried implementing the same in Labview using 2 methods:
    1st method:
    Selected Signal processing-->Filters-->ButterworthFilter.vi
    Got the o/p.... attached image 1--> Waveform
    2nd method:
    Selected Signal processing-->Filters--> Advanced IIR filter-->ButterworthCoefficients.vi-->CascadetoDirectCoefficients.vi -->IIRfilter.vi
    Got the o/p...attached image 1--> Waveform Cascade Coefii
    Both the o/ps differ from in each other if you apply for order 5, LPF, cut off: 35...samples : 250000....
    Could you please let me know what difference is there in selecting either of the filter designing way.....
    Please reply back asap as im stuck here and am confused....also im new to signal processing....so not sure abt the error im making...
    Thanks in advance...
    PSADSP
    Attachments:
    output difference.JPG ‏46 KB

    Afternoon PSADSP,
    I would dare to say it is possibly your implementation of these VI's that is giving you a difference in your results. The "Butterworth Filter.VI" uses the "Butterworth Coefficients.VI" and the "IIR Cascade Filter.VI" as sub vi's to do its thing.
    Have another look at there VI's and post back if you still having issues.
    regards
    Richard
    Richard S
    Applications Engineer
    Certified LabVIEW Associate Developer
    National Instruments UK&Ireland

  • How to migrate Master Data (Rule set etc.) from GRC 5.3 to 10.1 without using the "Migration Tool"

    Greetings,
    We are currently on GRC 5.3 SP 18 (Java ONLY) and migrating to GRC 10.1. I referred the Migration Guide which outlines that GRC 5.3 needs to be upgraded to SP 20 as pre-requisite for using the "Migration Tool" . Our BASIS team is reluctant to perform this upgrade from SP 18 to SP 20.
    Having said thus, I'm exploring options of migrating data from 5.3 to 10.1 without using the "Migration Tool:.
    Rule set Migration:
    I'm in the process of preparing the 9 different files (listed below) and later utilize the "Upload Rule" option for migrating the Rule set data from 5.3 to 10.1.
    While I'm able to gather data for most of the files I'm not sure how can I obtain the data pertaining to the two files (Function Actions and Function Permissions) underlined and highlighted in Red below.
    1. Business Process
    2. Function
    3. Function Business Process
    4. Function Actions
    5 .Function Permissions
    6. Rule Set
    7. Risk
    8. Risk Description
    9. Risk Rule Set Relationship
    10. Risk Owner Relationship
    Can someone please enlighten me and share their experience with regards to this exercise. Really appreciate your help !
    - Janantik.

    I have done this successfully before.  Because you are having issues, I would NOT recommend using the migration tool to move the ruleset.  Instead:
    1. Download the ruleset files from 5.3
    2. The 5.3 tcode-permission file, which defines which tcode permissions from SU24 need to be checked during risk analysis, needs to be split into the two files you mention above in red.
    FUNCTION_ACTION : this file represents S_TCODE objects and TCD fields mapped to each function (Function to Tcode relationship).  In the 5.3 file, you will filter on object S_TCODE and field TCD, and you will get a complete list that now represents "FUNCTION_ACTION".  BUT instead of having all the jumbled permission info, you will just have 3 columns: Function - Tcode - Status.
    3. The remaining permissions that are left over, after taking out the S_TCODE -TCD items, represent the "FUNCTION_PERMISSION" file in GRC 10.
    4. Manually create the excel spreadsheets for each file.
    5. Copy and past each sheet to a unique .txt file.
    6. Upload the ruleset manually through SPRO-->GRC-->Access Control-->Access Risk Analysis-->SoD Rules-->Upload SoD Rules.
    7. Select each file and then upload to the correct Logical Group.
    This is a huge pain, but it works.  Let me know how this goes and if you need any assistance.
    -Ken

  • Re: how to make bode plots in Labview 7.1 without using Control Toolbox

    I am using Labview 10. I have connected a signal generator, a LP RC filter and an oscilloscope. I am using Labview in order to control the generator (sine with frequency sweep) and acquire the signal from the scope. I want to plot the Bode diagram without using the transfer function, from the amplitude of the sine signal and the frequency.  
    Thank you very much.
    Best Regards.

    Hi pflo,
    Are you using the CD Bode Plot VI or the SI Bode Plot VI?  For the CD plot you must use a transfer function.  Below, please find a link to an example on how to create a Bode plot without using the toolkit.  
    https://decibel.ni.com/content/docs/DOC-14762
    Regards,
    Kira T

  • IIR filter, not contiguous, signal processing

    Hello!
    I am acquiring data countinuously from several voltage output sensors. I am sending the waveforms through an express vi filter (bandpass) and I am using the default setting for IIR filtering. The program is setup such that data acquisition is done with a while loop. The DAQ wile loop is inside of a bigger while loop which is related to program start and stop.
    Every time I am doing data acqusition through the filter I get a warning that tell me the waveforms are not contiguous. Again, this is not flagged as an error but rather as a warning. The attached example might clarification.
    The question is: is the IIR filter uses previous waveform information to judge the current waveform? If this is true, then I do not like the solution; if this is not true, the I should probably just ignore the warning...
    Does the express vi has some type of reset that would activate when the whole program stops because I do not see the warning message first time I start the vi?
    Thanks
    Attachments:
    FIlterCase.zip ‏58 KB

    Thank you for your answer.
    From your answer I deducted that whenever I restart the data acquisition while the main program is still running I'd better make sure I reset the filter such that it will now "know" that it is new data coming in. I did not have a chance to check inside the express vi yet but from what you are saying it must be some sort of reset button in there that I could 'pull out' in the connector block of the subvi..
    The band widths I am using are anywhere between 100 Hz to 40000 Hz so the transient duration will be short to very short and the system, the way it is setup now, will allow enough time to the IIR filter to handle correctly new data.
    Finally there is always the option to acquire just the raw data. later I could read it back and filter it if necessary. However, there are situations when I want to filter out noise and possible alising frequencies; moreover, I acquire vibrations and forces in the same time on the same board - if I need the 40kHz sampling rate for vibrations, automatically I will have it too for the "low end" signals as well (0 to 10V from power and force sensors). I believe doing some filtering and maybe some decimation after filtering will help me keep the amount of data low on the 'low end' signals side. Am I correct in my assumptions?
    Thanks again.

  • Where to add mac filter without template on Prime 2.0?

    Hi,
    Can someone point me to where I should go to add mac filter under security>AAA in Prime 2.0 directly to controller without using templates? Check the screenshot attached. there is no option to add filter. It only give option to edit. Going to Classic view I see the add option is available. Puzzled. Any help is appreciated.
    Cheers,
    Fadi

    I am unabl eto find any way to configure mac-address filter without template. To configure with template you can go through the following steps-
    Step 1 Choose Configure > Controller Template Launch Pad.
    Step 2 Click MAC Filtering or choose Security > MAC Filtering from the left sidebar menu. The Security > MAC Filtering page appears.
    Step 3 If you want to add a new template, choose Add Template from the Select a command drop-down list, and click Go. To modify an existing template, click the template name. The MAC Filtering template page appears.
    Step 4 If you keep Import From File enabled, you must enter a file path or click Browse to navigate to the file path. The import file must be a CSV file with MAC address, profile name, interface, and description (such as 00:11:22:33:44:55, Profile1, management, test filter). If you unselect the Import from File check box, continue to Step 5. Otherwise, skip to Step 8.
    The client MAC address appears.
    Step 5 Choose the profile name to which this MAC filter is applied or choose the any Profile option.
    Step 6 Use the drop-down list to choose from the available interface names.
    Step 7 Enter a user-defined description of this interface. Skip to Step 9.
    Step 8 If you want to override the existing template, select the Override existing templates check box.
    Step 9 Click Save.

  • Reset an IIR Filter with new data

    hello one and all,  i am creating waveforms and pumping them into an IIR filter.  at times the parameters of the experiment change and i want to reset the data that the IIR filter is drawing off of so that it is calculating from scratch.  i know about the reset input of the IIR filter, however, it is for redesigning the filter coefficients, etc., as stated in the labview help file.  so how do you tell the IIR filter that the waveforms coming in are now a new set of waveforms?
    thank you in advance.
    lucas

    Hi Lucas,
    I assume you are using the Digital IIR Filter.vi.  The logic is not immediately obvious on the diagram of the instances of this VI, but there are two sorts of reset that can happen, namely a coefficient redesign, and a filter state reset.  The coefficient redesign happens when either:
    1.  It is the first time the VI has been called
    2.  The reset control (on Digital IIR Filter.vi) is true
    3.  The dt value of the waveform changes from the previous iteration
    4.  The design specifications change from the previous iteration.
    The filter state reset (which is what you want I think) will happen:
    1.  If there has been a coefficient redesign
    2.  If the timestamp of the last point of the previous waveform does not match the timestamp of the first point of the current waveform + dt.  This is basically an assumption of continuity of the waveforms over consecutive calls to the VI.
    I think you have two choices to get the behavior you want.  First, you can use the continuity of the waveforms as a way of controlling the reset of the filter state.  When you want a reset, then make the current waveform discontinuous.  The second option would be to use the lower level VIs on the signal processing->filters->IIR palette.  This allows you to explicitly separate the design and implementation of the filter on your diagram, with explicit reset control on the filter states.

  • How to get Last Year Sales and YTD Sales without using AGO and TODATE?

    Hi all,
    I have got Company and Time dimensions and Sales Fact. My requirement is to get Last Year sales for each company without using AGO function and YTD without using TODATE function. (Due to performance issue as AGO and TODATE do not insert a Cache entry).
    Can someone please help me to achieve my requirement? Thanks in advance.

    Hi Satya,
    Thanks again for your reply. To start with I don't have data for the years 2012 and 2011 to test as I am using SH sample schema from Oracle. I have applied your solution but it does not seem to be working for the previous years like 2000, 2001. My requirement is to have a dashboard prompt "YEAR" and let the user choose whatever year he wants.
    Please have a look at the column formulas of my analysis (As per your solution) :
    ***here B_YEAR is replaced by CALENDAR_YEAR.  
    Amount: "F1 Sales"."Amount"
    AmountYTD:  FILTER("F1 Sales"."Amount" USING "D1 Time"."CALENDAR_YEAR" =YEAR(CURRENT_DATE))
    Amount LY: FILTER("F1 Sales"."Amount" USING "D1 Time"."CALENDAR_YEAR" =YEAR(CURRENT_DATE)-1)and the physical query generated by BI Server: (as you can see I have got a filter CALENDAR_YEAR= 2000)
    WITH
    SAWITH0 AS (select sum(T1074.AMOUNT_SOLD) as c1,
         sum(case  when T1035.CALENDAR_YEAR = TO_NUMBER(TO_CHAR(TO_DATE('2012-05-03' , 'YYYY-MM-DD'), 'yyyy'), '9999') then T1074.AMOUNT_SOLD end ) as c2,
         sum(case  when TO_NUMBER(TO_CHAR(TO_DATE('2012-05-03' , 'YYYY-MM-DD'), 'yyyy'), '9999') - 1 = T1035.CALENDAR_YEAR then T1074.AMOUNT_SOLD end ) as c3,
         T1035.CALENDAR_MONTH_DESC as c4,
         T1035.CALENDAR_YEAR as c5,
         T1035.CALENDAR_MONTH_ID as c6
    from
         TIMES T1035 /* D1 Time */ ,
         SALES T1074 /* F1 Sales */
    where  ( T1035.CALENDAR_YEAR = 2000 and T1035.TIME_ID = T1074.TIME_ID )
    group by T1035.CALENDAR_MONTH_DESC, T1035.CALENDAR_MONTH_ID, T1035.CALENDAR_YEAR)
    select distinct 0 as c1,
         D1.c4 as c2,
         D1.c5 as c3,
         D1.c1 as c4,
         D1.c2 as c5,
         D1.c3 as c6,
         D1.c6 as c7
    from
         SAWITH0 D1
    order by c3, c2 Thanks in advance.

  • How to display table data without  using ALV  and table element.

    Hi,
            Its possible to display table data without using ALV  and table element.
           Every time i am fetching data based on (customer,status) fields and displaying these data in my output using alv
           (every time i am fetching single row data ),
           But problem is alv occupying more space in the output , i want to display data part only i dont want field names,
           settings and header data etc..things.
          Give solution to  display data part..
    Regards,
    Rakhi.

    Hi,
    Does you mean that you need ALV without default Function Toolbar...? If this is the case, the easy solution would have been to use Table Element rather. But, if you need to use ALV only without Function Toolbar, you can do away with that as well.
    In that case, after calling GET_MODEL, you need to add few more lines of codes to achieve your goal. Those lines are --
      DATA LV_VALUE TYPE REF TO CL_SALV_WD_CONFIG_TABLE.
        LV_VALUE = LO_INTERFACECONTROLLER->GET_MODEL(
    * Standard Filter Function setting to FALSE
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_SORT_COMPLEX_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_FILTER_COMPLEX_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_FILTER_FILTERLINE_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_DISPLAY_SETTINGS_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_VIEW_LIST_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_SORT_HEADERCLICK_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_HIERARCHY_ALLOWED( ABAP_FALSE ).
    * Standard Filter Function setting to FALSE Ends
    Here as you can easily notice that LV_VALUE is instantiated on CL_SALV_WD_CONFIG_TABLE. Now, using this LV_VALUE, you set standard functions as False to dis-allow their display.
    Hope this answers your query.
    Thanks.
    Kumar Saurav.

Maybe you are looking for

  • Purchase Orders form in Query Only mode for a single user

    Hi All, I want to make the Purchase Orders form as query only for a single user. I tried by giving 'Query_only=Yes' in the parameters section. I am getting 'FRM-04151: You cannot query records here' message more than 10 time. I know we get this messa

  • Error while registering xsd and inserting xml

    1) while inserting it is mentioning , no schema definition available for citeinfo 2) while registering it is mentioning, with changes that i have made that it is not valid xdb schema how to register the xsd schema correctly.? SQL> desc register2; Nam

  • Unable to update OM infotypes

    Hi Experts .. I am using  Routine   'RP_INFOTYP IN PROGRAM SAPFP50G' to update  infotypes in Webdynpro application . But Issue is  'When I do a promotion  for an employee its updating PA infotypes  correct . but OM side I could not find  A008 for new

  • How can i watch and share the whole video?

    I only can watch one minute of a five minutes video, Need Help

  • Problems reading RefNum output parameter from ActiveX

    I'm running LabVIEW as a ActiveX server and access it from Python. Now I have encountered a problem when trying to read an output control that is a RefNum (actually a strict type def that I think is based on a DataLogRefNum containing a Enum). I get