Is there a way to specifiy a date in characteristic derivations?

Hello,
I have a characteristic derivation set up for certain attributes on the characteristic 0employee. In the transactional cube there are records for an employee that hasn't actually started employement yet, but since it is a budget/forecast model they have records in the cube as well as other employee attributes. When I try to perform a copy function, it tries to derive the attributes for this employee, but since the start date on the employee master data is in the future, it is using the first 0employee record with the valid from date = '01.01.1000', which has no attributes set up.
Here is an example:
Cube contains employee 00014300 and country 'AU '.
Master data contains:
00014300 A       20.03.2005 01.01.1000 ' '
00014300 A       31.12.9999 21.03.2005 AU
Copy function as of today (15.03.2005) is using the first record so I get the error "Value AU of chara Country does not correspond to the attrib.val  of chara Employee".
Can anyone tell me how to get around this problem without modifying master data directly as there could be a few records with the same problem. Can I specify a date to of '31.12.9999' for characeristic derivations?
Thanks,
Linda

Hi
I would suggest using an Exit Characteristic Derivation, that way you can decide in your own ABAP code which master data record to use.
function z_derive_emp_info.
""Local interface:
*"  IMPORTING
*"     REFERENCE(I_AREA) TYPE  UPC_Y_AREA
*"     REFERENCE(ITO_CHA) TYPE  UPC_YTO_CHA
*"     REFERENCE(ITO_SOURCE) TYPE  UPC_YTO_CHA
*"     REFERENCE(ITO_TARGET) TYPE  UPC_YTO_CHA
*"  CHANGING
*"     REFERENCE(XS_CHAS) TYPE  ANY
*"  EXCEPTIONS
*"      FAILED
  DATA:
  itab TYPE TABLE OF ????.
  FIELD-SYMBOLS:
  <emp_id> TYPE /BI0/OIEMPLOYEE, 
  <country> TYPE /BI0/OICOUNTRY_ID,
  <???> TYPE another attribute???.
  ASSIGN COMPONENT '0EMPLOYEE' OF STRUCTURE xs_chas TO <emp_id>.
  ASSIGN COMPONENT '0COUNTRY_ID' OF STRUCTURE xs_chas TO <country>.
  ASSIGN COMPONENT '???' OF STRUCTURE xs_chas TO <???>.
SELECT ??? ???
INTO TABLE itab
FROM /BI0/QEMPLOYEE
WHERE EMPLOYEE = <emp_id>
AND OBJVERS = 'A'.
READ itab ..... WITH KEY DATETO ???
                          DATEFROM ???
<country> = itab-country.
<???>  = itab-???.
  etc.

Similar Messages

  • Is there a way to darken the dates (numbers) on ical. After installing Lion I can barely read the dates of the month in ICal

    Is there a way to darken the dates (numbers) on the ICal calender. I can barely read mine after installing Lion.

    I should note that the time stays on the left of the event name when I re-enter the text (which I had to do all the time before I found the "show event times" button) so I feel like there's a way.

  • My iPhone 5 has broken and is being replaced with a new iPhone tomorrow. However, My carrier (orange) will b picking up my broken iPhone and I am unsure how to secure the content and icloud data on the broken phone. Is there a way to display the data?

    My iPhone 5 has broken and is being replaced with a new iPhone tomorrow. However, My carrier (orange) will b picking up my broken iPhone and I am unsure how to secure the content and icloud data on the broken phone. Is there a way to disable the data held on it and ensure that if it is fixed, nobody can use/see my data and access my account?

    Hi Gazpan,
    Thanks for visiting Apple Support Communities.
    I recommend using the steps in this article to back up your iPhone if possible:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    http://support.apple.com/kb/ht1766
    You may also find this advice helpful for your situation:
    What to do before selling or giving away your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/ht5661
    If you no longer have your iOS device
    If you're using iCloud and Find My iPhone on the device, you can erase the device remotely and remove it from your account by signing in to icloud.com/find, selecting the device, and clicking Erase. When the device has been erased, click Remove from Account.
    If you're unable to complete either of the above steps, you should change your Apple ID password. Changing your password won't remove any personal information that is cached on the device, but it will make sure that the new owner can't delete your information from iCloud.
    Cheers,
    Jeremy

  • Is there a way to display the date and time on my officejet 6500

    HP Officejet 6500a Plus Windows XP_ Is there a way to display the date and time on the display of my printer

    Are you referring to the Date and Time some cameras put right on the image?  If so there is nothing really good in iPhoto to do this. You could try the Retouch tool and see how that looks but I think you will need something more precise and powerful, like the clone tool in Aperture.
    Also something like PhotoShop or GIMP - The GNU Image Manipulation Program (free) should do what you want also.
    If your asking about some other date post back.
    regards

  • HT4859 How can I verify that my App data is actually stored in iCloud. With Dropbox, I can actually see my stored files. With iCloud, itseems I'm supposed 2 just trust that Appl has the data. Short of doing a restore is there no way to check the data?

    How can I verify that my App data is actually stored in the iCloud. I can see and access my notebook, contacts etc. on the iCloud website, and I can see my photos in a folder on my Windows-based desktop compter (iCloud/Photostream). But no app data.
    With Dropbox, I can actually see all of my stored files. With iCloud, it seems, I'm supposed to just trust that Apple has my back. Short of deliberately trashing my app data and then attempting a restore, is there no way to check the data?

    You can't access them on Windows (unless you have iCloud enabled Windows programs) and I don't think any are, yet.
    iCloud data is accessed via Apps/Programs, the Windows programs vendors will have to step up (just to make it worse Microsoft have not yet enabled their Mac programs, such as Office yet) I doubt that iCloud access is much of a priority for them, complain to MS, when enough Windows users complain maybe they'll do something.

  • One of the folders on my external hard drive has transformed into a unix executable file and I can no longer access my files. Is there any way to save the data?

    One of the folders on my external hard drive has transformed into a unix executable file and I can no longer access my files. Is there any way to save the data?

    Wow, have seen Files do that, but a whole Folder as I recall!
    Could be many things, we should start with this...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)

  • If meta data LUN is totaly destroied , is there any way to rebuild the data from the video LUN

    If meta data LUN is totaly destroied , is there any way to rebuild the data from the video LUN ????

    What happened to your metadata? Are you sure the metadata is gone?
    In theory, file carving could be attempted on the data LUNs, but you would need a tool that understands how Xsan lays out data across LUNs in a stripe group and hope your fragmentation isn't too bad. I doubt such a tool exists, but if one does it almost certainly is not publicly available. You should probably contact a data recovery service with experience recovering data from Xsan. Do that before you do anything else if this data is really important.

  • Is there any way to retrive the data from my USB Key

    Hello,
    I have a usb key I have been using on a Win 7 desktop computer and a Mac Book Air to put in Data on a spread sheet.
    I interchange to put in the data between the computer and my MBA without any problem.
    I am today not able to open the usb memory key in either-Computer or the MAC Book Air.
    Does that mean I have a coruppted USB memory key and the data lost for ever?
    I have just put the USB memory key in my computer and it says File System CDFS.
    I put it in MAC Book Air and it would not open either!!
    Is there any way to access my data. I have no back up...

    If the USB drive won't mount on either computer, it's probable that the drive has failed, in which case it's unlikely that you can recover any data from it. You can do a web search for something like "flash drive file recovery" and you'll find a number of utilities that purport to do file recovery, but all the utilities I'm familiar with require that the drive at least be mountable. There may be services that could attempt recovery, but they tend to be expensive.
    The moral of the story is: never have only a single copy of a critical document, and if you must, never, never have your single copy only on a flash drive (or floppy, for those "old timers" who still use floppies).
    Regards.

  • Is there any way to print  the data inside  the Notes field of MIR6 Report

    Hello Gurús.
    We need to include the data inside the Notes field in the report MIR6 - INVOICE OVERVIEW - report.
    Is there any way to print  the data inside (comments)  the Notes field as well in the Report  ?
    We found that the only way is to open the Notes and print it, but it takes time, any idea ?
    Rgds.
    MCM.

    There's nothing built-in that does that. If you only have text fields and they don't have any formatting or other property that would prevent it (e.g., Date, character limit), you can run a simple script to populate each field with the field name, and then print. A more complicated approach would be a script that adds text annotations near/over each field that shows the field name. This would just be for documentation purposes, but it's possible. Post again if you'd like help with the first. You'll probably have to pay someone for the second approach if you don't want to do it yourself.

  • Iphone 3GS was dropped and will not turn on or respond to USB connection.  Is there any way to extract the data off when it is not responding so that I can restore to my new phone?

    The phone is physically intact, but you can see the LCD is cracked behond the glass. I have tried plugging it in, tried putting it on the charger, and resetting it using the off and home buttons, bit response. I don't need the phone to work, but I do need to be bale to back it up in order to restore to the new phone.  Is there any way to extract the data or back up the hard drive without repairing the phone?  Just curious what my options are before I spend cash trying to fix the phone and find out there was another way to get the data.  Any thoughts here or should a good repair shop being able to create a backup somehow?

    Im not going to be much help because I don't know of anything else to besides take it somewhere that fixes electronics and see if they can get it off some how maybe if you take it to an apple store they can do something to get your information.

  • By mistake I restored my iphone to an old back up I created when I connected my iphone to iTunes. I lost all my data and got the very old ones. There is no new back up. My iTunes is set to auto sync. Is there a way to retreive my data?

    I lost my iPhone data by mistake. There is no new back up in iTunes neither iCloud. Is there a way to get my data back?

    On iTunes under preferences if you select your device, do you also see a listing of available Backup files?  (vs. just the Backup you don't want)

  • Is there a way to import iCal data into a numbers spreadsheet?

    Is there a way to import iCal data into a numbers spreadsheet?

    If you want to import lots of calendar events into Numbers, the general way to proceed would be to:
    export in CSV (character-separated values) from iCal (Calendar)
    import the CSV into Numbers.
    1. can be accomplished via AppleScript (perhaps in an Automator workflow) or, perhaps more convenient, a dedicated exporter app such as Export Calendars Pro or competitors.
    2. Importing into Numbers is usually as easy as File > Open and choose the CSV file.
    SG

  • Is there a way to change the date format so that delegates have to choose a day, month and year from a drop down menu as my delegates keep forgetting to change the year of their information

    When my delegates are filling in a event form i have put together, a large number of them forget to change either the month or year on the date field. Is there a way to have a date field that has drop down boxes for day, month and year so they have to choose rather than a date been already on the screen??
    Thanks

    Hi Christopher,
    The WEEKDAY function allows specifying either Sunday or Monday as the first day of the week:
    WEEKDAY
    The WEEKDAY function returns a number that is the day of the week for a given date. WEEKDAY(date, first-day)
      date:  The date the function should use. date is a date/time value. The time portion is ignored by this function.
      first-day: An optional value that specifies how days are numbered.
    Sunday is 1 (1 or omitted):  Sunday is the first day (day 1) of the week and Saturday is day 7.
    Monday is 1 (2):  Monday is the first day (day 1) of the week and Sunday is day 7. Monday is 0 (3):  Monday is the first day (day 0) of the week and Sunday is day 6.
    But I think you are referring to the first day of the 'workweek', for which I do not see a means of defining a custom value.
    Since you want to 'insert categories', though, you could easily define your own, using WEEKDAY(date) or WEEKDAY(date,1), plus an IF statement to return the category label appropriate to the day. Here's one for a Sunday to Thursday work week. Dates are in column A, the formula is in whichever column you want as the Category column. For the example, I've placed it in column B.
    B2, and filled down: =IF(WEEKDAY(A)<6,"Work","Off")
    The top table shows the weekday numbers returned for each day of the week for each of the three permitted values for the optional second argument. The bottom table shows the results from the formula above, used to define a category label for each date:
    A10 was left blank intentionally, to determine if the lack of data resulted in an error. The Warning message, flagged by the blue 'warning' triangle, is "The formula uses a number in place of a date." The 'date' assigned to this numerical value of zero was a Friday, but I'm not certain when. Probably best to avoid extra rows with no date shown.
    Regards,
    Barry

  • I have written a binary file with a specific header format in LABVIEW 8.6 and tried to Read the same Data File, Using LABVIEW 7.1.Here i Found some difficulty.Is there any way to Read the Data File(of LABVIEW 8.6), Using LABVIEW 7.1?

    I have written a binary file with a specific header format in LABVIEW 8.6 and tried  to Read the same Data File, Using LABVIEW 7.1.Here i Found some difficulty.Is there any way to Read the Data File(of LABVIEW 8.6), Using LABVIEW 7.1?

    I can think of two possible stumbling blocks:
    What are your 8.6 options for "byte order" and "prepend array or string size"?
    Overall, many file IO functions have changed with LabVIEW 8.0, so there might not be an exact 1:1 code conversion. You might need to make some modifications. For example, in 7.1, you should use "write file", the "binary file VIs" are special purpose (I16 or SGL). What is your data type?
    LabVIEW Champion . Do more with less code and in less time .

  • Is there any way to save the data on my ipod if it is in recovery mode and has to be reset?

    Is there any way to save the data on my ipod if it is in recovery mode and has to be reset?

    Only if this program will get the iPod out of recovery mode.
    RecBoot: Easy Way to Put iPhone into Recovery Mode

Maybe you are looking for

  • Single Click in OS X: is that possible?

    Hello, Is it possible to switch from double click to single click in OS X? I don't find anywhere in system preferences giving me this option! Thanks, Ramin

  • Add Partition during runtime

    How do you add a partition to a table during runtime The table should grow with every month and as part of an automated process (add partition for new months data ) one should not need to change the table design on a monthly basis ( upgrade on deploy

  • Thruster control using PID controller

    Dear All, Actually my project is related to heading control of an underwater system using PID controller - A Labview Application. Till now, As per this forum discussion, I have completed the rotation count measurement of a compass C-100 device using

  • Script Data Component - System.DateTime.TryParseExact Method not validation date value

    Hello I have Script data component in my data flow task and i am trying to validate whether the date fields has valid date values or not. So i added below code to validate the date fields in below code TestDate is datetime and ValidTestDate is dateti

  • Video playback pauses for 100-200ms in mplayer

    but it's not the video files, because if I play again the part where the playback pauses occured, they don't occur the second time in the same place... what could be the problem ? before switching to Arch, I had this problem after I've upgraded to ke