%CT Results are not available in APD

Hello All,
I have a simple Bex Query which calculates %CT (Sls Quantity) at Region/Brand/Sub-Brand level.
It displays correct values in Bex Analyzer.
But, when I use the same query as Source in APD, it makes all the %CT as 100%.
Please help me to fix this.
Thanks,
Mainak

Hello Andres/Dileep,
Below is the main calculation block:
SORT it_source BY sales_off material__0prodh3.
LOOP AT it_source INTO ls_source.
    lv_total = ls_source-kyf_0002 + lv_total.
    MOVE-CORRESPONDING ls_source TO ls_target.
    APPEND ls_target TO et_target.
    AT END OF material__0prodh3.
      gwa_sku-region = ls_source-sales_off.
      gwa_sku-sub_brand = ls_source-material__0prodh3.
      gwa_sku-total = lv_total.
      APPEND gwa_sku TO git_sku.
      CLEAR: lv_total.
    ENDAT.
  ENDLOOP.
  LOOP AT it_source ASSIGNING <fs_source>.
    READ TABLE git_sku INTO gwa_sku WITH KEY
     region    = <fs_source>-sales_off
     sub_brand = <fs_source>-material__0prodh3.
    IF sy-subrc = 0.
      <fs_source>-kyf_0001 = ( <fs_source>-kyf_0002 / gwa_sku-total ) *
100.
    ENDIF.
  ENDLOOP.
Thanks,
Mainak

Similar Messages

  • Scheduled Workbook Results Are Not Available On Discoverer Plus

    My environment:
    OracleBI Discoverer 10g (10.1.2.2)
    Oracle Business Intelligence Discoverer Plus 10g (10.1.2.54.25)
    Discoverer Model - 10.1.2.54.25
    Discoverer Server - 10.1.2.54.25
    End User Layer - 5.1.1.0.0.0
    End User Layer Library - 10.1.2.54.25
    Platform Linux x86-64
    Hi All,
    I have been working through issues we have been having with our scheduling and I have noticed that we have the exact problem identified on Metalink note 457148.1. It advocates applying some patches:
    1.     Apply the Application Server 10g 10.1.2.2 patchset 2 Patch 4960210 plus the latest Discoverer cumulative patch per Note 237607.1 'ALERT: Required and Recommended Patch Levels For All Discoverer Versions'
    2.     This is also included in Application Server 10g 10.1.2.3 patchset 3 Patch 5983622.
    **** Non-patch Workaround ****
    Disable the Query Prediction: Edit pref.txt on the middle-tier server and set QPPEnable=0 and Execute the applypreferences script (.sh or .bat)
    My question: Has anyone done this workaround? We do not have a test box to test this before we make the change and we just went live with EBS R12 in April and I really do not need the additional excitement of trying to back-out of a failed patching.
    Thanks,
    Patrick

    Hi patrick,
    Here you are using 10.1.2.2.But i do suggest you to upgrade to 10.1.2.3 version because it handles most of the issues.
    You can go through it in michael's post.Here is the link
    [http://learndiscoverer.blogspot.com/2008/04/most-useful-patch-numbers.html]
    I really do not need the additional excitement of trying to back-out of a failed patchingFor any more suggestions on it i think our experts Micahel or Rod will help you.
    Best Wishes,
    Kranthi

  • New DSO data fields are not available for transformations in the upwardflow

    Hello,
    There are data flow from
        many source DSOs -> Target DSO -> Final DSO.
    Different transformations are defined and activated with DTPs. This works fine and provides the desired results.
    now new fields are added to the target DSO, final DSO and one of the source DSO.
    When I now try to edit the transformations, the new fields are not part of the sources at the different stage.
    The fields are available in the Data Source created out of a DSO but not directly when using a DSO as a data source.
    Have anyone faced such a problem?
    any solutions to this?
       - I cannot delete all the other transformations as this is too much work to do and there is no time for it.
    Regards
    Kannan

    We created ZMD_BS_MAT_OVP_LAYOUT. But the situation has not changed - the fields are not available for edit.

  • Cisco 5.0 "Your messages are not available now" after exchange 2010 and DC migration to a new host

    Guys,
    First of all, thanks for looking at this post. Hopefully you guys can help me out. My unity users, when dialing into voicemail are getting the message "Your messages are not available now".
    Services in error state under the event viewer:
    Event Type:    Error
    Event Source:    CSAgent
    Event Category:    Kernel Rule 
    Event ID:    256
    Date:        7/29/2014
    Time:        11:42:41 AM
    User:        N/A
    Computer:    UNITY
    Description:
    A packet with a bad transport layer header was detected. Reason: Illegal TCP reserved flags set using interface Wired\HP NC324i PCIe Dual Port Gigabit Server Adapter. TCP: 00.000.00.000/443->00.00.0.00/1241, flags 0x10. The operation was denied.
    Event Type:    Error
    Event Source:    CiscoUnity_MALEx
    Event Category:    Error 
    Event ID:    30012
    Date:        7/29/2014
    Time:        11:44:27 AM
    User:        N/A
    Computer:    UNITY
    Description:
    An occurred which prevents successful Exchange access by CsBMsgConnector via MAPI.
    This is typically an indication of configuration issues with Unity, Exchange, or the MAPI subsystem.
    Verify that the Unity services accounts are granted the correct permissions and that there are no issues with installation.  The SysCheck utility may assist in diagnosing the problem.
    Event Type:    Error
    Event Source:    CiscoUnity_Doh
    Event Category:    Error 
    Event ID:    32013
    Date:        7/29/2014
    Time:        11:44:27 AM
    User:        N/A
    Computer:    UNITY
    Description:
    Doh logon failed due to messaging component logon error: 8004052eH
    I found and followed to the letter:
    http://www.cisco.com/c/en/us/support/docs/voice-unified-communications/unity/107323-unity-error.html
    I also went ahead and ran GUSI with some mixed results under environment information:
    SQL Version = Microsoft SQL Server  2000 - 8.00.2282: unknown SP
         SQL Edition = Desktop Engine
         Windows version =  5.2 Build 3790: Service Pack 2
         Outlook is not installed on the local server
         MAPI Provider : CDO Version - 6.5.8211.0
         MAPI Shared Memory: (HKLM:SOFTWARE\Microsoft\Windows Messaging Subsystem\Applications\<process>\SharedMemMaxSize)
                AvCsMgr : is set to recommended value
                AvMsgStoreMonitorSvr : RegKey not found.  Recommend add the key AvMsgStoreMonitorSvr and set DWORD SharedMemMaxSize with a value of 4194304 (decimal)
                AvNotifierMgr : RegKey not found.  Recommend add the key AvNotifierMgr and set DWORD SharedMemMaxSize with a value of 4194304 (decimal)
                AvUMRSyncSvr : is set to recommended value
                CsBMsgConnector : RegKey not found.  Recommend add the key CsBMsgConnector and set DWORD SharedMemMaxSize with a value of 4194304 (decimal)
                CsBridgeConnector : RegKey not found.  Recommend add the key CsBridgeConnector and set DWORD SharedMemMaxSize with a value of 4194304 (decimal)
                CsVpimConnector : RegKey not found.  Recommend add the key CsVpimConnector and set DWORD SharedMemMaxSize with a value of 4194304 (decimal)
             TCPChimney : Disabled
             RSS : Disabled
             *Pulled from UnityDB Configuration Table*
             ExcludeAllReceipts : 0
             ExcludeReturnReceipts : 0
             DisableSearchFolderUse : 0
             MinSearchFolderLifeHours : 1
             OptimizeSearchFolderUse : 0
    I tried following and deleting the Unity System Profile:
    https://supportforums.cisco.com/discussion/11249996/unity-501-exchange-2010-unable-logon-mapi-mailbox
    But I am still scratching my head. Any direction will be appreciated.

    Turns out that unity came back after all this. Maybe it just needed time. I think I answered my own question.  Anyways, this post could serve for future reference. 

  • "following domains are not available" error - functionally trusted domains but with same NETBIOS dc computernames giving problems.

    For SCOM monitoring and user permissions I am trying to add the Action Account from HQ.local domain to some other domains like DOMAIN1.local, TEST1.local and TEST2.local. 
    (a trust persists between the domains en HQ.local, and DNS Conditional forwarders are configured to correctly resolve the FQDN DNS names).
    Problem is, when adding a user from the HQ.local domain to the Active Directory of the DC's SRVPDC01.DOMAIN1.local or SRVPDC01.TEST1.local domain I get an error:
    "The Active Directory Domain Controllers Required to find the selected objects in the following domains are not available:
    HQ.local
    Ensure the Active Directory Domain Controllers are available, and try to select the objects again."
    But when I try to do the same thing, so add user1 from HQ.local to the AD on TESTDC01.TEST2.local…. No error!
    The other way around, like adding users from DOMAIN1.local, TEST1.local or TEST2.local to the DC01.HQ.local Active directory… also no error!
    To make things even more strange, when I validate the trust with HQ.local… and then try to add user1.HQ.local -> No problem, but only for about 1 minute.. After that
    it doesn't recognize user1.HQ.local and only displays some CN=S-1-5... ID of the user. Also when trying to add a new user, I receive the error again.
    My guess is that the problem has something to do with the same NETBIOS names of the DC's (server 3 and 4). because authenticating users from HQ.local and TEST2.local
    doesn't give me errors and all other domains which have same DC names are giving errors. 
    (for testing purposes I set-up TESTDC01.TEST2.local with a different DC servername to see if the error persists, and it didn't).
    Overview of the servers and situation:
    - All server 3, 4 and 5 are on separate Vlan's and have no connectivity among each other. But they do have connectivity to the internet, the HQ.local domain and its servers
    DC01 and DC02.
    - same firewall settings for each vlan
    - even Server 4 and server 5 are on the same Vlan for testing purposes, just to make sure the firewall is not the problem.
    Server no.
    DC FQDN name
    Domain DNS name
    1
    DC01.HQ.local
    HQ.local
    2
    DC02.HQ.local
    HQ.local (secondary DNS)
    3
    SRVPDC01.DOMAIN1.local
    DOMAIN1.local
    4
    SRVPDC01.TEST1.local
    TEST1.local
    5
    TESTDC01.TEST2.local
    TEST2.local
    Two-Way Forest Trusts are configured without any problems but here's an overview when the error occurs.
    On SRVPDC01.DOMAIN1.local -> adding user1.HQ.local to the AD =
    error
    On DC01.HQ.local -> adding user1.DOMAIN1.local to the AD = no problem.
    On SRVPDC01.TEST1.local -> adding user1.HQ.local to the AD =
    error
    On DC01.HQ.local -> adding user1.TEST1.local to the AD = no problem.
    On TESTDC01.TEST2.local -> adding user1.HQ.local to the AD = no problem.
    On DC01.HQ.local -> adding user1.TEST2.local to the AD = no problem.
    What are my options to fix this? There must be more possibilities than renaming the DC names.
    And why does the problem only occur when adding users in Foreign domain ->from-> HQ.local and not HQ.local ->from-> Foreign domain. Because that's the only
    thing I really need: users from HQ.local having permissions in groups of the other domains… :(
    Any advise or help would be much appreciated. I've been struggeling with this for a while now and i'm pretty much out of ideas.

    Hi aperelli,
    On srvpdc01.DOMAIN1.local
    nslookup
    set type=all
     _ldap._tcp.dc._msdcs.hq.local
    Result:
    C:\Windows\system32>nslookup
    DNS request timed out.
        timeout was 2 seconds.
    Default Server:  UnKnown
    Address:  ::1
    > set type=all
    > _ldap._TCP.DC._msdcs.HQ.local
    Server:  UnKnown
    Address:  ::1
    Non-authoritative answer:
    _ldap._TCP.DC._msdcs.HQ.local  SRV service location:
              priority       = 0
              weight         = 100
              port           = 389
              svr hostname   = dc01.hq.local
    _ldap._TCP.DC._msdcs.HQ.local  SRV service location:
              priority       = 0
              weight         = 100
              port           = 389
              svr hostname   = dc02.hq.local
    dc01.hq.local  internet address = 192.168.1.200
    dc02.hq.local  internet address = 192.168.1.201
    =======================
    On srvpdc01.TEST1.local
    nslookup
    set type=all
     _ldap._tcp.dc._msdcs.hq.local
    Result:
    C:\Windows\system32>nslookup
    DNS request timed out.
        timeout was 2 seconds.
    Default Server:  UnKnown
    Address:  ::1
    > set type=all
    > _ldap._TCP.DC._msdcs.HQ.local
    Server:  UnKnown
    Address:  ::1
    Non-authoritative answer:
    _ldap._TCP.DC._msdcs.HQ.local  SRV service location:
              priority       = 0
              weight         = 100
              port           = 389
              svr hostname   = dc01.hq.local
    _ldap._TCP.DC._msdcs.HQ.local  SRV service location:
              priority       = 0
              weight         = 100
              port           = 389
              svr hostname   = dc02.hq.local
    dc01.hq.local  internet address = 192.168.1.200
    dc02.hq.local  internet address = 192.168.1.201
    =======================
    On DC01.HQ.local
    nslookup
    set type=all
     _ldap._tcp.dc._msdcs.domain1.local
    Result:
    C:\Windows\system32>nslookup
    Default Server:  dc01.hq.local
    Address:  192.168.1.200
    > set type=all
    > _ldap._tcp.dc._msdcs.domain1.local
    Server:  dc01.hq.local
    Address:  192.168.1.200
    Non-authoritative answer:
    _ldap._tcp.dc._msdcs.domain1.local      SRV service location:
              priority       = 0
              weight         = 100
              port           = 389
              svr hostname   = srvpdc01.domain1.local
    srvpdc01.domain1.local     internet address = 10.0.113.150
    =======================
    I have tested port 3268 and 3269 with Port Query UI and ports are listening on alle DC servers.

  • Playbook and Windows XP : Media Options are not available

    Hi, hoping someone can help me as two lengthy calls to RIM have yielded no results.
    I am running Windows XP SP3 with spec well above the min requirements for Blackberry desktop software, of which I downloaded the latest version from RIM's site today.
    Software recognises the PB and connects fine (displays PIN etc) yet I get two different errors:
    1) Device Options > Media
    "Media options are not available". A problem occured while attempting to connect to your Blackberry device
    2) File > Get Started (dragging and dropping files)
    "Media services are not available". A problem occured while attempting to connect to your Blackberry device
    I've redownloaded the BDM software twice (both options for PC > and Sync >) with no result. I've tried different USB ports (same wire) and the same problem.
    I notice when right clicking on the Device Manager > Properties that I see under Volumes "Internal Storage Not Mounted" which I doubt is helping.
    Playbook Storage and Sharing Options have fiel sharing turned on, and UBS connections = Auto Detect (tried "Connect to Windows") and no result.
    Any ideas?

    I may have a workaround for all you fellow sufferers.
    In your playbook tap the information icon (uppermost right corner).  Tap about and where it says view information about your tablet tap the down arrow and select network.  There you will find one or two IPV4 addresses one for usb the other for wifi. 
    In Windows (7 don't know about XP or Vista click on start and in the search bar type the following
    run \\either IPV4 address.
    With any luck, Windows explorer will  pop up giving you access to your playbook for file transfers.
    Once you have done that, and if you prefer a two panel file manager as I do for file transfers, download and install a program called FreeCommander.  This program will allow you to access a network drive from somewhere in its top menu (can't recall where at the moment and I'm not in Windows).  Up will pop a screen asking you for a drive letter to be assigned (take your pick) and a location.  In this area type \\either IPV4 url\media.  You should now be able to access this drive from FreeCommander and easily transfer files to and from your playbook and computer.
    Don't guarantee that this will work for you but it has for me.
    Allan

  • I have created a PDF and password protected it for view. However, when reading the PDF in Adobe Reader app on the iPad the commenting and annotation options are not available. Is there a way to allow commenting and annotation in the app while password pro

    I have created a PDF and password protected it for view. However, when reading the PDF in Adobe Reader app on the iPad the commenting and annotation options are not available. Is there a way to allow commenting and annotation in the app while password protecting the document?

    Is there a setting that needs to be set to allow the annotation features?  I set password protection to open and then password for editing and set it to Any except page extraction, but it still did not give the annotation option

  • TF400893: Team Foundation Server services are not available.

    Hi Gang
    Am getting
    TF400893: Team Foundation Server services are not available. This is most likely caused by a network error. Please check your connection and try again.
    consistently when trying to access TFS2012 Web Access.  I'm on the same domain as the server and able to login however as soon as I try and access a query it asks me to log in again and then presents me with the above message.
    Any thoughts am trying to get as many ports open as possible however security's pretty tight here.
    Regards

    Hi,
    Thanks for your feedback!
    I recommend you install TFS Power Tools and run a Team Foundation Server Complete Health Check and see if it helps.
    TFS 2012 Power Tools download address:http://visualstudiogallery.msdn.microsoft.com/b1ef7eb2-e084-4cb8-9bc7-06c3bad9148f
    Hope it helps!
    Best Regards,
    Cathy Kong
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • How do I revert to abackup from time machine? The backups prior to Lyon install are not available  - restore button is not active. I wish to return to Snow Leopard.

    How Do I revert to Snow Leopard from Lyon?
    The backups prior to Lyon install are not available... the restore button is not active.
    thanks!

    You need to do a full system restore from your last Snow Leopard backup.
    See #14 in  Time Machine - Frequently Asked Questions.

  • I created my iTunes account when I was living in Venezuela, but have relocated to the US now.  How do I change my apple store to allow me to download apps that are not available in the store available to Venezuela?

    I created my iTunes account when I was living in Venezuela, but have relocated to the US now.  How do I change my apple store to allow me to download apps that are not available in the store available to Venezuela?
    Sorry for the long 'subject'!  hahaha  I am new to the community.  This should be fun!

    No, What I mean  is, Now I am leaving in USA but every time that I tried to download an app only appear app available in Venezuela no the one available in USA. 
    I already change my address and select USA but still I can not download app for USA

  • My pc crashed and I lost all my pictures and music that was stored on the pc.  Now i have a new pc and when i connect to itunes using my password all my music and photos are not available.  they appear to be lost.

    my pc crashed and i lost all my pictures and music that was stored on the pc. now i have a new pc and when i log into itunes all my music and photos are not available.  I guess i dont understand the pupose of itunes and its worth.  I thought it backed up all my photos and music, but apparently not.  So what do I use so that when i lose data on  my pc i can retrieve it again at a later date or after a crash?/

    Your content will only be where you put it.  It has always been very basic to always maintain a backup copy of your computer.
    You can transfer itunes purchases from your iphone: File>Device>Transfer purchases.
    You can import your pics taken with the iphone as you would with any digital camera.
    You can e-mail the other pics to yourself, they will never be of the original quality.
    You can out a unique contact and calendar entry on the computer.  You should get the option to merge the data when you sync.

  • I just changed my account from the UK to the USA. Now, most of my songs are not available. How do i get them authorized?

    I just changed my account from the UK to the USA. Now, most of my songs are not available. How do i get them authorized?

    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    iOS- How to transfer or sync content to your computer
    iTunes Store- Transferring purchases from your iOS device or iPod to a computer
    If you have non-purchased content then you need to use third-party software to transfer it to your iTunes Library - Phone to Mac - Pod to Mac.

  • I updated to OS X Mavericks and now trying to run Logic Pro X on a MacBook Pro mid-2009, using an M-Audio Axiom 49 and an M-Audio Fast Track Pro... Logic keeps telling me that Mac OS X MIDI Services are not available... How do I solve this problem?

    I updated to OS X Mavericks and now trying to run Logic Pro X on a MacBook Pro mid-2009, using an M-Audio Axiom 49 and an M-Audio Fast Track Pro... Logic keeps telling me that Mac OS X MIDI Services are not available... How do I solve this problem?

    I just checked to see if the update to OS X Yosemite 10.10.1 solved any of the issues outlined in my previous post, and to my dismay, nothing has changed -- all of the previous problems persist.
    My iMac (8) -- it's renamed itself eight times since the recent troubleshoot with the Apple tech rep -- shows up as a shared device in Finder on my MacBook Pro, but when I click on it, I cannot establish a connection using "Connect As".  So I've attempted to connect using the menu "Go/Connect to Server...", using both (alternately) the iMac's name and IP address, to no avail.  I get a message which reads: "There was a problem connecting to the server 'Peter's iMac (8)'. This server may not exist or it is unavailable at this time.  Check the server name or IP address, check your network connection, and then try again."
    Here's what I know:
    The server -- Peter's iMac (8) does exist;
    The server -- Peter's iMac (8) is available at this time;
    The server name -- Peter's iMac (8) -- is correct, as specified in the system sharing preferences;
    The server IP address is correct, as specified in the system sharing preferences;
    The network connection is active when I attempt to connect.
    I'm convinced the problems stem directly from the OS X Yosemite update.  None of this was ever remotely an issue in the previous OS X's -- any of them.  This is maddening!  What can be done?  Apple?? Anyone???

  • Suddenly...some fonts are not available.

    InDesign CC 2014 Crashed today. When I relaunched it I found that some of my fonts are not available. I'm on a Mac Pro running Yosemite (10.10)
    For example, two weights of Proxima Nova are available (Light and Regular) but the other weights are not. Those other various font weights are available in other apps (namely Illustrator).
    Below are various screenshots
    1. Screenshot from InDesign
    2. Screenshot from Font Book to show the fonts are active
    3. Screenshot from Illustrator CC 2014 showing these fonts are available there.

    I quite InDesign. Then I did a search and trashed all the AdobeFntXX.lst files that had a two digit number. I deleted the files and rebooted my computer. I then launched InDesign and had the same problem.
    So, I quite InDesign again and deleted my Indesign Prefs and Saved Data file and relaunched. Same problem.
    Very strange... since everything is okay in Illustrator, Photoshop and even an older version of InDesign CS6.

  • TS1702 I can't download apps it says they are not available how do I fix this?

    I can't download apps it says they are not available how do I fix this?

    You're really posting in the wrong forum. you should be posting here ( https://discussions.apple.com/community/itunes/itunes_store ) Or calling apple support directly.

Maybe you are looking for

  • Brush tool doesn't work

    I have just downloaded Photoshop Touch to my Samsung Galaxy Tab 10.1 which is running Android 4.0.4. The brush tool doesn't seem to work. I was wondering if this software is supported on this tablet.

  • Can Bridge manage images?

    I'm looking for a software that will manage over 300 to 700 gigabyte of images. Some of the file type are as follows: jpg, jpeg gif png ai eps psd tiff Will Adobe Bridge be able to manage? I want the software to be able to search the whole 300-700GB

  • What is the best set up (hardware and/or software) to store and access movies and music purchased through apple tv without using the computers storage space

    I have run out of space on my imac desktop, which only has 500GB of storage, due to the movies, music, etc. that have been purchased through iTunes and Apple TV.  I do not want to delete the purchases but need to free up space on my computer.  I am l

  • IT77 Veteran Status question

    Hi all, Were wanting to input a date in the Discharge Date field without having to "check" off one of the veteran status fields (i.e. Other Protected Veteran, etc) but get an error of "Discharg Date should be maintained". Does anyone know where to go

  • Time Machine won't delete old backups.

    I keep getting an error that the backup failed due to not having enough space yet it says in prefs that old backups will be deleted when the drive is full. Does anyone have a fix for this?