How to use split command in upload program

Thanks for all ...for their quick response for my previous query.
Iam continuing with the same upload program,now i have transfered the data from internal table to application server,now iam trying to upload this to database,while doing this iam using split command for spliting the records,but its not at all spliting,can u give me a solution for this.

OPEN DATASET p_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
  if sy-subrc <> 0.
    PERFORM messaging USING 'E' '001' text-e10 p_file space space.
  else.
    DO.
      READ DATASET P_file INTO WA .
      IF SY-SUBRC <> 0.
        EXIT.
      ENDIF.
      REPLACE ALL OCCURRENCES OF '"' IN WA WITH ''.
      CONDENSE WA NO-GAPS.
      SPLIT WA AT CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB
      INTO wa_infile.
      append wa_infile to it_infile.
      clear wa_infile.
    ENDDO.
  endif.
try this...
vijay

Similar Messages

  • Workflow Components : how to use SPLIT and JOIN ?

    Dear all,
    Because a Transition does not have any return of result, do you know how to use SPLIT and JOIN components ?
    <activity name='"xyz">
    <Transition to='act1'>
    </Transition>
    <Transition to='act2'>
    </Transition>
    </activity>
    In this above example, the second transition towards act2 is never called (i.e. there is no condition for the first transition) because there is no return of result for the first transition.
    Unfortunately, I didn't find any documentation about the SPLIT and JOIN workflow components. Do you have some information about these components ? How to use them ?
    Thanks a lot.

    <activity name='"xyz" andSplit='true'>
    <Transition to='act1'>
    </Transition>
    <Transition to='act2'>
    </Transition>
    </activity>
    The "andSplit='true'" will cause it transition to both act1 and act1.

  • How to use split screen on a mac like on windows 7

    how to use split screen on a mac like on windows 7

    It does not function the same as windows, in that it does not have an automatic snap function.  You can put multiple apps up side by side though.  You might want to consider using Spaces instead.

  • How to use STSADM commands in sharepoint 2007

    How to use STSADM commands in sharepoint 2007

    Hi,
    There is no such STSADM commands to get the user groups.  There are two separate STSADM commands get either users or groups for particular site.
    STSADM -o enumusers <<url>>
    STSADM -o enumgroups <url>
    For complete reference, please refer to the following article.
    http://blogs.technet.com/b/josebda/archive/2008/03/15/complete-reference-of-all-stsadm-operations-with-parameters-in-moss-2007-sp1.aspx
    One such console application available to get the user groups.  Please refer to the below article.
    List all SharePoint groups a user belongs to
    Please don't forget to mark it as answered, if your problem resolved or helpful.

  • How to Use native keyword in java programming

    Hi ,
    I am using JDK 1.6.0_11 , and i was trying to create a java program using "native" keyword ,
    i got the sample code for the same from the site : - http://www.javaworld.com/javaworld/javatips/jw-javatip23.html
    But when i type this command " C:\javah -stubs Happy " following error occurs
    " Error: JNI does not require stubs, please refer to the JNI documentation. "
    then typed " c:\javah -jni Happy" without any error .
    After that i wrote a HappyImpl.c as mentioned in the above tutorial
    #include <StubPreamble.h> /* Standard native method stuff. */
    #include "Happy.h" /* Generated earlier. */
    #include &ltstdio.h> /* Standard C IO stuff. */
    void Happy_printText (struct HHappy *this)
    puts ("Happy New Year!!!");
    then it is not compling and error is
    "unable to open included file StubPreamble.h file
    unable to open included file Happy.h file "
    Please help me . i want to use native method , i did exactly the same in tutorial at above link.
    Thanks & Regards
    Mannat

    you do need to know how to use your C compiler... It quite clearly can't find those files which indicates that you didn't tell it where to find them.

  • How to use the Eudora e-mail program with new ports

    For those of you that still use Eudora as your mail program. Here is how I made the required changes for the new port settings
    1) Open Eudora and from the "Tools" drop down menu select "Personalities"
    2) In the "Personalities" pane - right click the account you want to change and select "Properties"
    3) In the "Generic Properties" pane change the following
       a) Change the SMTP server to    smtp.verizon.net      and leave the "Authentication Allowed" box checked
       b) In the"Secure Sockets When Sending" selection box pick "Required,Alternate Port" . This both turns on SSL
           and makes the port  number 465 as required by Verizon
    4) Click the "Incoming Mail" tab at the top and then make the following changes
       a) Change the POP server to     pop.verizon.net
       b) In the"Secure Sockets When Sending"  selection box pick "Required,Alternate Port" . This both turns on SSL
            and makes this port  number 995 as required by Verizon
    Thats it . It should work for you now. You need to do this for each "Personality" (Sub account) you have

    Eudora users may also need to make changes to Eudora's Options (Tools > Options) "Getting Started", "Checking Mail" and "Sending Mail" in addition to the changes for each Eudora Personality. I outlined those changes in the "Eudora & server changes" thread--note there is a typo ("smpt" rather than "smtp") in the first post (couldn't edit that post to make the correction) in the thread so make sure to check the entire thread as a later post shows the correct entry.
    I had problems with Eudora sending mail (I didn't have problem with incoming mail because I don't use Verizon's servers for that) until I made changes to both Personality accounts and to the Option/suboptions noted above.
    Did you get things to work properly without having to make changes in Options?

  • How to execute dos command in Java program?

    In Perl, it has System(command) to call dos command.
    Does java have this thing?
    or any other way to execute dos command in java program?
    Because i must call javacto compile a file when the user inputed a java file name.

    Look in the Runtime class, it is implemented using the Singleton design pattern so you have to use the static method getRuntime to get its only instance, on that instance you can invoke methods like
    exec(String command) that will execute that command in a dos shell.
    Regards,
    Gerrit.

  • How to use the applet to upload the file ?

    I am facing a problem that , I don't know how to use applet to upload the file to server .
    I have the code to upload the file by using servlet .
    However , I want to use applet to upload the file .But , the format of servlet I have used is "multipart/form-data"
    but applet can not do so , I think it is the header of the data . I don't know what can I do .....
    Can anyone give me some suggestion or coding to write the file upload by using applet ?
    Besides , using the socket are there any other choices ?
    thx a lot !!!!

    Well, to upload files you need to
    Server App - running on the webserver
    1. Open a socket
    (Study the classes Socket, InputStream, OutputStream in the Java API)
    2. Wait for connection.
    3. Open FileOutputStream
    3. Read data from InputStream, Write to FileOutputStream
    4. Close InputStream and FileOutputStream
    Applet
    1. Open a filedialog (Swing, AWT)
    2. Open file (FileInputStream)
    3. Connect to uploadServer (steps described above)
    4. Read FileInputStream, write OutputStream
    5. Close File and Socket
    This is just simpl and basic terms get you on the right track
    Jonas

  • How to use custom control in Dialog Programming?

    How can I call a subscreen using custom control in Dialog Programming?
    The required subscreen contains a calender. Any class or something available for this purpose. Please suggest.

    As [vinraaj|http://forums.sdn.sap.com/profile.jspa?userID=3968041] wrote, call transaction SE51, there is a Wizard to help you generate the table control, it will create the table control and some includes with PBO/PAI modules > Read [Using the Table Control Wizard|http://help.sap.com/saphelp_bw/helpdata/en/6d/150d67da1011d3963800a0c94260a5/frameset.htm]
    Also there is a tutorial in the wiki, read [Learn Making First Table Control |http://wiki.sdn.sap.com/wiki/display/ABAP/LearnMakingFirstTableControl] by [Krishna Chauhan|http://wiki.sdn.sap.com/wiki/display/~nc0euof]
    Regards,
    Raymond

  • How to use FTI_TR_CASH_FLOWS ldb in abap programming.

    I want to use FTI_TR_CASH_FLOWS  logical database in existing ABAP program but i am not able to use this logical data base in the program.Please suggest how to use this logical database in the program.

    I have developed a customized report and i want to use  logical database "FTI_TR_CASH_FLOWS" into my program . i don't know how to use SAPDBFTI_TR_CASH_FLOWS  into my report. how i pass data from my report to this LDB report. plz suggest.

  • How to use subroutine in user-exit program

    Hi Experts,
        I have a requirement in user-exit where i have to use some lines of code in several times. So i want to use Perform and perform inside the exit (i.e. Include ZXXX). But it is not recognizing the form part of the ubroutime and gives error.
                 Please let me know how to use the Perform and form statement in the exit or is there any way to  write repeated code once but used no of times in exit program.
    Thanks
    Ajit

    I'm sorry, I was overly harsh there. Please accept my apologies.  But I do despair sometime!
    Consider the structure of a function group and it should be clear - you need to remember that INCLUDES are just repositories of code. If you take the contents out of the include and put them into the main program, then this is what you get:
    function-pool xrsr.        
    * Global data definition.
    function exit_saplrrs0_001.
    * the source code within the zxrsru01 include.
    endfunction.
    Now, what you're trying to do, is create a form in your include. You can't do that, because you end up with:
    function-pool xrsr.        
    * Global data definition.
    function exit_saplrrs0_001.
      perform xyz.
      form xyz.
      endform.
    endfunction.
    And you can't have a FORM defined inside a function module definition. The solution is to put it outside the function module. If you follow the process suggested above, you end up with
    function-pool xrsr.        
    * Global data definition.
    function exit_saplrrs0_001.
      perform xyz.
    endfunction.
    form xyz. " This will be in LXRSRF01
    endform.
    Do you see how it works now?

  • How to use DTD in my XSLT program

    I've got a DTD,i've to code the XML part in XSLT_TOOL but when i use the statement
    !DOCTYPE doc SYSTEM "c:\doc.dtd"
    it is throwing me an error and i don't know how to use it also.Can anybody please send me a sample program showing how i can use that DTD in my program. Say my DTD when opened in IE5 and viewed it's source shows me like this
    <?xml version="1.0"?>
    <!ELEMENT note (to,from,heading,body)>
    <!ELEMENT to (#PCDATA)>
    <!ELEMENT from (#PCDATA)>
    <!ELEMENT heading (#PCDATA)>
    <!ELEMENT body (#PCDATA)>

    Hi,
      Have a look at the following link-
    http://72.14.235.104/search?q=cache:19IIghpohpcJ:https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/xml processing and xslt transformations with abapDTDinXSLTprograminXSLT_TOOL&hl=en&gl=in&ct=clnk&cd=2
    Reward if helpful.
    Regards,
    Tanuja.

  • How to use RMI Stub class in programming?

    Hi all,
    I'm new on RMI.
    Is there anyone can explain to me how to use RMI Stub class which is generated by invoking rmic command?
    For my testing, I can only invoke rmi object nethod via its remote interface. Then what is stub used for when we are coding?
    I do appreciate anyone's help.
    Thanks very much,
    Xianyi.Ye

    When the remote object binds itself to the registry, what is actually bound is the stub.
    So when the client does a registry lookup, what it gets is the stub. However from the client's point of view it is just some mystery object that implements the remote interface.
    So you never have to use it directly, it is all automatic.

  • How we use merge command in pro*C

    merge command not support the pro*C pl/sql block how we use in pro*C (without creating any pl block on database )

    hello shalab,
    u can use dynamic sql method one.for execution merge query.
    syntax is
    EXEC SQL EXECUTE IMMEDIATE :stmt
    u have to copy your query into one string.
    like this
    strcpy(stmt,"merge into emp_new a ");
    strcat(stmt," using emp b ");
    strcat(stmt,"on ( a.empno = b.empno) ");
    strcat(stmt," when matched then ");
    strcat(stmt," update set sal= sal*10 ");
    strcat(stmt," when not matched then ");
    strcat(stmt," insert (a.empno, a.ename) values ");
    strcat(stmt," (b.empno, b.ename); ");
    then execute like this.
    EXEC SQL EXECUTE IMMEDIATE :stmt

  • How to use host command for creating folders

    i want to create a folder called abc in my C drive using forms 6i.
    how can i do it using Host command?

    Host('MD C:\ABC');Francois

Maybe you are looking for

  • Error loading the data into ODS - Message no. BRAIN060?

    Hi, I am getting following error while load the data from flat file, data loaded successfully from flat file to PSA but I got following error while updating the data from PSA to data target: Value '010384 javablue' (hex. '3000310030003300380034002000

  • BackUp graphical mapping in PI 7.1

    Hi every one, I am trying to save .mte of an existing graphical map in PI 7.1. I could do it in PI 7.0 using - key combination of - CTRL + SHIFT + Right click - when I select "Export" - it would prompt for File Save option - to save .mte file on the

  • Ipad is black screen and showing only a logo and updating bar.

    I just downloaded new ios in itunes and updated my ipad 3G. But during updating itunes encountered a problem and closed. When I reopened the itunes and connect my ipad again, my ipad cant connect to the itunes and still showing only a logo and updati

  • Convert Current Date to specific text

    I need to find a way to enter certain text in a field by current date.  Example:  If the current date today was 01/01/2014 then the text would be oak.  There would be a unique text identifier for every day of the year.

  • Flash as 2.0

    How to add spell check in text area, please guide me.