Need to calculate Document amount based on below conditions

Hi Everybody
Here I need to calculate Document amount based on below conditions in the report iam having all the fields.
1)     If the Net Due Date is one or up to tens days less than the document date on any open AP item
2)     If the Net Due Date is "equal to" or "less than" the next month end date on any open AP item
3)     If the Net Due Date is "one day more than" the next month end date on any open AP item
4)     If the "GR posting date" + "payment in days (no of days)" is "one day more than" the next month end date
5)     If the Net Due Date of any open AP item is in Jan., Feb…Dec, place the document amount in Jan, Feb...Dec month
6)     If "Payment date > net due date" from 11 to 30 days add amount
Pls write ur comments if any userexits pls forward to my id
[email protected]
Thanks in Advance
Chaitanya

you can have parameters to pass the points and you can use this inside query to filter and return the required data from query. You can then use this dataset inside chart and plot the points.
http://www.grapefruitmoon.net/ssrs-2008-using-the-top-filter-in-a-chart/
http://blogs.msdn.com/b/florianmader/archive/2013/08/10/sorting-a-chart-by-values-in-ssrs.aspx
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page

Similar Messages

  • Calculate credit amount based on a sub service order?

    Hi Experts,
    How do I calculate credit amount based on a sub service order? Is that in the COEP table? If yes what is the logic to calculate it? suppose I have sub service order number 000006009972. Thanks!
    Best regards,
    - Anthony -

    Anthony
    It might help if you decribe the business process...
    PeteA

  • Need to create two nodes based on one condition in message mapping.

    Hi Experts,
                    In my mapping I have two different nodes. If my condition is true then only one node should be created otherwise both the nodes should be created.
    requirement is I need to print. one header before first item record and after every 200 item records.
    i.e I need to create header node if (item recordno) is 1 or (item recordno % 200) is 1. I have tried using this condition. But Iam getting all the header records( 3 headers for 600 items) in sequece and then all  item records (600).
    i want 1 header then 200 items , then again header followed by 200 items. so on.
    Can any body help.
    Thanks&Regards,
    REYAZ HUSSAIN

    Hi REYAZ HUSSAIN,
    as graphical mapping is "target field mapping" this is not possible. The parser for graphical mapping traverses the taget message from the first element to the last!
    You need another kind (ABAP, XSLT, JAVA) of mapping.
    Regards Mario

  • Column value coloring Based on the condition in ssrs 2008

    Hi,
    I need to change color formating based on below conditions
    Red if <=28 days or > 65 days       
    Green if >28 and <=60 days       
    Yellow if > 60 days and <=65 days
    <=0 No color
    I tried with below IIF condition it's not working.
    =iif(Fields!HDSI13.Value<=0,
    "No color",iif((Fields!HDSI13.Value<=28
    or Fields!HDSI13.Value>64),"Red",iif((Fields!HDSI13.Value>29
    and Fields!HDSI13.Value<=60),"Green",iif((Fields!HDSI13.Value>60
    and Fields!HDSI13.Value<=65),"yellow",Nothing))))
    Can any one help me on this.
    Thanks,
    Manasa.
    Thank You, Manasa.V

    hi all,
    When i wrote like this in table report ...woking fine.
    =iif(((Fields!HDSI13.Value<=28
    and Fields!HDSI13.Value>0)
    or Fields!HDSI13.Value>64),"Red",iif((Fields!HDSI13.Value>=29
    and Fields!HDSI13.Value<=60),"Green",iif((Fields!HDSI13.Value>=61
    and Fields!HDSI13.Value<=65),"yellow",iif(Fields!HDSI13.Value<=0,"Nocolor",""))))
    Thank You, Manasa.V

  • Calculate week no based on financial year

    Hi
    Financial year starts with 01-Apr . I need to calculate week no based on 01-APR(financial year) not 01-Jan
    for each date. Is there a way to calculate based on this

    It works for all year long :-)
    SQL> ed
    Wrote file afiedt.buf
      1  with testdata as (
      2     select date '2011-04-01' + 7 * (level-1) dt from dual
      3     connect by level <= 60
      4  )
      5  --
      6  -- End of test data
      7  --
      8  select
      9  to_char(dt,'YYYY-MM-DD') the_date,
    10  to_char(add_months(dt,-3),'WW') fiscal_week,
    11  to_char(add_months(dt,-3),'IW') iso_fiscal_week
    12  from testdata
    13* order by dt
    SQL> /
    THE_DATE   FI IS
    2011-04-01 01 52
    2011-04-08 02 01
    2011-04-15 03 02
    2011-04-22 04 03
    2011-04-29 05 04
    2011-05-06 06 05
    2011-05-13 07 06
    2011-05-20 08 07
    2011-05-27 09 08
    2011-06-03 09 09
    2011-06-10 10 10
    2011-06-17 11 11
    2011-06-24 12 12
    2011-07-01 13 13
    2011-07-08 14 14
    2011-07-15 15 15
    2011-07-22 16 16
    2011-07-29 17 17
    2011-08-05 18 18
    2011-08-12 19 19
    2011-08-19 20 20
    2011-08-26 21 21
    2011-09-02 22 22
    2011-09-09 23 23
    2011-09-16 24 24
    2011-09-23 25 25
    2011-09-30 26 26
    2011-10-07 27 27
    2011-10-14 28 28
    2011-10-21 29 29
    2011-10-28 30 30
    2011-11-04 31 31
    2011-11-11 32 32
    2011-11-18 33 33
    2011-11-25 34 34
    2011-12-02 35 35
    2011-12-09 36 36
    2011-12-16 37 37
    2011-12-23 38 38
    2011-12-30 39 39
    2012-01-06 40 40
    2012-01-13 41 41
    2012-01-20 42 42
    2012-01-27 43 43
    2012-02-03 44 44
    2012-02-10 45 45
    2012-02-17 46 46
    2012-02-24 47 47
    2012-03-02 48 48
    2012-03-09 49 49
    2012-03-16 50 50
    2012-03-23 51 51
    2012-03-30 52 52
    2012-04-06 01 01
    2012-04-13 02 02
    2012-04-20 03 03
    2012-04-27 04 04
    2012-05-04 05 05
    2012-05-11 06 06
    2012-05-18 07 07
    60 rows selected.ISO Week (IW) works with a different way of defining week 01. Using IW April 1st will become week 52. You will have to decide if that is correct according to your finance department :-)

  • Display Image(which set as behind text)   based on some condition.

    hi all
    I have developed a xml report and in that rtf am displaying a static image (which is set as behin text).
    But i need to display the image based on some condition
    for example i have a field as ORG_ID
    if org_id=87 then image should display for that purpose am planning to use <?if:ORG_ID=87?> condition but where to place this condition for the image.
    kindly help me
    thanks for all in advance.

    that too not working because
    on image am displaying some other fields.
    see i think you didn't get my point.
    in my out put page am displaying item details ,quantity,and cost and customer details just like invoice copy .
    behind this data am displaying my company logo which will capture whole page size..
    if i place the image in table then fields will be automatically in table so i cant restrict image in this way.
    Kindly suggest any other way that works only for image which is behind text. i mean condition should be applicable only for image and leaving all other fileds in rtf.
    or
    help on this how to set a dynamic image as behind the text.
    Edited by: maddy on Nov 28, 2012 7:32 AM
    Edited by: maddy on Nov 28, 2012 7:35 AM

  • Unable to filter a formula field based on two conditions

    hi,
    I have a report with 3 subreports in it. When i drill down onto first subreport i am getting correct records in details based on selection criteria but when i am unable to populate the same record count in summary.
    For example
    On summary i see : 60 when i drill down i see 20 records which is correct but not reflecting onto summary report
    the details selection criteria is based on two  fields where field1>=1 and field2= "Text"It is coming out good (20 records) but in summary i am unable to populate this based on same selection criteria
    The main issue i am facing was if i apply a filter on summary selection criteria all the subreport counts are getting affected. Is there a way i can apply filters only one one field
    Please suggest
    Thanks!
    Lucky

    Thanks! for the prompt response Abhilash
    I got part of what you told me. Yes i am calculating the counts in the summary report.
    Basically here is the selection criteria: i need to filter the records based on two conditions. One is x.field1= "Admin" and x.field2=act_pct>=1
    For example:
    Admin Returns         50  but when i dig into details it showing as 20 records ( based on selection criteira above)
    when coming back to summary . 50 what ever is returing here is based on a formula ( if x.field1="admin" then 1 else 0) ..in addition to this i need to filter that by x.field2>=1 which is not taking it     
    Is there any syntax to do this
    If i apply a filter on this particular 50 record its bee applying for whole summary report ...
    And from what you said :
    Why don't you create the summary in the Subreport and maybe use shared variables to bring it back to the Main Report?
    i did not get this
    Please suggest
    Lucky

  • Need to calculate the monthly amount based to the annaul salary

    Hi Expert,
    I need to calculate the monthly amount based to the annual salary.
    Some countries use a multiplier more than 12 to calculate the annual salary (e.g : 13,14 ...).
    My problem is to calculate the monthly increase.
    The increase amount is on the annual salary but for the monthly increase, normally, the system divides by the mutliplier.
    But some countries would like calculate these amount on 12 and not the real multiplier.
    So, could you please tell me there are user-exits or other to make this ???
    Thanks in advance,
    Virginie

    Hi Virginie,
    Check both feature PFREQ (Edit with transaction PE03) and user-exit corresponding to enhancement PARA0001.
    rgds,
    Carlos.

  • CFM /TR - how system calculate amount based on rate FX 60A

    Hi all,
    i need to know how system calculates amount based on rate entered upon creating a contract (t-code TX01).
    steps input:-
    1. header - comp code, product type, trans type
    2. partner
    3. purchase curr & amount (eg. IDR 8,345,545,500)
    4. sale currency only (amount system will auto calculate) USD
    5. rate field = 11.553
    6. spot rate will auto pick up from rate
    7. value date
    8. contract date
    upon TBB1 no error. posting log as follows:-
    FX1000+ : 40 8,345,545,500 IDR bank GL acc
                    50 8,345,545,500 IDR clearing acc
    FX2000- : 40 722370.42 USD clearing acc
                   50 722370.42 USD bank GL acc
    but upon TPM18 error occurred as follows:
    DBT_C009 - GL not maintain in acc symbol 5.3.4
    DBT_E039 - no posting spec assigned to update type
    DBT_B018 : 40 0 USD, 431,977,511 IDR gain/loss
                       50 0 USD, 431,977,511 IDR clearing acc
    so, after maintained DBT_C009 as follows still error for DBT_E039:
    40  0 USD, 38 IDR clearing acc
    50  0 USD, 38 IDR P&L gl acc
    what i don't understand is how system calculate and get DBT_C009 & DBTE039.
    what is the function of TPM18?
    thanks.

    Hello Prarnod,
    I have done the first node only for actuals that come from the integration to the internal order.
    I have tried setting up 2 and 3 even though the 3rd one does not make any sense to me
    Thanks,
    Paul

  • How to calculate the amount for cleared documents.

    Hi Experts,
    I am working on a program and here i need to display the amount for the cleared document.
    I have a scenario where there are two financial document related to a single cleared document.
    I can get the amount for financial document from BSAK by passing the BELNR value of the financial document and confirm if it is a clearing document by comparing AUGBL value of BSAK with document number of cleared document.
    Actually i am not very clear about the process flow of clearing document.
    If anyone can explain me the same.

    Hello,
    Go through this links it will help full
    http://help.sap.com/saphelp_sbo2004c/helpdata/en/fd/25f4c6d8888e40a521972d0be5d68b/content.htm
    http://help.sap.com/saphelp_45b/helpdata/en/e5/0783e84acd11d182b90000e829fbfe/frameset.htm

  • How to calculate the amount of viewing the uploaded document in KM?

    hello
         everyone
          I  want to  calculate the amount of viewing the uploaded document in KM,like the iviews of topics in forum.
         thanks in advance
         lexian

    Hi,
       You can develop a hitcount repository services. Each time that you open a document this counter is incremented in one. Then you can show this metadata as a typical property.
    Take into account:
    Dynamic Knowledge Management Content Using Groovy Scripts
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5165
    Documents read statistics
    https://www.sdn.sap.com/irj/sdn/thread?threadID=174925
    Patricio.

  • Based on the user response need to calculate measures in universe

    Hello Folks,
    I have report where user prompts for the single day (Ex: OCT 1 2014).All calculations should be at universe layer.
    1.Based on the user response I need to create a report for previous months .
    2. PYTD and YTD measures based on user prompt from universe. [PYTD - JAN 1 2013-OCT 1 2013, YTD - Jan 1 2014- OCT 1 2014].
    Example Date Set :
    DIM 1                    SEP13...............................................................OCT 14      PYTD   YTD
    Florida  state        M1.Single value need to give previous 13 months data    M3        M4
                 federal    M2..Single value need to give previous 13 months data   M5       M6.
    Arizona  state        M1.Single value need to give previous 13 months data    M3        M4
                 federal    M2..Single value need to give previous 13 months data   M5       M6.
    M1...M6 are the measures need to come from universe based on the user prompt.
    M1,M2 Need to give previous 13 months based on user response.
    M3,M5 [PYTD - JAN 1 2013-OCT 1 2013]
    M4,M6 YTD - Jan 1 2014- OCT 1 2014].
    Thanks for your help in advance.

    Hello Folks,
    I have report where user prompts for the single day (Ex: OCT 1 2014).All calculations should be at universe layer.
    1.Based on the user response I need to create a report for previous months .
    2. PYTD and YTD measures based on user prompt from universe. [PYTD - JAN 1 2013-OCT 1 2013, YTD - Jan 1 2014- OCT 1 2014].
    Example Date Set :
    DIM 1                    SEP13...............................................................OCT 14      PYTD   YTD
    Florida  state        M1.Single value need to give previous 13 months data    M3        M4
                 federal    M2..Single value need to give previous 13 months data   M5       M6.
    Arizona  state        M1.Single value need to give previous 13 months data    M3        M4
                 federal    M2..Single value need to give previous 13 months data   M5       M6.
    M1...M6 are the measures need to come from universe based on the user prompt.
    M1,M2 Need to give previous 13 months based on user response.
    M3,M5 [PYTD - JAN 1 2013-OCT 1 2013]
    M4,M6 YTD - Jan 1 2014- OCT 1 2014].
    Thanks for your help in advance.

  • Calculate Excise amount as per duty rates check box in J1IEX

    Hi,
                  In J1IEX Duty rates tab, there is one check box as Calculate excise duty base on duty rates , but thta check box is Disable i How to make it as enable so that we can click to to recalculate the excise rate,
    also my problem is that in case of import PO, the basic price in our PO is diffrent compare to basic price of custom . because custom is addding the basic frieght and insurance charges in Basic price, so while Doing J1IEX ref. to MIRO number it is taking properly amount of all excise duties but excise base amount is diffrent and when we correct the excise base amount as per custom Bill of entry all excise amount are change and it is not coming as per duty rates which are present i Duty rates tab so I want to recalculate it.
    regards,
    zafar

    Hi ,
                 As per detail which I have mention in my question,  the process which we are following is after recieving import Material   first we are doing   MIRO  for custom delivery cost   and there we are entering tax amount as per custom bill of entry,   and we are getting the MIRO Documnet number    after that we are Doing    Capture Excise invoice thorugh J1IEX  and ref. document we are selecting as PO,  after pressing enter we get a small pop up window as customs invocie number  and year  there we are entering the MIRO document number and Year   then  ref. to that miro number  All duty and duty rates  are coming as per MIRO   but  Excise base amount is different  because it is coming from PO basic amount and there is diffrence between  Custom excise base amount and PO bae amount becasue  in custom bae amount they are adding frieght basic amount into excise base amount , and then  we have to correct amnually  exsice base amount in J1IEX   for all materials,  is this proceess is same in all  or we need to do some modification in pricing procedure or at any other place .
              At bottom in excsie duty tab in J1IEX  there is one check box as Calculates excise amount base on excise duty  but that check box is also disable   How to make that enable.
    I also have found one FM : J_1IEX_DEFAULT_EXCISE_DUTY,   by doing some changes in this FM we can get what we requied , is there any other solution to get our requirement.
      regards,
       zafar
    Edited by: zafar_karnalkar on May 15, 2010 1:47 PM

  • How to findout the clearning document number based on the reference

    Hi all
    we  need to findout the clearning document number based on the reference number in financial transaction code.
    basically we know how to retrieve the data from table level using BKPF without non primary key as XBLNR but
    we  want to know is this any function module to retrieve the document number based on the reference number like XBLNR.
    Please confirm.
    Thanks
    K.Gunasekar

    you can get it from BSAD too. but again its not a primary key

  • How to retrieve material document no. based on production confirmation no.

    Hi Friends,
    I am retreiving the production confirmation number(PRTNR) thru bapi BAPI_REPMANCONF_CREATE_MTS. Based on that confirmation number I need to retrieve material document number (MBLNR)
    Because multiple users can post finished goods from different locations at same time, I have to complusory retrieve the material document number based on confirmation number only. Tables MKPF and MSEG doesn't have confirmation number fields in them.
    I would appreciate if anyone could suggest me good ideas.
    Thanks in Advance.

    Hi Melih,
    Thank you for your valuable response.
    My BLPP table gets updated with material document as well as confirmation number.
    When I test my FM directly, I get a confirmation number in my export. I don't get a material document number in my export parameter. But, BLPP gets updated with material document number as well as confirmation number.
    But, if I debugg the FM with the same data I get the material document number as well as conf. no. populated in my export parameters.
    This is what I have done:
    Export parameters
    MAT_DOC type BELNR_D
    CONF type PRTNR
    DATA: GS_BLPP               LIKE BLPP,
                          GV_MAT_DOC      TYPE BELNR_D.
    CLEAR: GV_MAT_DOC, GS_BLPP.
        SELECT SINGLE *  INTO GS_BLPP
                         FROM BLPP
                        WHERE PRTNR = CONF
                          AND PRTPS = '0001'.
        GV_MAT_DOC = L_BLPP-BELNR.
        MAT_DOC              = GV_MAT_DOC.
    Please let me know if I have done something wrong.
    Thanks.

Maybe you are looking for

  • Taking so long to load pages on yosemite!!!

    since i loaded Yosemite, the loading bar stops half way and i have to wait like 30 seconds before the page will load from the internet, safari, google...all of them..how can i speed things up???

  • Synch iphone to macbook pro

    ive had my iphone for about 10 months and ive been using a pc for everything, I just got a macbook pro and I was wondering how I could keep all my contacts and songs from my PC and transfer them to my macbook pro. I dont even know if this is possible

  • Search by message-id on MS Exchange

    Hi, I am using IMAP to access mail from my application and I have following problem: I have folder with 4 messages in it, msg1 is referenced by msg4, msg 2 is referenced by msg 3. msg1: Message-ID: <[email protected]> References: <[email protected]>

  • Problem importing from scanner into Photoshop Elements

    I use Photoshop Elements 5 on a PC & am suddenly no loger able to import from my scanner (Canon MP990) & get the message: 'Could not complete the import because of a problem with the acquisition interface'. If I try scanning directly from the scanner

  • HELP!! WIFI TROUPLE WITH 10.9.3 UPGRADE

    I HAVE AN EXCLAMATION MARK ON MY WIFI ICON THAT WONT GO AWAY. HERE IS INFO FROM DIAGNOSTIC TEST RUN: Model Identifier: iMac12,1 System Version: OS X 10.9.3 (13D65) Kernel Version: Darwin 13.2.0 Boot Mode: Normal Time since boot: 41 minutes USB    USB