Handling Valid To and Valid From Dates in Infocube

Hi Gurus,
I am designing a transaction data InfoCube for Human Resources. The date from and Date to are seem in PSA.
But they are not display in InfoCube .
Can anyone share thoughts on how to handle this situation?
Thanks in advance.
Sincerely,
Minaxi

You look for the infoobjects in the cube level and also in the update rules , but it may be also another reason , just check if this is the one,
if you include a keyfigure of type Date with Data type DATS, then it will not be available in the planning level. To include a Date keyfigure in the planning level you need to define it as DEC.

Similar Messages

  • Validity start and Validity End date in PO

    HI  gurus
       can you plz tell me how to activate  validity start and Validity End date in PO
    Neha

    Hi,
    It is applicable for PO done for Frame work oder with Doc type - FO(Frame work order)as its an agreement of supply of stock only between specified period.For this kind of Doc type system makes it mandatory to enter the valisity start and end date.
    Thanks

  • How to create the verify.der file in portal ? valid to and valid from

    hi Experts,
    am facing the problem in SAP logon method without user mapping but it's having a problem, The problem is  create the Transaction iview it's not there . Back end server is not response how to create the Valid TO and Valid From in portal.
    Thanks & Regards
    Chandu

    Chandu,
           1.      Start the SAP J2EE Engine Visual Administrator: C:\usr\sap\<SID>\JC00\j2ee\admin\go.bat.
           2.      Navigate in the left tree panel to Cluster -Server -Services -Key Storage - Runtime  TicketKeystore - SAPLogonTicketKeypair u2013cert.
    Here you can go ahead and create a new ticket.
    Hope that helps.
    Cheers,
    Sandeep Tudumu

  • How PO validity start and validity end works

    In the PO Header (tab Additional data), there are fields: validity start and validity end.  The help text states the following:
    Start of validity period
    Date as of which services can be performed or materials delivered.
    In the case of purchase orders:
    Start of the period in which the service is to be performed or thematerial delivered.
    End of validity period
    Date up to which services can be performed or materials delivered.
    In the case of POs:
    End of the period in which the service is to be performed or thematerial delivered.
    I maintained a validity date range 01/01/2007 to 01/10/2007.  When i tried to receive the item with posting date 01/15/2007, the system saved the GR without even a warning message that the GR was outside the PO validity date.
    How does this field work?  Is this standard configuration or does this only work with a user-exit?
    I would appreciate any input.
    Regards,
    Dominique

    hi ,
    use transaction OMCQ,
    set the status of message for M7 163 to error. if this message is not present in the list , then go to new entries and select  this message and enter it into the list
    after this set the status to "E".
    let me know if this works
    Regards
    Mangesh.

  • Add Validity Start and Validity End On PO Header

    Dear SAP,
    need your help, I am trying to add Validity Start and Validity End Field on Additional Tab in Purchase Order header.
    How do i add this field ?
    i already check on MM define screen layout a document level, but there is not setting for this two field.

    Hi Nizam,
    The validity start date & end date are used only for service orders. In configuration goto IMG>MM>Purchasing>PO>Define screen layout at document level and check into Administrative data, header of ME21N , the field selection key attached to your document type (Say NBF) and for field selection key AKTH.
    The fields Start of validity period & Validity period end of field selection key ME21N, NBF & AKTH should be set as optional then only required fields will be visible on screen.

  • How to find function and SP from data dictionary?

    For example:
    create or replace package SPK_A is
    lv_empno number;
    lv_deptno number;
    function FUN_A(in_empno number) return varchar2;
    function SP_A(in_deptno number) return varchar2;
    end;
    Then, how can i to find FUN_A and SP_A from data dictionary.
    and mark the former is a function, the latter is a stored procedure.
    I have tried to use the following 2 views, but i cannot give me the answer.
    (1)dba_procedures: it can only find the sole function or sole stored procedure, which is not define in a package.
    and it can not distinguish between function and SP.
    For example, it can only find the function or SP as below:
    create or replace function FUN_OUT return number is
    begin
    null;
    end;
    (2)all_arguments: it can list all function or SP which has varibles, but can not distinguish between function and SP.
    Can anyone help me?
    Any ideas appreciated.
    Merry Chirstmas!

    Is this what you mean?
    SQL> connect test/test
    Connected.
    SQL> create or replace package SPK_A is
      2  lv_empno number;
      3  lv_deptno number;
      4  function FUN_A(in_empno number) return varchar2;
      5  function SP_A(in_deptno number) return varchar2;
      6  end;
      7  /
    Package created.
    SQL> create or replace function FUN_OUT return number is
      2  begin
      3  null;
      4  end;
      5  /
    Function created.
    SQL> select object_type, object_name from user_objects;
    OBJECT_TYPE
    OBJECT_NAME
    TABLE
    ABC
    PACKAGE
    SPK_A
    FUNCTION
    FUN_OUT

  • BAPI Diff between Creat and Create from Data

    Hi All,
    for Sales order creation we have Many BAPI function module.
    how can i decide which module shoud i use ..a
    and what is the diff bw create and create from data function module.
    And i have read some where about BAPI --- ' acces to SAP applications from Third party can only by means of BAPI's.'..
    it means can't third party call RFC's in SAP.
    if they can call RFC's why BAPI.
    i met this question in so many Situations.
    But i didnt get clear answer for this.
    could u pls help me.
    Thanks in advance.
    Jeyaseelan.G

    hi jeyaseelan guru,
    there no difference actually ...between a create bapi and create from data() bapi...
    open business object type kna1 in swo1 and see that  differeence lies in the versions .....double click on create method under the methods node u will find tat create bapi  used from the release 30a and create from data bapi used from the release from 45a.......... based on the versions it offer more features ............
    so, try to use a bapi of newer version
    The BAPI Create() or CreateFromData() creates an instance of an SAP business object type, for example, a purchase order. These BAPIs are class methods.
    reward points if helpful.....
    Message was edited by:
            raam

  • Getting Day, month and year from Date object

    hello everybody,
    Date mydate = Resultset.getDate(indexField);
    Now i would like to get day, month and year from mydate.
    In another words, i'm looking for something equivalent to
    mydate.getDay() as this method is deprecated.
    Can somebody help me out please?
    Thank you in advance,

    swvc2000,
    Here is a sample class that demonstrates two ways in which to do this.import java.util.*;
    import java.text.*;
    public class DateSplitter {
       public static void main(String args[]) {
          /* even though your date is from a result set,
             pretend the following date is your date that
             you are using. The try catch block is used
             because I hand-crafted my date using
             SimpleDateFormat.  Substitute your date.*/
          Date yourDate = null;
          try {
             SimpleDateFormat formatter = new SimpleDateFormat("MM/dd/yyyy");
             yourDate = formatter.parse("05/06/2000");
          } catch (ParseException e) { }
          //the following gets the current date
          Calendar c = Calendar.getInstance();
          //use the calendar object to set it to your date
          c.setTime(yourDate);
          //note months start at zero
          int month = c.get(Calendar.MONTH);
          int year = c.get(Calendar.YEAR);
          int dayOfMonth = c.get(Calendar.DAY_OF_MONTH);
          System.out.println("Calendar Month: "+month);
          System.out.println("Calendar Day: "+dayOfMonth);
          System.out.println("Calendar Year: "+year);
          System.out.println();
          /* Simple date format can also be used to strip them
             out of your date object.  When you use it, notice that
             months start at 1.  Also, it returns string values.  If
             you need integer values, you will have to use
             Integer.parseInt() as I did below.  If you are
             only concerned about the string values, just remove
             the Integer.parseInt part. */
          DateFormat formatter = new SimpleDateFormat("M");
          month = Integer.parseInt(formatter.format(yourDate));
          System.out.println("SDF Month: "+ month);
          formatter = new SimpleDateFormat("d");
          dayOfMonth = Integer.parseInt(formatter.format(yourDate));
          System.out.println("SDF Day: "+ dayOfMonth);
          formatter = new SimpleDateFormat("yyyy");
          year = Integer.parseInt(formatter.format(yourDate));
          System.out.println("SDF Year: "+ year);
       }//end main
    }//end DateSplitter classtajenkins

  • Get month and year from date type

    Hi all,
    I need to get the month and year from the date type.
    For example select to_date('2011-01-17', 'yyyy-mm-dd') from dual;Result needed:
    01-2011Any ideas?
    thanks in advance,
    Bahchevanov.

    Hello Bahchevanov,
    if you need the date to compute something, then you can
    TRUNC(SYSDATE,'mm')This will give you a date with the days removed -> 01.01.2011
    Regards
    Marcus

  • Subject area security validating users and groups from external table

    Hi all.
    I don't have practice to put question here, but there is one problem, that seems don't work correctly in OBIEE.
    I'm trying to put users in groups within external table and this works fine.
    I put security on the subject area level like this:
    SA1 -> GroupA allow, Everyone not allow
    SA2 -> GroupB allow, Everyone not allow
    External table:
    User----------Group
    A---------GroupA;GroupB
    B---------GroupB
    Users A, B and GroupA, GroupB exists in the RPD, but I didn't put users inside them, I want this from table.
    From the init block, external table I'm taking users and join them in the group. Same name users and groups are also in the presentation service.
    When i connect with user A i don't see any subject area, when go to My Account i see in Group Membership/GroupA and GroupB, so it's readed from the external table.
    Why in this case the subject area permission is not working?
    It works if I explicitly put users in groups, in the RPD.
    I have read this blog entry http://kpipartners.blogspot.com/2009/07/groups-webgroups-and-delivers.html and it is said that this works, but I'm interested how.
    What should we have in the presentation part, administration, Manage Privileges -> Access within Oracle BI Answers option for those two subject area?
    This doesn't work or something is missing:
    Re: Security on Subject Areas
    Regards
    Goran
    http://108obiee.blogspot.com

    What should we have in the presentation part, administration, Manage Privileges -> Access within Oracle BI Answers option for those two subject area?Yes, you should remove Everyone and add the relevant groups to each Subject Area. You don't need to set privileges in the RPD, in fact that's probably why it doesn't work for you. Leave your RPD Presentation Catalog as "Everyone" = Read as you will controlling access from the Presentation Services and it should work.

  • CAML Query to get Items based on Year and Month From Date Column

    Hi All,
           * As we knew that there are default columns in calendar like Stattdate,Title,Location..etc.
            * I required the CAML Query to get the list items of calender of particular Month and Year,So that I can get number of items or evetns are in Calendar
    Can any one help me how can I do this using caml query
    Samar

    Hi Stuart,
                 Thanks for your response,I had chosen 2nd option of our above mention suggestion.But when I try to fetech the data from a calendar it is showing below error .I
    had checked the below code with oter lists by changing Type to text and it worked fine.Can you please help me how can I fetech for the calulated columns
    Error
    "One or more field
    types are not installed properly. Go to the list settings page to delete these
    fields. "
    Code:
     string year="2014";
                string month="February";
                SPSite mysite = SPContext.Current.Site;
                SPWeb myweb = mysite.OpenWeb();
                try
                    SPList mylist = myweb.Lists["Calendar"];
                    SPQuery myquery = new SPQuery();
                    myquery.Query = @"<Where>
                                          <And>
                                           <Eq>
                                             <FieldRef Name='Year'/>
                                             <Value Type='Calculated'>"
    + year + @"</Value>
                                          </Eq>
                                          <Eq>
                                             <FieldRef Name='Month'
    />
                                             <Value Type='Calculated'>"
    + month + @"</Value>
                                          </Eq>
                                         </And>
                                      </Where>";
                    SPListItemCollection totaltiems = mylist.GetItems(myquery);
                   Label1.Text= "Total Number of Items is "+" "+totaltiems.Count.ToString();
                catch (Exception ee)
                    Label1.Text = ee.Message;
                finally
                    myweb.Dispose();
    Calculated Columns
    Samar

  • Using the EXTRACT function to get year and month from date

    Hello~
    I am trying to extract the month and year using the query below but am getting the error:
    Query cannot be parsed within the Builder
    select     distinct city AS "CITY",count(MOTOR_ASSIST2.CITY) as "COUNT"
    from     "MOTOR_ASSIST2" "MOTOR_ASSIST2"
    where
    (:P53_FISCAL_YR IS NULL OR :P53_FISCAL_YR = MOTOR_ASSIST2.FY)
    *OR (:P53_MONTH IS NULL OR EXTRACT(MONTH FROM :P53_MONTH) = MOTOR_ASSIST2.DATETIME)
    OR (:P53_YEAR IS NULL OR EXTRACT(YEAR FROM :P53_YEAR) = MOTOR_ASSIST2.DATETIME))*
    GROUP BY MOTOR_ASSIST2.CITY
    ORDER BY CITY
    Can anyone help me figure out what im doing wrong?Thanks
    Deanna

    1. Whats the value of year you are passing here ??
    2. Whats the value of months you are passing here??
    Select City As "CITY", Count(Motor_Assist2.City) As "COUNT"
      From "MOTOR_ASSIST2" "MOTOR_ASSIST2"
    Where ((:P53_Fiscal_Yr Is Null Or :P53_Fiscal_Yr = Motor_Assist2.Fy) Or
           (:P53_Month Is Not Null Or :P53_Month = Motor_Assist2.Month) And
           (:P53_Year Is Not Null Or :P53_Year = Motor_Assist2.Year) And
           Datetime >= To_Date(:P53_Year||:P53_Month, 'YYYYMON') And
           Datetime > Add_Months(To_Date(:P53_Year||:P53_Month, 'YYYYMON'), 1)
    Group By Motor_Assist2.City
    Order By City
    SQL> Select Sysdate From dual Where Sysdate = To_Date('2008'||'SEP', 'YYYYMON');
    SYSDATE
    Select Sysdate From dual Where Sysdate = To_Date('2008'||'SEP', 'YYYYMON');
    SYSDATE
    SQL> Select To_Date('2008'||'SEP', 'YYYYMON') From dual;
    TO_DATE('2008'||'SEP','YYYYMON
    9/1/2008
    will give you sept 1st or 1st day of the month,
    hows the data in your datetime column or variable ???
    SQL> Select Sysdate From dual Where trunc(add_months(last_day(Sysdate),-1) +1) = To_Date('2008'||'SEP', 'YYYYMON');
    SYSDATE
    9/12/2008 3
    SQL>
    there both side of '=' yield first day of sept ...
    SQL>

  • Min and max from date range span..

    Hi All,
    Here is the problem, we have the data like below and
    MEMBER_NO    YMDEFF    YMDEND
    5400         01-MAY-99 30-JUN-99
    5400         01-JUL-99 31-DEC-99
    5400         01-JAN-00 31-DEC-00
    5400         01-JAN-01 31-JAN-01
    5400         01-FEB-01 30-APR-01
    5400         01-MAY-01 31-OCT-02
    5400         01-NOV-02 31-DEC-03
    5400         01-JAN-04 31-JAN-04
    5400         01-FEB-04 29-FEB-04
    3Y00         01-JAN-02 23-JUL-02
    3Y00         24-JUL-02 31-OCT-02
    3Y00         01-NOV-02 30-APR-03
    3Y00         01-MAY-03 31-OCT-03
    3Y00         01-JAN-04 31-JUL-04
    3Y00         01-FEB-06 30-NOV-06
    3Y00         01-DEC-06 31-DEC-99We want the output will be like this it is group by the member_no according to the time span. it is like if the consecutive rows are in range of continuous dates than it become a one span and if there is any breaks in between then that will be in a separate span.
    MEMBER_NO    min_YMDEFF    max_YMDEND 
    5400         01-MAY-99 29-FEB-04
    3Y00         01-JAN-02 31-JUL-04
    3Y00         01-FEB-06 31-DEC-99Thanks in advance

    In code this story becomes:
    SQL> create table mytable
      2  as
      3  select '5400' member_no, date '1999-05-01' ymdeff, date '1999-06-30' ymdend from dual union all
      4  select '5400', date '1999-07-01', date '1999-12-31' from dual union all
      5  select '5400', date '2000-01-01', date '2000-12-31' from dual union all
      6  select '5400', date '2001-01-01', date '2001-01-31' from dual union all
      7  select '5400', date '2001-02-01', date '2001-04-30' from dual union all
      8  select '5400', date '2001-05-01', date '2002-10-31' from dual union all
      9  select '5400', date '2002-11-01', date '2003-12-31' from dual union all
    10  select '5400', date '2004-01-01', date '2004-01-31' from dual union all
    11  select '5400', date '2004-02-01', date '2004-02-29' from dual union all
    12  select '3Y00', date '2002-01-01', date '2002-07-23' from dual union all
    13  select '3Y00', date '2002-07-24', date '2002-10-31' from dual union all
    14  select '3Y00', date '2002-11-01', date '2003-04-30' from dual union all
    15  select '3Y00', date '2003-05-01', date '2003-12-31' from dual union all
    16  select '3Y00', date '2004-01-01', date '2004-07-31' from dual union all
    17  select '3Y00', date '2006-02-01', date '2006-11-30' from dual union all
    18  select '3Y00', date '2006-12-01', date '2099-12-31' from dual
    19  /
    Tabel is aangemaakt.
    SQL> select member_no
      2       , min(ymdeff) "min_YMDEFF"
      3       , max(ymdend) "max_YMDEND"
      4    from ( select t.*
      5                , sum(consecutive) over (partition by member_no order by ymdeff) sum_consecutive
      6             from ( select member_no
      7                         , ymdeff
      8                         , ymdend
      9                         , sign(ymdeff - lag(ymdend,1,ymdeff-2) over (partition by member_no order by ymdeff) - 1) consecutive
    10                      from mytable
    11                  ) t
    12         )
    13   group by member_no
    14       , sum_consecutive
    15   order by 1, 2
    16  /
    MEMBER_NO  min_YMDEFF          max_YMDEND
    3Y00       01-01-2002 00:00:00 31-07-2004 00:00:00
    3Y00       01-02-2006 00:00:00 31-12-2099 00:00:00
    5400       01-05-1999 00:00:00 29-02-2004 00:00:00
    3 rijen zijn geselecteerd.Regards,
    Rob.

  • Analyze and Specify 'From Date' why need TDMS the table TKEB ?

    Hi all
    one Question i start for a new customer TDMS, the Customer don't use Management for Operating Concerns therefore we don't have records on table TKEB. But TDMS search fix on these Table on the call function 'CNV_TDMS_01_EVALUATE_INCONSIST'
    check_common_entries: t001  'T001',
                                              fm01  'FM01',
                                              t242v 'T242V',
                                              tkeb  'TKEB'.
    now i have always the Error messages " Inconsistent customizing of org. units and their fiscal year variants"
    "Evaluation failed. Required customising data not available".
    Should I have to customize one record for table TKEB ?
    Thanks for feedback
    René

    Hello,
    At what SP you are ? if you are on old SP like 12 or less then you can pass this step by pressing the enter button once you get the warning after you hit analyse button.
    if you are on higher Sp then you need to raise a OSS message to SAP explaining your concern. The developers will make the required changes in the coding.
    Best Regards
    Niraj

  • Creation of new columns and reformatting of data in infocube

    Hi,
      Although i got the results i wanted in my demo cube, i am not sure how it came to that.
      In my flat file, i have entries of 1001 for 0D_CREDITOR, and 82004 for 0FISCPER. However in my infocube, i am seeing entries of 0000001001 for 0D_CREDITOR, 2004008 for 0FISCPER, and a new entry of 2004 for Fiscal Year.
      I am sure it must have gone through transformation in either the update or transfer rule. Please explain in finer details if possible.
      Thanks.
    Cheers

    Hi,
    0D_CREDITOR is using ALPHA conversion routine and 0FISCPER using another conversion routine which you can check in the data source itself in BI system.
    ALPHA conversion  padds up the values with 0's in the left if the values coming from the source is less then the length of the infooobject.
    SO if 0D_CREDITOR  is of length 10 and the value from source for 0D_CREDITOR is 1000...then it will pad up 6 0's in the left to make it 10.
    conversion routine for fiscal period will work in changing the field.
    Thanks
    Ajeet

Maybe you are looking for

  • Macbook Pro (Core Duo Mid 2006) won't boot

    My macbook pro won't boot.  I'm suspecting that the HD has gone out again, but I also don't seem to be able to boot from a CD.  When I startup, it gives me a grey apple screen with a spinning gear.  I tried running disk first aid from the command lin

  • Motion drop zones not behaving

    I have drop zones on a canvas x 4. I have made this "Fit" setting. The drop zones are not all the size of the footage for example one of them is really tall but thin. When I place it in the fcp timeline the drop zones shrink to accomadate the footage

  • How do I get rid of startsearcher which came when I downloaded "facethemes"?

    I downloaded a program called "facethemes" which gave me "startsearcher" as my home page. I have deleted it from my internet options and removed the program facethemes, but startsearcher won't go away. I have cleared my cache, history, and cookies bu

  • X220 integrated camera Windows 8.1 not showing up

    Hello, Im using X220 with Windows 8.1 Pro. Under Fn + F6 i have TouchPad, Wireless, Battery, Audio I installed: - Lenovo Power Management Driver 1.67.04.05 - Lenovo Settings Dependency Package 2.2.0.28 - Lenovo Solution Center 2.4.003.000 - Lenovo Sy

  • Will modification in a published Report, change its CMC configuration?

    Hi, I am having a published report at BOXI test server.This is configured in CMC. In case i want to modify this report, will it cause any change in setting done in  Process Tab of CMC. If yes, then how I can avoid this. Thanks Deepak