Should not fetch  the records which has tran_efct_dte more than 550 days

I have a table BRKG_TRA AND below is the structure of the table
BRKG_ORDER_ID     VARCHAR2(15 BYTE)
BRKG_ORDER_ID_CNTX_CDE     VARCHAR2(10 BYTE)
BRKG_ACCT_SIDE_CDE     CHAR(1 BYTE)
TRD_FTR     NUMBER(15,9)
PGM_ORIG_TRAN_ID     VARCHAR2(6 BYTE)
BRKG_OPT_OPEN_CLOS_CDE     VARCHAR2(5 BYTE)
BRKG_ORDER_QTY     NUMBER(17,4)
TRAN_ID     VARCHAR2(20 BYTE)
TRAN_CNTX_CDE     VARCHAR2(10 BYTE)
CRTE_PGM     VARCHAR2(50 BYTE)
CRTE_TSTP     DATE
UPDT_PGM     VARCHAR2(50 BYTE)
UPDT_TSTP     DATE
DATA_GRP_CDE     VARCHAR2(10 BYTE)
TRAN_EFCT_DTE     DATE

select * from <table name> where <dt_field> > sysdate - 550

Similar Messages

  • How can i see the URL which has  length more than 255 chars in fucnction

    Hello Every body....
      I am facing one problem....I have a function module which returns URL in one table
      but in the function module display i am able to see only 255 characters,but the URL is more than 255 Characters..How can i see the URL which has the length more than 255 characters..
    In the Table the fields url length is 4000 chars.....
    but display it is showing only 255 chars.....
    Please Help me...??????????

    Hello,
    Have you tried breaking your structure into 255 chunks? I don't know what the structure you are moving from looks like, but you should be able break it back up into the SOLI structure. The end of a line in SOLI doesn't create a Carriage Return/Line Break. You have to insert these yourself like in the following:
    * Create document
          clear mail_line.
          move 'This is a test E-Mail'(d01) to mail_line.
          concatenate mail_line
                      cl_abap_char_utilities=>newline
                      into mail_line.
          append mail_line to l_mailtext.
    What kind of attachment are you wanting to create - a text tab delimited file for reading in a spreadsheet application such as excel? You might try reassembling your data table into a single string with newlines where you need them. Then use function module SCMS_STRING_TO_FTEXT to turn it back into SOLI. This is what I have done in the past. I'm afraid without knowing more about your source structure and attachment type, this is about all I can tell you.
    Vasanth

  • Query not fetched the record

    Hello,
    Could someone help me please ?
    I have a listing of my sales orders and I want to make changes in my order by opening the form and fetched with that record. When I click on that particular orderno in my listing of order and call the form to display the details, it calls the form but says "Query could not fetch the record". I do not know why ? Please help me with the solution.
    Thanx

    Hello,
    I think you are passing orderno to called form as a parameter. If you are using parameter list check..
    1. If parameter data is getting in form correctly ?
    2. Next, have you changed where clause of other block,so that is will display record with passed orderno ?
    I am expecting more details from you.
    Thanx
    Adi

  • How to get the records which has a specified x/y coordinates

    Hi,
    How to get the records which has a specified x/y coordinates. I have a table which has street data. And another table has a point data. Now I just want to get the records from street data which includes the points in the point data table. Can any one give your suggestions
    Thanks and Regards
    Aravindan

    Aravinda,
    If you want to find the line segments which intersect the given
    set of points, you can do that with SDO_RELATE.
    siva

  • User should not release the PR which is created by him

    Hi
    We didnu2019t use work flow functionality for PR Release. So same user can create PR and release the same PR in our system. Our requirement is user should not release the PR which is created by him. I would like to put this control in system.
    How can I achieve this requirement?
    Thanks
    Jeny

    Hi Ravi
    Thanks for your reply. but they need to have authroization for PR release . bec they are eligble to release PR as per delegation of authroity. but they should not release their own PR . they can relase other's PR within their level.
    Jeny.

  • Displaying the records records which are coming more than once

    hi
    create table temp(comp_id int,branch_id int);
    comp_id | branch_id
    ---------+-----------
    1000 | 1
    1000 | 1
    1000 | 2
    1000 | 2
    1000 | 3
    2000 | 1
    2000 | 1
    2000 | 2
    2000 | 3
    how can i write a query which displays the records records which are coming more than once on the basis of fields comp_id and branch_id. e.g. 1000 | 1 should be displayed because it is coming more than once. 1000 | 3 should not be, because it has a single entry.

    select comp_id, branch_id, count(*)
    from temp
    group by comp_id, branch_id
    having count(*)>1
    Please note this forum is not a SQL class and it is not the place to have your homework done.
    Sybrand Bakker
    Senior Oracle DBA

  • Why does iPhoto (9.0/11) not retain the Event name when exporting more than one event? (using File - Export - Album name with number).

    Why does iPhoto (9.0/11) not retain the Event name when exporting more than one event? (using File -> Export -> Album name with number).
    Exporting a single Event retains the Event name which is what I'd expect. But highlighting more than one event and exporting it renames the images to Events 001.JPG, Event 002.JPG etc.
    I was recently on holidays and had all my events nicely split on Dad's computer but when I went to export it I couldn't retain any of this information. Now I have to replicate this all again on my computer.
    It wasn't possible to export the entire library as the external drive was fat32 format an I didn't want all of it. It would be nice to export a bunch of events to someone and have it retain the name.
    Does anyone have a work around or will this be fixed at some point by Apple?

    Why does iPhoto (9.0/11) not retain the Event name when exporting more than one event? (using File -> Export -> Album name with number).
    Exporting a single Event retains the Event name which is what I'd expect. But highlighting more than one event and exporting it renames the images to Events 001.JPG, Event 002.JPG etc.
    I was recently on holidays and had all my events nicely split on Dad's computer but when I went to export it I couldn't retain any of this information. Now I have to replicate this all again on my computer.
    It wasn't possible to export the entire library as the external drive was fat32 format an I didn't want all of it. It would be nice to export a bunch of events to someone and have it retain the name.
    Does anyone have a work around or will this be fixed at some point by Apple?

  • How can we restrict the other user to change the record which has been entered by particular user in MDS

    I have created Product entity in MDS. It's having the following values:
    Name  Code  Owner
    Bike    1      ABC
    Car      2     XYZ
    Cycle   3     RRR
    owner XYZ can change the record of RRR. But if owner XYZ or any other owner in this entity tried to update the ABC's record, access should be denied. That means, no one should have the permission to change the records which are entered by ABC.
    For this i have executed this code
    CREATE TRIGGER mdm.party_trial_readonly ON mdm.tbl_1042_1278_EN AFTER UPDATE, DELETE AS
    IF EXISTS (SELECT * FROM deleted WHERE readonly = 1)
    BEGIN
       ROLLBACK TRANSACTION
       RAISERROR ('Attempt to change a read-only row', 16, 1)
       RETURN
    END;
    After executing this code i couldn't edit any of the records.
    Please help me out in this.

    I have created 2 entities called Party and Owner.  Party has following columns (name, Code, Owner (Domain Based Attribute)) Owner has following columns (name, Code) And I have Created one Derived Hierarchy.
    From user and Group Permision Section, Hierarchy Members tab I have given read only permision to me (administrator of the Model). When I gave the permision I have selected users and Inherited from group in permission tab. And I'm not the part of any group.
    Now I'm not able to see my model except the explorer area. And I'm not able to delete the permission from the user. As per the admin guide we need to delete permission from group.
    Though I'm not the part of any group, I'm not able to proceed further to delete the permission.
    Please help me out in this regard. Thanks!

  • Not fetching the records through DTP

    Hi Gurus,
    I am facing a problem while loading the data in to infocube through DTP.
    I have successfully loaded the data till PSA but not able to load the records into infocube.
    The request was successfully with status green but able to see only 0 records loaded.
    later one of my friend executed the DTP successfully with all the records loaded.
    can you please tell me why it is not working with my userid.
    I have found the following difference in the monitor.
    I am not able to see any selections for my request and ale to see REQUID = 871063 in the selection of the request started by my friend.
    can any one tell me why that REQUID = 871063 is not displaying automatically when I have started the schedule.

    Hi,
    I guess the DTP update process is DELTA UPDATE mode. Because you and your friend/colleague have executed SAME DTP object with a small time gap and during the same period no new TRANSATIONS HAVE POSTED IN SOURCE.
    -Try to execute after couple hours....
    Regards

  • System should not allow me to create a PO more than the Maximum quantity.

    Gurus,
    My requirement is as follows.
    I have a material with Max quantity defined as 100.
    Now I have a stock of 60 & Open PO of 20 so the system should allow me to create PO only for 20 Qty.
    It should restrict me if the Quantity exceeds 20.
    Also inform us where to maintain the Max stock quantity for the material.
    pl suggest
    SN

    Hello Sanjay,
    There is no way to maintain the Max stock quantity for the material.
    However, for the first issue, I would like to tell you that while creating PO in Item detail tab there is a tab of delivery. Under this tab you can set the under delivery or over delivery(as per your requirement).
    for example, if you set the overdelivery to 10% and you created the PO of 100 quantity then you have the flexibility of receiving upto 110 quantity which is 10% more of the actual quantity.
    If your point is something different from what I explained then kindly re-elaborate your query.
    Hope this helps...
    Robin

  • How to fetch the records which matches a partial value?

    Hi,
    I have a table called Employee which contains the following value in Category column
    ID Value
    1 Student,Staff
    2 Staff
    3 Parent,Student
    4 Member,Staff,Student
    I wanted to fetch only 1 and 3rd and 4th record since it matches the value Student.
    basically looking for the exact pattern matched with student separated by comma.
    how to perform this query. it would be great, if i get the query in MS Sql also.
    Edited by: Pannar on Nov 1, 2009 7:08 PM

    Hi,
    I'm sure the regexps will pass by, but here's a way (no idea if this will run in MS SQL, I'm not familiar with that):
    HO%xe> with employee as ( --generating your sample data:
    2  select 1 id, 'Student,Staff' category from dual union all
    3  select 2, 'Staff' from dual union all
    4  select 3, 'Parent,Student' from dual union all
    5  select 4 ,'Member,Staff,Student' from dual
    6  )
    7  --
    8  -- Actual query:
    9  --
    10  select id
    11  ,      category
    12  from   employee
    13  where  category like '%Student%'
    14  and    instr(category, ',')>0;
           ID CATEGORY
            1 Student,Staff
            3 Parent,Student
            4 Member,Staff,StudentYou can use UPPER or LOWER as well, if you want to be case-insensitive.
    edit
    Something like:
    MHO%xe> with employee as ( --generating your sample data:
      2  select 1 id, 'Student,Staff' category from dual union all
      3  select 2, 'Staff' from dual union all
      4  select 3, 'Parent,Student' from dual union all
      5  select 4 ,'Member,Staff,Student' from dual union all
      6  select 5, 'Student' from dual union all
      7  select 6, 'Student,' from dual
      8  )
      9  --
    10  -- Actual query:
    11  --
    12  select id
    13  ,      category
    14  from   employee
    15  where  regexp_like(category,',Student|Student,');
            ID CATEGORY
             1 Student,Staff
             3 Parent,Student
             4 Member,Staff,Student
             6 Student,Might work as well.
    Edited by: hoek on Nov 1, 2009 2:50 PM

  • How can i distill the invoice which has not verified?

    hello evryone:
       my problem is I want to distill the invoice which has not 
       verified through the tcode MIRO.
       thanks in advance!

    Hello,
    Have you tried breaking your structure into 255 chunks? I don't know what the structure you are moving from looks like, but you should be able break it back up into the SOLI structure. The end of a line in SOLI doesn't create a Carriage Return/Line Break. You have to insert these yourself like in the following:
    * Create document
          clear mail_line.
          move 'This is a test E-Mail'(d01) to mail_line.
          concatenate mail_line
                      cl_abap_char_utilities=>newline
                      into mail_line.
          append mail_line to l_mailtext.
    What kind of attachment are you wanting to create - a text tab delimited file for reading in a spreadsheet application such as excel? You might try reassembling your data table into a single string with newlines where you need them. Then use function module SCMS_STRING_TO_FTEXT to turn it back into SOLI. This is what I have done in the past. I'm afraid without knowing more about your source structure and attachment type, this is about all I can tell you.
    Vasanth

  • I bought an iphone 5 where the warranty goes up to May 2014. On 22/02 I did the update of iOS 7.0.6 and the same was without service. The model is the A1429 which has no assistance in Brazil.  How should I proceed?   thank youI bought an iphone 5 where th

    I bought an iphone 5 where the warranty goes up to May 2014. On 22/02 I did the update of iOS 7.0.6 and the same was without service. The model is the A1429 which has no assistance in Brazil.
    How should I proceed?
    thank you 

    Take it back to Apple in the US where the iPhone originated ,any Apple Store genius bar will look at it under warranty

  • MDO Query errors in log -[Cannot fetch column 22, which has JDBC type DOUBLE, into a Java variable of type ]

    Hello,
    We are seeing a lot of log messages like the one below when an MDO select query is run. There is a message for every numeric column. There doesnt seem to be any issue with the queries working properly its just creating a lot of log messages. Has anyone else had this issue?
    Exception of type com.sap.sql.log.OpenSQLException caught:
    Cannot fetch column 22, which has JDBC type DOUBLE, into a Java variable of type
    float..
    [EXCEPTION]
    com.sap.sql.log.OpenSQLException: Cannot fetch
    column 22, which has JDBC type DOUBLE, into a Java variable of type float.
    at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:83) ...

    Hi Christian,
    You are right. As in your case it is a select query it does not reflect the error automatically. In my case, I had an insert query so it failed then and there, which was easier to debug and fix.
    I have one question regarding your case. When you read the MDO using the query, what do you do with the output? Do you assign it to any local/transaction property in the output links of the query block or in a proceeding assignment block?
    Because, the error mentions that the assignment of float to double datatype fails. So, in theory there should be some assignment done with the output.
    Please check if you could figure out this part in your transaction.
    Regards,
    Saumya Govil

  • ATTENTION!! RECEIVED FRAUDULENT EMAIL PRETENDING TO BE APPLE!! I received an email informing of a purchase made on my account and telling me to change my password if did not purchase the item, which I had not. I have received valid emails from Apple

    ATTENTION!! RECEIVED FRAUDULENT EMAIL PRETENDING TO BE APPLE!! I received an email informing of a purchase made on my account and telling me to change my password if did not purchase the item, which I had not. I have received valid emails from Apple in the past asking letting me know a purchase had been made and asking if I had made the purchase, but the item listed has alway been a purchase that I had made. Since I had received similar emails in the past, I didn't think anything of it. Because I had not purchased the item listed, I immediately clicked on the link in order to change my password, which has been suggested in authentic emails i had received from Apple in the past. The site I was redirected to was exactly the same as the Apple site where you go to change your password. I entered my userID and password and it stated a verification email would be sent, if it was not sent click "resend email." When I did not receive an email, after about 10 seconds I went to the Apple site and followed the SAME EXACT step on pages that were IDENTICAL to the FRAUDULENT website I apparently had just been at. When I clicked "Send verification email," I DID receive an email within seconds, which had a special link that brought me to a page where I could change my password, which I did. I later compared a legitimate email to the FRAUDULENT email and I DID FIND A DIFFERENCE, BUT IT WAS ALMOST UNNOTICEABLE unless you were really, really looking.  I doubt it would be noticed by anyone if not comparing it closely to a real email. THE DIFFERENCE WAS AT THE BOTTOM OF THE AUTHENTIC EMAIL, THERE WERE THREE LINKS THAT COULD BE SELECTED - My Apple ID/Support/Privacy Policy. ON THE FRAUDULENT EMAIL THESE LINKS WERE NOT PRESENT!!! Just today I received an email from Apple stating my password had been changed today. I did not change my password today. When I changed after getting the fake email, I did not think about my SECURITY QUESTIONS!!! If you forget your Apple password, you are able to answer the security questions in place of your ID and you get a confirmation email. Even though I changed my password within a one minute when I did not get a confirmation email with a link to change my password right away and I went dierctly to Apple's site, apparently it was enough time to take all the information on my account - INCLUDING MY DEBIT CARD NUMBER, WHICH HAD BEEN REQUIRED WHEN I INITIALLY SET UP THE ACCOUNT!!! Today I received a call from VISA FRAUD PROTECTION asking about strange activity on my account and stating they were concerned and wanted to ensure I had used the account. I HAD NOT, AND ALL THE MONEY IN MY BANK ACCOUNT HAD BEEN STOLEN!!!!! I am writing this in hopes that many people will see it and NOT FALL VICTIM TO THIS SCAM. Please pay close attention to any emails you supposedly receive from Apple - If the links "MY APPLE ID/SUPPORT/PRIVACY POLICY," PLEASE DO NOT ASSUME IT IS AN AUTHENTIC EMAIL FROM APPLE. I suggest you immediately forward the email to apple, which I didn't do because this happened days ago. Nothing was taken from my money that was already on the Apple account, and nothing had been taken from my checking account. I guess I assumed there had been something wrong with the link in the email directing me to where I could change my password, plus I had gone to the valid Apple website and changed my password for real, and I guess I was thinking that changing my password would prevent someone from being able to acces my account info. PLEASE DO NOT FALL VICTIM TO THIS SCAM AS I DID!!!!

    No need for alarm. There are several folks a day posting like threads. Most folks know these phishing attempts for what they are and merely delete with prejudice.
    To the bottom line... if you wish - and I am sure Apple will take notice - you should FORWARD the email to [email protected] and delete.
    CCC

Maybe you are looking for

  • Downloading file from a database..

    Iam writing an application which downloads a file from the database.The file lists will be displayed for the user. When he clicks a particular file, he gets a window with open, save cancel options (i am using response.setHeader("Content-disposition",

  • HT201317 iCloud - iPhone to Macbook Pro

    Is there a way that I can have my documents and data connected to my laptop from my iPhone when it is connected to iCloud that the whole family uses. We have around 6 devices connected to the same account, however I just want my photos backed up onto

  • Aperture does not support raw files from my Leica d-lux 6.

    When will Aperture support RAW files from a Leica d-lux 6?

  • Compressor not loading up large files.

    I am having problems with failed jobs in Compressor. When importing the files the video does not show up  under the file name and the submissions fail. These are large mp4 files around 3 gigs each. Is there something I can do to help compressor impor

  • TestStand Errorloggi​ng

    Hello, I'm making an errorlogging in TestStand by adding the StationPostStepRuntimeError in the StationCallbacks.seq. Everytime there is an error it will call this callback, however I can't find the property containing the error message and code. Doe