Problem with Time-dep hierarchy in BEx Query

Hi,
I have a workbook that consists of 3 queries. All the 3 queries uses heriarchy and hierarchy node variables on 0CUST_SALES. The hierarchy is time-dep. 2 of the queries returns the output and 1 of them just displays "No applicable data found" for some of the nodes. I checked the hierarchy table and the date range for the nodes are in the range (01/01/2010 - 12/31/9999), the leafs have the range as 01/01/2010 - 06/30/2010. The 3rd query is the actually the summary of the other 2 queries. I checked the queries and found that the field 0CUST_SALES is on the characteristic restriction pane of the filter tab in the incorrect query and in the remainiing 2 its on the default values pane.
Will this be causing the problem in the incorrect query?
There is also a key date derivation type defined in all the queries. Its defined as Basic Time Char with the derivation type as "First day of Period". We are not using any infosets. The quries are on a multiprovider which has only basic infocubes.
Can someone please explain how this works?
Thanks and Regards,
Sujai

Hi Diogo,
Below is the code I am using in the customer exit.
SELECT * FROM zae_tt_pbuild INTO TABLE gt_pbuild.
      IF sy-subrc = 0.
        LOOP AT gt_pbuild INTO gs_pbuild.
          CONCATENATE '*' gs_pbuild-pbuild '*' into lv_pattern.
          ls_range-low = lv_pattern.
          ls_range-sign = lc_sign_i.
          ls_range-opt = 'CP'.
          APPEND ls_range TO e_t_range.
          CLEAR: ls_range,
                 lv_pattern.
        ENDLOOP.
      ENDIF.
     ENDIF.
I have tried using '%' instead of '*' aswell but the result is same.
Thanks,
Rakesh

Similar Messages

  • Problem with customer exit variable in BeX Query

    Hi All,
    We have created a customer exit variable in a query and populated with few patterns in customer exit.
    My query has to bring all the records where the address line is containg the patterns passed through customer exit. Here the query is not working as expected.
    It is bringing the values where the address line is exactly same as the pattern and not bringing the records where the pattern is part of the address line.
    For example: Pattern passed in customer exit = 'HOSPITAL'
    The record where address line = 'HOSPITAL' is shown in the rpeort, where the record with address line = 'HOSPITAL ROAD' is not shown in the report.
    I would appreciate your help on this.
    Regards,
    Rakesh

    Hi Diogo,
    Below is the code I am using in the customer exit.
    SELECT * FROM zae_tt_pbuild INTO TABLE gt_pbuild.
          IF sy-subrc = 0.
            LOOP AT gt_pbuild INTO gs_pbuild.
              CONCATENATE '*' gs_pbuild-pbuild '*' into lv_pattern.
              ls_range-low = lv_pattern.
              ls_range-sign = lc_sign_i.
              ls_range-opt = 'CP'.
              APPEND ls_range TO e_t_range.
              CLEAR: ls_range,
                     lv_pattern.
            ENDLOOP.
          ENDIF.
         ENDIF.
    I have tried using '%' instead of '*' aswell but the result is same.
    Thanks,
    Rakesh

  • 0CS_Item with time-dependent hierarchy

    Dear Experts,
    we are discussing pros and cons for a time-dependent item catalog (characteristic 0CS_item with time dependent hierarchy in BW) within consolidation SEM BCS 4.0. Does anybody has experiences on this topic?
    I am quite sure it will be a performance issue and it means additional reporting effort (e.g. using reference period/year in the report comparing different hierarchies).
    I am not sure if there are any other risks so I it would be great if anybody has some hints.
    Thanks in advance,
    Birgit Laux
    Message was edited by: Birgit Laux

    Birgit,
    Some other things to consider:
    - frequency of changes to item hierarchy. Could lead to a lot of item hierarchies in BW over time.
    - hierarchy validity date does not seem to be displayed when running web queries and thus makes it difficult for the user to select the correct hierarchy when executing the query. Still looking for a fix for this.
    - greater complexity in overall design. Is it really necessary to achieve correct financial statement presentation?
    Virtual cube performance is not great but you could implement the data mart which provides typical BW query performance.
    I stayed away from setting the item as time dependent for these reasons.
    Brian

  • Problem with Time Dimension generating

    Hello, everybody.
    I have a problem with Time Dimension generating with the help of the Standard Wizard.
    1. I choose Dimensions -> New -> Using Time Wizard
    2. Set Name as "Time"
    3. On the next screen I choose ROLAP: Relational Storage
    4. On the next screen set Start year: 2003, Number of years: 3
    5. On the next screen choose all levels of the Normal Hierarchy
    On the 6-th step Wizard complete 60% of job and hang up doing nothing (buttons "Cancel" and "Help" is active).
    chapter "Create REL_TIME Dimension Using the TIME Dimension Wizard", step 1-6 of tutorial =(
    http://www.oracle.com/technology/obe/11gr1_owb/owb11g_update_getting_started_intro/lesson3/less3_relational.htm
    My system characteristics:
    Builder client 11.1.0.7.0, warehouse at local computer.
    can anybody give me any advice about this problem? =(
    thanks in advance.

    Had this issue been solved please?
    I have just come across the exact same problem and this post is the only one i managed to find which describes exactly what is happening to me.
    Thanks

  • Hi, I have the following problem with Time Capsule: La imagen del disco de copia de seguridad "/Volumes/Data/MacBook Pro de Carlos.sparsebundle" ya está en uso. Please your comments to solve this problem, i can't made a backup. Thanks.

    Hi, I have the following problem with Time Capsule: La imagen del disco de copia de seguridad “/Volumes/Data/MacBook Pro de Carlos.sparsebundle” ya está en uso. Please your comments to solve this problem, i can't made a backup. Thanks.

    Try Here  >  http://pondini.org/TM/Time_Capsule.html
    Perhaps P 2  >  Time Machine could not complete . . . sparsebundle could not be accessed. (Error 109).

  • HT1338 problems with time  machine and parallels desktop,  mac osx mountain lion 10.8

    have a good day, i have been problems with time  machine and parallels desktop, dont work in mac osx 10.8, i upgrate two mac´s (macbook air, imac), in the two machines shows problems, could you help me please.
    two machines have good ram memory (macbook air 11.1 2010 early , imac 2009 late).
    i am waiting for your help.
    thanks.
    Jesus.

    Take a look here:
    http://pondini.org/TM/Troubleshooting.html
    Specifically, you'll probably want to try item #A5 on that page, but there's a lot of other info there that may be useful.

  • Problem with Time Capsule backup

    My Time Capsule is a first gen (500 GB), and I recently upgraded to Lion on my iMac. It seems like right around the time I upgraded that I started having problems with Time Machine backups. They will complete, but then the disk does not eject from my desktop. I am running the Time Capsule buddy widget, and here's the log file:
    Starting standard backup
    Network destination already mounted at: /Volumes/TimeCapsule
    QUICKCHECK ONLY; FILESYSTEM CLEAN
    Disk image /Volumes/TimeCapsule/Stefano.sparsebundle mounted at: /Volumes/Time Machine Backups
    Backing up to: /Volumes/Time Machine Backups/Backups.backupdb
    100.0 MB required (including padding), 174.27 GB available
    Copied 2353 files (2.0 MB) from volume Macintosh HD.
    100.0 MB required (including padding), 174.27 GB available
    Copied 1656 files (718 KB) from volume Macintosh HD.
    Starting post-backup thinning
    No post-back up thinning needed: no expired backups exist
    Backup completed successfully.
    Waiting for Spotlight to finish indexing /Volumes/Time Machine Backups/Backups.backupdb
    Waiting for Spotlight to finish indexing /Volumes/Time Machine Backups/Backups.backupdb
    Stopping backup to allow backup destination disk to be unmounted or ejected.
    Backup failed because the destination disk was ejected or disconnected unexpectedly!
    You can see at the end where I ejected the disk manually.

    I finally resolved this.  However, I had to erase the entire backup on my 3tb and start with a new backup.  I connected via hardwire to make it go faster.  No problems now.

  • Since I upgraded to 10.7.2 lion I have these problems with Time Capsule. What is the problem? thanks

    since I upgraded to 10.7.2 lion I have these problems with Time Capsule. What is the problem? thanks

    Unable to access disk image backup "/ Volumes / Time Capsule / iMac Admin. Sparsebundle" (error -1).
    Then?????

  • Another problem with Time Machine

    This is the second time I have experienced the following problem with Time Machine. After 2 months of backups it gets to a point where backups fail and I cannot enter time machine. In each instance I have only used 110GB of the 500GB space.
    Is there a better solution to fixing this problem than deleting the sparsebundle? That seems to be the only way to get it to back up again.

    backup is failing again:
    Oct 28 08:39:58 MBA /System/Library/CoreServices/backupd[8307]: Starting standard backup
    Oct 28 08:40:02 MBA /System/Library/CoreServices/backupd[8307]: FSMatchAliasBulk returned 0 while resolving alias to backup target
    Oct 28 08:40:07 MBA /System/Library/CoreServices/backupd[8307]: Backup failed with error: 19
    Oct 28 09:22:57 MBA /System/Library/CoreServices/backupd[8464]: Starting standard backup
    Oct 28 09:22:58 MBA /System/Library/CoreServices/backupd[8464]: Network mountpoint /Volumes/MPTC not owned by backupd... remounting
    Oct 28 09:22:59 MBA /System/Library/CoreServices/backupd[8464]: Network volume mounted at: /Volumes/MPTC-1
    Oct 28 09:22:59 MBA /System/Library/CoreServices/backupd[8464]: Backup requested due to disk attach
    Oct 28 09:23:28 MBA /System/Library/CoreServices/backupd[8464]: Disk image /Volumes/MPTC-1/MBA_001f5bd2c764.sparsebundle mounted at: /Volumes/Backup of MBA
    Oct 28 09:23:32 MBA /System/Library/CoreServices/backupd[8464]: Backing up to: /Volumes/Backup of MBA/Backups.backupdb
    Oct 28 09:23:32 MBA /System/Library/CoreServices/backupd[8464]: Backup requested due to disk attach
    Oct 28 09:25:44 MBA /System/Library/CoreServices/backupd[8464]: No pre-backup thinning needed: 242.1 MB requested (including padding), 351.94 GB available
    Oct 28 09:41:34 MBA /System/Library/CoreServices/backupd[8464]: Copied 990 files (72.4 MB) from volume MacBook Air HD.
    Oct 28 09:41:35 MBA /System/Library/CoreServices/backupd[8464]: No pre-backup thinning needed: 159.6 MB requested (including padding), 351.94 GB available
    Oct 28 09:44:09 MBA /System/Library/CoreServices/backupd[8464]: Bulk setting Spotlight attributes failed.
    Oct 28 09:46:13 MBA /System/Library/CoreServices/backupd[8464]: Copied 879 files (2.2 MB) from volume MacBook Air HD.
    Oct 28 09:47:18 MBA /System/Library/CoreServices/backupd[8464]: Starting post-backup thinning
    Oct 28 09:49:15 MBA /System/Library/CoreServices/backupd[8464]: Deleted backup /Volumes/Backup of MBA/Backups.backupdb/MBA/2008-10-27-090710: 351.94 GB now available
    Oct 28 09:50:46 MBA /System/Library/CoreServices/backupd[8464]: Deleted backup /Volumes/Backup of MBA/Backups.backupdb/MBA/2008-10-27-061332: 351.94 GB now available
    Oct 28 09:52:53 MBA /System/Library/CoreServices/backupd[8464]: Deleted backup /Volumes/Backup of MBA/Backups.backupdb/MBA/2008-10-27-050805: 351.94 GB now available
    Oct 28 09:52:53 MBA /System/Library/CoreServices/backupd[8464]: Post-back up thinning complete: 3 expired backups removed
    Oct 28 09:52:53 MBA /System/Library/CoreServices/backupd[8464]: Backup completed successfully.
    Oct 28 09:53:11 MBA /System/Library/CoreServices/backupd[8464]: Attempt to eject diskimage failed with status: -47, dissenting pid: 0
    Oct 28 10:23:16 MBA /System/Library/CoreServices/backupd[8603]: Starting standard backup
    Oct 28 10:23:19 MBA /System/Library/CoreServices/backupd[8603]: Network volume mounted at: /Volumes/MPTC-1
    Oct 28 10:23:27 MBA /System/Library/CoreServices/backupd[8603]: Disk image /Volumes/MPTC-1/MBA_001f5bd2c764.sparsebundle mounted at: /Volumes/Backup of MBA
    Oct 28 10:23:27 MBA /System/Library/CoreServices/backupd[8603]: Backing up to: /Volumes/Backup of MBA/Backups.backupdb
    Oct 28 10:23:28 MBA /System/Library/CoreServices/backupd[8603]: Error: (-50) Creating directory 2008-10-28-102328.inProgress
    Oct 28 10:23:28 MBA /System/Library/CoreServices/backupd[8603]: Failed to make snapshot container.
    Oct 28 10:23:33 MBA /System/Library/CoreServices/backupd[8603]: Backup failed with error: 2
    Oct 28 10:23:33 MBA /System/Library/CoreServices/backupd[8603]: Attempt to eject diskimage failed with status: -47, dissenting pid: 0
    Oct 28 11:23:16 MBA /System/Library/CoreServices/backupd[8729]: Starting standard backup
    Oct 28 11:23:16 MBA /System/Library/CoreServices/backupd[8729]: Network volume mounted at: /Volumes/MPTC-1
    Oct 28 11:23:20 MBA /System/Library/CoreServices/backupd[8729]: Disk image /Volumes/MPTC-1/MBA_001f5bd2c764.sparsebundle mounted at: /Volumes/Backup of MBA
    Oct 28 11:23:20 MBA /System/Library/CoreServices/backupd[8729]: Backing up to: /Volumes/Backup of MBA/Backups.backupdb
    Oct 28 11:23:21 MBA /System/Library/CoreServices/backupd[8729]: Error: (-50) Creating directory 2008-10-28-112321.inProgress
    Oct 28 11:23:21 MBA /System/Library/CoreServices/backupd[8729]: Failed to make snapshot container.
    Oct 28 11:23:26 MBA /System/Library/CoreServices/backupd[8729]: Backup failed with error: 2
    Oct 28 11:23:26 MBA /System/Library/CoreServices/backupd[8729]: Attempt to eject diskimage failed with status: -47, dissenting pid: 0
    Oct 28 11:24:05 MBA /System/Library/CoreServices/backupd[8729]: Stopping backupd to allow ejection of backup destination disk!
    Oct 28 11:24:11 MBA /System/Library/CoreServices/backupd[8747]: Backup requested by user
    Oct 28 11:24:11 MBA /System/Library/CoreServices/backupd[8747]: Starting standard backup
    Oct 28 11:24:11 MBA /System/Library/CoreServices/backupd[8747]: Network volume mounted at: /Volumes/MPTC-1
    Oct 28 11:24:12 MBA /System/Library/CoreServices/backupd[8747]: Disk image /Volumes/MPTC-1/MBA_001f5bd2c764.sparsebundle mounted at: /Volumes/Backup of MBA
    Oct 28 11:24:12 MBA /System/Library/CoreServices/backupd[8747]: Backing up to: /Volumes/Backup of MBA/Backups.backupdb
    Oct 28 11:24:12 MBA /System/Library/CoreServices/backupd[8747]: Error: (-50) Creating directory 2008-10-28-112412.inProgress
    Oct 28 11:24:12 MBA /System/Library/CoreServices/backupd[8747]: Failed to make snapshot container.
    Oct 28 11:24:17 MBA /System/Library/CoreServices/backupd[8747]: Backup failed with error: 2
    Oct 28 11:24:17 MBA /System/Library/CoreServices/backupd[8747]: Attempt to eject diskimage failed with status: -47, dissenting pid: 0

  • Problem with Time Capsule after backup session

    I have a problem with Time Capsule after a backup session. Our two Macs (on Maverick) loose connection with the station and the only thing that seems to help is unplugging the Time Capsule  and starting it again! After the next backup session the same thing happens again. The Macs seem not to be able to hold on to the connection and continually loose it.  The iPhones and iPads that we have (4 units) are not affected - it is the Mac Mini and Mac Powerbook that experiences this problem!
    I would be grateful for your help!
    Thor

    This is standard Mac issues and has been a bug floating around since Lion.. it hits some people worse than others.. but once it starts it is awful hard to get rid of.
    Just to confirm the connection to internet is not a problem?? Just the hard disk drops out?
    I recommend you
    1. Reset the TC to factory.. and start over with all new names.. short, no spaces pure alphanumeric.
    TC name and wireless name/s should conform. By default the disk share name is data which is fine.
    2. Mavericks has changed over from using AFP to SMB for network filesharing.. why Apple why??
    This is unhelpful to say the least. Many many people are struggling with TC and being unable to mount the network drive.
    So do it manually and force it back to AFP.
    In Finder use top menu, Go, Connect to Server.
    Type AFP://TCname or TCIPaddress (it must be the network name of actual TC.. or its IP address)
    When the computer locates the resource it will ask for a password.. it is public by default.. supply your password or public and save it in the keychain.
    3. Delete the existing TM setup and start over.. See A4 here. http://pondini.org/TM/Troubleshooting.html
    I cannot promise this will fix it but should reduce the problem to now and then.. rather than every time TM needs to backup.

  • I am having problems with Time Machine and having enough space to finish my last back up.

    I am having problems with Time Machine and having enough space to finish my last back up.

    Take a look at this link, http://support.apple.com/kb/HT1427

  • Suppres the validity period in a time dep hierarchy with a temporal join

    Dear all,
    With our customer we have an reporting presentation issue that we cannot solve. Can you please help us with a solution?
    It is a hierachy display problem in a report.
    We present a time dependent hierarchy structure with a temporal join. This is to have the postings in the correct periods of the hierarchy. A characteristic of this hierarchy is the validity period. This validity period is default displayed in the report. This cannot be suppressed in the query designer. Is there a way to suppress this? This is a wish form the customer.
    Can you please help us with a sloution?
    Thanks in advance.

    Ondrej,
    Please refer to the below post, it is helpful.
    Re: BI HR Structural Authorizations
    Also, refer to the below document. It is old but provides very useful steps to be followed.
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/business-intelligence/a-c/bw_hr%20authorization%20-%20asap%20for%20bw%20accelerator]
    Update your findings.
    -Mann

  • Time Dependant Hierarchy in BEx

    Hi All,
    I have created a query on top of 0PS_C04.
    In my master 0Project i have a hierarchy which is being displayed through BEx.
    Now with every new fiscal year, new projects are added to the hierarchy.
    When I run the query then all the projects of the hierarchy are displayed irrespective of the year they belong to.
    My problem is that I want to display only 2009 related projects when i execute the report for 2009 and so on for the years that follow.
    Can somebody please suggest a way out???
    Thanks.
    Regards,
    Rohit

    Hi,
    Are you using option : Time dependent hierarchy or Entire hierarchy is time dependent. If it's the latter, then you can just restrict your query with the hierarchy having end date 31.12.9999. Using key date option is also convenient.
    --Akashdeep

  • Problem about printing special character in bex query analyzer

    Hi,
    in bex query analyzer i have created one restricted key figure , in which i have substracted two date with the help of replacement path.
    So i got result.
    But i am facing one problem. when in both date, if one date is null or # then it is giving some big value like -734567.
    But i want some special character like X instead of this big values.
    So how can i do this?
    With the help of if and else it can be done.
    But how can we print special character in report.
    Please help me
    Thank you in advance

    hi,
    You cannot show X in a formula result. You can highlight the row using exception.
    Still if you want to show X in the result then you need to create a formula variable on a char which returns X value all the times.
    Then you can use the three formula variable to write a formula so that it shows the difference:
    date1 -- formula variable
    date2 -- formula variable
    charx -- formula variable.
    the formula will be
    Count(date1)Count(date2)(date1 - date2) + charx *(count (delta(date1) + delta(date2))).
    this would return the X value if any of the dates are empty otherwise their difference.
    regards.
    Arvind.

  • Incomplete hierarchy in bex query (infoobject 0COSTCENTER)

    Hi Friends!
    I have a problem with hierarchy on infoobject 0COSTCENTER, the hierarchy is completely loaded into BW system (and is active), but when displays in query bex, cost centers are missing in the hierarchy (nodes and cost centers).
    Plaese some help!!
    Thanks everyone!

    Hi
    Even if you have used a hierachy that you know 100% has been loaded correctly - your report results can still "break" it.
    Hierarchies work by creating a relationship between parent and children. If you imagine your family: your parents are only related to your children through you actually being in between. If you disappeared from the relationship there would be no direct connection between you parents and your children. Your children are not the children of your parents.
    It's the same in BI !
    If a node is filtered in a report, the hierarchy mechanism doen't automatically reassign ownership of the children without parents. These are technically orphans.
    The result is that even when you use hierarchies with a report that has selections some nodes in the hierarchy work because all the children conformes to the selection whereas other ones do not, and it appears that something has gone wrong.
    You can force it to work by adding other key figures into your report that do not have the selection, but you'll have to discuss that with the business.

Maybe you are looking for