FM to Check in BETWEEN dates

Hi,
Do we have a FM to check if current date is in between two dates?
rgds
Praveen

hi use this...,
DATA: EDAYS   LIKE VTBBEWE-ATAGE,
      EMONTHS LIKE VTBBEWE-ATAGE,
      EYEARS  LIKE VTBBEWE-ATAGE.
PARAMETERS: FROMDATE LIKE VTBBEWE-DBERVON,
            TODATE   LIKE VTBBEWE-DBERBIS DEFAULT SY-DATUM.
call function 'FIMA_DAYS_AND_MONTHS_AND_YEARS'
  exporting
    i_date_from          = FROMDATE
    i_date_to            = TODATE
  I_FLG_SEPARATE       = ' '
  IMPORTING
    E_DAYS               = EDAYS
    E_MONTHS             = EMONTHS
    E_YEARS              = EYEARS.
WRITE:/ 'Difference in Days   ', EDAYS.
WRITE:/ 'Difference in Months ', EMONTHS.
WRITE:/ 'Difference in Years  ', EYEARS.
INITIALIZATION.
FROMDATE = SY-DATUM - 60.
regards,
venkat.

Similar Messages

  • IIf condition between dates using mdx query

    Hi,
    how to check IIF condition between dates using mdx query.
    I able to check single year,plese check below mdx query.I need to check members between years.
    my requirement is member is belongs to between years(2007 to 2010),display "yes" else "NO";
    Could you please give me exact mdx query.
    From,to-2007,2010,if member belongs to 2007to 2010 then disply "yes"else "no".
    how to pass two members in IIf condition.
    WITH
    MEMBER Measures.[test]
    AS Iif([Date].[Calendar Year].currentmember
    is [Date].[Calendar Year].&[2007],"no","yes")
    SELECT {Measures.[test]}
    on 0
    ,[Product].[Subcategory].[Subcategory].MEMBERS * [Date].[Calendar Year].[Calendar Year]
    ON 1
    FROM [Adventure Works]
    indu

    Hi Sriindu,
    consider the following:
    WITH
    MEMBER measures.[test] AS
    IIF
    Exists
    [Date].[Calendar Year].CurrentMember
    [Date].[Calendar Year].&[2007] : [Date].[Calendar Year].&[20010]
    ).Item(0)
    IS
    [Date].[Calendar Year].CurrentMember
    ,"yes"
    ,"no"
    SELECT
    {measures.[test]} ON 0
    [Product].[Subcategory].[Subcategory].MEMBERS
    [Date].[Calendar Year].[Calendar Year] ON 1
    FROM [Adventure Works];
    Philip,

  • Relationship between Date Mangement & Status Mangement in transactions

    Hello experts,
    Can anyone helps me with the relationship between dates & statuses in transaction.
    I want to link my own date type to status "In Process".
    I could not find that anywhere in the date rules linked to date type.
    Thanks,
    Nanda Kumar

    Hi.
    As Robert said this can only be done using some development.
    Try to create a function module such as:
    FUNCTION Z_DATE_BY_STATUS.
    *"*"Interface local:
    *"  IMPORTING
    *"     REFERENCE(IV_HEADER_GUID) TYPE  CRMT_OBJECT_GUID OPTIONAL
    *"     REFERENCE(IV_OBJECT_GUID) TYPE  CRMT_OBJECT_GUID OPTIONAL
    *"     REFERENCE(IV_OBJECT_NAME) TYPE  CRMT_OBJECT_NAME
    *"     REFERENCE(IV_EVENT_EXETIME) TYPE  CRMT_EVENT_EXETIME
    *"     REFERENCE(IV_EVENT) TYPE  CRMT_EVENT
    *"     REFERENCE(IV_ATTRIBUT) TYPE  CRMT_EVENT OPTIONAL
    *"     REFERENCE(IV_STRVAL_OLD) TYPE  ANY OPTIONAL
    *"     REFERENCE(IV_STRVAL_NEW) TYPE  ANY OPTIONAL
    *"     REFERENCE(IV_RCODE_STATUS) TYPE  SY-SUBRC OPTIONAL
    DATA: LS_DATE_WRK       TYPE CRMT_DATE_WRK,
          LT_STATUS_WRK     TYPE CRMT_STATUS_WRKT WITH HEADER LINE,
          V_LOGKEY          TYPE CRMT_DATE_LOGICAL_DATE_KEY,
          V_SETGUID         TYPE CRMT_OBJECT_GUID.
    TABLES: CRMD_ORDERADM_H.
    CHECK NOT IV_HEADER_GUID IS INITIAL.
      CLEAR: LS_DATE_WRK, LT_STATUS_WRK, LT_STATUS_WRK[].
      CALL FUNCTION 'CRM_DATES_SETGUID_GET_OW'
        EXPORTING
          IV_REF_GUID          = IV_HEADER_GUID
          IV_REF_KIND          = 'A'
        IMPORTING
          EV_SETGUID           = V_SETGUID
        EXCEPTIONS
          PARAMETER_ERROR      = 1
          ENTRY_DOES_NOT_EXIST = 2
          OTHERS               = 3.
      CHECK NOT V_SETGUID IS INITIAL.
      CALL FUNCTION 'CRM_STATUS_READ_OW'
        EXPORTING
          IV_GUID        = IV_HEADER_GUID
          IV_ONLY_ACTIVE = ' '
        IMPORTING
          ET_STATUS_WRK  = LT_STATUS_WRK[]
        EXCEPTIONS
          NOT_FOUND      = 1
          OTHERS         = 2.
      DELETE LT_STATUS_WRK WHERE USER_STAT_PROC IS INITIAL.
      CHECK NOT LT_STATUS_WRK[] IS INITIAL.
      LOOP AT LT_STATUS_WRK.
        CHECK LT_STATUS_WRK-ACTIVE IS NOT INITIAL.
        CLEAR: V_LOGKEY, LS_DATE_WRK.
        CASE LT_STATUS_WRK-TXT04.
          WHEN '2LVL'.   >>>>>>>>>>>>>>>> Here you must insert the code of user status that must set the following date type.
            V_LOGKEY-APPT_TYPE = 'ZTRF2LVL'.
          WHEN 'COMP'.    >>>>>>>>>>>>>>>> Here you must insert the code of user status that must set the following date type.
            V_LOGKEY-APPT_TYPE = 'CONTCOMPL'.
          WHEN OTHERS.
            CONTINUE.
        ENDCASE.
        CALL FUNCTION 'CRM_DATES_READ_SINGLE_OB'
          EXPORTING
            IV_DATESET_GUID               = V_SETGUID
            IS_LOGICAL_DATE_KEY           = V_LOGKEY
          IMPORTING
            ES_DATE_WRK                   = LS_DATE_WRK
          EXCEPTIONS
            PARAMETER_ERROR               = 1
            ENTRY_DOES_NOT_EXIST          = 2
            AT_LEAST_ONE_RECORD_NOT_FOUND = 3
            ENTRY_IS_DELETED              = 4
            OTHERS                        = 5.
        IF SY-SUBRC <> 0.
          CALL FUNCTION 'CRM_APPOINTMENT_CREATE_OW'
            EXPORTING
              IV_REF_GUID         = IV_HEADER_GUID
              IV_REF_KIND         = 'A'
              IS_LOGICAL_DATE_KEY = V_LOGKEY
            IMPORTING
              EV_INSTGUID         = LS_DATE_WRK-APPT_GUID
              EV_SETGUID          = LS_DATE_WRK-GUID
            EXCEPTIONS
              ERROR_OCCURRED      = 1
              OTHERS              = 2.
          LS_DATE_WRK-CLIENT = SY-MANDT.
          LS_DATE_WRK-APPT_TYPE = V_LOGKEY-APPT_TYPE.
          LS_DATE_WRK-IS_MILESTONE = 'X'.
          LS_DATE_WRK-MODE = 'A'.
          LS_DATE_WRK-SEOCLSNAME = 'CL_APPOINTMENT_SEG'.
        ENDIF.
          LS_DATE_WRK-TIMEZONE_FROM = SY-ZONLO.
          LS_DATE_WRK-TIMEZONE_TO = SY-ZONLO.
          LS_DATE_WRK-DATE_FROM = SY-DATUM.
          LS_DATE_WRK-DATE_TO = SY-DATUM.
          LS_DATE_WRK-TIME_FROM = SY-UZEIT.
          LS_DATE_WRK-TIME_TO = SY-UZEIT.
            CONVERT DATE LS_DATE_WRK-DATE_FROM TIME LS_DATE_WRK-TIME_FROM
            INTO TIME STAMP LS_DATE_WRK-TIMESTAMP_FROM TIME ZONE LS_DATE_WRK-TIMEZONE_FROM.
            CONVERT DATE LS_DATE_WRK-DATE_TO TIME LS_DATE_WRK-TIME_TO
            INTO TIME STAMP LS_DATE_WRK-TIMESTAMP_TO TIME ZONE LS_DATE_WRK-TIMEZONE_TO.
        CALL FUNCTION 'CRM_DATES_PUT_SINGLE_OB'
          EXPORTING
            IS_DATE_WRK    = LS_DATE_WRK
          EXCEPTIONS
            ERROR_OCCURRED = 1
            OTHERS         = 2.
        SELECT SINGLE * FROM CRMD_ORDERADM_H WHERE GUID = IV_HEADER_GUID.
        IF SY-SUBRC = 0.
          DATA: IT_HEADER_GUID TYPE CRMT_OBJECT_GUID_TAB.
          APPEND IV_HEADER_GUID TO IT_HEADER_GUID.
            CALL FUNCTION 'CRM_DATES_SAVE_EC'
              EXPORTING
                IT_HEADER_GUID = IT_HEADER_GUID
              EXCEPTIONS
                ABORT          = 1
                OTHERS         = 2.
        ENDIF.
      ENDLOOP.
    ENDFUNCTION.
    Then assign this function module to view CRMV_FUNC_ASSIGN on SM30, assign it to CRM_SERVICE_OS.
    And finally insert your function module on CRMV_EVENT transaction in order to the function module be executed under some circumstance, for instance, if you want the system to execute our function module as soon as we change the status of a complaint document, so you must insert an entry such as:
    BUS2000120 | 1 | 11 | STATUS | AFTER_CHANGE | E | your function name | select execute for header
    Kind regards,
    Susana Messias
    Edited by: Susana Messias on Apr 12, 2010 2:30 PM

  • Difference between data classes

    Hi
    What is the difference between USR and USR1 data classes?

    hey check out this,
    Data class refer to the physical area in which the tables assigned to the data class are stored.
    refer to the link:
    Data class - Delivery class
    data class
    Regards,
    Midhun Abraham

  • Difference  between data selection period and personal seletion period

    Hi
    Experts ,
    ples Expline ,
    Difference  between data selection period and personal seletion period. to Data screening .

    Data selection period means
    For example if u given any period,
    here we are checking whether data is valid in this period.
    Personal selection period means
    we are checking whether person is valid in a given period.
    Example is:
    For example if the employee resigned in a company on 15th of month.
    He can get the salary only at the end of month it means his data is avilable upto end of month.
    But when you consider his status from 16th to end of month
    the person is not available.
    So when u given date(16th to end of month) in data selection period is showing that person data is avilable.
    But when mention that date in person selection period it is showing no person is avilable.
    if useful
    reward with points............

  • Difference Between Data type and message type

    Hi,
        i have doubt on data type and message type.why we are mapping the message type why not data type?wht is the difference between data type and message type?

    Hi Narayanana,
    Data type defines the structure of your xml message.Message type is the wrapper of data type.You will be using your message type while mapping and not the data type.Its the abstraction concept used in oops
    kanan thiyam  
    Posts: 28
    Questions: 7
    Registered: 1/8/07
    Forum points: 24 
       Re: What is deffernce b/w Data type and message type  
    Posted: Jun 13, 2007 8:05 AM    in response to: suresh k         Reply      E-mail this post 
    Hi Suresh,
    Data Type defines the structure of the message and it will be wrapped under Message Type.
    Hope the details below will clearify your doubts.
    A data type in a programming language is a set of data with values having predefined characteristics. Examples of data types are: integer, floating point unit number, character, string, and pointer.
    The characteristic of columns and variables that defines what types of data values they can store.
    Check out the details:
    http://en.wikipedia.org/wiki/Data_type
    A message type comprises a data type that describes the structure of a message. At the following points in SAP Exchange Infrastructure you can refer to the message to be exchanged at runtime by using the message type:
    Details:
    http://help.sap.com/saphelp_nw04/helpdata/en/2d/c0633c3a892251e10000000a114084/content.htm
    kanan

  • Difference Between Data Type and Data Object

    Difference Between Data Type and Data Object

    hi magesh
    <u><b>Data types</b></u> can be divided into
    elementary,
    reference, and
    complex types.
    <u><b>Elementary Types</b></u>
    Elementary types are the smallest indivisible unit of types. They can be grouped as those with fixed length and those with variable length.
    <u><b>Fixed-Length Elementary Types</b></u>
    There are eight predefined types in ABAP with fixed length:
    <u><b>Four character types:</b></u>
    Character (C),
    Numeric character (N),
    Date (D),
    and Time (T).
    <b>One hexadecimal type:</b>
    Byte field (X).
    <b>Three numeric types:</b>
    Integer (I),
    Floating-point number (F)
    and Packed number (P).
    <u><b>Variable-Length Elementary Types</b></u>
    There are two predefined types in ABAP with variable length:
    STRING for character strings
    XSTRING for byte strings
    Reference Types
    <b>Reference types</b>
    describe data objects that contain references (pointers) to other objects (data objects and objects in ABAP Objects).
    <u><b>Data Types</b></u>
    1) As well as occurring as attributes of a data object, data types can also be defined independently.
    2)You can then use them later on in conjunction with a data object.
    3) The definition of a user-defined data type is based on a <b>set of predefined elementary data types.</b>
    4) You can define data types <b>either locally in the declaration part of a program</b> using the TYPESstatement) or <b>globally in the ABAP</b> Dictionary.
    5) You can use your own data types to declare data objects or to check the types of parameters in generic operations.
    <u><b>Data Objects</b></u>
    1)<b>Data objects</b> are the physical units with which ABAP statements work at runtime.
    2) The contents of a data object occupy memory space in the program.
    3) <b>ABAP statements access these contents by addressing the name of the data object</b> and interpret them according to the data type..
    4) For example, statements can write the contents of data objects in lists or in the database, they can pass them to and receive them from routines, they can change them by assigning new values, and they can compare them in logical expressions.
    5) Each <b>ABAP data object has a set of technical attributes</b>, which are fully defined at all times when an ABAP program is running (field length, number of decimal places, and data type).
    6) You <b>declare data objects</b> either <b>statically in the declaration part</b> of an ABAP program (the most important statement for this is DATA), or <b>dynamically at runtime</b> (for example, when you call procedures).
    7) As well as fields in the memory area of the program, the program also treats literals like data objects.
    hope this helps u,
    reward points if useful
    Ginni

  • Do Not Check Uniqueness of Data in Write Optimised DSO

    Hello,
    I am working with write optimised DSO with already billion records in it. I have flag 'Do Not Check Uniqueness of Data' in Settings as checked(means it will surely not check for uniqueness of data). I am thinking of removing this flag off and activate the DSO again. I am willing to remove this flag as it will provide option of Req ID input in listcube on DSO and without this list cube will never return back with results.(I have to analyze aggregations)
    I tried removing this flag and then activate DSO in production system with 17 million records which took 5 mins for activation (index creation). So maths says for a billion records activation transport will take around 6 hrs for moving to Production.
    I am willing to remove this flag as it will provide option of Req ID input in listcube and without this list cube will never return back with results.
    Questions:
    How does this flag checks the uniqueness of record? WIll it check Active table or from the Index?
    To what extent DTP will slow down the process of subsequent data load?
    Any other factors/risks/precautions to be taken?
    Let me know if questions are not clea or further inputs are required from my side.
    Thanks.
    Agasti

    Hi,
    Please go through the site :
    /people/martin.mouilpadeti/blog/2007/08/24/sap-netweaver-70-bi-new-datastore-write-optimized-dso
    As far as your ques are concerned... i hope above blog will answer most of it , and if it does'nt please read below mentioned thread.
    Use of setting "Do Not Check Uniqueness of Data" for Write Optimized DSO
    Regards
    Raj

  • Need help to join two tables using three joins, one of which is a (between) date range.

    I am trying to develop a query in MS Access 2010 to join two tables using three joins, one of which is a (between) date range. The tables are contained in Access. The reason
    the tables are contained in access because they are imported from different ODBC warehouses and the data is formatted for uniformity. I believe this cannot be developed using MS Visual Query Designer. I think writing a query in SQL would be suiting this project.
    ABCPART links to XYZPART. ABCSERIAL links to XYZSERIAL. ABCDATE links to (between) XYZDATE1 and ZYZDATE2.
    [ABCTABLE]
    ABCORDER
    ABCPART
    ABCSERIAL
    ABCDATE
    [ZYXTABLE]
    XYZORDER
    XYZPART
    XYZSERIAL
    XYZDATE1
    XYZDATE2

    Thank you for the looking at the post. The actual table names are rather ambiguous. I renamed them so it would make more sense. I will explain more and give the actual names. What I do not have is the actual data in the table. That is something I don't have
    on this computer. There are no "Null" fields in either of the tables. 
    This table has many orders (MSORDER) that need to match one order (GLORDER) in GLORDR. This is based on MSPART joined to GLPART, MSSERIAL joined to GLSERIAL, and MSOPNDATE joined if it falls between GLSTARTDATE and GLENDDATE.
    [MSORDR]
    MSORDER
    MSPART
    MSSERIAL
    MSOPNDATE
    11111111
    4444444
    55555
    2/4/2015
    22222222
    6666666
    11111
    1/6/2015
    33333333
    6666666
    11111
    3/5/2015
    This table has one order for every part number and every serial number.
    [GLORDR]
    GLORDER
    GLPART
    GLSERIAL
    GLSTARTDATE
    GLENDDATE
    ABC11111
    444444
    55555
    1/2/2015
    4/4/2015
    ABC22222
    666666
    11111
    1/5/2015
    4/10/2015
    AAA11111
    555555
    22222
    3/2/2015
    4/10/2015
    Post Query table
    GLORDER
    MSORDER
    GLSTARTDATE
    GLENDDATE
    MSOPNDATE
    ABC11111
    11111111
    1/2/2015
    4/4/2015
    2/4/2015
    ABC22222
    22222222
    1/5/2015
    4/10/2015
    1/6/2015
    ABC22222
    33333333
    1/5/2015
    4/10/2015
    3/5/2015
    This is the SQL minus the between date join.
    SELECT GLORDR.GLORDER, MSORDR.MSORDER, GLORDR.GLSTARTDATE, GLORDR.GLENDDATE, MSORDR.MSOPNDATE
    FROM GLORDR INNER JOIN MSORDR ON (GLORDR.GLSERIAL = MSORDR.MSSERIAL) AND (GLORDR.GLPART = MSORDR.MSPART);

  • How do I check for null date entires using custom JScript on a SharePoint NewForm.aspx?

    Hi,
    I have the below JScript:
    /*Function to convert the US Date format to UK date format */
    function parseDate(input) {
    var parts = input.split('/');
    // new Date(year, month [, date [, hours[, minutes[, seconds[, ms]]]]])
    return new Date(parts[2], parts[1]-1, parts[0]); // months are 0-based
    /*Function to check if end date is before the start date */
    function checkDates(){
    var sd = parseDate($("input[title='From']").val());
    var ed = parseDate($("input[title='Until']").val());
    if(sd > ed) {
    alert("Please check From and Until Date");
    $("input[value$='Save']").attr('disabled', true); //hide save button
    else
    $("input[value$='Save']").attr('disabled', false); //show save button
    The above works fine for checking sd > ed but I can't seem to check for null's, I have attempted the below which doesn't work:
    /*Function to convert the US Date format to UK date format */
    function parseDate(input) {
    var parts = input.split('/');
    // new Date(year, month [, date [, hours[, minutes[, seconds[, ms]]]]])
    return new Date(parts[2], parts[1]-1, parts[0]); // months are 0-based
    /*Function to check if end date is before the start date */
    function checkDates(){
    var sd = parseDate($("input[title='From']").val());
    var ed = parseDate($("input[title='Until']").val());
    if( (sd > ed) || (sd == null) || (ed == Null) ) {
    alert("Please check From and Until Date");
    $("input[value$='Save']").attr('disabled', true); //hide save button
    else
    $("input[value$='Save']").attr('disabled', false); //show save button
    Any help appreciated.

    Hi aspnet-scotland,
    Please post ASP.NET related questions in
    ASP.NET forums where you could receive better responses.
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Check boxes in Data grid

    Hi,
    I have check boxes in data grid, using action script how do i get the values of check boxes that were selected ?
    Can anybody guide me here.
    <mx:DataGrid id="targetBaseAdd" width="100%" height="100%" dataProvider="
    {Application.application.ccModel.initializeBusinessUnitData.initializeBusinessUnit.baseArra y}">
     <mx:columns>
     <mx:DataGridColumn headerText="" width="20">
     <mx:itemRenderer>
     <mx:Component>
     <mx:HBox width="100%">
                    <mx:CheckBox horizontalCenter="0"/>  </mx:HBox>
     </mx:Component>
     </mx:itemRenderer>
     </mx:DataGridColumn>
     <mx:DataGridColumn headerText="Base" labelFunction="baseTargetList"/>
     </mx:columns>  
    </mx:DataGrid>
    Thank You,
    Anu.
    </mx:HBox>
     </mx:Component>
     </mx:itemRenderer>
     </mx:DataGridColumn>
     <mx:DataGridColumn headerText="Base" labelFunction="baseTargetList"/>
     </mx:columns>  
    </mx:DataGrid>
    Thank You,
    Anu.

    refer following examples:
    http://blog.flexmonkeypatches.com/2007/11/06/datagrid-checkbox-itemeditor/
    http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/Flex/Q_23237167.ht ml

  • Can I exit from paintComponent?  ...or... how can I check for invalid data?

    I'm writing a calendar applet for a programming class and I've nearly completed it but I'm stuck at checking for valid data.
    What seems to be happening is that paintComponent() is being called before actionPerformed.
    In actionPerformed (when they click the button), it checks to make sure they entered a valid month (1 to 12). If the didn't it dispalys a message, but if they did it calls repaint().
    But even if repaint() isn't called, Java still seems to call it before actionPerformed and I get exceptions.
    So I tried checking inside of paintComponent() by using a simple if(...) return; but that doesn't seem to do anything... it just keeps going through with the method.
    So -- Once the user presses my button I want to make sure the data is valid before repainting the screen. How can I do this?

    I validate it in actionPerformed which is called by
    the action listener... that is what you meant right?
    The problem is that it seems paintComponent() is being
    called before I can validate the data with
    actionPerformed(). I need to stop paintComponent()
    from always being calledMVC. (Model, View, Controller)
    Initially the internal value of the data (the model) should be valid (or null with a check in the paintComponent method)
    paintComponent (the view part) shows the state of the valid data.
    You press the button.
    actionPerformed is called (the controller).
    It checks the value and, if valid, writes it to the data (model), then updates the view.
    At no point will the view have to render invalid data, because the model is only updated after actionPerformed checks the value.
    The pattern may be applied with different classes performing the three roles, or different methods in the same class (sometimes it's easier that way for simple cases).
    Pete

  • Error while trying to synchronize audio and MIDI.  Sample rate 42804 recognized.  Check conflict between Garageband and external device.

    Sometimes, while playing back my software instrument songs, I get an intermittent pop-up error message, saying "Error while trying to synchronize audio and MIDI.  Sample rate 42804 recognized.  Check conflict between Garageband and external device."
    (Sometimes the five digit number is different, but remains a five-digit number beginning with "4".)
    Simultaneously, the song stops until I press the "Okay" button in the pop-up window.
    When I continue to play the song, the sound is jerky and clipped, and the playhead doesn't keep up with the song, and then suddenly jumps to the part of the song currently being played.
    There's also a sound of static.
    The issue seems to occur whether or not I have my MIDI controller turned on and plugged into my desktop Imac.
    Tony

    Hello,
    open your Audio MIDI Setup utility and set the input to 44100
    https://discussions.apple.com/message/12710638#12710638

  • Error while checking the rate data through installation

    Hi everyone,
    I am facing an error message while checking the rate data for an installation:
    "Internal error: Error when reading internal table IEGER in ISU_O_DEVICERATE_OPEN".
    Please guide.
    Thanks and Regards

    Hi,
    The error comes from FM  ISU_O_DEVICERATE_OPEN include LEG70F40 line number 2555.
    It is giving error on following code of line in FM.
          find the serialno.
            loop at ieger into eger_wa
              where equnr = reg_wa-equnr
              and   ab   <= reg_wa-ab
              and   bis  >= reg_wa-ab.
              exit.
            endloop.
            if sy-subrc <> 0.
              perform close_object changing obj.
              mac_msg_put 'E890(E9)' 'IEGER' 'ISU_O_DEVICERATE_OPEN'
                                     space space input_error.
              if 1 = 2.  message e890(e9) with ' ' ' ' ' '. endif.
            endif.
    I think that you are not checking the active installation. Check whether that installation has proper ebtry in table EASTS.
    Try changing
    BIS     BISZEITSCH     DATS     8     0     Date at Which a Time Slice Expires
    AB     ABZEITSCH     DATS     8     0     Date from which time slice is valid
    data for the installation.
    If this dosent work then debug the program by putting break point on the mentioned line and check.
    Regards,
    Pranaya

  • How to check if Oracle Data Access Components  is installed?

    How to check if  Oracle Data Access Components is installed and version on my computer?
    Also How to check if Oracle Data Provider is installed and version?
    TIA
    Steve42

    Regedit HKLM->Software->Oracle.  See what's there...
    At the very least, that can give you paths and can check file versions from there.

Maybe you are looking for

  • Problem with finding correct application to open a .csv file from Downloads

    Hi Guys. I've been a Mac user for some time now but have only just found this forum! Anyway, I've downloaded a .csv file to my Download folder but when I click on it to open it I get the "Can't find an application etc. " message. When the dropdown "C

  • Error message while trying to encode a video with afterFX composition involved

    OK, so heres the thing.  I wanna encode this video I made, in CS3, but every time I try, it says, "the source and output color space are not compatible or a conversion does not exist" This only happened after I tried adding an After Effects compositi

  • How to create a scheduled process

    Hi all, I'd like to create a (WLI) process that would run once a day at 12:00 noon. Outside of WLI, I could easily use SpringFramework/Quartz to create a scheduled task that's equivalent to such a WLI process. But with WLI (8.1), I've had a very hard

  • Cannot switch to Start Screen by Left-click of Start-Memu

    I've installed W10 TP Build 9926 onto W7 Ultimate 64-bit. It works almost fine, except inability of Left clicking on Start-Menu. The Left-click has no effect, or my screen does't change to Start screen. The Right-click works, i.e. context menu appear

  • Logic Pro X doesn't receive midi signals (Logic 9 does)

    Hi, When I updated to OSX Yosemite 10.10.2 Logic X stopped receiving midi signals from my keyboards and otther midi devices. My system is: Mac Pro (2010) 3,2 GHz Quad Core Intel Xeon Memory 8 GB 1066 MHz DDR3 ECC The funny thing is that it worked gre