Mismatching the sequence /order  dates.

Pl. help me selecting / finding the records which r not in Order.
here i am putting sample data.
ID     SEQ_NO     START_DATE     END_DATE
10     2     1/1/1994     1/1/1995
10     4     2/1/1995     1/1/1996
10     6     2/1/1996     1/1/1997
20     2     1/1/1994     2/1/1995
20     4     1/1/1995     1/1/1996
20     10     1/1/1999     2/1/2000
20     8     1/1/1997     1/1/1998
20     6     1/1/1996     1/1/1997
30 5 1/1/1994 2/1/1995
30 15 1/1/1996 1/1/1997
30 10 1/1/1995 1/1/1996
i want to retive the SEQ.no 6,10 records and ID 20
and also ID 30 and SEQ_no 15,10 records.
the records r not in order with the start_Date and end_date.
thanks in advance

Pl. help me selecting / finding the records which r not in Order.
here i am putting sample data.
ID     SEQ_NO     START_DATE     END_DATE
10     2     1/1/1994     1/1/1995
10     4     2/1/1995     1/1/1996
10     6     2/1/1996     1/1/1997
20     2     1/1/1994     2/1/1995
20     4     1/1/1995     1/1/1996
20     10     1/1/1999     2/1/2000
20     8     1/1/1997     1/1/1998
20     6     1/1/1996     1/1/1997
30 5 1/1/1994 2/1/1995
30 15 1/1/1996 1/1/1997
30 10 1/1/1995 1/1/1996
i want to retive the SEQ.no 6,10 records and ID 20
and also ID 30 and SEQ_no 15,10 records.
the records r not in order with the start_Date and end_date.
thanks in advance

Similar Messages

  • FM to get the sales order data using GI as input

    Hi Friends,
    I am looking for a way to read the sales order data  (document no. )using the Goods issue document no as my input.
    basically reading the Docflow in the opposite direction i.e GI -> SO .
    If you can suggest a FM which can do so it would be really helpful.
    Thanks,
    Poonam.

    Hi Poonam,
    Not FM but I can tell you the Std. way.
    Go to SE16 --> Table VBFA --> Enter your goods movement document list in field "Follow-on doc." --> In the feild "Prec.doc.categ." --> choose "C Order" --> Execute
    Hope it helps,
    Regards,
    MT

  • Will Apple Stores have the iPhone6 prior the the pre-order date?

    I'd really like to hold the iPhone6 and iPhone6 Plus before pre-ordering.  Will the Apple Stores have them on hand to "try-out" prior to the Pre-order date?

    You can get your hands on one September 19th at 8:00 AM at any Apple store, if you can get in the door.

  • Why the long wait between the pre-order date and the shipping date of the Motorola Razr??????????

    I don't understand Why Verizon made the shipping date for the Motorola razr two full weeks after the pre-order date? Versus what it did with the iphone 4s where the dates were only 1 week a part. I order it on the 27th.

    I know I really can't wait to get the phone.  I was hoping it might come a little earlier than the 10th but probably not. 

  • The Sequence/order in which Data Import should be done?

    Hi experts,
    Can anybody suggest the sequance/ order in which we should do the data import using DTW, while setting up a fresh company, so that we can avoid dependancy conflicts?
    Is there any document available?
    Thanks and regards
    Ajith G

    Hai!
    Check List For Data Migration
    Sl.No.     Module     Data
    1     Finance     Chart of Accounts
    2     Finance     Validating Cash Account, Control Account, Multi-Currency properties for G/L Accounts, Account Type, Relevant to Budget, Exchange Rate Differences, Rate Conversion, etc.,.
    3     Finance     Profit Centres
    4     Finance     Distribution Rules
    5     Finance     Mapping Distribution Rules to G/L Accounts
    6     Finance     Projects
    7     Finance     Mapping G/L Accounts to Projects
    8     Finance     Currencies
    9     Finance     G/L Account Determination
    10     Finance     Item Groups Accounting
    11     Finance     Warehouse Accounting
    12     Finance     Item level Accounting
    13     Finance     Tax Codes
    14     Finance     Plant Wise Tax Information
    15     Finance     Freight Types (Additional Expenses)
    16     Banking     Banks
    17     Banking     HouseBanks
    18     Banking     Payment Methods for PaymentWizard
    19     Inventory     Locations
    20     Inventory     Manufacturers
    21     Inventory     Package Types
    22     Inventory     Inventory Cycles
    23     Inventory     Item Groups
    24     Inventory     Item Properties
    25     Inventory     Warehouses
    26     Inventory     Define Default Warehouse
    27     Inventory     Excise Chapter Information
    28     Inventory     Items - (Attributes ex.: PurchaseUOM, InventoryUOM, SalesUOM, Conversion Factors)
    29     Inventory     Items - Labor & Travel Type
    30     Inventory     Customs Groups
    31     Inventory     ShippingTypes
    32     Inventory     LengthMeasures
    33     Inventory     WarehouseLocations
    34     Inventory     WeightMeasures (Volume)
    35     Inventory     PriceLists
    36     Inventory     BP Catalogue Numbers
    37     Business Partners     Customer Groups
    38     Business Partners     Vendor Groups
    39     Business Partners     BP Properties
    40     Business Partners     States
    41     Business Partners     Payment Terms
    42     Business Partners     Sales Employees
    43     Business Partners     Territories
    44     Business Partners     BP Customers
    45     Business Partners     BP Vendors
    46     Business Partners     BP Priorities
    47     Sales     SalesStages
    48     Sales     Industries
    49     Sales     Information Source
    50     Sales     Commission Groups
    51     Sales     Relationships
    52     Sales     Level of Interest
    53     Sales     Won/Lost Reasons
    54     Sales     CompetitorInfo
         Sales     Partners
    57     Production     Products
    58     Production     WIP Products
    59     Production     Production - Bill of Materials
    60     Production     Sales - Bill of Materials
    61     Production     Assembly - Bill of Materials
    62     Production     Template - Bill of Materials
    63     CRM     ActivityTypes
    64     CRM     ActivitySubjects
    65     CRM     ActivityLocations
    66     HR     Teams
    67     HR     Employees
    68     Service     Queue
    69     Service     ContractTemplates
    70     Service     Service Call Status
    71     Service     Service Call Priority
    72     Service     Service Call Origin
    73     Service     Service Problem Type
    74     Service     Service Call Type
    75     Service     Technicians
    76     Service     SolutionStatus
    77     Administration     MultiLanguageTranslations
    78     Administration     UserLanguages
    79     Administration     User Defaults
    80     Administration     Users
    81     Administration     Departments
    82     Administration     Branches
    83     Administration     UserPermissionTree
    84     Administration     Assign License to users
    85     Opening Balance     Item Opening Balances
    86     Opening Balance     G/L Opening Balances
    87     Opening Balance     BP Opening Balances
    88     Configuration/Development     oUserFields
    89     Configuration/Development     oDynamicSystemStrings
    90     Configuration/Development     oChooseFromList
    91     Configuration/Development     oQueryCategories
    92     Configuration/Development     oUserQueries
    93     Configuration/Development     oFormattedSearches
    94     Configuration/Development     PLD
    95     Configuration/Development     QueryPrintLayouts
    96     Configuration/Development     StoredProcedure
    97     Configuration/Development     Document Numbering Series
    98     Configuration/Development     Alerts
    99     Configuration/Development     Approval Procedures
    Regards,
    Thanga Raj.K

  • Fetching the sales order data using both system status and user status

    Hi,
    Could any one tell me how to fetch sales orders using both system status and user status.
    My requirement is to fetch sales order data in a report where the user enters the system status and user status in the selection screen fields.
    For example i need sales orders where the system status is I1002 i.e. OPEN and user status is E0002 (status profile CMSCON0) that is In Process
    Early replies are appreciated.
    Thanks
    Tanveer

    Hi,
    The system status and user status are stored in CRM_JCDS & CRM_JEST tables you can get the all the order GUID on particular status further pass the order GUID in table CRMD_ORDERADM_H to get transaction ID.
    Regards,
    Dipesh.

  • How to write a query for grouping them the columns and give the sequence order to each group/

    Hi i have table that contains country columns .
    India,USA,UK like these when ever the group changed into the differt country i make a group and arrange them the sequence into those Countries
    like below
    1)India
    2)India
    1)USA
    2)USA
    like these to write a query ..........pls help me for this query

    Assuming you're using SQL Server you can ask here:
    http://www.sqlteam.com/forums/forum.asp?FORUM_ID=23
    Otherwise, please ask in the relevant forum for the type of technology you're using.
    Basically it's either:
    select *
    from [table name]
    order by country
    If you want to do something with groups do something like:
    select (max) income, country
    from [table name]
    group by country
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • How to setup the sequence order's of PO's vision instance

    I need to create PO's in a sequential order in vision instance. How should I do that?
    Thanbks
    regards,

    Hi,
    We have already mentioned how to create PO sequence in earlier post in this thread...
    You need to follow below steps:
    1) Login to Purchasing Super user
    2) Open "Purchasing Options" form.. (Setup --> Organizations --> Purchasing Options)
    3) In Document numbering section, do mention the details of PO Number, like PO Entry (Manual/Automatic), PO Number type (Numberic/Alphanumeric), Next number (e.g. 10000)
    For your case use Next Number : 100000 (6 digits)
    4) Save
    5) Return to PO creation page and start creating POs.
    Hope this will help.
    Kind Regards,
    S.P DASH

  • Procedure needed 4 changing the sequence order

    For example, there are ten employees. The first employee’s id will be 1. The second employee says his id he wants to be 14. For the third employee, the employee id should come in sequence, i.e it should assign 2 by default, if he have not requested an id. Again when the fourth employee comes, he will request for number 4. When fifth employee comes, he will be assigned number 3, when he has not requested of his choice. When sixth employee comes, number 5 should be assigned, since number 4 is already in use.
    So how can I write a Procedure for this?

    this example might be of help.
      -- assuming that you have this in your procedure:
      -- pEmpId Number        => for Employee ID
      -- vEmpId Number        => place holder for employee id
      -- vCtr   Number        => counter for checking rows
      -- emp_seq_no           => sequence for employee
      -- employee does not request for an Id
      If pEmpId Is Null Then
        Loop
          Select emp_seq_no.nextval
            Into vEmpId
            From dual;
          --check if existing on the table
          Select empid
            Into vCtr1
            From employee
           Where empid = vEmpId; 
          If vEmpId <> vCtr1 Then
            exit;
          End If
        End Loop;
      Else
        -- employee requested for an Id
        Select Count(*)
          Into vCtr1
          From employee
         Where empid = vEmpId; 
        -- check if existing on the table
        If vCtr1 > 0 Then
          -- code goes here on what do you want to do when
          -- the requested id exists
        End If;
      End If;note: this code has not been tested.

  • Lately the sequence order of the bookmark toolbar items changes from time to time. Rather irritating - is there a fix for this?

    The problem started about a week or two ago. Usually it is just one or two tabs which have shifted. I am using Xmarks. I have not noticed any changes on the items within the various tabs, just a random shifting of the tabs.

    Let me refine my question and issue because I'm now realizing that Logic is just delaying the recording, expecting latency (which is a horrible feature... good idea, but failed execution). So, is there any way to turn this off within the DAW? I want things to record on the grid. There shouldn't be any latency just trying to mix a few audio files together... right? Maybe I just never noticed in Pro Tools or the like. I'm going to test all the other DAWs as soon as I have time and see how they handle it. I know how to hone in the recording delay, but it never gets spot on for me. I still have to end up editing an externally recorded piece of audio, which is ok. But I don't find it acceptable when working completely in the DAW with just audio files...
    Maybe I'm just doing something wrong... so I'm going to work on the delay... but I'm hoping someone has dealt with this before.

  • Need HELP (Project Issue) : Having 3 individual VIs, datalogger.vi, start vi, amksms.vi done. (How to run the VIs in sequence order - datalogger start amksms combine into 1 VIs? )

    Need HELP (Project Issue) : Having 3 individual VIs, datalogger.vi, start vi, amksms.vi done.
    (How to run the VIs in sequence order - datalogger > start > amksms combine into 1 VIs? )

    VIs in icon.
    how would it able to run in the sequence order:
    data first, follow by start and lastly amk sms.
    Attachments:
    dsa.jpg ‏10 KB

  • PPDS production order dates mismatch between APO and R3

    Hi Friends,
    We are facing one problem regarding production order date mish match between R3 and APO systems specific to a product.
    The product is planned in PPDS and the order automatically transfer to R3 through online CIF.
    PPM has got two operations 0010 and 0020 and activity relationships are like this:
    P(0010) - P(0020) Start - Start relation ship
    S(0010) - P(0010) End - Start relationship.
    In PPDS dates are shown as :
    on operation 0010 the start/end  dates are shown as  08.15.09 to 08.22.09
    on operation 0020 the start/end  dates are shown as 08.15.09 to 08.22.09
    Overall order start date is  08.15.09
    Overall order finish date is 08.22.09
    and in R3 dates are shown as:
    on operation 0010 the start/end  date are shown as  08.15.09 to 08.22.09
    on operation 0020 the start/end dates are shown as 08.22.09 to 08.29.09
    Overall order start date is  08.15.09
    Overall order finish date is 08.29.09
    The order is off one week (APO vs R3) with start and finish dates.  
    if we change DS Board settings to ignore internal relationships manually then the dates are matching exactly in APO and R3.
    We want the production order dates to be matched without manual intervention.
    Could some one please provide some hints on what is happening here and how to correct it.
    Thanks.
    Krish

    Hi Friends,
    Thanks a lot for your valuable replies in this regard.
    Actually this problem is in production environment and it took some time to test the problem with the master data modifications
    you suggested.
    As DB and Siddhrath mentioned, the problem was with routing definition. There is no parallel sequence maintained in the routing but there is start-start relation maintained in APO PPM.
    We corrected the routing definition and checked the order dates. Now the dates  are matching in R3 and APO.
    I am awarding DB and Siddharth each five points in this regard.
    Once again thank you all for your time and valuable replies.
    -Regards
    Krish.

  • Table for  the PO Date and Stock Transfer Order Date of a material no

    Hello Everyone!
    I am having a requirement where I want both the Purchase Order Date and Stock Transfer Order Date of a perticular material no.
    On the basis of difference of these two dates I want to find out the period for which the material was present in supplying plant.
    I am not getting the table through which I can get these two dates for a material.
    Please help me out.
    Its urgent.

    hi,
    see these tables:
         EKKO – Purchase Order Header Table
         EKPO – Purchase Order Item  Table
         EKBE – PO History table.
    reward if its useful

  • How to trace planned order data after it has been converted into production

    Hi, There,
    The planned order has been converted into production order.
    However, I need to trace if this planned order is generated by MRP
    run or created manually. I can't get any planned order info from
    table PLAF. Any input?
    Regards,
    Nancy

    Hi,
    Once fully converted, the Planned Order data will not be available in the Table : PLAF.
    If it is available, then You can have the details with the Time Stamp and User data from PLAF.
    But, the refrence will be available in the Production Order.
    You want to make a Track of the Planned Order details and the Quanity, then you need to have/create Z tables so that the data will be availabe.
    This is how most of the Organizations keep a track of the Planned order data.
    Hope this helps..
    Regards,
    Siva

  • Sale order date determination

    hi friends,
    kindly explain,how the sale order date is determined.
    on what criteia it is determined?

    Hi Divya,
    Go to TCODE VOV8--in the functionality of sales document go to Requested Delivery date/Pricing Date/Purchase order date.
    in it there is a field called "Propose PO Date".if we chk this the system will take current date as the PO date.
    Rgds,
    Raj..

Maybe you are looking for