TEXT_CONVERT_XLS_TO_SAP FM is throughing an error

Dear Friends,
I am uploading a xls file into internal table using TEXT_CONVERT_XLS_TO_SAP.
The file strusture is as below.
Row1: Customer City
Row 2: Customer City
Row2: 2000001 ABD
My requirement is to skip the first two row details, as they are just the field titles and i need not consider the first two row's.
I should pick the data from Third row onwards which is actual data.
I have to use this TEXT_CONVERT_XLS_TO_SAP FM only.
I have passed the 
i_line_header            =  'X'
in the function module it is deleting only one header hower to remove the other header what i have to do , because the FM is throughing an error  conversion_failed.
Please help me .
Thanks
madhuri

Hi,
You can do it as follows:
TYPE-POOLS:truxs.
DATA:li_tab_raw_data TYPE  truxs_t_text_data.
DATA: BEGIN OF i_tab OCCURS 0,
       fld1(6) TYPE c,
      END OF i_tab.
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
  EXPORTING
  I_FIELD_SEPERATOR          =
  I_LINE_HEADER              =
    i_tab_raw_data             = li_tab_raw_data
    i_filename                 = 'C:\temp\test1_xls.xls'
  TABLES
    i_tab_converted_data       = i_tab
EXCEPTIONS
  CONVERSION_FAILED          = 1
  OTHERS                     = 2
IF sy-subrc <> 0.
  MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
LOOP AT i_tab.
  IF sy-tabix EQ 1 OR sy-tabix EQ 2.  "for first 2 rows
    CONTINUE.
  ENDIF.
ENDLOOP.
Or you can use following FM
ALSM_EXCEL_TO_INTERNAL_TABLE
call function 'ALSM_EXCEL_TO_INTERNAL_TABLE'
exporting
filename = file
i_begin_col = 1
i_begin_row = 3         "to start from 3rd row
i_end_col = 2            "depends on # of col's
i_end_row = 65000
tables
intern = iexcel
exceptions
inconsistent_parameters = 1
upload_ole = 2
others = 3.
Thanks,
Vikram

Similar Messages

  • Email through NWDS error

    Hi Experts!!!
    I am devloping a service, wherein, an email will be generated with a pdf as an attachment.
    The pdf will be first viewed by the user and once he presses the confirmation button, email will be generated with that file as an attachment. the pdf file is not saved any where.
    On pressing the confirmation button, an error id displayed
    *Sending failed;  nested exception is: javax.mail.MessagingException: IOException while sending message;  nested exception is :java.io.FileNotFoundException: ./temp/webdynpro/web/local/LifeCycleLetters/Components/com.lifecyclelettersapplication.LifeCycleLettersComponent/test.pdf (No such file or directory) *
    Plz help me out, how to get rid of this error
    Edited by: Umang Mathur on Mar 19, 2008 7:53 PM
    Edited by: Umang Mathur on Mar 19, 2008 7:54 PM

    Mail sent through RFC

  • Discoverer Viewer login through Apps errors out

    Hi All,
    May I request for inputs on the following issue please.
    SR : 5428453.993
    Customer upgrades discoverer from 4i to 10g (10.1.2.48.18)
    While running discoverer reports from the APPS
    A connection error has occurred.
    - OracleBI Discoverer was unable to authenticate using the password
    provided. This can happen due to an invalid password or because the
    password was lost while using back, forward, or refresh in your browser.
    Please enter the password again to continue.
    - Failed to connect to database - Unable to connect to Oracle Applications
    database (afscpgcs)
    Modified the following profile option value.
    ICX: Discoverer use Viewer
    Set the value as No from Yes. This change forces the Discoverer to launch
    Discoverer Plus rather than viewer.
    After changing the profile option, customer can access discoverer workbooks without any issues (through Plus).
    Logged a bug 5305401 for this issue.
    The log file (AFLOG enabled) contains the following error.
    STATEMENT fnd.src.security.afscp.afscpcon: Retrieve session values from ticket
    ERROR *: SQL-GENERIC ERROR (ERRNO=6502) (ROUTINE=afscpcon) (REASON=ORA-06502: PL/SQL: numeric
    or value error
    ORA-06512: at "SYS.OWA_UTIL", line 325
    ORA-06512: at "SYS.HTP", line 852
    ORA-06512: at "SYS.HTP", line 967
    ORA-06512: at "SYS.HTP", line 985
    ORA-06512: at "APPS.ICX_SEC", line 3331
    ORA-06502: PL/SQ) (SQLSTMT=SELECT SES.USER_ID, SES.RESPONSIBILITY_ID,
    SES.RESPONSIBILITY_APPLICATION_ID, SES.SECURITY_GROUP_ID, FSG.SECURITY_GROUP_KEY, U.USER_NAME,
    U.ENCRYPTED_USER_PASSWORD, SES.SESSION_ID FROM ICX_SESSIONS SES, FND_SECURITY_GROUPS FSG, FND_USER
    U WHERE SES.SESSION_ID = ICX_SEC.GetSessionCookie(:tik) AND NVL(SES.SECURITY_GROUP_ID, 0) =
    FSG.SECURITY_GROUP_ID AND SES.USER_ID = U.USER_ID AND DISABLED_FLAG = 'N' AND COUNTER + 1 <
    LIMIT_CONNECTS AND FIRST_CONNECT + LIMIT_TIME/24 > SYSDATE )
    PROCEDURE fnd.src.security.afscp.afscpcon: End: Failure
    Cusotmer applies the following patches to resolve the above issue.
    Patch 3902820 : FND:New CONSOLIDATED FIXES - POST AOLJ PATCH
    3313291
    Patch 4173903 : EBiz Home Page v1.5D
    Verified s_appserverid_authentication .. it is set to OFF
    Regards,
    Ramana Panyam.
    Further verification revealed the following.
    Enabled AFLOG for discoverer and found that the ICX ticket is not get created properly. It should be haxdecimal code rather than the plain session cookie name.
    From the customer's instance..
    PROCEDURE fnd.src.security.afscp.afscptik: Begin(ticket = eimbh005_test)
    From working environment.
    PROCEDURE fnd.src.security.afscp.afscptik: Begin(ticket = Wx3myvLOvse5BsRDrFVuJdkz:S)
    seems the session cookie name is replacing the cookie value. Cookie value is not being populated.
    Any inputs are highly appreciated.
    Regards,
    Ramana
    Message was edited by:
    user483846

    Are you on a 11.5.10 environment? If so please make sure your DBC-file is generated correctly. Since 11.5.10 Discoverer will be started using SSL mode.
    Do you have the same issue when connecting thourg the Desktop or even with the Plus (directly from the /discoverer/plus url)? If so, please make sure the 'ICX: Launch Discoverer Plus/Viewer' have the correct value. E.g. http://<server.domain>:<port>/discoverer/plus?Connect=[APPS_SECURE]

  • HT4743 Tv shows purchased wont play through tv, error says cant access iTunes store

    Need assistance viewing tv show purchased on ipad, through Apple TV, get error can't access iTunes Store

    Hi - I am now having this same exact problem on my Mac laptop.   I have many Breaking Bad, etc TV shows that I purchased through itunes & have watched over the years & now all of those, as well as, any new shows I purchase will not play on my laptop.    Just same as above person -- a black screen that appears to be playing movie (the timer is actually playing)  but no video or sound.    Shows / Movies all work fine on my home computer.  
    On my laptop it keeps saying .. "Not authorized to play .... & then says  "Sign into Itunes.. "   - but I  do sign out & sign  back in & still nothing happens.   Very annoying and frustrating as I  can ususlly figure things out with perserverence and trial & error. 

  • Quotation creation through DP81 Error related to Material maintain Inquiry

    Dear All,
    This is related to Quotation creation through DP81.I have maintain A DIP profile and as per my Easy Cost Planning (ECP) in Project System it is capturing in sales price in DP81.Please note that I have maintain three (3) line item in the sales Inquiry.Based on that 3 line item we have maintain three different WBS element in ECP and it is attached to corresponding material no in VA12.
    Now in DP81 system showing the three line item but if we go for Quotation creation one material no is coming for the three line item with different price value.
    I have also maintain these three material in DIP profile in ODP1.Please note that the first material no maintained in DIP profile that is coming not the other material no.
    Please through some light as in our case there are several line item is maintained in quotation.So is it possible to make Quotation with different item and where I have to maintain these material no.
    Thanks
    Suman Sardar

    i checked the characteristic for cost element & Material for CR, MD & Str, i created sets for cost element & the material & i determined the material which i required in the quotation. I am getting an error "no expenditure item found" , can you suggest me now.

  • EIS Drill Through Essnet error message.

    We are using EIS to anable drill through from Excel. I've just set up some new drill through reports, and they work fine except when you try and drill through at GEN 1 on a particular sparse dimension. The dimension isn't specified in the "OLAP intersections Levels" as we want the report to show all results for that dimension.
    The error message that gets returned is {ESSNET MESSAGE} - in a box with ESSDTU in the left hand corner.
    Thanks
    Paul

    You are saying the dynamic query was generated, did you copy the query and tried to execute it in the database client. Check the SQl for any errors and also in the did you see any SQL errors?

  • Write-through cache error kills coherence

    Hi, we have a write through cache, and when there's an error writing to the cache store, the cache dies. The first error we see is:
    3.5.3/465 | Coherence(3) - 2012-07-19 07:28:35.918/34.768 Oracle Coherence GE 3.5.3/465 <Info> (thread=DistributedWriteThroughWorker:3, member=1): (Wrapped: Failed to store key="1342708115777") java.lang.RuntimeException: Failed to store hibernate entity : This is normal, since there's a legitimate reason why this couldn't get stored, but after the stack trace, we see the below. So the 1st thing is the "Terminating DistributedCache", that just kills the node and makes it unusable, then there's the "unknown user type" message, as if it's trying to send something over the wire, but it can't; although this "WrapperException" is not one of our classes. Clearly we don't want the cache dying, we want to continue to use it, but any subsequent request to the cache fails. Any ideas?
         [java] ERROR | 07-19-2012 07:28:36.116 | Logger@9230760 3.5.3/465 | Coherence(3) - 2012-07-19 07:28:35.919/34.769 Oracle Coherence GE 3.5.3/465 <Error> (thread=DistributedWriteThroughWorker:3, member=1): Terminating DistributedCache due to unhandled exception: java.lang.IllegalArgumentException
         [java] ERROR | 07-19-2012 07:28:36.117 | Logger@9230760 3.5.3/465 | Coherence(3) - 2012-07-19 07:28:35.919/34.769 Oracle Coherence GE 3.5.3/465 <Error> (thread=DistributedWriteThroughWorker:3, member=1):
         [java] java.lang.IllegalArgumentException: unknown user type: com.tangosol.util.WrapperException
         [java]      at com.tangosol.io.pof.ConfigurablePofContext.getUserTypeIdentifier(ConfigurablePofContext.java:400)
         [java]      at com.tangosol.io.pof.ConfigurablePofContext.getUserTypeIdentifier(ConfigurablePofContext.java:389)
         [java]      at com.tangosol.io.pof.PofBufferWriter.writeObject(PofBufferWriter.java:1432)
         [java]      at com.tangosol.io.pof.ConfigurablePofContext.serialize(ConfigurablePofContext.java:338)
         [java]      at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.writeObject(Service.CDB:4)
         [java]      at com.tangosol.coherence.component.net.Message.writeObject(Message.CDB:1)
         [java]      at com.tangosol.coherence.component.net.message.DistributedCacheResponse.write(DistributedCacheResponse.CDB:2)
         [java]      at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketPublisher.packetizeMessage(PacketPublisher.CDB:137)
         [java]      at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketPublisher$InQueue.add(PacketPublisher.CDB:8)
         [java]      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.dispatchMessage(Grid.CDB:50)
         [java]      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.post(Grid.CDB:53)
         [java]      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.onPutRequest(DistributedCache.CDB:146)
         [java]      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$PutRequest.run(DistributedCache.CDB:1)
         [java]      at com.tangosol.coherence.component.util.DaemonPool$WrapperTask.run(DaemonPool.CDB:1)
         [java]      at com.tangosol.coherence.component.util.DaemonPool$WrapperTask.run(DaemonPool.CDB:32)
         [java]      at com.tangosol.coherence.component.util.DaemonPool$Daemon.onNotify(DaemonPool.CDB:63)
         [java]      at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
         [java]      at java.lang.Thread.run(Thread.java:662)

    Ok, figured it out. I failed to include the standard "coherence-pof-config.xml" when loading in our pof config file, and that's what caused the troubles. Including it solved the problem of the dying cache.

  • *****EIS : Drill through Report Error while excel data retre

    Dear All,
    could you please help me in the below error . When i tried to get the drill through reports in excel add-in ,
    i am getting the below error . When i had look into EIS log, its generating dynamic query for this drill through reports .
    [NCR][ODBC Teradata][Teradata Database] Syntax error- expected something between the word '<<Databasename>>' and the word 'ai'.Unable to get catalog string.
    Thanks in advance .
    M

    You are saying the dynamic query was generated, did you copy the query and tried to execute it in the database client. Check the SQl for any errors and also in the did you see any SQL errors?

  • Feeding oracle BAM through MQ  -Error.

    Hi All,
    Am getting this error while clicking update button in Design Studio to populate a dataobject using JMS Topic messages sent by oracle BPEL manager.
    IMessageSourceReceiver->messageReceive: javax.naming.CommunicationException: Disconnected
    *     at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:296)*
    *     at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)*
    *     at javax.naming.InitialContext.lookup(InitialContext.java:347)*
    *     at iteration.enterpriselink.sources.JMSConsumer.start(JMSConsumer.java:85)*
    *     at iteration.enterpriselink.sources.JMSMessageSourceReceiverImpl.jmsConsumerStart(JMSMessageSourceReceiverImpl.java:1001)*
    *     at iteration.enterpriselink.sources.JMSMessageSourceReceiverImpl.messageReceive(JMSMessageSourceReceiverImpl.java:326)*
    Caused by: java.io.EOFException: Disconnected.
    If you can provide any document how oracle BPEL process manager use JMS topic to send message to Oracle BAM and display in reports.
    Thanks in advance

    Anirudh,
    Thanks for the reply.I did configure the EMS in BAM for JMS and IBM MQ.I am trying to push data through S
    ensors into topic to BAM.
    My question is ...
    1.Does 10.1.3.3 BPEL and BAM support IBM MQ ?
    2.Do we need any additonal changes on the BPEL side or Weblogic side other than jms.xml and entry in weblogic-ra.xml?
    3.Do we need to create EMS for both IBM MQ and also JMS data source.If yes do we need to use JMS data source in the Enterprise link design studio and not IBM MQ ?
    4.Do we need to use the topic name and topic connection factory in the sensor action in BPEL code ?or Create an queue and need to route data thorugh it ?The order booking tutorial says we can use the topic directly ?
    If we try to run the plan in Enterprise link using JMS data source ,I am getting following error.
    IMessageSourceReceiver->messageReceive: javax.naming.CommunicationException: Disconnected
    * at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:296)*
    * at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)*
    * at javax.naming.InitialContext.lookup(InitialContext.java:347)*
    * at iteration.enterpriselink.sources.JMSConsumer.start(JMSConsumer.java:85)*
    * at iteration.enterpriselink.sources.JMSMessageSourceReceiverImpl.jmsConsumerStart(JMSMessageSourceReceiverImpl.java:1001)*
    * at iteration.enterpriselink.sources.JMSMessageSourceReceiverImpl.messageReceive(JMSMessageSourceReceiverImpl.java:326)*
    Caused by: java.io.EOFException: Disconnected.
    Or
    IMessageSourceReceiver->messageReceive: javax.naming.NoInitialContextException: Cannot instantiate class: com.evermind.server.rmi.RMIInitialContextFactory. Root exception is java.lang.ClassNotFoundException: com.evermind.server.rmi.RMIInitialContextFactory
    at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
    at java.lang.Class.forName0(Native Method)
    Thanks again,
    Swe

  • Downloading a book and get error halfway through saying error getting license.

    Trying to download a book.  Halfway through I get an error saying error getting license.  Stream error.  Why cant I download?

    Are you sure you are connected to the internet?
    This error usually comes up when you lose network connectivity in the middle.
    Can you please specify the entire error code.

  • MySQL can't connect through socket error

    I have been mucking around with MySQL and have broken something.
    Running 10.4.3 server, I get a "Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)" error
    Was working fine before I decided to mess with things - I think I altered the hostname from localhost to 192.168.x.x etc.
    Now I cannot connect, and MySQL manager won't start it. I would like to make it work again rather than have to install a different version.
    When MySQL manager installs the requisite files for the first time, where does it store these, and how can I do this again?
    Thanks
    Hamish

    There's an issue with authentication between PHP 5 and MySQL 4.1
    This thread should contain a resolution for you.
    http://discussions.apple.com/thread.jspa?messageID=665175&#665175
    FYI- A search here for "MySQL PHP socket" reveals the above thread and other threads with the same issue.
    Jeff

  • "Opatch through out error while applying CPUJul2008"

    Hello !
    We are applying CPUJul2008 patch in our systemECC5(Oracle9.2.0.8+AIX)but while applying facing following problems :
    Comparing "/oracle/client/CPU_2009/7154111/files/lib/libgslber_s9.a/gslesen.o" a                                              nd "/oracle/SB1/920_64/.patch_storage/verify/lib/libgslber_s9.a/gslesen.o"
        Source file name is : /oracle/client/CPU_2009/7154111/files/lib/libgslber_s9                                              .a/gslesen.o,  size is : 10614
        Destination file name(from OracleHome) is : /oracle/SB1/920_64/.patch_storag                                              e/verify/lib/libgslber_s9.a/gslesen.o,  size is : 10549
       Archive failed: failed to update "/oracle/SB1/920_64/lib/libgslber_s9.a" with                                               updated "/oracle/client/CPU_2009/7154111/files/lib/libgslber_s9.a/gslesen.o"
    There are 31 issues copying files to Oracle Home.
    There are 10 issues patching Java library in Oracle Home.
    There are 63 issues patching static library in Oracle Home.
    FILE PROBLEM: some files are not patched.
    OPATCH_JAVA_ERROR: Patch was not successfully applied.
    Verification of the patch failed.
    ERROR: OPatch failed as verification of the patch failed.
    Earlier there was no opatch applied in our system..Can anybody through light on this error & help us out..
    regards
    Anju

    - filesystem full?
    - is your database (and listener) shut down?
    Markus

  • Warehouse to be locked through DTW error

    Hello experts,
                        My client  requires around 20 warehouses to be locked ,I tried to lock  the warehouse through DTW through the  "ItemwarehouseInfo" template.When I run the simulation process it gives me an error saying
    "This Entry already exists in the following tables (ODBC-2035)Application defined or Object defined error 65171"
    Kindly let me know what could be the reason  for this issue at the earliest.
    template prepared:
    ParentKey
    LineNum
    Locked
    WarehouseCode
    ItemCode
    LineNum
    Locked
    WhsCode
    VP006952
    1
    tYES
    B0IPG
    Tried methods : I have tried changing the "tYES" to only "Yes ", "Y" but still the same error.
                            Changed the LineNum to "1" and "2" still the same .
    SAP used :SAP 8.82 PL 4
    Kindly find the attachment as a reference.

    Hello ...
    To add storage to an article is used ItemWarehouseInfo template. This template is loaded next to the item-it is an update of Master Items.
    Just enough to consider items in the template, and ItemCode RecordKey columns, while the ItemWarehouseInfo template, fill the columns RecordKey (both associated templates), LineNum (correlative from scratch, if there are several stores to article) WarehouseCode (Code Warehouse)
    I hope it will help
    Best Regards,

  • IOS update error through iTunes. error-3259

    while updating ios via iTunes after some time i get the error - 3259 and couldn't download update message receives. Please help me in this.

    I have an iPhone 6, my MacBook's software is current and updated, and when I tried to run the 8.3 software update on my iPhone it prompted me with a black screen, iTunes logo, and the power cord. I plugged my device into the laptop's USB and have it connected to a power source and is on my wifi. The iTunes "update" says it will take 27 hours and is continually stopping every 20 minutes or so giving me error code 1671. I click through all the prompts and it picks up where it left off. I too can not use my phone and am hoping there is a quicker way to update. Anyone else having this issue?

  • Jabber is unable to register through expressway (Error:Cannot communicate with the server)

    Hello Experts !
                         I am getting below error while trying to login in jabber through expressway . Please help me to fix this issue
    Attached is the file .
    (Error:Cannot communicate with the server)
    Regards;
    KV

    Ok, let's clarify, what u have (correct me, where I am wrong):
    1. We assume,that outside server's config is okay (there are only collab_edge srv for outside domain);
    2. Traversal Zone is up (everything is okay with certs, IM&P nodes,CM are added);
    3. Both domains (inside/outisde) are created on E/C and properly configured;
    4.Inside DNS server has has srv records (cuplogin,cisco-uds) for both domains:outside,inside;
    If yes, then you need to reset jabber, make "ipconfig /flashdns" on client, flash dns on E/C.
    Start logging with packet captures and tries to login. After that, start checking from packet captures: client, E/C. Try to search for DNS lookups, if evry node tries to find appropriate server (client->E, C->IM&P) .
    Regards,
    Kirill

Maybe you are looking for

  • Cannot connect to Cisco WebEx meeting with Safari 5.1.9 / 10.6.8

    I'm trying to join an Internet meeting which is running through the Cisco WebEx system. When I click on the meeting url, it takes me to a login page; I enter my name & email, click the Join button, and go to a page that says "One Moment Please-" And

  • 4) Numerial input for a group of data

    LookoutDirect 4.5 4) I have a table of hundreds of data, and all of them need a input. How can I make only one numeral input for all of them? That means I click any data in the table I can get to the same numeral input popup window and enter a number

  • SPARCengine CP1500 & Solaris 2.5.1.?

    Hi, All! Help, please! I am beginning unix administrator.. I have SPARCengine Ultra CP1500. Can I install Solaris 2.5.1 on my machine? If YES, then is there any specific problem for installing Solaris 2.5.1.? Thanks & Regards, Lyudmila

  • HT1386 i followed these steps and the iphone still only seees my old computer - old computer is gone.

    i have a new computer and new copy of itues.  my iphone5 will not wifi sync to ituren as the iphone still things my old computer wifi is the contact point. the geeks at5 two apple stores had no idea as to how to fix... except to return the iphone to

  • Another Deploy problems

    when i deploy the sample of convetor,occur such errors: there was a deployment error java.rmi.ServerException:RemoteException occurred in server thread;nested exception is: java.rmi.RemoteException : An error was encountered while loading a web compo