Like and NCHAR

Hi,
I have a column with Nchar(12) datatype. Values in the columns are numbers and stored with leading spaces
DDMCU
40303
40304
40304
10555
This column is used in a query where user is allowed to pass the value
user is allowed to enter '%40303%,'%40303', 40303%, 40303
The query works fine only when '%40303%,'%40303'.
So to fetch the value currently TRIM is used on the column. Is there any workaround to do this without TRIM?
Where TRIM(DDMCU) like '40303%'
Thanks,
GM

Why not something like this then?:
SQL> WITH t AS
     (SELECT ' 40303' ddmcu
        FROM DUAL
      UNION ALL
      SELECT ' 40304' ddmcu
        FROM DUAL
      UNION ALL
      SELECT '40304' ddmcu
        FROM DUAL
      UNION ALL
      SELECT ' 10555' ddmcu
        FROM DUAL)
SELECT *
  FROM t
WHERE ddmcu LIKE ' ' || '%40304%' OR ddmcu LIKE '%40304%'
DDMCU
40304
40304
2 rows selected.

Similar Messages

  • E71 Linux Information, likes, and dislikes

    The E71 is a fairly cool phone, but it took me a little while to get things working well with Linux after upgrading from my Motorola v3xx. To avoid other people having to figure things out, here's my info, and later in this a list of likes and dislikes.
    Bluetooth
    The E71 works fine with bluetooth. I bonded the device to my computer with the instructions at http://arstechnica.com/journals/linux.ars/2007/12/10/using-a-bluetooth-phone-with-linux
    After installing the software, I made my phone non-hidden, did:
    hcitool scan
    Scanning ...
    xx:xx:xx:xx:xx:xx Corey's Phone
    then got the address (the xx:xx... part). Then I did:
    obexftp -b xx:xx:xx:xx:xx:xx -l
    and it asked on the phone for a passcode, then on the computer. Enter the same 4-digit number in both places. Now you are bonded. You can use obexftp to poke around in the phone.
    All fine and dandy, but I also use my phone as a tether to get to the Internet. That's when I ran into my first problem. You use:
    sdptool browse xx:xx:xx:xx:xx:xx
    to find the RFCOMM channel to use for dial up, but there's a bunch and I chose the wrong one. After hunting some more, I found out that channel 2 was aptly named "Dial-Up Networking". Set the right channel in /etc/bluetooth/rfcomm.conf:
    rfcomm0 {
    # Automatically bind the device at startup
    bind yes;
    # Bluetooth address of the device
    device xx:xx:xx:xx:xx:xx;
    # RFCOMM channel for the connection
    channel 2;
    # Description of the connection
    comment "Nokia E71";
    restart bluetooth with /etc/init.d/bluetooth restart, and voila, /dev/rfcomm0 appears and it's a PPP dialup. So my PPP scripts to dial into AT&T worked perfectly. You can hunt on the internet for various scripts for this, or I can post one if someone needs it, though it would only work for AT&T.
    USB
    Now for USB. It's kind of ironic, but the high-speed data from AT&T is actually faster than the bluetooth data rate. Kind of sucks. So I tether the phone with USB whenever I want to transfer a lot of data (like MP3 files) or when I want a faster network connection. Getting USB working hung me up for a while, though.
    Plug in the USB cable (which thankfully came with the phone) and you get a menu of things to do, as USB can really only do one thing at a time. The "Mass Storage" is what is used for file transfer to the microSD card. I guess that's an OK name, though it could have been a little more intuitive.
    I don't know what "Media Transfer" does.
    You would think that "Connect PC to web" would connect your PC to the web. But you would be wrong. To get a /dev/ttyACM0, a simulated serial port to connect to the web using PPP, you choose "PC Suite". The "Connect PC to web" option creates a simulated CDROM drive that has the PC software to connection your PC to the web through the phone. With the proper selection, I could dial in at will. Now I'm happier, though this cost my some unnecessary time.
    VPN
    Now I've got a cool phone that does all kinds of stuff with email. So I think: "I'll set up a VPN so I can get to my home and work email." This was not easy. The best instructions I found were at http://wiki.paepstin.info/nokia:vpn. But they are not quite accurate.
    First of all, if you are going to use RSA, the information the keys was wrong. You can completely ignore the information about the "fqdngw" key and certification. You only need to create on key and one certificate for both the phone and the VPN gateway. Put them into /etc/ipsec.d/private and /etc/ipsec.d/certs, respectively. You do need to put the server certificate in as it says. And the "RSA" entry in ipsec.secrets is wrong, it should be the key that you put into the private directory, not the name on the web page.
    I was able to get RSA to work with this, but it was annoying as the phone asks you occasionally for the key store password. So I'm using PSK (with a good password).
    Creating the keys is easier than it described in the web page due to some better software begin available from Nokia. Unfortunately, it only runs on windows. You can get it at http://businesssoftware.nokia.com/mobile_vpn_downloads.php, it's named "Nokia Mobile VPN Client Policy Tool for Microsoft Windows". The settings in the tool can be directly accessed with the "Advanced view" options, you need to set the values up as described in the tool, but you need to set the mode to "X509 DN" if you use RSA.
    You can also do this all on Linux, perhaps, you can search around with Google and find that information.
    Things that I like
    The phone is very fast. Viewing web pages on my old Motorola v3xx seemed to be limited by the rendering speed of the web browser, not the bandwidth. Not so with this phone.
    The email works quite well, in general.
    Wireless LAN access works well.
    SIP worked perfectly the first time with Gizmo (I already had a Gizmo account, highly recommended). This will be really useful when I travel internationally.
    I use Scheduleworld to sync my schedule and contacts with Google calendar. The syncing was very fast and worked perfectly. It also syncs Notes, which was one of the most annoying things missing on my Motorola v3xx. (It didn't have notes at all, in fact.)
    The main screen is quite functional for me. I could set everything up like I wanted, and it has useful information.
    You can run multiple things at the same time! I really hated that about the Motorola v3xx.
    The battery meter seems to work correctly. The one on my Motorola v3xx was worthless.
    Thinks I don't like
    The IMAP mail works well for most everything, but you cannot move messages between folders. Since I use spamassasin, I have a special folder that spamassasin detects spam in, and another non-spam folder. But I can't read them move the mails to the various folders. I really don't like this.
    Voice dialing is completely useless for a number of reasons:
    1) It seems rather unstable, and often causes my phone to reset. Oddly enough, this has been getting better over time, perhaps due to the voice learning.
    2) Even if it didn't cause my phone to reset, it doesn't seem to work well. I know it learns, but my Motorola v3xx didn't have any learning and worked quite well.
    3) Even if the word recognition worked well, it's still not usable without being able to look at the phone and press buttons. The phone has no way to say "No, I don't want that one" through a voice command. You have to be looking at the phone in case it makes a mistake (which could be embarrassing), but that completely defeats the purpose of voice command. When my Motorola v3xx did voice command, it would ask you if it was correct and allow you to go through the selections it found, completely with voice commands.
    I'm really going to miss voice dialing. Probably the greatest loss switching from the v3xx.
    The phone should use standard microUSB connecter and should charge the phone through it. My Motorola v3xx did this, and I have a bunch of these cables lying around (from various cameras and such) and a bunch of chargers. I don't understand why any phone manufacturer would want to do anything else, except to make their customers lives more difficult and tie them to the manufacturers various chargers. This really sucks.
    I've had problems with Bluetooth disconnecting the headset. It's rather annoying, and I'm not the only one who's had the problem, as can be seen by searching through these forums. I just got a Jawbone, and it doesn't seem to be nearly as bad as the H700 I have previously, though.
    You have to use XAUTH for VPN logins, at least with openswan. This is somewhat annoying. It would be very nice if Nokia could fix this (apparently the E60 didn't have this problem so it's a new problem, as evidenced in the VPN web page I posted above). If you don't use XAUTH, it seems to connect (at least from openswan's point of view) but the phone never transitions on to do the thing it was going to do.
    WLAN really sucks power. It advertises 6.9 days, but I don't even get 12 hours. I don't get the values for GSM or WCDMA, either, but 12 hours is just not enough.
    The 2.5mm audio jack really sucks. Why can't it be a standard 3.5mm jack? I had to look for a while, and I think I found a 2.5mm to 3.5mm converter that will work at http://www.atmasphere.net/wp/archives/2008/08/13/e71-recommended-accessory-javoedge-stereo-adapter
    I've noticed various glitchy problems. For instance, once I had to mailboxes connected on the same VPN at the same time, and then I disconnected one, then the other. The first one never disconnected and would not disconnect. I had to reset the phone to fix the problem. I've seen other little glitches like that, though none as bad as the resetting problem with the voice command and I've never been able to reproduce any of the other ones.
    The mapping program is not intuitive. I still haven't figured out how to use it very well. After I use it for a while I might figure it out. The ability to download maps to the phone would be nice for situations where you are not connected to the internet. I haven't done much with this. I really like the UI for Google maps, this is a big step down from there.
    VPN connections do not show up in the "Active data connections" section of the connectivity manager.
    The documentation is lacking a lot. Almost all the help on the phone is like the "Proxy port number" setting under "Access point settings". The help is "Enter the proxy port number". That kind of documentation is useless. I'd like to know what the thing does. And the browser has keyboard shortcuts, but I have no idea what they are. A scroll forward and back would be mighty handy keyboard shortcuts, and they might exist, if only someone wrote it down...
    Whew, that's a bunch, I guess, but mostly minor (and mostly correctable with a software update, hint hint). If the above things were fixed, it would make this a faultless phone, at least for me. But in addition to those, the following things would make the phone uber-cool:
    A big screen and a slider. The screen the only thing I like about the iphone (I really hate that it doesn't have a keyboard, plus you can't tether it and voice command really sucks on the iphone, too.)
    It could run Linux . Sorry, I couldn't resist.

    EXCELLENT! Could you please please post your dialling files for AT&T?? Even better if you could upload a zip of your entire /etc/ppp/peers folder that would be nicer even. I am in desperate need to get the $15 MediaNet tethering on my Fedora 10 laptop working over bluetooth, I used to do it before with T-mobile T-zones with my E61, but since then I switched to my E71 and moved my number to AT&T and my attempts to adapt my scripts to AT&T have not been successful yet however tethering under Windows XP with the Nokia PC suite works though...

  • Display Like and Share functionality in SharePoint 2013 search result

    Hello Experts,
    I dont Know whether i am asking a good question or bad one . but i am not very much expert in search.
    I have to display No of Likes , Share functionality in SharePoint Search Results. 
    i know little basic about how display templates works. i want to implement these like and share functionality as actions  in Item_common_hoverpanel_Actions template. show that i can see in preview.
    please if any body can help me . i will be highly thankful to you.
    Mukesh

    This will be difficult. The number of likes has a managed property called LikesCount but it is not populated by the search crawler. So your JavaScript will have to read the "LikesCount" field of the corresponding list item. That would be a
    lot of code to execute in the item display template just to display the number of likes. You could have a button that displayed a callout that would get the information and display it. The Sharing could be done via JavaScript in your item display template
    using a REST call. You can see an example of code to do that here:
    http://sharepointfieldnotes.blogspot.com/2014/09/sharing-documents-with-sharepoint-rest.html?showComment=1428595550241#c3227376854590814312
    Just remember the user must have permission to share these documents, so your code will have to handle this.
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • I like and use Top Sites but it has become unsuable with this constant blacking out and reloading the thumbnails.  My MBP has not seen a problem at all.   I have been searching every other day for over a month trying to find a fix in Windows Safari with n

    I like and use Top Sites but it has become unsuable with this constant blacking out and reloading the thumbnails.  My MBP has not seen a problem at all.
    I have been searching every other day for over a month trying to find a fix in Windows Safari with no joy.  I want to resolve, not switch browsers. Please offer up a solution that only refreshes the Top Site thumbnails once a day or as some controlable interval.  Started about two versions ago, now on ver 5.1.5. Windows 7 64bit.
    Safari 5.1.5 for Win64 bit, Windows 7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    I think I solved the wifi connection problem, just by switching off completely the router! sounds trivial, but in this case it worked!!!
    the funny behaviour of the trackpad/cursor still persists. any suggestion???
    thanks again

  • Looking for a journaling app that looks like and old fashion journal and alowws dictation and editing

    Looking for a journaling app the allows dictation and editing and would look like and old fashion journal book that I can put in my iBook shelf.

    You won't be able to put an app in iBooks. The only things you can put in iBooks are eBooks and PDFs. As far as narrowing down the list of possible apps, what ones have you looked at already when you searched the app store?

  • SQL Query returns values like "---" and "NA"

    Hi
              When I execute a sql query in MII it returns values like "---" and "NA" for empty Char and numeric fields respectively.
    I have checked the database and made sure that these fields does not have any value. This happens only when I run the query through MII. Can any one know how can we get rid of these values?
    Thanks in advance
    Shaji

    Shaji,
    MII sets those values as a default if it discovers null values in a query result. You can change this default behaviour in several ways.
    First, have a look at the document [Setting custom null values in XML|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70628af0-8ec4-2c10-7da2-f451e412dd8f?quicklink=index&overridelayout=true]. Then you may also use SQL functions like [NVL|http://www.techonthenet.com/oracle/functions/nvl.php] to change the value directly in the SQL query. You can also change the value inside the MII BLT to whatever you need.
    Michael

  • LIKE and Type in abap statements

    Hello  All ,
    I have a question regarding the 'Like' and' Type' 
    I have created a badi XXX , The method has a changing parameter 'A'  which is referenced to a structure .
    The typing method I have mentioned in the method ( in the parameter list ) is TYPE .( I feel it should  have been Like ). Can this cause an issue while writing abap statements in the method ?
    Thanks in advance .
    Best Regards,
    swetha

    Hi Swetha,
    Check out the below link for your question.
    what is the difference between type and like
    Re: what is the difference between type and like
    Re: what is the difference between type and like
    Thanks,
    Chidanand

  • Wrong result for query with like and %

    I have a strange problem with query with like and %.
    When I run this script:
    ALTER SESSION SET NLS_SORT = 'BINARY_CI';
    ALTER SESSION SET NLS_COMP = 'LINGUISTIC';
    -- SELECT * FROM NLS_SESSION_PARAMETERS;
    -- drop table test1;
    CREATE TABLE TEST1(K1 NVARCHAR2(80));
    INSERT INTO TEST1 VALUES ('gsdk');
    INSERT INTO TEST1 VALUES ('ąxyz');
    INSERT INTO TEST1 VALUES ('ŁFa');
    INSERT INTO TEST1 VALUES ('ła');
    INSERT INTO TEST1 VALUES ('Śab');
    INSERT INTO TEST1 VALUES ('Śrrrb');
    commit;
    select * from TEST1 where k1 like N'Ł%';
    I get this:
    K1
    ŁFa
    ła
    Śab <- WRONG
    Śrrrb <- WRONG
    4 rows selected
    When i change datatype to varchar2 this code work correct.
    Is this a bug or what ?
    The execution plan:
    PLAN_TABLE_OUTPUT
    SQL_ID d3d64aupz4bb5, child number 2
    select * from TEST1 where k1 like N'Ł%'
    Plan hash value: 4122059633
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | | | 2 (100)| |
    |* 1 | TABLE ACCESS FULL| TEST1 | 1 | 82 | 2 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    1 - filter((NLSSORT("K1",'nls_sort=''BINARY_CI''')>=HEXTORAW('014200'
    ) AND NLSSORT("K1",'nls_sort=''BINARY_CI''')<HEXTORAW('01610100') ))
    Note
    - dynamic sampling used for this statement (level=2)

    DATABASE NLS CONFIGURATION:
    NLS_CHARACTERSET AL32UTF8
    NLS_NCHAR_CHARACTERSET     AL16UTF16
    NLS_COMP     BINARY
    NLS_SORT     BINARY
    Oracle version 11.2.0.2.0

  • Using LIKE and IN at the same time

    Is it possible to use both LIKE and IN at the same time such as:
    select first_name from emp where user_id LIKE IN('1%','2%')
    Thanks in advance
    --Joshua                                                                                                                                                                                                                                                                                                                                   

    Or consider the IN - parameters as a string. Then you can do the following:
    SQL> SELECT ename
      FROM emp
    WHERE EXISTS (
              SELECT NULL
                FROM (SELECT RTRIM (SUBSTR (nums,
                                            INSTR (nums, ',', 1, iter.pos) + 1,
                                              INSTR (nums, ',', 1, iter.pos + 1)
                                            - INSTR (nums, ',', 1, iter.pos)
                                   ) nums
                        FROM (SELECT ',' || 'SCO,BLA,CLA' || ',' nums
                                FROM DUAL) csv,
                             (SELECT ROWNUM pos
                                FROM all_objects
                               WHERE ROWNUM < 50) iter
                       WHERE iter.pos <=
                                  (  (  LENGTH (csv.nums)
                                      - LENGTH (REPLACE (csv.nums, ','))
                                   / LENGTH (',')
                                - 1)
               WHERE ename LIKE '%' || nums || '%')
    ENAME    
    BLAKE    
    CLARK    
    SCOTT    
    3 rows selected.

  • ABAP/4 Open SQL statement with WHERE ... LIKE and pattern too long

    Dear All,
    I am getting an error "ABAP/4 Open SQL statement with WHERE ... LIKE and pattern too long" while executing the following statement:
    CLEAR LS_RANGE.
    LS_RANGE-SIGN     = 'I'
    +LS_RANGE-OPTION     = 'CP'     +
    LS_RANGE-LOW     = 'S_ADMI_FCD'
    LS_RANGE-HIGH     = 'S_ADMI_FCD'
    COLLECT LS_RANGE INTO LT_RANGE.
    SELECT *
               FROM UST12
               INTO CORRESPONDING FIELDS OF TABLE LT_OBJECT_VALUES
               WHERE FIELD IN LT_RANGE
               AND AKTPS   = 'A'.
    For options like BT(Between), EQ(Equal) in range table, this above query is executing without dump. But for option CP, it simply dumps & in dump what i found is, it is concatenating the value in low & high.
    Does anyone have any idea regarding open sql using range tables.
    Thanks,
    Bhupinder

    Hi,
    I commented as follows:
    If  LS_RANGE-HIGH is empty, you can use EQ, NE, GT, LE, LT,CP, and NP. These operators are the same as those that are used for logical expressions. Yet operators CP and NP do not have the full functional scope they have in normal logical expressions. They are only allowed if wildcards ( '*' or '+' ) are used in the input fields. If wildcards are entered on the selection screen, the system automatically uses the operator CP.
    If  LS_RANGE-HIGH  is filled, you can use BT (BeTween) and NB (Not Between). These operators correspond to BETWEEN and NOT BETWEEN that you use when you check if a field belongs to a range. You cannot use wildcard characters.
    You can try:
    CLEAR LS_RANGE.
    LS_RANGE-SIGN = 'I'.
    +LS_RANGE-OPTION = 'CP' +
    LS_RANGE-LOW = 'S_ADMI_FCD'.
    LS_RANGE-HIGH = 'S_ADMI_FCD'.
    FIND '*' IN LS_RANGE.
    IF sy-subrc = 0.
      LS_RANGE-OPTION = 'CP'.
    ELSE.
      LS_RANGE-OPTION = 'EQ'.
    ENDIF.
    COLLECT LS_RANGE INTO LT_RANGE.
    SELECT *
    FROM UST12
    INTO CORRESPONDING FIELDS OF TABLE LT_OBJECT_VALUES
    WHERE FIELD IN LT_RANGE
    AND AKTPS = 'A'.
    If you use wildcards the LS_RANGE  length should not exceed 10 characters.
    Hope this information is help to you.
    Regards,
    José

  • How to create process chains,and how to use process like and or xor

    Hi,
    How to create process chains,and how to use process like and or xor.
    can any one please give me a example in each.
    Thanks,
    cheta.

    Hi Cheta,
    Here is step by step procedure to create process chains
    Process chain is nothing but executing a process ..(or) loading the data any process we can do in background.. that means.. automatically we can execute our process based on Time or any event..
    Creating Process Chains
    Prerequisites
    If you want to include a load process in the process chain, you need to have already created an InfoPackage.
    You cannot load flat file data from a client workstation in the background. For this reason, you have stored your data on an application server.
    Creating Process Chains
    You have the option of creating a process chain in the process chain maintenance screen directly or by using a maintenance dialog for a process:
    Creating a Process Chain Directly in the Process Chain Maintenance Screen
    You are in the BW Administrator Workbench.
    1. Click on the Process Chain Maintenance icon in the AWB toolbar.
    The Process Chain Selection dialog window appears.
    2. Choose Create.
    3. Enter the technical name and a description of the chain, and confirm your entry.
    The Add Start Process dialog window appears.
    4. Create a variant for a start process.
    1. a. On the Maintain Start Process screen, choose whether you want to schedule the chain directly or whether you want to start it using a metachain.
    2. b. If you choose to schedule the chain directly, enter the start date value for the chain under Change Selections and save your entries.
    The Maintain Start Process screen appears again.
    3. c. Save your entries, return to the previous screen and confirm your entries in the Add Start Process dialog window.
    You are taken to the Plan View of the process chain maintenance screen.
    In the left-hand area of the screen, a navigation area is displayed. In the right-hand area of the screen, the process chain is displayed.
    5. Use the drag-and-drop function to add the relevant processes into your process chain.
    You use the Process Types function to select the processes. This sorts the process types according to different categories. You can also call up InfoPackages and processes for the data target from the separate InfoSources and Data Targets navigation trees.
    Hope this helps
    Regards
    Karthik

  • My mum is always using my iPad and I want to set mode if you like that she can log in as some one different and use apps she likes and I can use a diFferent log in and use different apps and stuff

    My mum is always using my iPad and I want to set mode if you like that she can log in as some one different and use apps she likes and I can use a diFferent log in and use different apps and stuff

    iOS 7 does not support multiple user accounts like you want.
    If all the apps are different, you could set her up with her own page of apps, then just show her how to get to her apps page, or just buy her an iPad for herself.

  • How to have like and comment option for Asset Library video in SharePoint2013?

    Hi All,
    In an Assert Library, user can able to upload videos. Once uploaded other users in that site should have options such as like and comments. How to achieve this scenario?
    Thanks in advance!

    Hi,
    For this scenario we have "Site feed" in "Site collaboration" category of webpart,you can add in displayform.
    Make sure to activate "Site feed" in site feature.
    Whenever you see a reply and if you think is helpful, click "Alternate TextVote As Helpful"! And whenever you see a reply being an answer to the question of the thread, click "Alternate TextMark As Answer

  • Like and type...

    Kindly let me know when I have to use LIKE and when I have to use TYPE Exactly.
    What is the difference b/w both..
    Akshihta.

    hi,
    <b>TYPE <type></b>
    to refer to any data type <type> that is already known at this point in the program. It can be used in any of the statements listed below. The expression <obj> is either the name of the data object or the expression.
    <b>ABAP Statements with TYPE References</b>
    Definition of local program types using
    TYPES <t> TYPE <type>.
    The new data type <t> has the same type as <type>.
    Declaration of data objects using
    DATA <f> TYPE <type>.
    CLASS-DATA <f> TYPE <type>.
    CONSTANTS <f> TYPE <type>.
    STATICS <f> TYPE <type>.
    PARAMETERS <f> TYPE <type>.
    The data object <f> has a data type corresponding to the type <type>.
    Dynamic creation of data objects using
    CREATE DATA <dref> TYPE <type>.
    Specification of the type of a formal parameter in a subroutine using
    FORM <sub> ... USING|CHANGING <p> TYPE <type> ...
    The technical attributes of the formal parameter <p> are inherited from those of the declared data type <type>. You can then only pass actual parameters that have these attributes.
    Specification of the type of a formal parameter in a method using
    METHODS <meth> ... IMPORTING|EXPORTING|CHANGING <p> TYPE <type> ...
    The technical attributes of the formal parameter <p> are inherited from those of the declared data type <type>. You can then only pass actual parameters that have these attributes.
    Specification of the type of a field symbol
    FIELD-SYMBOLS <fs> TYPE <type>.
    You use the LIKE addition, similarly to the TYP E addition , in various ABAP statements for defining data types and specifying the types of interface parameters or field symbols. The addition
    <b>LIKE <obj>.</b>
    ABAP Statements with LIKE References
    Definition of local types in a program using
    TYPES <t> LIKE <obj>.
    The new data type <t> inherits all of the technical attributes of the data object <obj>.
    Declaration of data objects using
    DATA <f> LIKE <obj>.
    CLASS-DATA <f> LIKE <obj>.
    CONSTANTS <f> LIKE <obj>.
    STATICS <f> LIKE <obj>.
    PARAMETERS <f> LIKE <obj>.
    The data object <f> inherits all of the technical attributes of the data object <obj>.
    Dynamic creation of data objects using
    CREATE DATA <dref> LIKE <obj>.
    Specification of the type of a formal parameter in a subroutine using
    FORM <sub> ... USING|CHANGING <p> LIKE <obj> ...
    The technical attributes of the formal parameter <p> are inherited from those of the declared data object <obj>. You can then only pass actual parameters that have these attributes.
    Specification of the type of a formal parameter in a method using
    METHODS <meth> ... IMPORTING|EXPORTING|CHANGING <p> LIKE <obj> ...
    The technical attributes of the formal parameter <p> are inherited from those of the declared data type <type>. You can then only pass actual parameters that have these attributes.
    Specification of the type of a field symbol
    FIELD-SYMBOLS <fs> LIKE <obj>.
    The technical attributes of the field symbol <FS> are inherited from those of the declared data object <obj>. You can then only assign data objects that have these attributes.
    <b>You should also avoid using the LIKE addition in other ABAP programs except to refer to data objects</b>
    regards,
    Ashokreddy.

  • NVARCHAR2 and NCHAR detection

    I'd tried to import tables from oracle 9i into Toplinks Workbench. For each table a descriptor was created and all fields where detected correctly, except fields of type NVARCHAR2 and NCHAR. These fields are now undefined. I could specify them manually, but there are a lot of them and the field lengths are also missing.
    Has this bug already bin fixed? Is there a workaround to force Toplink detecting fields of type NVARCHAR2 and NCHAR?
    Thanks.

    Hi Leslie,
    actually I'm using release 9.0.3, build 425. In the meantime I already completed the Descriptors manually. A monotone job, but now its running.
    Regards.

Maybe you are looking for

  • Can't connect to the iTunes store after upgrading to iTunes 8

    I just updated to iTunes 8 and am trying to download the iPhone update. Whenever I try to get the download, I keep getting an error saying that a connection could not be made and I should check my internet connection. Is there a problem with the iTun

  • Use of activity types and cost splitting

    Hi All, We would like to track activities for cost centers, but don't necessarily have the need for a sending cost center/object.  I understand in a traditional manufacturing set-up, you have sending and receiving cost objects that incorporate the us

  • BI Answers connection problem

    Hi I am getting the below error when I am trying to see the result in BI Answer Odbc driver returned an error (SQLExecDirectW). Error Details Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10

  • Possible to use an icon other than the default when building a distribution executable for a third party customer ?

    I build stand-alone exe's for customers, and would like to know if in the "Build Distribution Kit" dialog there is an option for using a non-standard icon? If not, what else will work...? Thanks.

  • Image loading problem

    I've been having a problem with my app that is designed to take an image, scale it into 3 different sizes and then save it. The problem seems to be that the image doesn't load correctly as when I look at the width and height of it, they come back as