How to use "FIND FIRST OCURRENCE...." with a very long text

When I store a certain text in variable p_texto  -> FIND FIRST OCURRENCE is ok; sy-subrc = 0.
When Instead of assigning a text I read a long text from an excel into p_texto variable ->
FIND FIRST OCURRENCE is not working; sy-subrc = 4.
  DATA: p_texto(5000).
  DATA: posicion TYPE match_result.
  p_texto = 'HI THIS IS THE FIRST LINE#AND THIS ONE THE SECOND LINE'.
  FIND FIRST OCCURRENCE OF '#' IN p_texto RESULTS posicion.
  How could I manage this problem?
  Thank you very much in advance.

As I told you before, the problem is not the length of the line.
The problem is that you see in your variable "#", but it is not "#". It could be a carriage return, a tabulator or other character that doesn't know how to display.
In my opinion you should search for cl_abap_char_utilities=>newline.
Regards
Andrea

Similar Messages

  • In ECC6,how to use tcode se63 to translate short and long texts?

    In sap 4.6c, I know how to use tcode se63 to translate short and long text. However, in ecc6,when i use se63 to translate abap data element short  texts, i cannot save it .A error message appare: Could not save target text  Message no. SKTY000.
    Can any body help me?

    Hi,
    This is  because o source language must be different from target language.
    regards,
    Eduardo Marcelino

  • HT201365 How to use Find my Phone with secondary iCloud account in iOS 7

    The ability to use Find my Phone with a secondary iCloud account has been removed in iOS 7.  I want to be able to track my children's phones, but don't want to share an iCloud account with them.  They know I am tracking their phones, and this worked fine for us prior to iOS 7.  On their phones, I had Find my Phone turned off under their iCloud, and then added my iCloud to their phone as a secondary account, and turned Find my Phone on under my iCloud account.  When I would launch Find my Phone on my phone, it would show me the location of all of my devices and of their phones. 
    In iOS 7, Find my Phone is not listed under the secondary account.  What is the workaround for this?  I know that I can go to a PC and log into their iCloud account and see Find my Phone that way, but I can't do that from my iPhone because it is linked to my iCloud account.
    Can I link two or more iCloud accounts in the Find my Phone app on my phone? 

    Just ignore any prompts you get. Don't click the move to iCloud button and don't visit me.com/move. Just keep using mobileme as you have been.
    The ONLY clickable button is "Open iCloud.com".  I have NO other options. (Using Mac OS on a MacPro)
    ( somehow my reply was marked as a correct answer, I did not do this, and I can find a way to remove it.)

  • How t use defferent handset (Emulator) with Eclipse --very IMP for u and me

    Hi all,
    I am using Eclipsewith ME + Suns WTK(2.2 , 2.5 and2.5.1 versions ) for devoleping Midlet Application.I have to teest my Midlet suite for
    a) MIDPI version 1.0 and CLDC 1.0 handsets
    b) MIDPI version 1.0 and CLDC 1.1 handsets
    But there are no Handsets with the above configuration available in these wtk versions.
    But I can change the cldc version in the Preference page of Eclipse
    (Eclipse>Windows>Preference>j2me>preverification>��..). &
    (Eclipse>Project Propertise>preverification...............................)
    Which among these Is the correct way?
    ====================================
    Also i got a url ---- http://developers.sun.com/mobility/device/device
    Here there are number of hand sets supports different CLDC and MIDP versions
    But how can i use this devise�s Emulators with Eclipse ME?
    Please give me a reply ,if anyone knows...........?
    ==================
    Many Many Thanks
    Bala M

    I am all new to Handheld development and saw that your useing Eclipse ME. Is there a way to get the j2me api into eclipse so the environment provides some insight? Right now im struggling in forward movement as I dont know any of the libraries and what the examples are doing or returning.
    Thanks for any information you can provide.

  • Where can I find a detailed tutorial on how to use Finder?

    Where can I find a detailed tutorial on how to use Finder?

    Start with this one:
    http://support.apple.com/kb/HT2470?viewlocale=en_US

  • How can I use find a phone with my family members but they each have there own email

    How can I use find a phone with my family's iphone when they already have email addresses?

    Welcome to the Apple Community.
    You can't use find my phone from your phone if your other family members use another iCloud account.
    You have two options depending on why you want to find the phones.
    Use find my phone at iCloud.com on a mac/PC and log in using their account.
    Use the find my friends app

  • How to use 'Find' menu in Screens

    Hi all,
    I wanted to know how to use 'Find' menu in screens.
    Actually I have created a screen through SE51 and used the pushbutton to assign the function 'Find' ( one with binoculars ). The screen uses a table control to bring all the data from the DB table in the PBO module. When the user uses FIND button the system should prompt a search pop up screen onto which he will enter the search parameter and when he enter that the corresponding line item should be displayed on the tablecontrol. I wanted to know what logic should be incorporated in the program if that pushbutton is used. Please reply immediately. Its urgent.
    Regards,
    Bhavani.
    Edited by: BHAVANI MADIREDDY on Apr 1, 2008 12:31 PM

    Hello,
    In the PAI under a module (user_command for example) when the user click the button you should use the command READ TABLE (if you look at the help, there's some options to do the READ dynamically - [http://help.sap.com/saphelp_nw04/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm]) to get the line index and with it you set the TOP_LINE of the table control ( tc_table-top_line = sy-index for example).
    Doing this the selected line will be the first in the table control on the next step (PAI/PBO).
    Regards,

  • How To Use Your Own Router with Out Loosing Verizon's FIOS Services

    How to use your own router with Verizon’s FIOS Service
    First, you need a basic understanding of how FIOS works but unfortunately there are two types of FIOS systems out there. All of the systems utilize a fiber optic cable to bring TV, phone and internet to your location over one optic cable. In addition these systems provide interactivity including widgets, remote DVR, movies on demand and so forth via an IP (Internet Protocol) signal.  Your STB (Set Tip Box) requires both a video and IP signal. The IP signal is necessary for all of the aforementioned interactivity.  The fiber cable terminates at the Optical Network Terminal or ONT for short.  The ONT converts the optics into a digital signal that can be utilized by ones equipment.  From the ONT your video, phone and internet are provided to the location.  This is where things can differ as the internet signal can be provided via a coaxial (MoCA or Multimedia over Coax Alliance) or RJ45 Cat5 (Ethernet) cable.  It is important to identify and understand the differences of these two setups.  In my case I have my internet entering via Ethernet cable, which in my humble opinion makes things a heck of a lot easier.
    How does one tell the difference? In most cases it’s rather simple; just look at the Verizon’s router WAN (Wide Area Network) Port.  Does it have a RJ45 (Ethernet) or Coax (TV cable Cord) going to it? If the router’s WAN port doesn’t have a coaxial connector then one will need to convert the MoCA signal into a usable Ethernet signal that routers understand. The easiest way is to use Verizon’s router as a bridge. In this method the Verizon’s router simply converts the signal and passes it along to your own router. The challenge is to try to maintain the interactivity that FIOS TV provides. Because of this one needs to supply the IP routed signal back to the FIOS router.  There are multiple methods for doing this and I would recommend investigates which one make the most sense.   
    In my particular case the IP signal was provided by Ethernet.  Again there are various ways of installing one’s own router. The hardest is to utilize Verizon’s router as a bridge.  This setup requires configuring Verizon’s router as a bridge and also creating a VLAN (Virtual Local Area Networks). In addition one needs to set up their own router so it will work with the various routing tables and networks. For me this is too complex for the average person and it can be difficult to trouble shoot if something goes wrong. Please consider that Verizon will not support utilizing third party routers.   
    The easier method is to request an Ethernet signal (if you don’t already have one) from their ONT.  I would highly recommend getting your hands on a NIM or Network Interface Module. This device is used to convert Ethernet to Coaxial so it can be fed back to your STBs.  These can be purchased online and Verizon technicians can be a valuable resource with these sorts of acquisition.  At the very least they can point you to the right direction.  Once you have a NIM the rest is rather simple.
    Log into the current Verizon Router.
    Located the router’s MAC address and copy it down.
    Go to the port forwarding section and copy down the Applied Rules. 
    Example:  
    Network Computer/Device: 192.168.1.100:63145
    Application & Ports Forward:  Application UDP Any -> 6347  
    Note: There may be up to three entries for each one of your Set Top Boxes.
    Look at your current device list, typically found on the home screen. Copy down your STB MAC and IP address.
    Example:
    IP-STB1
    Connection Type: Ethernet
    * IP Address: 192.168.1.100
    IP Address Allocation: DHCP
    *MAC Address:                07:73:fFe:ad:8b:3f
    * Things you will need to write down
    Go to the network section and look for the main Ethernet connection.  Select this and then select more setting, typically found at the bottom. Release the current lease.
    Remove the Verizon router
    Install your router
    Connect the NIM by plugging in an Ethernet from one of the routers LAN (Local Area Network) ports to your NIM. Then connect the coax cable, the same cable that was used by Verizon router.
    Set you DHCP routing IP pool to accommodate Verizon’s STB IP’s  (note their IP’s start at 192.168.1.100)
    Go to DHCP section and reserve the STB IP’s by inserting the IP’s and MAC addresses. This shall ensure that nothing else utilizes the same IPs as the STBs thereby preventing IP address conflict.  
    Add the port forwards from Step 5 above.
    Clone Verizon’s Mac Address utilizing the info from step 2
    Finish setting up the router in typical fashion.
    Unplug and re-plugin your STB’s and test functionality.  It’s best to try using a widget or Movie on demand function.
    Note: if the new router can net get an internet signal contact Verizon’s support and have them release the IP and reset the ONT.  
    EVERYTHING should be working at this point.

     3 Go to the port forwarding section and copy down the Applied Rules. 
    Example:  
    Network Computer/Device: 192.168.1.100:63145
    Application & Ports Forward:  Application UDP Any -> 6347  
    Note: There may be up to three entries for each one of your Set Top Boxes.G
    Your display obviously is not like mine as mine does not dosplay the port associated with the ip address
    whatever, the STB's start at 192.168.1.100 and icement by 1 for each
    the port addr's will be 63145 alo incrementing by 1
    there is 1 entry for each in my pf list
    however each ip addr also has a port entry starting at 35000 also incrementing by 1 for each ip addr
    For some unknow reason these are duplicated e.g I appear to have 11 entries exaactly the same for each stb and as the fios services rules have no action switc there is nowhere to delete the extraneous garbage.
    Why do you clone the mac addr??

  • How to use Outline Load Utility with local encoding names of dimensions?

    Hi,
    I'd like to load metadata (dimensions members) to Planning classic application via Outline Load Utility.
    Target dimension name has been set in local encoding (cyrillic).
    After execution my batch file I get error that unable to find specified load dimension "????" in target application.
    Batch file has been created to start OutlineLoad in ANSI encoding:
    cd C:\Hyperion\products\Planning\bin
    OutlineLoad /A:testapp /U:admin /M /N /I:C:\Hyperion\TempOtlLoad\otl_tmc_alterna.csv /D:{dimNameInCiryllicEncoding} /L:C:/Hyperion/TempOtlLoad/outlineLoad.log /X:C:/Hyperion/TempOtlLoad/outlineLoad.exc
    TIMEOUT 10
    How to use Outline Load Utility with local encoding names of dimensions?

    Has somebody any idea about my question below ?
    Regards,
    Ed

  • HT4061 How can i find my ipad with the serial number

    How can I find my iPad with serial number

    I had FindMyPhone installed and activated on MY Lost iPad (now with a new "owner") and it NEVER worked EVER!
    There is/was no such thing as FindMyiPad...ONLY FindMyPhone. It WAS installed (I dont own an iPhone) AND activated! I suspect that unless you have 4G device it is worthless. Actually I  know this for a fact!
    AND, I knew that the new "Owner" had gone online (despite FindMyPhone telling me otherwise and NEVER locking my iPad) because Dropbox on my laptop suddenly had new photos that were taken by the new "owner".
    I am now of the mind that Apple does not want us to find our lost or stolen gadgets. They make money off  us when we replace them. Do what I am going to do: BUY USED!
    So sorry, I feel your pain.

  • Can I use find my iPhone with out an iCloud account?

    Can I use find my iPhone with out an iCloud account?

    Ok! So there's no way around it then? My friend has an iPhone 4 that she got used and the 3 available account have been used up. I understand how that works but was wondering if there was a way around that so she could still use the find my iPhone app to locate the phone if needed. Thxs

  • How to use Two main windows with in a page in script ?

    Hi any body explain me...
    How to use Two main windows with in a page in script ?
    with  header data in one main window,
    & Item data in other main window.

    HI..,
    u need to go for <b>SPLITTING THE MAIN WINDOW</b> !!!
    Main windows in page windows allow you to format text in multiple columns. Define an area in the page window, in which to position the main windows.
    Here is the procedure !!
    -->Create a page window and assign it to a page.
    Choose <b>Edit --> Main windows</b>.
    A dialog box appears.
    -->Enter values in the fields <b>Area width</b> and A<b>rea height</b> in accordance with the input guidelines for main windows.
    -->Enter values in the fields <b>Spacing</b> and Number in the <b>Horizontal group</b> if you want to use multiple columns. You can ignore the fields in the Vertical group.
    Determine how many columns and line areas are required for label printing. Then enter the corresponding values in the fields in the <b>Horizontal and Vertical groups</b>.
    -->The value in the field Left margin varies from main window to main window if multiple columns are used. The following applies:
    <b>
    Left margin of current column + Window width + Horizontal spacing = Left margin of next column</b>
    In label printing, the field Upper margin also varies from main window to main window:
    <b>
      Upper margin of current main window +  Window height + Vertical spacing = Upper margin of next main window</b>
    -->Enter a value in the field Start position.
    This is a counter. Enter a starting value which is equal to or greater than 1.
    -->The main windows are added to the list.
    -->Save your form.
    reward if it helps u...
    sai ramesh

  • HT204407 my 2 daughters and I are sharing one icloud.  I am trying to set up and use find my friends with them, but it won't let me.  It says I can't send a request to myself when I send one to her email address, which is different than mine.  What am I d

    my two daughters and I have iphones.  I am trying to set up and use find my friends with them. We have 1 icloud, but different emails.  When I send a request it states that I can't send a request to myself.  What am I doing wrong

    Sharing an Apple ID is never recommended for these reasons.
    They can create their own: http://appleid.apple.com and you can add them at the addresses they use for their ID.
    Sharing an Apple ID is not recommended because all of your data gets merged and when it gets deleted from one device, it deletes from them all, such as Contacts.
    iCloud Guide

  • How to use JavaMail 1.4 with Oracle Application Server 10g (9.0.4.0.0)

    Hi all,
    I'd like to know if it's possible and how to use JavaMail 1.4 with Oracle Application Server 10g (9.0.4.0.0), Windows version.
    With the following code, I can see that the mail.jar used by the server is the one included in the jdk installation :
    // I'm testing InternetAddress.class because I want to use commons-email-1.2.jar that requires mail.jar 1.4 (or higher) and activation.jar 1.1 (or higher)
    // and I know that inside the commons-email-1.2.jar file, I need to call the InternetAddress.validate() method that throws a java.lang.NoSuchMethodError: javax.mail.internet.InternetAddress.validate()V if it is used with mail.jar 1.2.
    Class cls = javax.mail.internet.InternetAddress.class;
    java.security.ProtectionDomain pDomain = cls.getProtectionDomain();
    java.security.CodeSource cSource = pDomain.getCodeSource();
    java.net.URL location = cSource.getLocation();
    System.out.println(location.toString());
    This code returns : file:/C:/oracle/app/jdk/jre/lib/ext/mail.jar and this mail.jar file has an implementation version number: 1.2
    - I've tried to include my own mail.jar (1.4.2) and activation.jar (1.1.1) files in the war file that I deploy, but it doesn't work (the server still uses the same mail.jar 1.2)
    - I've tried to put the mail.jar (1.4.2) and activation.jar (1.1.1) files in the applib directory of my OC4J instance, but it doesn't work (the server still uses the same mail.jar 1.2)
    - I know that a patch exists : I've read the following document: How to Make Libraries such as mail.jar and activation.jar Swappable ? [ID 552432.1]
    This article talks about the Patch 6514136, but this patch only applies to : Oracle Containers for J2EE - Version: 10.1.3.3.0
    Can you please help me ?
    Thanks in advance for your answers,
    Laurent

    I strongly suggest to upgrade to AS 10.1.3 to get this.
    Think of future support of AS 9.0.4. You will get not critical patch updates anymore.
    --olaf                                                                                                                                                                                                                                                                                                               

  • How to use a Web Template with queries from multiple BW Systems?

    Hi all,
    can anybody help me how to use a Web Template with queries (DATA PROVIDER)in it from multiple BW Systems?
    Thanks in advance, best regards
    Frank

    Great! Thanks for the quick response.
    Have you tried this for XMLA datasources created within the EP system also?
    i.e use Web Analyzer to create a view from the XMLA source and use that view within WAD?
    Thanks.

Maybe you are looking for

  • Problem for ResourceBundle calling from jsp file

    Hi, I am using WebLogic 5.1 in Solaris 8           I use java.util.resourceBundle to get the information from a .properties           file           I put the properties file in /opt/weblogic/myserver/serverclasses           When I call the propertie

  • No Movie, Just Quicktime Logo with Questionmark

    I did search through the forum before i posted, and while there are several similar threads I did not find a solution. Heres the url: http://www.digitaltestfacility.com/digitaltestfacility/blog/0077C11A-4EBD-45C8-8 196-D18C5F1B74E9.html Thanks for an

  • Count the number of comments in a PDF file automatically?

    Hello O Experts, My documentation team members use Acrobat and Reader 8, and frequently need to count the number of comments in a PDF file. Is it possible to count the number of comments automatically? We can't find this functionality anywhere, and h

  • Share without download

    Is there a way to share a pdf for viewing only, disallowing others to download the file?

  • Is there any way to import photos not in iPhoto?

    Is there a way to drop or import photos from desktop to iWeb instead of using iPhoto in media browser?