Select only the first 10 letters of a field...

Hi Guys,
How is the correct select statement, if I'd like to compare just the first 10 letters from a field with an other field? '+0(10)' did not work...
select * from /BIC/AWEGLRDU200 into table IT_AWEGLRDU200
                                         where /BIC/WE_AWKEY+0(10) =
                                         <RESULT_FIELDS>-/BIC/ME_BELNR
                                         AND /BIC/WE_AWTYP NE 'BKPF'.
Thanks...

Basic question locked.
Try F1 on SELECT

Similar Messages

  • Apparently I inadverdently clicked on something that changed my address book listings to showing only the first three letters of each name -

    the column showing my address book now shows only the first three characters of each name
    it's like they have all been abbreviated
    I have to try and decipher the name from those three characters before clicking
    to see the
    person's address window with the full information
    I would like to be able to read the entire name- first & last like before
    Thank you in advance

    try dragging the column heading to make the column wider

  • Only the first page is printed reduced as setup. All pages afterward are full size with information cut off. Recent problem. Can print from Safari just fine. How can I get all pages to be reduced size?

    Question
    Printing internet pages
    Reduced print size
    Only the first page is reduced and printed as desired
    All pages after the first page are full size with information cut off
    Recent problem never seen before
    Can print from Safari and other software just fine
    How can I get all pages to be reduced size?

    One suggestion worked from the Firefox prints incorrectly link mentioned above by mha007. I'm thrilled since this has been annoying me for weeks. Thanks mha007!
    Reset all Firefox printer settings
    # Open your profile folder:
    # On the menu bar, click on the Help menu and select Troubleshooting Information. The Troubleshooting Information tab will open.
    # Under the Application Basics section, click on Show in Finder. A window with your profile folder will open.
    # Note: If you are unable to open or use Firefox, follow the instructions in Finding your profile without opening Firefox.
    # On the menu bar, click on the Firefox menu and select Quit Firefox.
    # In your profile folder, copy the prefs.js file to another folder to make a backup of it.
    # Open the original prefs.js file in a text editor (such as TextEdit).
    # Remove all lines in prefs.js that start with print. and save the file.
    # If something goes wrong when you open Firefox, close it again and overwrite prefs.js with the backup you made.

  • Drop Down Box Choose A Name and Have only the first name show up

    I am creating a form for health care.
    I have a drop down box with names of Physicians... their full names so they can be easily identified. And then subsequent fields that will be populated based off of the choice. However What I need is that after the full name from the drop down list is selected than only the Dr's First name shows up in the box to be distributed through out the file. All the rest of the information is already in using this Java:
    switch(this.rawValue){
        case "MD":
            form1.Page1.Physician1LastName.rawValue = " Acccc";
            form1.Page1.Physician1Number.rawValue = "1111111111";
            form1.Page1.Physician1Fax.rawValue = "2222222222";
            form1.Page1.ClientEmail.rawValue = "[email protected]";
            form1.Page1.Physician1Address.rawValue = "xyz suite ";
            form1.Page1.Physician1City.rawValue = "XYY CIth";
            form1.Page1.Physician1State.rawValue = "XZ";
            form1.Page1.Physician1Zip.rawValue = "11111";
            form1.Page1.Physician1NPI.rawValue = "111111111";
            form1.Page1.Physician1License.rawValue = "ABBB111111";
            form1.Page1.Physician1UPIN.rawValue = "A11111";
            form1.Page1.Physician1Specialization.rawValue = "Internist";
            break;
    And is working beautifully thanks for previous help everyone.
    Here is the example from the Drop Down list choices:
         Dr. Aaaaa Abb Accccc
         Dr. Baaaa Bbb Bccccc
    I would like to choose :
         Dr. Aaaaa A Aaaaa
    and upon chosing it have it show only the first name in that field so it can be processed correctly through out the rest of the fields.
    ie:    Aaaaa   (Only nothing else)
    I am a horrible at this stuff I just surf around until I find something that works and copy and paste and play until it works
    So Please be specific:
    Java vs FOrm: Client: Choice   and code ....
    Thanks SO much ....

    Take a look at the attached. The script assumes the name is a three-part string such as Dr. Frank Burns. You can modify it according to your needs.
    // form1.page1.dd::exit - (JavaScript, client)
    if (this.rawValue != null) {
      var doc = this.rawValue;
      var i = doc.indexOf(" ");
      doc = doc.substring(i+1,doc.length);
      this.rawValue = doc.substring(0,doc.indexOf(" "));
    Steve

  • How do you get Groups to work on the IPAD? They imported and show in Address Book but when used, only the first address picks up.

    How do you get Groups to work on the IPAD. They show in address book but only the first name is used when entering.

    When you select the bookmark on the upper left, you should be able to see multiple groups.
    For the groups page, select the bookmark on the upper right to see the individual entries.

  • How to replace only the first specified character in a string and leave other occurrence of the character alone.

    Hello my Friends:
    I have a string that looks like this in a column:
    Hello, World, Hello, Planet
    I want to replace only the first occurrence so that the result looks like this:
    Hello World, Hello, Planet
    Working on some bad data source.
    I need to replace the character regardless of it's location as long as it is the first.
    I tried something like this, but I soon discovered that if the comma or character is missing the the string may get truncated or altered. If there are no characters in the string, then I want to simply leave it alone.
    Here is where I am at:
    DECLARE @MyValue NVARCHAR(MAX) = 'Hello, World, Hello, Planet';
    SELECT MyString = STUFF('Hello, World', CHARINDEX(',', @MyValue, 0), 1, ' ');
    Thanks my friends.

    I have a string that looks like this in a column:
    Hello, World, Hello, Planet
    Why doesn't it say Hello Kitty?
    Oh, sorry about that. Anyway:
    SELECT MyString = CASE WHEN CHARINDEX(',', @MyValue, 0) >= 1
                           THEN STUFF(MyString, CHARINDEX(',', @MyValue, 0), 1, ' ')
                           ELSE MyString
                     END;
    Erland Sommarskog, SQL Server MVP, [email protected]
    Erland, love you sense of humor!! :)
    Thanks for the solution.

  • af:table, only the first row of the table is effect

    Hi experts,
    I have an issue about using the <af:table, needs your help:
    1.The default selected line is the first line of the table(This should be ok).
    2.Only the first line can react to my manipulate, such as select one line and click delete button.
    3.While choosing the other line-->click the command button, the page will be refreshed and the selected one will turned to the first line. (Now the selected row, will be the first row). And will do nothing ,and has no action with the command button.
    I have an page OVS_Server.jspx, parts of it is :
    <af:table value="#{backVS.serverList}"
    var="row" rows="20"
    emptyText="#{globalRes['ovs.site.noRows']}"
    binding="#{backing_app_broker_OVS_Server.serverListTable}"
    id="serverListTable" width="100%"
    partialTriggers="poll1 commandButton_refresh commandButton_searchServer"
    selectionListener="#{backing_app_broker_OVS_Server.onSelect}">
    <f:facet name="selection">
    <af:tableSelectOne text="#{globalRes['ovs.site.selectAnd']}" autoSubmit="true"
    id="tableSelectOne" required="false">
    <af:commandButton text="#{globalRes['ovs.site.server.poweroff']}"
    id="commandButton_powerOff"
    action="#{backing_app_broker_OVS_Server.powerOffAction}"
    partialTriggers="tableSelectOne"
    disabled="#{backing_app_broker_OVS_Server.unreachableServer}"
    />
    <af:commandButton text="#{globalRes['ovs.site.edit']}"
    id="commandButton_edit"
    action="#{backing_app_broker_OVS_Server.editAction}"
    />
    <af:commandButton text="#{globalRes['ovs.site.delete']}"
    id="commandButton_delete"
    action="#{backing_app_broker_OVS_Server.deleteAction}"
    />
    </f:facet>
    <af:column sortProperty="ip" sortable="true"
    headerText="#{globalRes['ovs.site.serverHost2']}"
    id="column_ip">
    <af:commandLink text="#{row.ip}"
    id="commandLink_ip"
    shortDesc="#{globalRes['ovs.site.viewUpdateDetails']}"
    action="#{backing_app_broker_OVS_Server.viewAction}"
    immediate="true"/>
    </af:column>
    <af:column sortProperty="serverName" sortable="true"
    headerText="#{globalRes['ovs.site.serverName']}"
    id="column_serverName">
    <af:outputText value="#{row.serverName}"/>
    </af:column>
    </af:table>
    One JavaBean OVS_Server.java,and part of it is :
    public class OVS_Server {
    private CoreTable serverListTable;
    private VirtualServer selectedServer;
    public void onSelect(SelectionEvent selectionEvent) {
    selectedServer = (VirtualServer)serverListTable.getSelectedRowData();
    public String deleteAction(){
    if (selectedServer!=null) {
    deleteServerOper.execute();
    return "deleteServer";
    Would anyone show some lights on it?
    Thank you very much.

    Thank you for your reply!
    But the example you mentioned also has the issue like one of the comments :
    "Hi, on selecting the first row it displays the correct value, when navigating to another row still it displays the old value and not fetching the new selected row, actually I can see this on your sample screen shots... is there any way we can fix??"
    Is there any resolution?

  • HT201272 I downloaded a song but only the first 30 seconds will play. How do I fix this?

    I downloaded a song but only the first 30 seconds will play. How do I fix this?

    Welcome to the Apple Community.
    Try deleting the problematic tune (electing to remove original file if/when prompted) and then re-downloading the file from the iTunes store.
    You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option from the Quick Links section in the top right corner of the iTunes homepage in your iTunes application on your computer.
    You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option at the bottom of the screen of the iTunes app (or video app on your iOS device.
    If the problem re-occurs, select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History using your computer.

  • Choice displays only the first option.

    hi,
    I am having problem with the "Choice" menu i created. It is displaying only the first choice option, though i select other choices...Meaning, it's displaying only "23.0" whatever other values i select...any suggetions?
    Thanks in advance.
    public class equalneutron extends Applet implements MouseListener{
    //        ... (variable declaration)
             Choice distance = new Choice();   
             public void init() {       
               addMouseListener(this);       
               distance.addItem("23Mpc");       
               distance.addItem("60Mpc");       
               distance.addItem("100Mpc");       
               distance.addItem("200Mpc");       
               distance.addItem("500Mpc");       
               distance.addItem("1000Mpc");       
               r_Mpc=distance.getSelectedItem();       
               add(distance, BorderLayout.NORTH);       
               ItemListener il = new ItemListener() {       
                   public void itemStateChanged(ItemEvent ee){                         
                       if(r_Mpc.equals("23Mpc")){               
                           r = 23.0F;           
                      }else if(r_Mpc.equals("60Mpc")){               
                           r = 60.0F;                           
                      }else if(r_Mpc.equals("100Mpc")){               
                           r = 100.0F;           
                      }else if(r_Mpc.equals("200Mpc")){               
                           r = 200.0F;           
                      }else if(r_Mpc.equals("500Mpc")){               
                           r = 500.0F;
                      }else if(r_Mpc.equals("1000Mpc")){
                           r = 1000.0F;
    distance.addItemListener(il);   
    // ...... rest of the code

    it is allways returning 23.0 because tou've initialized r_MPC to the selected value which is 23.0 at the beginning.
    You must reask the selected value in the listener :
    ItemListener il = new ItemListener() {                      
    public void itemStateChanged(ItemEvent ee){
    String selected = distance.getSelectedValue().toString();
    // the rest of your code
    hope it'll help

  • Taking action only the first time an event executes

    I want a certain action to occur only the first time an event handler for a button is called. Is there a simple way to do this?
    Bill F

    There are two pretty easy ways to do this.
    If you want to continue to trap other events (other event cases in your event structure), use a shift register:
    1. Add a shift register to the loop containing your event structure. (right-click on the left-hand border of your loop and select Add Shift Register).
    2. Wire a numeric constant = 0 from outside the loop to the input (left-hand) terminal of your shift register.
    3. Inside your event structure, in the event case you want to handle only once, put a case structure around the code you want to execute only once. That code should be within the True case.
    4. Add an Equal To 0? function (from the comparison palette) to the loop. Wire the input shift register to the input of Equal To 0?. Wire the output of Equal To 0? t
    o the selctor for your new case.
    5. Within the True case of your new case structure, add a numeric constant = 1. Wire that constant out to the output (right-hand) side of your shift register.
    6. Within the False case of your new case structure, wire the input side of your shift register to the output tunnel created by the wiring in step 5.
    This way the event structure will keep running and handling other events, but the case you just modified will only run the first time: the first time you get the event, the shift register will = 0 so you'll execute the True case of your new case structure. Within that case, you set the shift register to 1. The next time you get that event, the shift register = 1, not 0, so you'll execute the False case and not the code in your True case.
    If you want to stop all event handling after the first event and your event handler is the only thing with its loop, from the event case (for the event you want to stop on), wire a True boolean constant out to
    the Stop terminal of the loop containing your event structure.

  • Map with 500 pdfs. How to make a new file with only the first pages, new file with second pages etc.

    Hi,
    A client confronted me with the next question:
    I have a map with 500 pdf's in it.
    Is it possible to make a new file with only the first page of each pdf?
    After that to make a new file with only the second page of each pdf?
    And after that the third?
    Etc.
    Is that possible with an action?
    Or are there scripts for?
    I couldn't find them.
    I use an iMac with Acrobat XI.
    Any help is very welcome.
    Thanks in advance.
    Bornholm

    You can extract each page from each pdf as a seperate page.     Once this is done you can select the pages tocombine.
    You would have to write custom a custom JavaScript and programatically code the names to combine if the extracted file pages habvestandars naming that could  be programed. There maybe some security  coding you will have to do because of Adobe restrictions but this all documented in the Acrobat JavaScript Reference.

  • I can't get the entire serial number off my 5s.I do not have the original box or paperwork.All I find at ABOUT is the first nine letters and numbers followed by three ...-please help.

    5s,64 GB, with IOS 8.1.3, seems to have battery draining problem I just became aware of after just acquiring this phone. I can't get the entire serial number off the phone after going to GENERAL,ABOUT, and down to serial number. I only get the first nine letters and number with three ...---Need  to get this info to check with Apple and see if this phone indeed has this draining  battery issue and get it repaired. Tried using info from the Apple site to get the entire serial number and couldn't get it to work. Thanks for all help.

    rjcurtis wrote:
    ---Need  to get this info to check with Apple and see if this phone indeed has this draining  battery issue and get it repaired.
    What “draining issue”?
    The iPhone 5 has a battery replacement program but it does not include the 5S.
    I can't get the entire serial number off the phone after going to GENERAL,ABOUT, and down to serial number. I only get the first nine letters and number with three ...---
    See this -> Find the serial number and other information for your iPhone, iPad, and iPod touch - Apple Support
    "On most iOS devices, you can tap Settings > General > About to see your device's serial number, IMEI/MEID, and ICCID. If you're using iOS 6 or later, you can tap and hold on the number to use the copy option, then paste this information into Apple registration or support forms."

  • Export QT slideshow and only the first song plays.

    I did not have this problem with the previous version. All songs are from a playlist and are not purchased on iTunes. The slide show plays fine in iPhoto and then when exported only the first song plays in the QT version and after it silence. Can anyone help with this?

    Hi Dave,
    This seems to be a new bug introduced after one of the updates.
    Only one song exporting with Slideshows
    Right now, this seems to be a know problem/bug. There have been some work-arounds. Don't know if the problem is with iPhoto, Quicktime or a combo of both.
    -From Bob Worthington: re-ripping the cuts I wanted as background music for the DVD as a single cut in iTunes. I then made a playlist containing the one extended cut of music.
    -Old Toad: share to Quicktime from iPhoto and then import the resulting movie into iMovie you can extract and delete the audio from the video and add the two songs to the video and save.
    Quicktime Pro-open the movie and bring up the Movie Properties menu window. In the top window select the audio track and delete it.
    If you want more than one song you'll have to join them together with iMovie or some other application. Then open that joined file with QT Player. Then do a select all and copy. Now go to the QT window of the movie and select the Edit->Add to Movie menu option. You don't want to scale it because it will change the play speed of the audio unless it's time is exactly the same as the movie.
    You could go the other way, open the movie, select all and copy, and then past with scaling to the audio. That will change the speed of the movie and transitions to fit the audio track. In this case the resulting video file will have the name of the audio track file that you started with.
    You may have to play with it a bit to get exactly what you want. Be sure to work with copies of all the media files for the project.
    -Peter Burtwistle: I opened the Qt movie that iPhoto makes when you export to iDVD and removed the sound track.
    Then made a new soundtrack by opening all three songs in QT, then cutting and pasting them together.
    Finally use QT Pro's 'Add to Movie" option to add the soundtrack to the original movie.
    This worked well and was fast to do too.
    -Joe Lombardo: I ended up having to extend the songs by 20 seconds so I brought them all into GarageBand and made some edits. Then I exported them all to iTunes as a single track and used that for the slideshow
    Lori

  • TS3276 Hello. When trying to forward a multiple page PDF document, only the first page appears. Does anyone know how to fix this. TY

    Hello. When trying to forward a multiple page PDF document, only the first page appears. Does anyone know how to fix this. TY

    Are you sure?   I believe the mail program only previews the first page for you, but sends the whole attachment.  Try opening the attachment (e.g., select and hit spacebar for a preview of the whole thing, or by double-clicking it, or control-clicking then "Open...")  You should see the whole document.

  • HAVING A PROBLEM WHEN I PRINT A WEB PAGE WHICH IS MORE THAT ONE PAGE LONG. ONLY THE FIRST PAGE PRINTS TO SCALE...THE REMAINING PAGES PRINT OFF THE PAGE????HELP-IT IS DEFINITELY A PROBLEM WITH FIREFOX BECAUSE IT DOES NOT HAPPEN WITH SAFARI???

    Question
    HAVING A PROBLEM WHEN I PRINT A WEB PAGE WHICH IS MORE THAT ONE PAGE LONG. ONLY THE FIRST PAGE PRINTS TO SCALE...THE REMAINING PAGES PRINT OFF THE PAGE????HELP-IT IS DEFINITELY A PROBLEM WITH FIREFOX BECAUSE IT DOES NOT HAPPEN WITH SAFARI??

    Thank you for the response. I tried to fix the problem with some of the suggestions on that page, but none seem to work. I believe that is the only website that I'm having that problem on. I got to fooling with it a bit more and when I highlight the whole page and select to print the selected area, it actually prints the whole page then, but it won't do it as a default. I guess I can just do it like that from now on, but I thought there would be something in the settings that I could have changed. Thanks again for the help.

Maybe you are looking for

  • Incorrect birthdays in ical and contacts

    I have two birthday fields showing in my contacts, one for the correct day and one for the day before. The incorrect field is the one that shows in my iCal calendar. I can't remember how or when I entered birthdays - it could have been way back when

  • Can I sync iPad on two computers?

    Is it possible to sync them using both my MBP and my iMac?

  • Unidentifi​ed Subscriber and number not recognised voice message

    I have read a few theories on the above. I have one number that today started showing the red cross and unidentified subscriber message. Earlier I had called the number and it said "number not recognised" yet it was contactable previously. Very frust

  • Mapping of records in file to one BAPI

    Hi Is it possible if I have a file with two different type of records and which needs to be mapped to two different structures of BAPI. How can this be done. Regards Rinku

  • Wirelessly networking Macbook Pro with Powerbook G4

    I have a Macbook Pro, and a Powerbook G4. Both running Tiger. Both connected fine to the internet via Dlink wireless router. But when I click in Macintosh HD -> Network, neither of them show the other in the list. I want to be able to move files betw