FI-SD data-BEx Query Logic for Amount received for the Lasts F.Year Sales

Hi Friends,
Need your assistance in designing one BEx Query,
We have Two cubes...one is sales ZSALES01 and Account Receivables ZFIAR01. On top of these cubes e built Multiprovider.
In the sales cube (ZSALES01)., we have calender day, Financial year , Fiscal period characteristics as time characteristics and Net Values as key figures. And Same way in the Account recievable cube (ZFIAR01) we have calender day( Which is mapped with Posting date), Financial year , Fiscal period characteristics as time characteristics and Credit/Debit amount as key figure.
My requiremnt is that i have to show in BEx with below scenarios.......
1.Amount received for the sales occured till Last Financial year
2. Amount Received for the sales occured in this current financial year
We have two show these values for company code wise , we have company code in both cubes nad we  have financial year...and some other common fields there in both cubes.
Can you please guide me how to design the same in BE query.
Thanks & Regards,
Anand

are you saying that in your query you need to have 4 columns;
- Sales Last Year
- Sales Current Year
- AR for Sales (LY+CY)
- AR for Sales Current Year
If yes, getting Sales Information is easy. You need to use customer exit variable to get the current year (calendar or fiscal)
- for Sales Last Year, use customer exit variable for current year with a offset of -1
- for Saels Current Year, use customer exit variable for current year
For AR columns, as I said in my earlier post - use a lookup while loading data in AR cube. Use the Sales Doc Number and get the year information (calendar, financial or fiscal - whatever you want to use depending on your requirement) from Sales flow. This way you can tell if a particular FI doucment is for this year's sales or last year's sales.
Now, you can use another customer exit variable for AR column depending on the "Sales Year" infoboject. Customer exit variable shold be populated with the current Sales Year.
- for AR for Sales CY, use this customer exit variable
- for AR for Sales LY, use this customer exit variable with offset of -1
- AR for Saels (LY+CY), add both the columns above
Another way of achieving AR for Sales (LY+CY) is to restrict the RKF or value range using customer exit variable for Sales year with BETWEEN operator (From var1 to (var1-1)).
You can also use the option of replacment path variable as Durgesh mentioned. but in that case you will have to create two addition queries based on sales data which will return:
- sales documents for last year
- sales documents for current year
then you need to create two replacement path variables for AR columns which will get values from these two queries.
I hope it helps.
Regards,
Gaurav

Similar Messages

  • How do I get serial numbers for computers bought in the last seven years? They have been stolen but I am not in the country. Can I do it remotely?

    how do I get serial numbers for computers bought in the last seven years? They have been stolen but I am not in the country. Can I do it remotely?

    Check here first, and use your AppleID:
    https://supportprofile.apple.com/

  • BEx Query- Making into Zero value in the blank row/column

    Hi All,
    I am running a query on multiprovider, say I have three characteristics (sales org, distribution, customer) & key figure (amount) in the layout. I am lookling the actual & plan data in the report.  If there is no plan data for the above combination of characteristics, in the report i am getting blank, instead of blank i want $0.00, how to do this?
    Regards,
    Anand

    Hi ,
    Could you please let me know how can we fix this issue.  I tried to create a new formula as KF+0 but it did not work.
    Hi ,
    This issue is in a Bex Query . We are looking for options on how to display blanks as zeros for keyfigures.In the below screen shot highlighted in red there is no data for march 2015 so it needs to display as zero and the overall result should be Zero.
    Issue : Overall Result for Cumulative Quantity FTE should pick up the last value which is Mar 2015 instead its displaying 2 as there is no data for Mar 2015.
    Thanks,
    Bharathi.

  • Conditions in SQVI for amount depending upon the Debitcredit Indicator

    Hello ABAP's
    I am new to this forum & learning. I am using SQVI for getting Information from Table BSEG. The data is getting extracted but I am unable to give any conditions for amount depending upon the Debitcredit Indicator. If it is "H" ie. Credit the Amount should change colour and if it is "S" it should be as it is.Just like in tcode MB51 when we get negative amount the Line is dispalyed in Pink and in case of Positive in Green.
    Looking forward to your help.
    With regards
    Sandy

    Hi Sandesh,
    You can not manipulate data in SQVI. For that you can write a query in infostructures transaction SQ01/02/03.
    1. Go in SQ02, create an infoset and assign it to user-group available.
    2. Inside infoset, declare table BSEG and click on button 'Extras'. here, you can write your code to multply by '-1' to a field depending upon some condition. Select 'Code' tab and code section as 'Record Processing'. Write code in window displayed.
    3. In SQ01, select infoset you just created and select the query.
    Execute the same and you will get required output.
    Let me know if it helps.
    Gouri.

  • Max monthly data MB usage on my account for peak month in the past 2 years?

    I want to find out the max MB of data I have used in any month of my last 2 year contract, so that I can guage what I need for a new contract. I can't find this info on my Orange bill. Can you assist please? Thanks.

    Hi 
    Welcome to the Community!
    If you speak to customer services they would be able to give you an average but that would be taken from the last 3 months.
    The only way to see what you've used would be to go through the bills.
    We do have Data Calculator you can use to estimate how much data you would need.
    Hope this helps!
    Thanks. 

  • So apparently I've been using a broken 3G for the last 3 years

    I waited in line and got my iPhone 3G the first day. Boy did that feel great, to hold some kind of alien tech in my hands.
    I always thought something was fishy with my phone though. I live on long island and I would assume the 3G service would be great considering the amount of mobile customers here.
    I would frequently drop 3G and end up with slow speeds, but I figured it was had to do with my ATT network. 2 years ago I got a new job and 3G didn't work at all. I had to use edge (not even edge actually .08 Mbps) for daily browsing for the last 2 years thinking it was normal.
    So I just tried my buddies 3G at my desk (ATT), works fine. God, so much wasted time and frustration.
    I was wondering if Apple could do anything for me. I am a loyal customer, and plan on buying a 4s, but knowing I wasted 3 years with a faulty product is disheartening.

    Probably not at this late date. You should know that apple does try to satisfy its customers and encourages them to come in for support if anything they feel is wrong with their device. It was probably your first apple product, and you perhaps didnt realize that about them but they'd rather you see a genius for something "fishy" that turns out ok than not to, and have it be an unsolved problem for years.
    With the 4S, don't hesitate to make a genius bar appointment if you are not completely satisfied with your product. I've had them bend over backwards to help me, even when the problem didn't replicate at the store. (They replaced it anyway on my second visit.)

  • I lost my contacts, texts etc after syncing my phone to itunes for first time since 2012, now all I have is info. starting from 2012.  Is there any way to recover the contacts, texts etc that I have lost for the last 2 years? So ticked off at apple!

    I am hoping that someone can help me understand how it can be so easy to lose the last 2 years data on an iphone by synching to itunes for the first time since 2012?  If this happens from itunes automatically overwriting your phones system why would'nt there be warnings and red sirens going off on your phone?  Can somone please let me know if this lost data is recoverable and maybe even let me know how to recover it?
    Thank you

    Glad to help!  The reply you got was very generic and didn't completely address your questions.
    Basically, all it said was to restore your backup.  What I addressed was your query about how and why this happened. iTunes did give you prompts and warnings. And if you'd used iTunes back in 2012, then you'd have lost much less data when you made the incorrect selection.
    Do you have an iCloud backup?  Were you backing up your device at all?
    I just found it amusing that you were 'ticked off at Apple' when Apple didn't cause this problem.  You did.
    Have a great day!

  • Can i eligibal for Microsoft MVP ,contributing since last three year on various forums

    Can i eligible for Microsoft MVP ,contributing since last three year on various forums,my questions are
    what are the Dates when I apply for MVP ?
    I am contributing since last three year on various forums.
    I am actively contributing on
    http://www.c-sharpcorner.com
    I got two times MVP award from C# corner web site.
    my contribution involves in giving webinar as wel writing blogs,article,forum post and so on.
    Never written any paid article even people offer me because i just wanted help people through community.
    Following are the webinar activities i have done and doing
    My Upcoming  Webinar
    Date
    Topic
    URL
    9-Nov-2014
    Getting Started with WCF
    Click here to attend
    Following are Webinar’s which I had given in Past
    Date
    Topic Name
    Registered attendees
    Event Detail URL
    24-08-2014
    Introduction to Web Services
    115
    Click here
    18-05-2014
    Advance
    Object Oriented Programming with C#
    170
    Click here
    20-10-2013
    Object Oriented Programming with C#
    315
    Click here
    you can see my contribution of articles,blogs,forum post and other contribution by using below link
    http://www.c-sharpcorner.com/Authors/0c1bb2/
    I want help ,advice and suggestion regarding Microsoft MVP, I know their are great authors on MSDN also their are great MVP's ,can please review my profile and tell me that i am eligible to apply Microsoft MVP and Can I shall get it ?
    Please give your valuable time to review my above profile for Microsoft MVP .
    Thanks in advance

    VW
    To nominate yourself you can go here http://mvp.microsoft.com/en-us/nominate-an-mvp.aspx
    Wanikiya and Dyami--Team Zigzag

  • I am a newbie to labview but have delt with plc's for the last 10 years. I would like to send and recieve certain integer, floating poin

    t, or binary files through the plc or micrologix communication port. This would allow me to build a front panel and change certain states of bits or retrieve data from certain files to display on the front panel. Please steer me in the right direction...I am a newbie to labview but have delt with plc's for the last 10 years. I would like to send and recieve certain integer, floating point, or binary files through the plc or micrologix communication port. This would allow me to build a front panel and change certain states of bits or retrieve data from certain files to display on the front panel. Please steer me in the right dir
    ection...

    t, or binary files through the plc or micrologix communication port. This would allow me to build a front panel and change certain states of bits or retrieve data from certain files to display on the front panel. Please steer me in the right direction...Another option is to talk to the PLC using Modbus. Several versions of Modbus drivers are available online--or I could send you the ones I use.
    The big thing to look at is exactly what you want to do in the end. If you are going to be able to use all the features of the DSC, by all means go for it. It will save you a lot of time.
    If however, all you want is a remote front panel for the PLC, the DSC might be overkill. Only you can say.
    Look at your entire application and where you can see your work going in the reasonable future.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • [svn:fx-trunk] 10076: Redo fix for SDK-23080, since the last one introduced more problems.

    Revision: 10076
    Author:   [email protected]
    Date:     2009-09-08 18:04:12 -0700 (Tue, 08 Sep 2009)
    Log Message:
    Redo fix for SDK-23080, since the last one introduced more problems.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-23080
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RectangularDropShadow.as

    If you're still using Buckminster 3.6, I strongly suggest switching to 3.7 - it has a number of bug fixes and improvements. This applies to both headless, and the IDE (assuming Eclipse 3.7 Indigo).
    Matthew

  • When I tried to update my iPhone 5s to iOS 8.1, I was forced to choose to restore or back up.  Back up wasn't working so I had no choice but to restore.  I lost pictures over the last two years.  Cloud and iTunes backup are not working for me.  Help!

    How can I retrieve photos when it says my cloud and iTunes backups are empty or not backed up?
    When I tried to update my iPhone 5s to iOS 8.1, I was forced to choose to restore or back up.  Back up wasn't working so I had no choice but to restore.  I lost pictures over the last two years.  When I tried my cloud, there was nothing.  I would get notifications that my cloud was full, but I thought there would at least be some photos in there.  When I tried to restore a back up, it said the last time was two years ago.  I thought when you're on wifi, it automatically backs up.  I've charged my iPhone into my Macbook a bunch of times, so something should have backed up.  Is there any hope for my photos?

    Sorry no backup - no pictures.
    Yes phone will automatically backup to icloud when on wifi and phone is charge, but your phone storage was full so it stop backing up.
    Back up and restore your iPhone, iPad, or iPod touch using iCloud or iTunes - Apple Support
    iCloud: iCloud storage and backup overview
    When your phone was connected to your computer, you should've seen an autoplay which would've allowed you to import your pics to your computer as you would a digital camera Import photos and videos from your iPhone, iPad, or iPod touch to your Mac or Windows PC - Apple Support

  • All my family photos for the last 6 years are disappeared...

    Hi,
    Can anybody help me?
    I am in complete chock fearing that all my family photos from the last 7 years are lost!
    I have had ALL my family photos in the Adobe Stater Edition. Lately, I have been requested to register to get an unlock code every time I wanted to see photos or download new photos. I have tried to register but has been informed that the Adobe Starter Edition does not exist anymore. Yesterday, I therefore loaded all my photos into Picasa. I worked with the photos for about one hour - and then they suddently all disappeared. I seached for the photoes everywhere but they are completely gone... they are not on the hard disk at all. How is that possible? The photos were located on the hard disc in the "Picture folder" in a subfolder named "Adope". This subfolder was created automatically, years ago, when I started to load photo into the Adope Starter Edition. This subfolder is now empty - how is that possible? If I now start up the Adobe Starter Edition I get the usual "unlock message" - but behind the message I can see some of my photos but maybe this is just a "dead" bacground from my last attempt to get the unlock code?
    What should I do - can anybody please help me? I am willing to upgrade to whatever type of Adobe product it requires to get the last 7 years of my family life back.
    And yes... I did a full back-up of my photos app. 12 months ago... I looked for it yesterday in complete panic... it is gone... we had a burglary last summer... and yesterday I realized that it has been stolen.
    ALL - ALL!! the photos of my two wonderful girls growing up... sitting in the Danish summer fields with floral wreaths on their head... I cannot believe it... I fell I have lost their childhood.
    Please help me...
    Kirsten

    In Picasa, look under to Tools menu, under Options, and at the bottom, it shows 'Save Imported Pictures in...'; look at where it is saving files, then look for a folder called Picasa at that location; could be that it moved all your files to there.
    -Mark

  • I have a 1st Gen, MacBook Pro from 2006. For the last few years I've had to us my power adaptor as my battery no longer works. Now my power adaptor looks like it's coming to an end. Even though it's securely fitted, it often switches off.

    I have a 1st Gen, MacBook Pro from 2006. For the last few years I've had to us my power adaptor as my battery no longer works, and shuts down after 30 seconds it. Now my power adaptor looks like it's coming to an end. Even though it's securely fitted, it often switches off.
    I am planning on buying a new MacBook Pro later this year, but for the meantime I'm not sure if I should buy a new power adaptor, or if this is a problem with my MacBook Pro. Also does anyone know where I can buy a battery in the UK for 1st Gen MacBook Pro.

    OWC has batteries for 1,1 generation MacBook Pros and they ship internationally - http://eshop.macsales.com/.
    Your best bet for a power adapter is to get one from Apple. Third-party adapters just don't seem to be reliable (or safe). You can also buy a replacement battery directly from Apple, of course, but they're a bit more expensive.
    Good luck,
    Clinton

  • My ipod 4g has been working fine for the last 2 years until now, it wont charge or connect to itunes what so ever. it will connect to the dock and play music but just wont charge on any charger, computer,cord,anything. its making me so frustrated

    My ipod 4g has been working fine for the last 2 years until now, it wont charge or connect to itunes what so ever. it will connect to the dock and play music but just wont charge on any charger, computer,cord,anything. its making me so frustrated i think it has somthing to do with the battery but im not sure because it still turns on. Im for sure that its the ipod and not the cord or outlet and charger. somone please help!!!!!! I tried everything besides opening it up.
    I dont know what to do???????

    Not Charge
    - See:      
    iPod touch: Hardware troubleshooting
    iPhone and iPod touch: Charging the battery
    - Try another cable.
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar                          

  • Getting an error that the iMessage cannot be initialized - why now, I have been using it for the last 3 years?

    I cannot send iMessages anymore (have been able to do so for the last 3 years) and when I go Settings / Messages / the iMessage is OFF so when I turn it on it returns an error saying that iMessage cannot be initialized and that I should sign on with my Apple ID, which I did, but it still gives me the error.
    Why is this happening and what can be done?

    It won't be anything to do with Acrobat.
    It may well be something with whatever created the PDF, the settings in whatever made the PDF, etc.
    Does this happen with every PDF that you do not recreate by printing to PDF (I presume from Acrobat)?
    If this is limited to particular PDFs from a particular application and the creator of the PDF is not an Adobe product, what created them?
    If it is just some PDFs, can you upload one to dropbox.com and provide a link to it?
    Mike

Maybe you are looking for

  • Blue screen on shut down

    Every time I try to shut down my iMac, I get the blue screen (with the spinning thing in the center) and it doesn't ever shut down, so I just power off. How can I fix this? Thanks!

  • Listening to the radio

    So, the gym I go to isn't the most fancy and instead of having a tv on each machine they just have like a dozen big screens mounted on the walls. Each screen's sound is broadcast over a different FM radio frequency. For example, if I wanted to hear t

  • HT200154 Need some info/help

    The light on my atv2 came on out of nowhere, but i didnt turn it on at any point, i switch my TV input to see if it's on (the atv) but it isnt, what is going on!! Anyone??! TX

  • BLANK PAGE WONT GO AWAY

    Hello. I have been attempting to remove a blank page from a document that I have created in the Pages v 4.3. I have turned on invisibles, thumbnail view, etc and other fixes that have been offered to other individuals with this same conundrum. Nothin

  • Just want to play wav fi

    Hello all- - I simply prefer the audio quality of WAV files to MP3 and would be happyto have 30-50? WAVS on my Zen V Plus 4 Gb rather than 5000 or so MP3s.Even though the Zen V is listed as handling WAV files everywhere I look,I cannot get mine to pl