Select Records between Begin Date/Time and End Date/Time

Hi, I need to select records from table GLPCA where the CPUDT and CPUTM are between a START DATE/TIME and END DATE/TIME. 
I have the below logic from an SAP Solution, but it doesn't seem to be working right in my opinion.  It is picking up records earlier than the date ranges.  Can anyone tell me how I might be able to accomplish this?  I'm hoping this is an easy one for the ABAPPERs... 
Thanks,
START DATE 20091022
START TIME 125736
END DATE 20091022
END TIME 135044
CPUDT 20091022
CPUTM 100257
      SELECT * FROM GLPCA
         WHERE ( CPUDT >= STARTDATE AND ( CPUTM >= STARTTIME OR ( CPUDT <= ENDDATE AND CPUTM <= ENDTIME ) ) ).

Thank you all!  I ended up using the following:
SELECT * FROM GLPCA
          WHERE RYEAR IN L_R_RYEAR
            AND ( ( CPUDT = STARTDATE AND CPUTM >= STARTTIME ) OR CPUDT > STARTDATE )
            AND ( ( CPUDT = ENDDATE   AND CPUTM <= ENDTIME )   OR CPUDT < ENDDATE ).
This child was born from the following thread that was found:
update date and time of client record

Similar Messages

  • Difference between a starting date and time and ending date and time

    Hi All,
    I need to bring out the difference between a starting data and time and ending date and time. Difference should be in time I mean it should be in hours or minus or seconds.
    I am sure there must be a Function module for this, Has anyone of you been in search of this kind of FM, Kindly suggest me. It is urgent.
    Thanks
    Mahen

    Hi,
    Check this out.
    data : date1 type dats ,   " System data type for Date (sy-datum)
           date2 type dats,
           time1 type tims,      " System data type for time (sy-timlo)
           time2 type tims,
           days  type i,
           scd   type i,
           t_mt  type i.
    days = date1 - date2. " Diference in days.
    Scd  = time1 - time2. " diference in seconds.
    t_mt =  ( days * 24 * 60 ) + ( scd / 60 ).
    total diference in minute
    <b>Reward Points & Mark Helpful Answers</b>

  • Start and End Dates check

    Hi,
    I have a requirement to find the list of persons who have overlapping dates.
    Each person can have many start and End Dates, but only one row that has a NULL end date, the active record. If the start and end dates are overlapped, like in the example below, the second row should have a start date of 24-DEC-2006 and not 22-DEC-2006. Is it possible to list those persons who have overlapping dates/gap in the dates.
    Empl_ID Start Date End Date
    12345 01-JAN-2006 23-DEC-2006
    12345 22-DEC-2006 13-JAN-2007
    12345 14-JAN-2007 NULL
    Any help is greatly appreciated.
    Thanks!

    Hi Patrick
    I like where you are coming from. I hope you don't mind but I have extended your idea slightly to add in a PARTITION BY clause to make sure we look at records for the same person. Also, if we LAG to get a previous record shouldn't we LAG the END_DATE and compare it with the current START_DATE?
    LAG(END_DATE,1) OVER (PARTITION BY EMPL_ID ORDER BY START_DATE)
    Doing this, then the results would look like this:
    Empl_ID Start Date End Date Lag Date
    12345 01-JAN-2006 23-DEC-2006 NULL
    12345 22-DEC-2006 13-JAN-2007 23-DEC-2006
    12345 14-JAN-2007 NULL 13-JAN-2007
    This would give the SIGN an issue because in the first record the LAG would be NULL and in the last record the END_DATE would be NULL. So it looks like some manipulation of NULLs has to take place as well which I will deal with later.
    SIGN((LAG(END_DATE,1) OVER (PARTITION BY EMPL_ID ORDER BY START_DATE)) - START_DATE)
    Anytime the difference between the Lag Date and the Start Date is positive this means this is an overlap which means we do need to look for any variance where the SIGN is 1.
    Using the other function, we could use LEAD like this:
    LEAD(START_DATE,1) OVER (PARTITION BY EMPL_ID ORDER BY START_DATE)
    Doing this, then the results would look like this:
    Empl_ID Start Date End Date Lead Date
    12345 01-JAN-2006 23-DEC-2006 22-DEC-2006
    12345 22-DEC-2006 13-JAN-2007 14-JAN-2007
    12345 14-JAN-2007 NULL NULL
    which when combined with SIGN becomes: SIGN((LEAD(START_DATE,1) OVER (PARTITION BY EMPL_ID ORDER BY START_DATE)) - END_DATE)
    This time you would be looking for the SIGN to be -1
    Personally, I think I would prefer the LEAD function because a) there would always be a START_DATE, and b) we could replace all of the possible NULLs with the SYSDATE to get a final calculation like this:
    SIGN(NVL(LEAD(START_DATE,1) OVER (PARTITION BY EMPL_ID ORDER BY START_DATE),TRUNC(SYSDATE)) - NVL(END_DATE, TRUNC(SYSDATE)))
    Based on the current date being 17-NOV-2009, you would now get this result:
    Empl_ID Start Date End Date Lead Date
    12345 01-JAN-2006 23-DEC-2006 22-DEC-2006
    12345 22-DEC-2006 13-JAN-2007 14-JAN-2007
    12345 14-JAN-2007 17-NOV-2009 17-NOV-2009
    Best wishes
    Michael

  • How Do I Filter a Report Using a Multi Select List Box and Specifying Date Between Begin Date and End Date

    Hope someone can help.  I have tried to find the best way to do this and can't seem to make sense of anything.  I'm using an Access 2013 Database and I have a report that is based on a query.  I've created a Report Criteria Form.  I
    need the user to be able to select multiple items in a list box and also to enter a Begin Date and End Date.  I then need my report to return only the records that meet all selected criteria.  It works fine with a ComboBox and 1 selection but can't
    get it to work with a List Box so they can select multiple items.  Any help is greatly appreciated while I still have hair left. 

    The query should return all records.
    Let's say you have the following controls on your report criteria form:
    txtStart: text box, formatted as a date.
    txtEnd: text box, formatted as a date.
    lbxMulti: multi-select list box.
    cmdOpenReport: command button used to open the report.
    The text boxes are used to filter the date/time field DateField, and the list box to filter the number field SomeField.
    The report to be opened is rptReport.
    The On Click event procedure for the command button could look like this:
    Private Sub cmdOpenReport_Click()
    Dim strWhere As String
    Dim strIn As String
    Dim varItm As Variant
    On Error GoTo ErrHandler
    If Not IsNull(Me.txtStart) Then
    strWhere = strWhere & " AND [DateField]>=#" & Format(Me.txtStart, "yyyy-mm-dd") & "#"
    End If
    If Not IsNull(Me.txtEnd) Then
    strWhere = strWhere & " AND [DateField]<=#" & Format(Me.txtEnd, "yyyy-mm-dd") & "#"
    End If
    For Each varItm In Me.lbxMulti.ItemsSelected
    strIn = strIn & "," & Me.lbxMulti.ItemData(varItm)
    Next varItm
    If strIn <> "" Then
    ' Remove initial comma
    strIn = Mid(strIn, 2)
    strWhere = strWhere & " AND [SomeField] In (" & strWhere & ")"
    End If
    If strWhere <> "" Then
    ' Remove initial " AND "
    strWhere = Mid(strWhere, 6)
    End If
    DoCmd.OpenReport ReportName:="rptMyReport", View:=acViewPreview, WhereCondition:=strWhere
    Exit Sub
    ErrHandler:
    If Err = 2501 Then
    ' Report cancelled - ignore
    Else
    MsgBox Err.Description, vbExclamation
    End If
    End Sub
    If SomeField is a text field instead of a number field, change the line
            strIn = strIn & "," & Me.lbxMulti.ItemData(varItm)
    to
            strIn = strIn & "," & Chr(34) & Me.lbxMulti.ItemData(varItm) & Chr(34)
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • Report execution start and end date/time

    Hi All,
    How can one find execution start and end date/times for all reports? Basically I am looking to see what reports were run on a day, when and how long it took for each to complete.
    Thank you.
    Denis

    Hi,
    The "eul5_batch_reports" holds the data about the scheduled report and if you don't have any so you will not have any data.
    Take a look at "EUL5_QPP_STATS"
    for example:
    select
    qpp.qs_doc_name,
    qpp.qs_doc_details,
    fu.user_name Ran_by,
    qpp.qs_created_date Start_run,
    qpp.qs_doc_owner Doc_owner,
    qpp.qs_num_rows rows_fetch,
    qpp.qs_est_elap_time estimated_time,
    qpp.qs_act_elap_time Run_time,
    qpp.qs_act_cpu_time Cpu_time
    from eul_us.EUL5_QPP_STATS qpp,
    fnd_user fu
    where substr(qpp.qs_created_by,2,10)=fu.user_id
    order by qs_created_date

  • Modelling Time Dimension with Fact Table containing Start Date and End Date

    Hi Gurus,
    I have a time dimension with Year till Date. I have a fact table which consists of Start Date, End Date, Person ID, Department ID.
    How do i design Time dimension with fact table the below scenario
    In the dashboard i have start Month and End month as prompts.
    In the report i need to display Count(Person ID) > Start Date and < End Date along the trend.
    For instance, i have selected Jan-2009 as start date and Apr-2009 as End Date, then i need to display Count(Person ID) of Jan-2009, Feb2009, Mar-2009 andApr-2009.
    I Can not connect Time dimension with only Start Date or only with End Date to get the trend along the months.
    Please advice on the issue which i am having.

    Hi,
    Thanks for the response, Infact i tried using Complex join in physical layer. I have considered Time table joined with Fact table, and used >= and took and alias of the Time table and joined fact table using <=. When coming to BMM, i am not knowing how do i design this as if i merge the both the time dimensiona and its alias into single table, values will not be correct and if i make them as seperate columns. i can not show the trend as both are different columns.
    Can you please let know where i am going wrong.
    Thanks

  • Generate all Months between start and end dates using Parameter

    Hi,
    I have a query in which i have two dates that is Start Date and End Date and now i have to populates all the Months between the date range:
    Start Date : APR-12
    End Date: JUL-12
    Now taking these two values i want the recors as displayed below
    APR-12
    MAY-12
    JUN-12
    JUL-12
    So how can write my SQL query to finish this task
    Thanks

    Sounds easy with single pair of Months:
    with data(st_dt, end_dt) as
      select to_date('JAN-2012', 'MON-YYYY'), to_date('SEP-2012', 'MON-YYYY') from dual
    select add_months(st_dt, level - 1  ) mons
      from data
    connect by level <= months_between(end_dt,st_dt) + 1;
    MONS   
    01-JAN-12
    01-FEB-12
    01-MAR-12
    01-APR-12
    01-MAY-12
    01-JUN-12
    01-JUL-12
    01-AUG-12
    01-SEP-12
    9 rows selected Please ensure to read {message:id=9360002} and post the question correctly with all the mentioned points in the thread. It facilitates the people to understand the problem clearly and provide a solution that is compatible with your Oracle Version.

  • Function Module to get BEGIN and END date of a month?

    Hello everybody,
    Is there any function module to get BEGIN and END date of a month
    GIVEN EITHER THE CURRENT SYSTEM DATE or MONTH?
    Regards,
    Sanghamitra.A.

    hi
         CALL FUNCTION 'PA03_PERIODDATES_GET'
            EXPORTING
              f_abkrs               = p_abkrs1
            IMPORTING
              f_permo               = wf_permo
              f_current_begda       = wf_begda
              f_current_endda       = wf_endda
            CHANGING
              f_current_period      = wf_pabrp
              f_current_year        = wf_pabrj
            EXCEPTIONS
              pcr_does_not_exist    = 1
              abkrs_does_not_exist  = 2
              period_does_not_exist = 3
              OTHERS                = 4.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
    this is the function module to get the first date and last date of a particular month
    if u have any doubts ask
    regads
    karthik
    reward points if useful

  • Generate all the quarters between start and end dates

    Hello all,
    I have a query in which i have two dates that is Start Date and End Date and now i have to populates all the quarters date between the date range:
    For eg:
    Start Date : 1-Apr-2011
    End Date: 1-Jul-2012
    Now taking these two values i want the recors as displayed below
    Apr 2011
    Jul 2011
    Oct 2011
    Jan 2012
    Apr 2012
    Jul 2012
    So how can write my PL/SQL query to accomplish this task
    Thanks in advance

    958964 wrote:
    Hello all,
    I have a query in which i have two dates that is Start Date and End Date and now i have to populates all the quarters date between the date range:
    For eg:
    Start Date : 1-Apr-2011
    End Date: 1-Jul-2012
    Now taking these two values i want the recors as displayed below
    Apr 2011
    Jul 2011
    Oct 2011
    Jan 2012
    Apr 2012
    Jul 2012
    So how can write my PL/SQL query to accomplish this task
    Thanks in advanceHow do I ask a question on the forums?
    SQL and PL/SQL FAQ
    solution can be done in SQL only; no PL/SQL.

  • Infotype for Employee begin date and end date

    Hi Friends,
    Could any one tell me the infotype and fields for getting employee joining date and end date.
    Regards,
    Susmita.

    Infotype 41 (Date Specifications) should have all dates.
    Infotype 2...i.e. PA0002 BEGDA & ENDDA may not have actual start and end date depending on how your company maintains it.
    In Infotype 41 (table PA0041)...get either BEGDA & ENDDA or get correct date based on qualifier DAR01-DAR12.
    Thanks,
    Pushpinder Randhawa

  • Getting error while invoking ADF Start and End Dates

    Hi,
    I am new to developing ADF Application.
    Into :
    I am developing a search Page which has a select (drop down), startDate and endDate and a 'GO' Button
    when user selects 'data from Drop Down', selects startDate and endDate and Presses 'GO' Button
    Based on the Selected combination of Data i should get the Data.
    Problem :
    I am getting the following Error
    WARNING: JBO-25058: Definition TheStartDate of type Variable not found in FastTelcoQueryTransactionDetailsVO1
    What i have done / doing
    Jspx -
    <af:selectInputDate label="Start Date" value="#{FastTelcoTransactionBean.startDate}"></af:selectInputDate>
    <af:selectInputDate label="End Date" value="#{FastTelcoTransactionBean.endDate}"></af:selectInputDate>
    Bean File
    I am converting the this.startDate and this.endDate (both Date format) (which i have taken startDate & endDate as Dates and Generated Getters & Setters for them ) to String format.
    DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT).format(this.startDate);
    map.put("_startDate", startDate);
    map.put("_endDate", endDate);
    VOImpl File
    public void getTransStartEndDate(Number transTypeId, String startDate, String endDate)
    TransactionDetailsVOImpl QueryVO = getQueryTransactionDetailsVO1();
    QueryVO.setNamedWhereClauseParam("MstTransTypeId", transTypeId);
    QueryVO.setNamedWhereClauseParam("TheStartDate",_startDate);
    QueryVO.setNamedWhereClauseParam("TheEndDate",_endDate);
    QueryVO.executeQuery();
    BindVariables Used
    TheStartDate - String format
    TheEndDate - String format
    SQL Query in VOIMPL - JDEV
    SELECT DISTINCT
    TransactionDetail.TRANS_TYPE_ID,
    MstTransaction.TRANS_DESC,
    TransactionDetail.TRANSACTION_NUMBER,
    TransactionDetail.CREATOR_NAME,
    TransactionDetail.CREATOR_EMAIL,
    TO_CHAR(TransactionDetail.TRANS_DATE, 'MM/DD/YYYY hh:mm:ss') TRANS_DATE,
    Error.ERROR_SH_MSG,
    Error.ERROR_DETAIL_MSG
    FROM
    TRANSACTION_DETAIL TransactionDetail,
    MST_TRANSACTION MstTransaction,
    ERROR Error
    WHERE
    (TransactionDetail.TRANS_TYPE_ID = MstTransaction.TRANS_TYPE_ID)
    AND (TransactionDetail.ERROR_ID = Error.ERROR_ID)
    AND MstTransaction.TRANS_TYPE_ID=(:MstTransTypeId)
    AND MstTransaction.IS_NOTIFICATION_REQ='Y'
    AND TransactionDetail.TRANS_DATE BETWEEN (TO_DATE((:TheStartDate), 'MM/DD/YYYY')) AND (TO_DATE((:TheEndDate), 'MM/DD/YYYY'))
    order by TRANS_DATE
    NOTE : TheStartDate & TheEndDate are not in Attribute list of JDEV
    i think i made it clear ...
    anybody as a solution or Idea please provide
    Thanx in advance
    regards,
    anvv sharma

    Hi,
    I have started developing the code with the following SQL Query -
    Query 1
    SELECT DISTINCT
    TransactionDetail.TRANS_TYPE_ID,
    MstTransaction.TRANS_DESC,
    TransactionDetail.TRANSACTION_NUMBER,
    TransactionDetail.CREATOR_NAME,
    TransactionDetail.CREATOR_EMAIL,
    TO_CHAR(TransactionDetail.TRANS_DATE, 'MM/DD/YYYY hh:mm:ss') TRANS_DATE,
    Error.ERROR_SH_MSG,
    Error.ERROR_DETAIL_MSG
    FROM
    TRANSACTION_DETAIL TransactionDetail,
    MST_TRANSACTION MstTransaction,
    ERROR Error
    WHERE
    (TransactionDetail.TRANS_TYPE_ID = MstTransaction.TRANS_TYPE_ID)
    AND (TransactionDetail.ERROR_ID = Error.ERROR_ID)
    AND MstTransaction.TRANS_TYPE_ID=(:MstTransTypeId)
    After that there is a change in the Requirement to add "Start Date" and "End Date" with a "Go Button" --> Clicking on this Go Button displays the Data Based on
    "Drop Down" box, "Start Date" & "End Date" --> Corresponding Data is Picked From Database and Displayed....
    Now, i have Updated the VO (From JDEV Design Time) with the latest Updated Query (added Start Date and End Date in the Query),
    also check the Corresponding XML file is also Updated with the latest Query.
    Query 2
    SELECT DISTINCT
    TransactionDetail.TRANS_TYPE_ID,
    MstTransaction.TRANS_DESC,
    TransactionDetail.TRANSACTION_NUMBER,
    TransactionDetail.CREATOR_NAME,
    TransactionDetail.CREATOR_EMAIL,
    TransactionDetail.TRANS_DATE,
    Error.ERROR_SH_MSG,
    Error.ERROR_DETAIL_MSG
    FROM
    TRANSACTION_DETAIL TransactionDetail,
    MST_TRANSACTION MstTransaction,
    ERROR Error
    WHERE
    (TransactionDetail.TRANS_TYPE_ID = MstTransaction.TRANS_TYPE_ID)
    AND (TransactionDetail.ERROR_ID = Error.ERROR_ID)
    AND MstTransaction.TRANS_TYPE_ID=(:MstTransTypeId)
    AND MstTransaction.IS_NOTIFICATION_REQ='Y'
    AND TransactionDetail.TRANS_DATE BETWEEN (TO_DATE((:TheStartDate), 'YYYY-MM-DD')) AND (TO_DATE((:TheEndDate), 'YYYY-MM-DD')) order by TRANS_DATE
    So now at Design Time i have Query 2, but Strangely at RUN Time Query 1 is Excecuting asking for "Start Date" Binding Variable NOT Found (as there is no Start Date Bind Variable in Query 1)
    for this i have to re-Design the required Part...to make it work
    can any body explain why it behaved like this ??
    regards,
    anvv sharma

  • Time and/or Date incorrect after moving/copying/importing

    This has been going on for years and has messed up hundreds, maybe more, of the time/date on my photos in Aperture.
    If I select my entire photo library (typically preset to 'Date - Ascending') in Aperture, I can find hundreds of photos out of order. When I look at them in 'Info', the time and sometimes date has changed by several hours. I'm not sure if this is an Aperture thing or Mac thing? Over the years I have moved and/or copied photos from smaller HDDs to larger HDDs to eventually a NAS unit and/or from iPhoto to Aperture.
    I have made calls to Tech Support, but they have always made me feel as if I made some mistake on my end or I didn't set the time correctly to begin with (now this could be correct with the P&S I share with my girlfriend, but very rarely with my DSLR). But I also explained that it was random (3 to 5 photos in a set).
    So today as I was trying to update some of my photos, I came across some photos (and videos) I took last year with my iPhone (my iPhone always has the correct time and date or 99.9%). I originally uploaded these to an old iPhoto library I still have (all the dates and times are correct). These same photos and videos (55 over a 3 day period) were moved to my Aperture library some time ago and 3 of the 55 have the incorrect time by -7 hours (ie. 3:30 pm is now 8:30 am).
    Why does this happen?? I have not set any time changes to these photos. If I did, they would all have the wrong time and not just 3 of them would be off.
    Is anyone having this issue and if so, was there a way to get the corrcet time/date from the photo hidden deep down in the EXIF? This is driving me crazy.
    Here are some screen shots of the same photo in iPhoto and Aperture.
    iPhoto 5:28:09 PM - Correct
    Aperture 10:28:09 AM - Incorrect -7 hrs
    TIA if anyone can help. I just don't have the time to go back and try and change all these photos.
    Narvon

    DF
    Thanks for the reply, I will try to post the screenshots again (they still show for me, odd?).
    Anyway, this is not a zoning problem. This is a moving or copying problem.
    The photos I tried to show from the screen shot I took last year at a concert in Coachella (same time zone as my residence in Redondo Beach). The shots were taken using my iPhone which has GPS and constant updating of Time. All the photos and videos show up correctly in Places (GPS) and all the correct times show in iPhoto.
    The issue occurs when the photos are moved to Aperture. Randomly the time has changed to -7 hours on a few photos. This same randomness has occured to hundreds of my photos that I have imported into Aperture over the years. As I said before, Tech Support and everyone else has placed the blame on me within my camera settings or improper importing.
    Now that I use my iPhone more often, I have proof that the settings are correct and that Aperture or Finder or ?? within Apple has changed the Time randomly. Also, if I had 'Accidently' opened the 'Time Zone' brick when importing (as suggested by Tech Support), all the photos would have the incorrect time and not just a few random ones.
    iPhoto original from iPhone - Time 5:28:09 correct
    Aperture photo from iPhoto - Time 10:28:09 incorrect -7 Hrs
    Thanks again,
    Narvon

  • Hyperion Planning dynamic forms based on start and end date across years

    Hi All,
    I have a requirement where i need to be able to view a form showing periods across years that are dynamically built depending on the start and end dates. If i have a start date of 01/11/2009 and an end date of 31/7/2013 i want to be able to view a form that shows all of the periods (Jan,Feb etc) in a form that is driven by these dates, in addition it will need to show the actual scenario up to the current month and the forecast from the current month to the end date. So basically if a user inputs the start and end dates the form will display the relevant periods driven by these dates.
    Any tips very much appreciated!

    Hello,
    This is difficult to realize, but you can get quite far with a workaround. The first question is, where do you want to input your selection of time periods? Assuming you have a webform with the complete timeline in months and years and you type in the start period and end period.
    Webforms have the option to suppress rows and columns.
    This can be extended with option of empty cells or not empty cells.
    You will need to apply your creativity on this.
    Put every month-year combination in a column and add the suppression.
    Calculate the timeline between start period and end period with a dummy member, so data exists for these and columns will show.
    Maybe you will need to copy the required timeline into a separate version for this, to avoid having periods which were outside the selection and still have data.
    I hope these hints help a bit in this challenge.
    Regards,
    Philip Hulsebosch
    www.trexco.nl

  • Query to find the start and end date of current quarter

    I want a query to give me the start date and end date of current quarter
    I don't want to use TRUNC and ROUND as the 16th day roundoff logic is not required.
    Thanks in advance.

    Hi ,
    I'm quite sure that the year quarters are static.....
    So , you can save them as records of a table , such as:
    QRTY START_DAY END DAY
    ============================
    1 1/1 30/3
    2 1/4 30/6
    3 1/7 30/9
    4 1/10 31/12
    The sysdate(day of the current quarter) must be between a start_day and appropriate end_day of the quarters, concatenated with the sysyear (year of the sysdate).
    So , if the above table is called Quarters ...
    then
    select start_day , end_day
    from quarters
    where to_date(sysdate,'dd/mm/rrrr') between (to_date(trim((start_day||'/'||to_char(sysdate,'rrrr'))),'dd/mm/rrrr'))
    and (to_date(trim((end_day||'/'||to_char(sysdate,'rrrr'))),'dd/mm/rrrr'));
    [b]Result
    START_DAY END_DAY
    1/10 31/12
    Regards,
    Simon
    Message was edited by:
    sgalaxy
    Message was edited by:
    sgalaxy

  • 0Person to 0employee loading, how to handle start and end date

    Hi
    I need help on some basic understanding of time dependent master data object.
    In my scenario i am loading 0employee and 0Person from R/3. I need to update 0employee from 0person.
    0employee
    BEGDA            ENDDA             PERNR        Position....................So many fields
    10.10.2001     10.10.2004        8000123    Associate
    11.10.2004     10.10.2008        8000123    Consultant
    11.10.2008     31.12.9999        8000123    Senior Consultant
    0Person
    BEGDA            ENDDA             PERNR         City....................So many fields
    10.10.2001     10.10.2003        8000123      Singapore
    11.10.2003     10.10.2007        8000123      Tokyo
    11.10.2007     31.12.9999        8000123      Newyork
    As the begining and end date are different i can't simply read City from 0person into 0employee. If i go for checking the city for the start and end date in 0employee, i will get multiple records ( If try to get city for 0employee's first record, i will get 2 city Singapore and Tokyo).
    Please help me out how to handle this ...... i think i am missing somelink somewhere
    Thanks
    Tripple k

    Hi Srini
    Yes i need to have parallel flow for both and in the cube where my reporting will be on monthly basis i need to read these 2 master data and get the required attributes ( considering last/first day of that month as per the requirement).......but i am just wondering this is common scenario....while there are so many threads written for populating 0employee from 0person......don't they have such requirement.....
    Thanks
    Tripple k

Maybe you are looking for

  • Messed up styling in firefox 32.0.1 and 32.0.2

    this website and many others doesn't show correct after I updated from Firefox version 32 http://i.imgur.com/TVzN44Q.jpg as you can see here this problem is only in Firefox: http://i.imgur.com/MNhOtYD.jpg

  • How do I add an outline to text?

    Surely there must be a simple way to outline text in Keynote and I am just missing it somehow. I found how to turn the text into an outline but I want the text to remain solid, not hollow.

  • These settings do not exist

    Computer Configuration -> Administrative Templates -> System -> Power Management -> Video and Display Settings I do not have these settings and I need them.  is there an .ADM file for these settings?  and please note: ADMX files will not work since w

  • Bckup error

    Hi, The scheduled backup of our production server failed yesterday.Our environment is HP-UX B.11.23 , Oracle 9.2.0.6, ECC 5.0.I am pasting the BRBACKUP log: BR0355I from /dev/rmt/0mn ... BR0278E Command output of 'LANG=C cd /oracle/SP1/sapbackup && /

  • HP office jet 4620 has good wi-fi connection but, cannot print directly .via my computer?

    I  have spent 2 full days trying to print from my computer (also wi-fi enabled) through to my HP Officejet 4620. I have had splendid downloads from HP trying to sort the problem but no luck so far.  I have windows Vista and my computer is a  faithful