Query Related problem

Dear All ,
I am new to BI . I am facing one problem please help me .
There is report which shows the period wise cumulative balance of G/L accounts for entered company code , Fiscal year and Ledger type entered on selection screen . As of on the selection screen Company code takes the single value on selection screen and report works fine . But Now requirement has come to make the company code to take intervals .
The problem is arising because of different currencies for different company code .
say for example . Company code 1000 has currency INR and 2000 has USD . So the query is not able to determine the currency how to solve this problem .
If needs further input on the problem let me know .

Hi Venkat ,
I have two Company codes
1200 with currency INR
1300 with currency USD
On the selection screen I have following
Company code - single value, mandatory
Current fiscal year - single value , mandatory
Ledger Type - Single value , mandatory
Currency Type - single value
Currency Rate .
Report shows following
G/L Account    Balnace in Company    Balance in transalated
                      currency for period 1     currency from selection -
Upto
                                                         screen for period 1                      period 12

Similar Messages

  • About query related problem

    hi ,
           we are generate query in 2005b,and procced for execuite query.following problem occure'<b>odbc sql server driver'[sql server] syntax error the converting the nvarchar value' 70302/20307' to column of data type int received alert OAIB</b>
    QUERY SHOWN BE AS FOLLOW.
    SELECT T5.DocNum as'Po. No. ', T5.DocDate as 'Po Date',T0.CreateDate,T5.NumAtCard as 'Man.PO. No/ Dt.', T0.DocNum as'AP No. ', T0.DocDate as 'AP Date',T0.NumAtCard as 'Vendor Ref. No.', T0.U_vbdt as 'Vendor Ref. Date', T0.CardName as 'Vendor', T1.Dscription as 'Item',  T1.Quantity AS 'QTY'  , T1.Price as 'Basic Rate', (T1.Price *T1.Quantity) as 'Value',T0.Comments as 'Po No. & Po.Dt.' FROM OPCH T0 INNER JOIN PCH1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OCRD T2 ON T0.CardCode = T2.CardCode INNER JOIN OPDN T3 ON T2.CardCode = T3.CardCode INNER JOIN PDN1 T4 ON T3.DocEntry = T4.DocEntry INNER JOIN OPOR T5 ON T2.CardCode = T5.CardCode INNER JOIN POR1 T6 ON T5.DocEntry = T6.DocEntry INNER JOIN OITM T7 ON T1.ItemCode = T7.ItemCode INNER JOIN OITB T8 ON T7.ItmsGrpCod = T8.ItmsGrpCod WHERE (  T1.BaseRef  =  T3.DocNum )  AND ( T4.BaseRef =  T5.DocNum ) AND (  T0.U_vbdt >=[%25]AND  T0.U_vbdt <=[%26]) AND ( T4.Dscription =T1.Dscription ) AND ( T4.Dscription = T6.Dscription  ) AND  (( T1.Dscription=[%0] OR T1.Dscription=[%1] OR T1.Dscription=[%2] OR T1.Dscription=[%3] OR T1.Dscription=[%4] OR T1.Dscription=[%5] OR T1.Dscription=[%6] OR T1.Dscription=[%7] OR T1.Dscription=[%8] ) OR ( T0.CardName=[%10] OR T0.CardName=[%09] OR T0.CardName=[%27] OR T0.CardName=[%28] ) OR ((  T8.ItmsGrpNam =[%11]  oR T8.ItmsGrpNam =[%12] OR T8.ItmsGrpNam =[%13] OR T8.ItmsGrpNam =[%14] OR T8.ItmsGrpNam =[%15] OR T8.ItmsGrpNam =[%16] OR T8.ItmsGrpNam =[%17] OR T8.ItmsGrpNam =[%18] OR T8.ItmsGrpNam =[%19] ) and  ( T7.U_FirmName =[%20] OR T7.U_FirmName =[%21] OR T7.U_FirmName =[%22] 
    oR T7.U_FirmName =[%23] OR T7.U_FirmName =[%24] )) )

    Hi Vishal,
    the value '70302/20307' is not an whole number so converting it to an int is not possible.
    You should check your data for this value an change your query or data.
    Regards
    Ad

  • Be query related problem

    hi all
    I AM FACING SIMILAR PROBLEM I.E I CREATED NEW QUERY UNDER ONE CUBE AS PER REQ, AND PREVIOUSLY WHILE I WAS CREATING NEW QUERY IT ASKED FOR NEW REQUEST SO I ASSIGNEd  THAT QUERY TO NwE  PARTICULAR REQUEST.SO IT WORKED.
    NOW AGAIN WHEN CREATING NEW QUERY IT DID NOT ASK FOR ANY NEW REQUEST ,SO I STARTED DESIGNING THE QUERY ,NOW WHEN I RUN THE QUERY DESIGNER WORKBOOK IS OPENING ASUSAL AnD I SEE THE REPORT ,Its  FINE. AGAIN  I WANT TO add ONE VARAIBLE SO I CLICKED CHANGE GLOBAL DEFINITION AN ADDED ONE VARIABLE ,NOW THE WORKBOOK IS NOT OPENING AND ITS JUST IN PROCESS WITHOUT ANY RESULT ,WHY IT HAPPENING ,ONE TIME WORKBOOK I SOPENING AT A GLANCE ANS OTHER TIME WORKBOOK IS TAKING TIME AND ALSO NOT RESPONDING IS THE MESSAGE SHOWN.
    SO WHAT EXACTLY US WORKBOOK 2,3,4 ,5 ETC-----
    HOW TEHSE WORKBOOK NO COME AND WERE OUR REPORT STORES IN WHCH WORkbook
    bye
    satya

    Hi Satya,
    It happens. The window with an input screen for a variable value or for a transport request might be hidden beneath another windows. You need just to switch into the proper window.
    As usual, I click on an icon 'Show desktop' to hide all windows. Then press CTRLALTDEL to invoke Windows input screen, click an a 'Task Manager', then 'Switch to' BEx. After that I can see BEx and its additional windows.
    Best regards,
    Eugene

  • Query  related to the transfer of the control to the other controller.

    Hi all,
    I have a query related to the transfer of the control to the other controller.
    I have components A and B .From a view of component A I neeed to open a window which belong to component B.Problem is that ,if I use create_window_for_cmp_usage( ) and the open( ) method and after that there is some code,then that code is getting executed before the window is opening.
    I want that the control should be back to the these code after the window is poped up and  after clossing the window. 
    Eg
    method ONACTIONOPEN_WINDOW .
    DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component  TYPE REF TO if_wd_component.
      DATA lo_window         TYPE REF TO if_wd_window.
      lo_api_component  = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
      lo_window         = lo_window_manager->create_window_for_cmp_usage(
                         interface_view_name    = 'ZHELLO_WORLD'
                         component_usage_name   = 'USAGE_HELLO'
                       title                  =
                       close_in_any_case      = abap_true
                         message_display_mode   = if_wd_window=>co_msg_display_mode_selected
      lo_window->open( ).
      data a type i.
      data b type i.
      a = 2.
      b = 3.
      a = a + b.
    endmethod.
    In this case I am calling  ONACTIONOPEN_WINDOW method.But before opening the window the a iscalculated here.I want that after popuping  the window the calculations should be done .
    How will I achieve this.
    Thanks in advance.
    Edited by: vaibhav nirmal on Nov 25, 2008 6:42 AM

    Hi,
    You will have to do your calculation as an event in your new window, or capture the closing of the new window as an event in your currenbt view and do your calculations in the event.
    Regards,
    Shruthi R

  • Query related to .tpz files

    Hi,
    I am having query related to .tpz files.
    I am having XI Development server on AIX. My XI Prd server will be on windows NT .
    <b>Can i transport .tpz file from development server to production server as both the servers are on different platforms.</b>
    Regards
    Prabhat

    I think it should not be a problem....
    One of the reasoning is that SAP standard content for XI also comes as tpz files... 
    best way to know is to just try it out...
    here is the link from sap help on transporting objects..
    http://help.sap.com/saphelp_nw04/helpdata/en/a8/5e56006c17e748a68bb3843ed5aab8/frameset.htm
    Thanks,
    Renjith

  • Query related to SAP

    I have a query relating to SAP, specifically when using the Create New Session button. In the past when using this button, it has always created a new SAP session with the window displaying the SAP Easy Access  User Menu... front end, with all my favourite transactions listed. However, recently this user menu has disappeared and the window is blank, meaning I have to type the transaction in the top left box, which, whilst not preventing use, is a little annoying and awkward!
    I dont believe I have changed any options recently and can find no settings that look like they would bring the user menu back but it would be really useful if it did! (It is probably worth mentioning that this only occurs when creating a new session; when starting a new SAP session in the first instance, the user menu appears...)
    Please help me out
    Many Thanks,
    Sunny

    Hi,
    SAP GUI version - 7.10
    i am using a desktop, tried logging in another desktop ,same problem.
    Recently there is a HARDWARE migration occured , might be this also effects the settings ?
    please Advise.
    Sunny

  • Regarding ABAP Query related

    Hi,
      Can any body tell me how to keep query related data in
    internal table?
    Regards,
    Suresh Kumar.

    Do you mean that you are running a SQ01 query and you want to get the data from it into your report program?
    If this is the case, the normal way that we pass internal tables and stuff from program to program, is thru IMPORT/EXPORT statements.  But since you are talking about a query this may be a problem in adding the EXPORT statement to it.
    Regards,
    RIch Heilman

  • Hi  all......................i have a query related to spl bus process

    hi all hero's,
    i have a query related to spl bus process.
    while configuration of spl bus process there is no any problem and while it comes to billing
    a ticket will rise and its integration with fi-sd  and i e
    missing data G/L account.
    can any body solve it plz
    regards,
    balaji

    G/L assignment requires to be maintained in T.Code VKOA.
    If you check where the error is:
    T.Code: VF02 - Enter Billing Document Number --> "(on the topmost Blue line) Environment --> Account Determination analysis --> Revenue Account.
    Here  you will get all the condition type & you can analyse where theerror is.
    Regards,
    Rajesh Banka

  • Problem description: I have ordered a new iMac but my current one seems to be running very slowly.  I believe it to be a memory related problem but can't seem to identify what is causing it.  Help is greatly appreciated.

    Problem description:
    I have ordered a new iMac but my current one seems to be running really slowly.  I believe it to be a memory related problem but can’t seem to identify what is causing it.  Your help is greatly appreciated.
    EtreCheck version: 2.1.8 (121)
    Report generated March 7, 2015 at 4:01:26 PM PST
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        iMac (24-inch, Early 2008) (Verified)
        iMac - model: iMac8,1
        1 2.8 GHz Intel Core 2 Duo CPU: 2-core
        2 GB RAM Upgradeable
            BANK 0/DIMM0
                1 GB DDR2 SDRAM 800 MHz ok
            BANK 1/DIMM1
                1 GB DDR2 SDRAM 800 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
        ATI Radeon HD 2600 Pro - VRAM: 256 MB
            iMac 1920 x 1200
    System Software: ℹ️
        OS X 10.10 (14A389) - Time since boot: 23 days 18:5:35
    Disk Information: ℹ️
        ST3320820AS_Q disk0 : (320.07 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Macintosh HD (disk0s2) / : 319.21 GB (195.05 GB free)
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
    USB Information: ℹ️
        HP Officejet 6000 E609n
        Apple, Inc. Keyboard Hub
            Primax Electronics Apple Optical USB Mouse
            Apple, Inc Apple Keyboard
        Apple Inc. Built-in iSight
        Western Digital External HDD 500.11 GB
            My Passport (disk1s1) /Volumes/My Passport : 500.11 GB (200.60 GB free)
        Apple Inc. BRCM2046 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Computer, Inc. IR Receiver
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /Applications/Popcorn 4/Popcorn.app
        [not loaded]    com.roxio.TDIXController (2.0) [Click for support]
            /System/Library/Extensions
        [not loaded]    com.aliph.driver.jstub (1.1.2 - SDK 10.7) [Click for support]
    Problem System Launch Agents: ℹ️
        [killed]    com.apple.accountsd.plist
        [killed]    com.apple.AirPlayUIAgent.plist
        [killed]    com.apple.bird.plist
        [killed]    com.apple.CalendarAgent.plist
        [killed]    com.apple.CallHistoryPluginHelper.plist
        [killed]    com.apple.CallHistorySyncHelper.plist
        [killed]    com.apple.cloudd.plist
        [killed]    com.apple.cmfsyncagent.plist
        [killed]    com.apple.coreservices.appleid.authentication.plist
        [killed]    com.apple.coreservices.uiagent.plist
        [killed]    com.apple.EscrowSecurityAlert.plist
        [killed]    com.apple.nsurlsessiond.plist
        [killed]    com.apple.pluginkit.pkd.plist
        [killed]    com.apple.printtool.agent.plist
        [killed]    com.apple.rcd.plist
        [killed]    com.apple.recentsd.plist
        [killed]    com.apple.sbd.plist
        [killed]    com.apple.scopedbookmarkagent.xpc.plist
        [killed]    com.apple.secd.plist
        [killed]    com.apple.security.cloudkeychainproxy.plist
        [killed]    com.apple.spindump_agent.plist
        [killed]    com.apple.telephonyutilities.callservicesd.plist
        22 processes killed due to memory pressure
    Problem System Launch Daemons: ℹ️
        [killed]    com.apple.AssetCacheLocatorService.plist
        [killed]    com.apple.awdd.plist
        [killed]    com.apple.ctkd.plist
        [killed]    com.apple.diagnosticd.plist
        [killed]    com.apple.emond.aslmanager.plist
        [killed]    com.apple.GSSCred.plist
        [killed]    com.apple.icloud.findmydeviced.plist
        [killed]    com.apple.ifdreader.plist
        [killed]    com.apple.nehelper.plist
        [killed]    com.apple.nsurlsessiond.plist
        [killed]    com.apple.periodic-daily.plist
        [killed]    com.apple.periodic-monthly.plist
        [killed]    com.apple.periodic-weekly.plist
        [killed]    com.apple.softwareupdate_download_service.plist
        [killed]    com.apple.softwareupdated.plist
        [killed]    com.apple.spindump.plist
        [killed]    com.apple.tccd.system.plist
        [killed]    com.apple.wdhelper.plist
        [killed]    com.apple.xpc.smd.plist
        [killed]    org.cups.cupsd.plist
        20 processes killed due to memory pressure
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [loaded]    com.sonos.smbbump.plist [Click for support]
    User Login Items: ℹ️
        iTunesHelper    UNKNOWN Hidden (missing value)
        Jawbone Updater    Application  (/Applications/Jawbone Updater.app)
        Dropbox    Application  (/Applications/Dropbox.app)
    Internet Plug-ins: ℹ️
        Photo Center Plugin: Version: Photo Center Plugin 1.1.2.2 [Click for support]
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        QuickTime Plugin: Version: 7.7.3
        OfficeLiveBrowserPlugin: Version: 12.3.6 [Click for support]
        CitrixICAClientPlugIn: Version: 11.2.0 [Click for support]
        iPhotoPhotocast: Version: 7.0
    3rd Party Preference Panes: ℹ️
        Citrix Online Plug-in  [Click for support]
        Flash Player  [Click for support]
        UE Smart Radio  [Click for support]
    Time Machine: ℹ️
        Auto backup: YES
        Volumes being backed up:
            Macintosh HD: Disk size: 319.21 GB Disk used: 124.16 GB
        Destinations:
            Time Machine Backups [Local]
            Total size: 3.00 TB
            Total number of backups: 98
            Oldest backup: 2013-08-28 05:45:36 +0000
            Last backup: 2014-12-30 19:39:32 +0000
            Size of backup disk: Excellent
                Backup size 3.00 TB > (Disk size 319.21 GB X 3)
    Top Processes by CPU: ℹ️
             5%    com.apple.WebKit.Plugin.64
             3%    WindowServer
             2%    sysmond
             0%    AppleSpell
             0%    com.apple.WebKit.Networking
    Top Processes by Memory: ℹ️
        41 MB    Finder
        41 MB    iTunes
        37 MB    Safari
        32 MB    com.apple.WebKit.Plugin.64
        32 MB    mds
    Virtual Memory Information: ℹ️
        53 MB    Free RAM
        501 MB    Active RAM
        463 MB    Inactive RAM
        398 MB    Wired RAM
        78.46 GB    Page-ins
        3.04 GB    Page-outs
    Diagnostics Information: ℹ️
        Mar 7, 2015, 12:41:34 PM    /Library/Logs/DiagnosticReports/Inkjet4_2015-03-07-124134_[redacted].crash
        Mar 5, 2015, 07:42:29 PM    /Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_2015-03-05-194229_[ redacted].crash

    That certainly looks like a low memory issue, 2 GB ram is barely enough to run Mac OS X versions from Lion through Yosemite.  The high number of Page Outs and killed processes show very high memory pressure.
    Try adding memory, but be sure it is high quality, Mac certified memory such as that from OWC, http://www.macsales.com or Crucial, http://www.crucial.com

  • Query relating to the creation of Managed Service Accounts

    Hi Folks
    I am studying for my 70-411 exam and have a query relating to the creation of Managed Service Accounts.
    I have successfully created an MSA account named 'MSATest' on a DC  using:
     new-adserviceaccount -name msatest –dnshostname home-dc-01 -passthru
    and
     add-AdcomputerServiceAccount -identity home-ap-01 -serviceaccount msatest -passthru
    However the guide that I am using now says that I now need to run:  Install-ADServiceAccount on the host computer in the domain to install the MSA in order to make available it available for use by services.
    So on my member server (home-ap-01) I have installed the Active Directory Module for powershell and ran:
    PS C:\Users\administrator.PCECORP> Install-ADServiceAccount -Identity msatest
    Install-ADServiceAccount : Cannot install service account. Error Message: 'An
    unspecified error has occurred'.
    At line:1 char:1
    + Install-ADServiceAccount -Identity msatest
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : WriteError: (msatest:String) [Install-ADServiceA
       ccount], ADException
        + FullyQualifiedErrorId : InstallADServiceAccount:PerformOperation:Install
       ServiceAcccountFailure,Microsoft.ActiveDirectory.Management.Commands.Insta
      llADServiceAccount
    PS C:\Users\administrator.PCECORP>
    However this errors, Have I misunderstood the purpose of the Install-ADServiceAccount ?  or am I doing something wrong?
    Thanks in advance for you help.

    Try using  -RestrictToSingleComputer parameter when creating service account with New-ADServiceAccount.
    Gleb.
    Hi Gleb
    Thank you for your help, it is appreciated.  That did the trick.
    All the best.

  • Query related to multiple attachments in mail adapter

    Hi,
    I have a query related to multiple attachments in receiver mail adapter.
    I have successfully configured mail related scenarios but now I have another requirement in which I have multiple source files in one directory and I want to send one mail for multiple files as mail attachment using receiver mail adapter. Can anybody help me how to achieve multiple attachments in reciever mail adapter.
    To clarify the requirement more let us take an example
    Ex: I have 5 input files in the source which I pick up using additional files option in the sender file adapter, now I want to send those 5 files into one mail with 5 attachments. Can anybody explain how 5 different payload will be sent as multiple attachments in one mail.
    For your information I used, options like "keep attachments" , some parameters in module processesors etcs...but not able to find out as how exactly it will be achieved.......I dont want to use BPM collect pattern for this.....
    Need your help on this issue. Please suggest the solution as how it can be achieved using receiver mail adapter.
    Thanks & Regards
    Prabhat

    Hi,
    I resolved the issue on my own. Thanks for your help and support.
    Thanks & Regards
    Prabhat

  • Query designing problem while applying cell properties

    Hello Experts,
    I have a problem while designing query. Problem is as follow:
    I have a calculated field on key figure column. This key figure calculates variance between 2 columns.
    for E.g I have 2 columns Budget and Actual and third column is %Variance which should be          
    1. ((Actual - Budget)/Budget) *100 or
    2. ((Budget -Actual)/Budget)*100, depening on some values on the row i should use any of these 2 formulas but the result should be dispalyed in single column % Variance.
    how can i change the formula in key figures depending on these conditions. I can achieve this by applying cells but i dont want to do so as it is very complex way to desing these queries.
    also let me know applying cells on query affects its performance or not?
    Regards,
    Nirav

    Hi Nitin,
    Your reply may help me.
    But my exact requirement is not that. Requirement is as follow:
    I have created Char. Structure in row which contains few rows as revenue and few rows as expense.
    I created them by creating selections. Now in case of expense the variance should be                (Budget-Actual)/Budget *100.
    In case of revenue variance should be (Actual-Budget)/Budget *100.
    So, here i have to find out revenue & expense char. iresspective of which one is greater.
    Regards,
    Nirav

  • Query has problem

    Below query has problem .
    Pls see the queries for Usage Summary with Partition and Without Partition
    . I have executed this now so it may be in Buffer …****
    DB Query ... SUM from event objects, bin variables
    SELECT sum(amount) , sum(quantity), event.poid_type,ebal.resource_id,****
    event.service_obj_type, event.service_obj_id0,ebal.
    rate_obj_id0, ebal.OFFERING_OBJ_ID0, ebal.IMPACT_CATEGORY ****
    FROM event_bal_impacts_t ebal, item_t item, event_tevent*
    WHERE event.item_obj_id0 = item.poid_id0****
    AND ebal.obj_id0 = event.poid_id0****
    --                   and event.Poid_id0 >= 266838277921701888****
    --                 and event.Poid_id0 < 267928993456455680****
    --               and ebal.obj_id0 >= 266838277921701888****
    --             and ebal.obj_id0 < 267928993456455680****
    AND item.bill_obj_id0 = 148715294****
    AND ebal.product_obj_id0 = 27433706****
    AND ebal.account_obj_id0 = 146876519****
    AND item.account_obj_id0 = 146876519****
    AND event.poid_type like '%session/telco/gsm%'****
    AND ebal.impact_category <> 'Free'****
    AND resource_id not in (select resource_id from
    resource_id_t)****
    group by****
    event.poid_type, ebal.resource_id,****
    event.service_obj_type, event.service_obj_id0,****
    ebal.rate_obj_id0, ebal.OFFERING_OBJ_ID0,ebal.
    IMPACT_CATEGORY****
    order by****
    ebal.resource_id desc;****
    SELECT sum(amount) , sum(quantity), event.poid_type,ebal.
    resource_id,****
    event.service_obj_type, event.service_obj_id0,ebal.
    rate_obj_id0, ebal.OFFERING_OBJ_ID0, ebal.IMPACT_CATEGORY ****
    FROM event_bal_impacts_t ebal, item_t item, event_tevent*
    WHERE event.item_obj_id0 = item.poid_id0****
    AND ebal.obj_id0 = event.poid_id0****
    and event.Poid_id0 >= 264199450015039488****
    and event.Poid_id0 < 265237388991660032****
    and ebal.obj_id0 >= 264199450015039488****
    and ebal.obj_id0 < 265237388991660032****
    AND item.bill_obj_id0 = 148715294****
    AND ebal.product_obj_id0 = 27433706****
    AND ebal.account_obj_id0 = 146876519****
    AND item.account_obj_id0 = 146876519****
    AND event.poid_type like '%session/telco/gsm%'****
    AND ebal.impact_category <> 'Free'****
    AND resource_id not in (select resource_id from
    resource_id_t)****
    group by****
    event.poid_type, ebal.resource_id,****
    event.service_obj_type, event.service_obj_id0,****
    ebal.rate_obj_id0, ebal.OFFERING_OBJ_ID0,ebal.
    IMPACT_CATEGORY****
    order by****
    ebal.resource_id desc;****
    --

    848478 wrote:
    Below query has problem .
    Pls see the queries for Usage Summary with Partition and Without Partition
    . I have executed this now so it may be in Buffer …****
    DB Query ... SUM from event objects, bin variables
    SELECT sum(amount) , sum(quantity), event.poid_type,ebal.resource_id,****
    event.service_obj_type, event.service_obj_id0,ebal.
    rate_obj_id0, ebal.OFFERING_OBJ_ID0, ebal.IMPACT_CATEGORY ****
    FROM event_bal_impacts_t ebal, item_t item, event_tevent*
    WHERE event.item_obj_id0 = item.poid_id0****
    AND ebal.obj_id0 = event.poid_id0****
    --                   and event.Poid_id0 >= 266838277921701888****
    --                 and event.Poid_id0 < 267928993456455680****
    --               and ebal.obj_id0 >= 266838277921701888****
    --             and ebal.obj_id0 < 267928993456455680****
    AND item.bill_obj_id0 = 148715294****
    AND ebal.product_obj_id0 = 27433706****
    AND ebal.account_obj_id0 = 146876519****
    AND item.account_obj_id0 = 146876519****
    AND event.poid_type like '%session/telco/gsm%'****
    AND ebal.impact_category <> 'Free'****
    AND resource_id not in (select resource_id from
    resource_id_t)****
    group by****
    event.poid_type, ebal.resource_id,****
    event.service_obj_type, event.service_obj_id0,****
    ebal.rate_obj_id0, ebal.OFFERING_OBJ_ID0,ebal.
    IMPACT_CATEGORY****
    order by****
    ebal.resource_id desc;****
    SELECT sum(amount) , sum(quantity), event.poid_type,ebal.
    resource_id,****
    event.service_obj_type, event.service_obj_id0,ebal.
    rate_obj_id0, ebal.OFFERING_OBJ_ID0, ebal.IMPACT_CATEGORY ****
    FROM event_bal_impacts_t ebal, item_t item, event_tevent*
    WHERE event.item_obj_id0 = item.poid_id0****
    AND ebal.obj_id0 = event.poid_id0****
    and event.Poid_id0 >= 264199450015039488****
    and event.Poid_id0 < 265237388991660032****
    and ebal.obj_id0 >= 264199450015039488****
    and ebal.obj_id0 < 265237388991660032****
    AND item.bill_obj_id0 = 148715294****
    AND ebal.product_obj_id0 = 27433706****
    AND ebal.account_obj_id0 = 146876519****
    AND item.account_obj_id0 = 146876519****
    AND event.poid_type like '%session/telco/gsm%'****
    AND ebal.impact_category <> 'Free'****
    AND resource_id not in (select resource_id from
    resource_id_t)****
    group by****
    event.poid_type, ebal.resource_id,****
    event.service_obj_type, event.service_obj_id0,****
    ebal.rate_obj_id0, ebal.OFFERING_OBJ_ID0,ebal.
    IMPACT_CATEGORY****
    order by****
    ebal.resource_id desc;****
    --Consider getting the asterisk key fixed, since it results in invalid SQL syntax

  • Query related to Email adapter

    Hi,
    I have query related to receiver Email adapter. I am able to run a scenario for 2 attachments in receiver mail adapter scenario.
    My scenario is that I am picking up the multiple files using sender file adapter "additonal fiiles" fucntionality and and post the two files as attachments in receiver email adapter. I am picking up two formats: .xml file and PDF and successfully attached to the receiver email adapter.
    My query is is related to Standard module processors sequence.
    For 3 files in mail attachments(.xml , pdf & .txt)  what should be the module processors sequence in receiver email adapter?
    Currently I am using the following module processors sequence
    1     localejbs/AF_Modules/MessageTransformBean                          Local Enterprise Bean     trans2
    2     localejbs/AF_Modules/PayloadSwapBean                          Local Enterprise Bean     swap
    3     localejbs/AF_Modules/MessageTransformBean                          Local Enterprise Bean     trans1
    4     sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean     Local Enterprise Bean     mail
    swap -> swap.keyName -> payload-name
    swap> swap.keyValue> file1
    trans1> Transform.ContentDescription>file1
    trans1> Transform.ContentDisposition>attachment
    trans1> Transform.ContentType>application/pdf;name="file1.pdf"
    trans2>Transform.ContentDescription>file1
    trans2>Transform.ContentDescription>inline
    Can any body tell me what should be the sequence of module processors and the associated parameters so that all formats(.xml , pdf & .txt)  should go as an attachments in the reciever email adapter.
    Thanks & Regards
    Prabhat

    it would be something like this, Try this
    1 localejbs/AF_Modules/PayloadSwapBean Local Enterprise Bean swaptxt
    2 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean trans3
    3 localejbs/AF_Modules/PayloadSwapBean Local Enterprise Bean swapxml
    4 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean trans2
    5 localejbs/AF_Modules/PayloadSwapBean Local Enterprise Bean swappdf
    6 localejbs/AF_Modules/MessageTransformBean Local Enterprise Bean trans1
    7 sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean Local Enterprise Bean mail
    swapxml -> swap.keyName -> payload-name
    swapxml> swap.keyValue> file2
    swappdf -> swap.keyName -> payload-name
    swappdf> swap.keyValue> file1
    trans1> Transform.ContentDescription>file1
    trans1> Transform.ContentDisposition>attachment
    trans1> Transform.ContentType>application/pdf;name="file1.pdf"
    trans2>Transform.ContentDescription>file2
    trans2>Transform.ContentDisposition>attachment
    trans2> Transform.ContentType>application/xml;name="file2.xml"
    trans3> Transform.ContentDescription>file3
    trans3> Transform.ContentDisposition>attachment
    trans3> Transform.ContentType>application/txt;name="file3.txt"
    mail --> mime.contenttype   --> multipart/mixed
    I have not tried this myself. but it should work

  • Query related to GAL

    Hello All,
    We are in process of implementing Exchange 2013 in our Organization and had a Query related to GAL.
    Below is our Environment description:
    01. We have a Single Forest and Single Domain Architecture.
    02. We will have separate Active Directory Sites for all 3 Regions across Global.
    03. Exchange 2013 will be installed in each region.
    04. In APAC region Exchange 2013 Language pack for Japanese will be installed to support Japanese language.
    Our Requirement:
    ================
    01. When a Japanese User tries to browse GAL all the display names have to be displayed in Japanese language and when a user who resides other Region (Europe or AMERICAS) tries to browse GAL the Address list has to be displayed in default English Language.
    Can someone guide us on how this can be achieved?
    Awaiting for all your suggestions.
    Thanks in advance.
    Thanks & Regards,
    Nagaraj N
    Nagaraj N

    Hi Nagaraj,
    Here are some requirements that I am still not quite sure. Could you please provide more information about it? Such as:
    1. Do you mean one user have two display names: one with Japanese language used for users in Japan, one with English language used for English users? Then we filter address lists with language difference. Based on my knowledge, one email address is generally
    involved for one display name.
    2. If there are both Japanese users and English Language users in the forest, and you just need Japanese users view users whose name is displayed as Japanese language. We can use
    Address book policies (ABPs) to segment users into specific groups to provide customized views of your organization’s global address list (GAL).
    To show different GAL for different users, we can specify the CustomAttribute1-15 property to divide your organizations. For example, we can set the CustomAttribute15 property for Japanese users to
    Japan. Just like:
    Set-Mailbox –Identity JapanUser1 –CustomAttribute15 Japan
    Then we can create global address list for Japanese that includes all of the recipients that exists in the address lists and room address list:
    New-GlobalAddressList -Name "GAL_Japan" -RecipientFilter {(CustomAttribute15 -eq "Japan")}
    For detailed steps about how to create and apply the Address Book Policies, please refer to:
    http://technet.microsoft.com/en-us/library/jj657455(v=exchg.150).aspx
    Hope it helps.
    Regards,
    Winnie Liang
    TechNet Community Support

Maybe you are looking for

  • Safari 5.1.9 problems in OSX10.6.8 (won't open pages/tabs-buggy)

    Hi, My rig: OSX 10.6.8 iMac Late 2006 Intel Core 2 Duo 4Gb RAM Safari 5.1.9 I have two tabs that are working ok: facebook & Gmail, but Safari fails to open new tabs. When I try to open other sites in a new tab, I get the "safari can't open the page b

  • What happended to "Save As" in the SQL Worksheet?

    I am using 14.22 in Windows XP. In the previous version 13.43 I used to: 1) Open a new SQL Worksheet. 2) Type in statements. 3) Press Ctrl-S to save the contents of the SQL Worksheet panel to a new file, an "Open File" dialog appeared. 4) Enter file

  • Cannot Launch Photoshop CS5 - "Could not Open a Scratch File..."

    Hi, so photoshop CS5 is not launching. Just got it in the mail, installed it, and now I'm getting this message: "Could not open a scratch file because the file is locked or you do not have the necessary privileges. Use the get info command in finder

  • Sun T2 chips vs SPARC64 VI/VII chips for Oracle database servers

    We have recently found poor performance of Sun T5240 servers where (against previous V series servers with similar gross I/O capabilities on the disk volume)the timings for the recovery of the database, and the subsequent re-build of the tables and m

  • System 11 Essbase 11.1.3 - Maxl Start up issue

    Working on a upgrade project from system 7 to 11, Shared services, EAS, Essbase everything seems to be installed and running fine, was able to migrate and acess Essbase apps via EAS smart view etc but issue persists with MAXL. unable to start ESSMSH.