Year totals not showing in my report

I have a Account by Time report where I have to show the balances at the year end totals for each account.
Everything is working fine for all accounts but except for the accounts which have ACT_TYPE as AST.
How to show the year total for accounts with type AST in a report?

Hi,
When the planned or budgeted amounts are entered, it is usually entered for all the months. You can either choose to manually enter them or do some kind of forecasting technique to populate all the months, based on some reference.
However, I have seen examples, wherein the planned amount is entered only for the last month of the year. In this case, the 2011.total values will come properly; since the dec month has the plan values.
The key point is if you want to see total value, the value should be there in dec. If you want to see q1 figure, value should be there in mar.
But is it very important to see the total figures?
Hope this helps.

Similar Messages

  • Option claims from CRM are not showing in BW report.

    Hi All,
    We are having a problem with BW report. The report shows all the claims thatt are created in CRM system( spource sys- CRM). We notices that claims that are called as option claims are not showing in BW report, but they are present in BW. I have checked filters in report design. no filters exist. Where they are getting filtered out. Please help me.
    Haaris..

    Hi,
    I am giving you ore information on the above issue, the above query is running on an infoset, I realized, data is missing from infoset. Where as the data is present in DSO.
    The other thing I can see every other claim in BW, but I cannot see Option claim which are very less compared to other claims.
    The infoset has four DSOs and one characteristic as components.
    Please let me know if you get any idea?
    Haaris.

  • Safari 6.0.1 not showing in System Report (installations)

    I have noticed that Safari 6.0.1 is not showing in System Report (installations) only the previous Safari 5.1.7 - Anyone know why this should be so? Now in Mountain Lion we do not have the update info in Software Update as before; only by going to "About this Mac". Any help appreciated!

    Now in Mountain Lion we do not have the update info in Software Update
    If you click your Apple menu icon you should see Software Update from the drop down menu.
    Clicking Software Update should open the App Store for you.

  • Planned Values uploaded in KP06 not showing on GL Reports

    I have uploaded the budget but now I can't see the values in the Planned values Column in SAP.  I have checked OKEQ and see that for 2012 and the planning version that everything is working.  I checked the previous fiscal year and it show fine there.  Any other ideas why this wont show up on the report?  It ias the same report we used last year of course changing the dates.  Please le me now.
    Thanks,

    Yes I have tried that report.  So I should have put in my original post that I see the values have uploaded and that cost center report shows the planned values.  It is one of the custom (Z) reports from report painter that I can't see the values in.  The strange thing is last years values are showing but for this fiscal year it is not.  In OKEQ I have the fiscal year added and I have "Integrated Planning" checked.

  • S_bce_68001439 is not showing complete information (Report RSUSR100)

    Hi All,
    i have executed transaction s_bce_68001439 to get the information about the changes in the following areas:
    1- Users that are created during the year
    2- Users that are deleted during the year
    3- Users whose access rights are modified during the year
    4- Users that have been created and then deleted during the year which are not appearing the USR02 table.
    But the problum i am facing with this report is, the report is not showing all the information. Users that are careated during the year and are still active and appearing in the table usr02 are not appearing in the s_bce_68001439 report. Further, rights of certain users which i m aware that i have modified during the year, are also not appearing in the report. Due to these facts i am confused with the completness of this report.
    Can any one from this forum help me in getting the complete report which can fulfil my objectives as mentioned above. Further, can any one tell me the tables that are used by this report to extract data.
    Further, if there is any other mean to get the above mentioned information, please tell me how.
    Please help me.
    thx in advance
    Salman

    Hi Beckers,
    I am a member of SAP_ALL profile and have access to all the SAP transactions. so, there is no issue with the authorization. Further, I do not have any system refresh where the tables are deleted.
    Beckers, is there any other option thorugh which i can obtain the desired information i.e. directly through SAP tables or some other transactions or reports etc.
    The issue is not only comming with the 2009 users but also with the 2008 users data. which was OK in the last year. but now some of the information of the previous users are also missing if i am running the report for the previous year i.e. 2008.
    Thx
    Salman

  • Records Not Showing Up On Report

    I'm using Crystal XI
    I can take the query from "Show SQL Query..." and paste it into a query screen in SQL Server 2008 management studio and retrieve the correct records.  However, the report itself does not contain all the records the should have been returned.
    To the best that I can figure, the records where a transaction date (date/time field) is null is not showing up on the report.  I only display the field, do not do any calculations based on the field. 
    It is part of the record selection formula, where I test for the field to be between start/end parameters or is null (which produces the correct SQL query as I stated above)
    So why are the records not showing up on the report, and more importantly, how do I get them to show up?
    TIA

    It already was set to "Exception for Nulls"
    On the other hand, just on a whim, I tried reversing the order of the query from what it was:
    {MyQuery.Company = {?Company}
        And
        {MyQuery.Transaction_Date} In {?Start/End Date}
        Or
        IsNull({MyQuery.Transaction_Date})
    To:
    {MyQuery.Company = {?Company}
        And
        IsNull({MyQuery.Transaction_Date})
        Or
        {MyQuery.Transaction_Date} In {?Start/End Date}
    And that seemed to work.  I'm not sure why it will work in the Mangement Studio, but not in Crystal Reports, but at least it works.
    Thanks for the tug in the right direction.

  • Report Document not show on Crystal Report Viewer in C#

    My program is modified from VB.NET. Now I struck with Crystal Report that Crystal Report Viewer didn't show Report Document.
    Printing code is composed of two forms. One assign parameters and objects need. Other is Crystal Report Viewer form, CrystalReportForm. Last one run report by parameter from the first.
    When run this code that it didn't found any error but the problem is no report show on Crystal Report Viewer on second form. It just blank Crystal Report Viewer. There arm't any message response.
    Here is my code.
    // report caller form.
    private void Print()
       CrystalReportForm rptForm = new CrystalReportForm();
       string[] strtbl;
      strtbl = new string[1];
       string[] strqry;
      strqry = new string[1];
       // prepare var
       string myqry;
       string myrpt;
       // Pass The Table That you used in the crystal Report
      strtbl[0] = "r_receipts";
       // Pass the Query
      myqry = "SELECT * FROM r_receipts";
      myrpt = "rptReceipts.rpt";
      strqry[0] = myqry;
       //Pass For Mdi True
      rptForm.MdiParent = this.ParentForm;
      rptForm.ViewReport(myrpt, strtbl, strqry, "");
       //Parameter Value It is Optional
      rptForm.Show();
    // Crytal Report Viewer form.
    public void ViewReport(string ReportName , string[] TableName, string[] QueryString , string Parameter = "")
       //Me.MdiParent = mainpage;
       if (TableName.Length  != QueryString.Length  )
       MessageBox.Show("Passed Variable Are Not Correct", "Message", MessageBoxButtons.OK, MessageBoxIcon.Information);
       return;
       CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
       CrystalDecisions.Windows.Forms.CrystalReportViewer crv  = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
      crv.ActiveViewIndex = 0;
      crv.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
      crv.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None;
      crv.Dock = System.Windows.Forms.DockStyle.Fill;
      crv.Location = new System.Drawing.Point(0, 0);
      crv.Name = "CrystalReportViewer";
       MySqlDataAdapter at =new MySqlDataAdapter();
       DataSet ds = new DataSet();
       for (int i = 0; i < TableName.Length; i++)
      at = GetDataAdeptor(QueryString[i]);
      at.Fill(ds, TableName[i]);
       string rptPath  = "";
      rptPath = Application.StartupPath + "\\" + ReportName;
      rpt.Load(rptPath);
      rpt.SetDataSource(ds);
       if (Parameter != "")
      rpt.SetParameterValue(0, Parameter);
      crv.ReportSource = rpt;
      crv.Refresh();
       //CrystalReportViewer.DataBind();
       //Me.Panel1.Controls.Add(CrystalReportViewer);
       Panel panel1 = new Panel();
      panel1.Controls.Add(crv);

    Hi Bhushan,
    It's not yet fixed. My dataset (ds) can't bine to DataGridView as
    DataGridView1.DataSource = ds
    But it could do like this
    DataGridView1.DataSource = ds.Tables[0];
    When I bine to Crystal Report Viewer setdatasource
    CrystalReportViewer1.setdatasource = ds.Tables[0];
    It still not work, anyway you suggest let me in the right way. I very confuse the thing I fix to bine to DataGridView
    Thank,
    Chaiwat

  • SPM 5.2 - problem with reason/activity fields - not showing in the report

    Dear experts,
    I have a situation that is hard to describe.
    We have SPM 5.2 - all set and working, now the problem is that for some of the FF sessions the tool is either not reporting the reason/activity fields (due to some technical problem that is occuring randomly) or the users have found a way to abuse the fields and make thier way around them. (these fields are very important for our SOX controls)
    I have created test users to see how they are entering without filling the reason/activity fields, but no luck - i couldnt enter.
    As you know the Activity field is mandatory text field and at least one character must be entered,  but I don`t think this is the workaround, because even if you put space the report still will show it. I have examples where the report is not showing anything.
    The worst is that I can`t simulate such cases.
    Have you ever heard of such nosense?
    Thank you,
    Iliya

    I think I found it - Application deficiency. It is the language that you are logged with. If it is not English the application is not recording the text that you type in the reason/activity fields upon FF session.
    I hope the latest patches are fixing this!
    BR
    Iliya

  • Sales Invoice no & date is not showing in J2I6 Report

    Hello Experts,
    I am running J2I6 report for RG23A PART2 register. In this report Duty like  BED, Ecess & HEcess is showing in all case but for credit utilization i.e. sales part INVOICE no & Invoice no is not showing in Report.We have applied Enhancement pack(EHP 3) before some days. Due to this it can be a problem?
    Can anyone help me solved the problem.
    Regards,
    Piyush

    Try to create the same report manually by adding each column and run the report and then go for another column.
    This might narrow down to issue.
    or else get the sql query and work on where clause condition first to see the reason.
    if helps mark
    ~ http://cool-bi.com

  • Data not showing up on report

    Hi
    I have an Infocube that has data (ready for reporting) loaded from APO Livecache.
    I'm running a BEX report that gets data from that cube, and for some reason the value for one Key figure is not showing up.
    It's there in the infocube, but is not showing up on the report. The column for that key figure is just blank.
    What can I check or do to see the value there?
    Thanks!
    Pooja

    Hi
    There are no restrictions or conditions on the KF and it is running on a single Infocube.
    There are non-zero values in the cube.
    The field level authorizations are also fine...
    we used to be able to see the values when we last ran this report 2 weeks back.
    There's a calculated key figure that is a sum of this key figure that's not showing up and another one. It is showing the aggregate value correctly! Eg:
    KF not showing up: Production Planned
    2nd KF : On Hand Stock
    Calculated KF Ending Inventory = Production Planned + On Hand Stock
    Although Production Planned is not showing up in the report, I checked its value in the cube and the Ending Inventory value is summed correctly in the report.

  • New Field not Showing up in Report.

    I have a CR query that I am editing to add a column to my report.  When I make my edits, the query runs, but I do not see the new field in the field explorer.  The part in purple is what I added.  Do I need to add it elsewhere in the code?
    WITH SEL_ACCTS AS(
    SELECT
    CASE WHEN RMSCUSTTYP = 'I' THEN
    CASE WHEN Trim(TRIM(RMSLASTNM) || ', ' || TRIM(RMSFIRSTNM)) <> ',' THEN  Trim(TRIM(RMSLASTNM) || ', ' || TRIM(RMSFIRSTNM))
    ELSE ''
    END
    ELSE
    RMSCMPNAME
    END AS "DEBTOR NAME",
    RMSACCTNUM AS "CLIENT ACCOUNT#",
    case when RMSHOMEPHN = '' or RMSWORKPHN = '' or RMSFAXPHN = '' or RMSMOBLPHN = '' then  'Y' else 'N' end as skipplcmt,
    A.RMSBILENUM,
    RMSDATEASG AS PLC_DT,
    ATTRNYCODE,
    RMSGATECD As "Gate Code",
    RAND() AS RANDNUMGEN
    FROM
    REPORTING.RMASTER As A
    left join reporting.rcomker b
    on a.rmsbilenum = b.rmsBilenum
    WHERE
    RMSDATEASG > REPLACE(CHAR(CURRENT DATE - 90 DAYS, ISO),'-','')
    AND recordtype =  'D'
    and ATTRNYCODE IN ({?AGCY_CODE})),
    GET_ACCTS AS(
    SELECT
    "DEBTOR NAME",
    "CLIENT ACCOUNT#",
    Cast(Timestamp(plc_dt||'000000') As Date)  AS "PLACED DATE",randnumgen,skipplcmt,
    PLC_DT,
    ATTRNYCODE,
    A.RMSBILENUM
    FROM
    SEL_ACCTS AS A
    LEFT JOIN
    REPORTING.RPRDBAL AS B ON A.RMSBILENUM = B.RMSBILENUM
    ORDER BY RANDNUMGEN
    FETCH FIRST {?#_of_Accts} Rows Only),
    GET_ACTV AS(
    SELECT
    G.*,
    RMSTRANDTE,
    ACTION_CODE,rmstrantim,
    RESULT_CODE
    From GET_ACCTS AS G LEFT JOIN RPTINGDATA.ROACTREACC AS R ON G.RMSBILENUM = R.RMSBILENUM AND G.ATTRNYCODE = R.ATTRNYCODE AND RMSTRANCDE = '9R'
        AND (ACTION_CODE IN('1','2','3','4','5','7','14','16','22','25','26','27','29','36','44','66') OR RESULT_CODE IN ('2','14','56','58','59','60','61','62','66')) AND RMSTRANDTE >= PLC_DT )
    SELECT 
    "DEBTOR NAME",
    "CLIENT ACCOUNT#",
    "PLACED DATE",
    PLC_DT,
    ATTRNYCODE,
    RMSBILENUM,skipplcmt,
    MIN(CASE WHEN ACTION_CODE IN ('3','4','5','7','25','26','27','29')
        THEN Cast(Timestamp(rmstrandte||'000000') As Date)
        ELSE NULL END) AS FIRSTATTEMPT,
    SUM(CASE WHEN ACTION_CODE IN ('3','4','5','7','25','26','27','29')
        THEN 1 END) AS ATTEMPT#,
    SUM(CASE WHEN RESULT_CODE IN ('2','56','58','59','60','61','62','66')
        THEN 1 END) AS CONTACT#,
    SUM(CASE WHEN RESULT_CODE = '14'
        THEN 1 END) AS PROMISE#,
    MIN(CASE WHEN ACTION_CODE = '44'
        THEN Cast(Timestamp(rmstrandte||'000000') As Date)
        ELSE NULL END) AS FIRSTMGRRVW,
    SUM(CASE WHEN ACTION_CODE = '44'
        THEN 1 END) as MANAGER#,
    MIN(CASE WHEN ACTION_CODE = '1'
        THEN Cast(Timestamp(rmstrandte||'000000') As Date)
        ELSE NULL END) AS FIRSTLETTER,
    MIN(CASE WHEN ACTION_CODE = '36'
        THEN Cast(Timestamp(rmstrandte||'000000') As Date)
        ELSE NULL END) AS FIRSTSCRUB,
    max(CASE WHEN ACTION_CODE in ('1','2','14','16','22','66')
        then 'Y' else 'N' end) as locateacct,
    sum(case WHEN ACTION_CODE IN ('3','4','5','7','25','26','27','29') and (rmstrantim between 80000 and 100000 or rmstrantim between 180000 and 210000) and (  DAYOFWEEK(DATE (
                        SUBSTR ( DIGITS (rmstrandte) , 1 , 4 ) || '-' ||
                        SUBSTR ( DIGITS (rmstrandte) , 5 , 2 ) || '-' ||
                        SUBSTR ( DIGITS (rmstrandte) , 7 , 2 ) )) in (1,7) ) then 1 else 0 end) as primecall,
    FROM GET_ACTV
    GROUP BY
    "DEBTOR NAME",
    "CLIENT ACCOUNT#",
    "PLACED DATE",
    PLC_DT,
    ATTRNYCODE,
    RMSBILENUM,skipplcmt

    It's not showing up because it's only in the first With Select - it hasn't been brought down all the way through to the final Select.  Here's how you need to change it;
    WITH SEL_ACCTS AS(
            SELECT
              CASE WHEN RMSCUSTTYP = 'I' THEN
                CASE WHEN Trim(TRIM(RMSLASTNM) || ', ' || TRIM(RMSFIRSTNM)) <> ',' THEN  Trim(TRIM(RMSLASTNM) || ', ' || TRIM(RMSFIRSTNM))
                ELSE ''
                END
              ELSE RMSCMPNAME
              END AS "DEBTOR NAME",
              RMSACCTNUM AS "CLIENT ACCOUNT#",
              case when RMSHOMEPHN = '' or RMSWORKPHN = '' or RMSFAXPHN = '' or RMSMOBLPHN = '' then  'Y' else 'N' end as skipplcmt,
              A.RMSBILENUM,
              RMSDATEASG AS PLC_DT,
              ATTRNYCODE,
              RMSGATECD as "Gate Code",
              RAND() AS RANDNUMGEN
            FROM REPORTING.RMASTER As A
              left join reporting.rcomker b on a.rmsbilenum = b.rmsBilenum
            WHERE RMSDATEASG > REPLACE(CHAR(CURRENT DATE - 90 DAYS, ISO),'-','')
              AND recordtype =  'D'
              and ATTRNYCODE IN ({?AGCY_CODE})),
    GET_ACCTS AS(
            SELECT
              "DEBTOR NAME",
              "CLIENT ACCOUNT#",
              Cast(Timestamp(plc_dt||'000000') As Date)  AS "PLACED DATE",randnumgen,skipplcmt,
              PLC_DT,
              ATTRNYCODE,
              A.RMSBILENUM,
             "Gate Code"
            FROM SEL_ACCTS AS A
              LEFT JOIN REPORTING.RPRDBAL AS B ON A.RMSBILENUM = B.RMSBILENUM
            ORDER BY RANDNUMGEN
            FETCH FIRST {?#_of_Accts} Rows Only),
    GET_ACTV AS(
            SELECT
              G.*,
              RMSTRANDTE,
              ACTION_CODE,rmstrantim,
              RESULT_CODE
            From GET_ACCTS AS G
              LEFT JOIN RPTINGDATA.ROACTREACC AS R ON G.RMSBILENUM = R.RMSBILENUM AND G.ATTRNYCODE = R.ATTRNYCODE AND RMSTRANCDE = '9R'
                AND (ACTION_CODE IN('1','2','3','4','5','7','14','16','22','25','26','27','29','36','44','66')
                OR RESULT_CODE IN ('2','14','56','58','59','60','61','62','66')) AND RMSTRANDTE >= PLC_DT )
    SELECT 
      "DEBTOR NAME",
      "CLIENT ACCOUNT#",
      "PLACED DATE",
      PLC_DT,
      ATTRNYCODE,
      RMSBILENUM,
      skipplcmt,
      "Gate Code"
      MIN(CASE WHEN ACTION_CODE IN ('3','4','5','7','25','26','27','29')
        THEN Cast(Timestamp(rmstrandte||'000000') As Date)
        ELSE NULL END) AS FIRSTATTEMPT,
      SUM(CASE WHEN ACTION_CODE IN ('3','4','5','7','25','26','27','29')
        THEN 1 END) AS ATTEMPT#,
      SUM(CASE WHEN RESULT_CODE IN ('2','56','58','59','60','61','62','66')
        THEN 1 END) AS CONTACT#,
      SUM(CASE WHEN RESULT_CODE = '14'
        THEN 1 END) AS PROMISE#,
      MIN(CASE WHEN ACTION_CODE = '44'
        THEN Cast(Timestamp(rmstrandte||'000000') As Date)
        ELSE NULL END) AS FIRSTMGRRVW,
      SUM(CASE WHEN ACTION_CODE = '44'
        THEN 1 END) as MANAGER#,
      MIN(CASE WHEN ACTION_CODE = '1'
        THEN Cast(Timestamp(rmstrandte||'000000') As Date)
        ELSE NULL END) AS FIRSTLETTER,
      MIN(CASE WHEN ACTION_CODE = '36'
        THEN Cast(Timestamp(rmstrandte||'000000') As Date)
        ELSE NULL END) AS FIRSTSCRUB,
      max(CASE WHEN ACTION_CODE in ('1','2','14','16','22','66')
        then 'Y' else 'N' end) as locateacct,
      sum(case WHEN ACTION_CODE IN ('3','4','5','7','25','26','27','29') and (rmstrantim between 80000 and 100000 or rmstrantim between 180000 and 210000) and
         (  DAYOFWEEK(DATE (SUBSTR ( DIGITS (rmstrandte) , 1 , 4 ) || '-' || SUBSTR ( DIGITS (rmstrandte) , 5 , 2 ) || '-' || SUBSTR ( DIGITS (rmstrandte) , 7 , 2 ) )) in (1,7) )
         then 1 else 0 end) as primecall,
    FROM GET_ACTV
    GROUP BY
      "DEBTOR NAME",
      "CLIENT ACCOUNT#",
      "PLACED DATE",
      PLC_DT,
      ATTRNYCODE,
      RMSBILENUM,
      skipplcmt,
      "Gate Code"
    -Dell

  • Lov Values are not showing for Discoverer Reports in Application

    Hi,
    I developed some discoverer reports, those reports having parameters with LOV. Those LOV values are showing in Discoverer Desktop, but after registering those reports in Oracle applications those LOV values are not showing. Pls let me know how resolve this issue.
    Regards,
    Hanimi.

    Hi,
    Also it is necessary to know how the LOVs are defined. Are they based on Application flexvalues for example? In which case it may be that you have not got your NLS language parameters set correctly when connecting from Applications.
    Rod West

  • Images not showing in the report

    Version: Crystal Reports XI
    Hi,
          Currently I have a report that has images from the database (blob) , logo, and images that I inserted in the report. The report is being called by a jsp page. Our crystal server is installed in unix server.
    When we try to run the report thru our  web interface...... the report runs but the images are not showing. it only shows like x image in it.....
    Don't have any idea how to resolve this....... please help

    If you are using Web Service to access Reports through BOXI server, then as per documentation you need to call getImage of ReportEngine with callback handler after you call getDocumentInformation.
    Refer to the developer's guide -
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2/en/devsuite.htm#en/WS_SDK/wssdk_consumer/doc/wssdk_dg/DevelopingConsumerWebApps18.html

  • New Field not Showing up in Report, part II.

    I had this issue with another report, and I was told that I hadn't brought my new field down all the way through to the final Select.  With this report, I thought I had done just that, but the new field is still not showing up.  I have pasted the code below with my additions highlighted.  Can someone tell me what I am doing wrong?  Thanks.
    WITH SEL_ACCTS AS(
    SELECT
    CASE
    WHEN RMSCUSTTYP = 'I'
    THEN
    CASE
    WHEN
    Trim(TRIM(RMSLASTNM) || ', ' || TRIM(RMSFIRSTNM)) <> ','
    THEN
    Trim(TRIM(RMSLASTNM) || ', ' || TRIM(RMSFIRSTNM))
    ELSE
    END
    ELSE
    RMSCMPNAME
    END AS "DEBTOR NAME",
    RMSACCTNUM AS "CLIENT ACCOUNT#",
    rmslastpmt,rmsjdgdate,
    CASE WHEN RMSJDGDATE  = 0 THEN  (RMSCHGAMT+RMSASSCCST+RMSACRDINT+UDCCOSTS1+UDCCOSTS2)-(RMSRCVPCPL+      
        RMSXCSRCVS+RMSRCVDCST+RMSRCVDINT+UDCRECCS1+UDCRECCS2)  
        ELSE (RMSJDGCHOF+RMSJDGCSTS+RMSJDGINTS+JDGCOSTS1+JDGCOSTS2)-(JDGRECVRYS+     
        JDGXCSRCVS+JDGRCVCSTS+JDGRCVINTS+JDGRECCS1+JDGRECCS2)
        END AS BALANCE,
    A.RMSFILENUM,
    RMSDATEASG AS PLC_DT,
    ATTRNYCODE,
    RMSSTATECD As "State Code",
    RAND() AS RANDNUMGEN
    FROM
    REPORTING.RMASTER As A
    left join reporting.rcomker b
    on a.rmsfilenum = b.rmsfilenum
    left join reporting.rprdbal c
    on a.rmsfilenum = c.rmsfilenum
    WHERE
    RMSDATEASG < REPLACE(CHAR(CURRENT DATE - 180 DAYS, ISO),'-','')
    AND recordtype =  'D'
    and ATTRNYCODE IN ({?AGCY_CODE})),
    GET_ACCTS AS(
    SELECT
    "DEBTOR NAME",
    "CLIENT ACCOUNT#",plc_dt,
    case when plc_dt > 0 then  Cast(Timestamp(plc_dt||'000000') As Date)  end AS "PLACED DATE",
    ATTRNYCODE,
    "State Code",
    A.RMSFILENUM,case when rmslastpmt > 0 then Cast(Timestamp(rmslastpmt||'000000') As Date) end  as rmslastpmt, rmsjdgdate,balance
    FROM
    SEL_ACCTS AS A
    ORDER BY RANDNUMGEN
    FETCH FIRST {?#_of_Accts} Rows Only),
    financials as (
    select "DEBTOR NAME",
    "CLIENT ACCOUNT#",
    "PLACED DATE",
    a.ATTRNYCODE,
    A.RMSFILENUM,rmslastpmt,case when rmsjdgdate > 0 then Cast(Timestamp(rmsjdgdate||'000000') As Date) end  as rmsjdgdate,balance,
    sum(case when e.rmstrancde between '3A' and '39' or e.rmstrancde in ('1G','1U') then e.rmstranamt end) as costspent,
    sum(case when (e.rmstrancde between '5A' and '69' or e.rmstrancde = '1P') and postdate > rmsjdgdate then 
              e.rmstranamt                                                     
                                             end) as pmtamt,
    sum(case when e.rmstrancde = '5C'  then  e.rmstranamt      end) as costrecvd
    from get_accts a
    left join reporting.rfinanl e
    on a. rmsfilenum = e.rmsfilenum
    and   (e.rmstrancde between '3A' and '69'                                      
    or e.rmstrancde in ('1P','1G','1U'))                                          
    and postdate > plc_dt and a.attrnycode = e.attrnycode
    group by
    "DEBTOR NAME",
    "CLIENT ACCOUNT#", "PLACED DATE",
    a.ATTRNYCODE,
    A.RMSFILENUM,rmslastpmt,case when rmsjdgdate > 0 then Cast(Timestamp(rmsjdgdate||'000000') As Date) end  ,balance )
    select "DEBTOR NAME",
    "CLIENT ACCOUNT#",
    "PLACED DATE",
    "State Code",
    a.ATTRNYCODE,rmslastpmt, rmsjdgdate,balance,c.rmsbalance as plc_bal,costspent, pmtamt,costrecvd,
    Cast(Timestamp(max(case when b.hstnewvalu in ( 'L31')  then b.rmstrandte else  null end)||'000000') As Date)  as servicedate,
    Cast(Timestamp(max(case when b.hstnewvalu in ( 'L13','P13')  then b.rmstrandte else  null end)||'000000') As Date)  as garnishdate,
    Cast(Timestamp(max(case when b.hstnewvalu in ( 'L14','P14')  then b.rmstrandte else  null end)||'000000') As Date)  as levydate,
    Cast(Timestamp(max(case when b.hstnewvalu in ( 'L17','P17')  then b.rmstrandte else  null end)||'000000') As Date)  as suitfiledate,
    Cast(Timestamp(max(case when b.hstnewvalu in ( 'L12','P12')  then b.rmstrandte else  null end)||'000000') As Date)  as liendate
    from financials a
    left join reporting.rhistfl b
    on a.rmsfilenum = b.rmsfilenum
    and b.RMSTRANCDE = 'MT' And b.RMSFLDIMPL = 'RMSSTATUS'
    and b.hstnewvalu in ('L12','L13','L14','L17','P12','P13','P14','P17','L19','PJC','L31')
    left join reporting.rhistfl c
    on a.rmsfilenum = c.rmsfilenum
    and c.RMSTRANCDE = 'MR' AND c.RMSFLDIMPL = 'ATTRNYCODE' and c.hstnewvalu in ({?AGCY_CODE})
    group by
    "DEBTOR NAME",
    "CLIENT ACCOUNT#", "PLACED DATE",
    a.ATTRNYCODE,rmslastpmt,rmsjdgdate  ,balance,c.rmsbalance,costspent, pmtamt,costrecvd, "State Code"

    hi David,
    some questions:
    1) do you mean that statecode is not showing up in the Field Explorer?
    2) if you run this through your db query tool, what is the result?
    3) if you create a new report off of this syntax, what is the result?
    -jamie

  • Data is not showing up in report on ODS

    Hi All,
    we have requirment like below
    we have an ODS  no update rules and nothing with 5 fields . with bex reporting flag checked..
    we have function module to fill the data for these 5 fileds in  ODS active data table .
    So data is there only in active data table that table was filling  by using  function module.
    so i need report that data .when i created and run the report data its not showing up.
    Please let me know whats the issues is and how to handle.
    I appreciate your help
    Regards,
    Sirisha

    In this case you need to use Write-Optimized DSO or if you are in earlier version, then you need to use Transactional ODSinstead of basic DSO.
    thanks.
    Wond

Maybe you are looking for

  • Problem in dynamic selection in vendor balance report  tcode S_ALR_87012082

    Hello Friends, After upgrading from 4.7 to ecc 6.0 we are facing the below mentioned problem. In a Vendor Balances report, the document selection is not available in the dynamic selections and hence i am not able to select the business area to suit t

  • Too many results for query

    Hello, I'm using Oracle to teach my students database programming with VB.NET (ADO.NET). During my course, I introduce the DataAdapter Configuration wizard of Visual Studio for creating a connection and dataadapter. I'm using OleDb (from Microsoft) t

  • Flash installation problem

    i cannot install Flash.  I get so far and then i get a message to close internet explorer.  What am i doing wrong?  How do i close IE and still download?  help.

  • Display headers in mail

    how do i turn on 'display headers' in mail? thank you!

  • V21 (N95-1 on 3 UK)

    Is there an imminent upgrade likely for N95-1 handsets that are on the 3 network in the UK? It is saying that my most recent software version is 20.0.015 instead of 21. Solved! Go to Solution.