Conversion of a string output and store them into the internal table fields

Hi,
I'm writing a program in which I'm populating the values generated in TCODE- 'AL11' I'm able to retrieve the data in string format but I've to break the string and put the values in an internal table. The internal table has fields of various lengths and no specific position where I can use a delimiter and use the Split command.
Kindly provide me suggestions how I can break the string and assign the values in the fields of the internal table.
Regards,
Sreedhar.

Hi,
Take the screen fields length and create an internal table.
loop the internal table and first split the string at delimeter( use  cl_abap_char_utilities)
CONSTANTS:
  c_delimiter        TYPE c VALUE
                          cl_abap_char_utilities=>horizontal_tab,
  c_delimiter_enter  TYPE c VALUE
                          cl_abap_char_utilities=>cr_lf.
loop at itab into fs.
    SPLIT w_str  AT c_delimiter_enter INTO w_str w_dummy .
                                      " SPLITTING AT 'ENTER KEY'
      SPLIT w_str  AT c_delimiter INTO
                                      " SPLITTING AT 'TAB'
  fs-f1,
fs-f2.
append fs to itab.
clear fs.
endloop.

Similar Messages

  • Reading the contents of a folder and store them in the database using 6i

    Hi all,
    I'm using developer 6i and oracle 8i,now am building personnel database,every employee has many certificates (graduate certificates,post-graduate certificates and work experience certificates),I want to scan all these certificates,put them in a folder ,give the form (employee form ) the path to the folder and the form read the contents of the folder (3 or 4 image files for example) dynamically and store them in the database.
    All examples I came across explain how to load a defined image file name into oracle database,but what if the image file name is not defined (i,e dynamically generated by the scanner).
    Hope I explained the case.
    Thanks in advance

    Sorry mhdamer,
    I read the example and thought it could be modified to retreive a directory listing. There is a way to do what you want, but you will have to check to see if you have the D2kwutil.pll installed with Forms 6i. If you do not have it installed you can download the pll from OTN. This Forms Library will only work on Windows, so if you want this functionality on a non-windows machine, it will not work. Read the D2KWUTIL.html for details on how to use this library. There are also some good posts here in the forums on how to use this library. Just search on D2KWUTIL.PLL.
    Craig...

  • Hi, i purchased a 2 dvd digital set. i cant just download it straight to my ipad. they said i have to down load it to my i tunes, then can transfer to i pad. im not seeing how to click the files from my email, and get them into the i tunes acct... ugh.

    hi, i purchased a 2 dvd digital set. i cant just download it straight to my ipad. they said i have to down load it to my i tunes, then can transfer to i pad. im not seeing how to click the files from my email, and get them into the i tunes acct... ugh.
    i do not have a mac home pc. just a regular pc

    I had the same problem after I gave my old iPad to my parents and tried to install Netflix. This is what you have to do:  Open iTunes on your computer, the one you sync your iPad to. Then go to iTunes Store and search for and download Netflix app. After you download it, if your iPad is set to download new purchases it may start downloading on your iPad. If so, tap and hold to delete the app (because it is trying to install the new version on the iPad) Next step, go to the App Store on your iPad and find Netflix and it should say install since you already purchased it on the computer. Tap to install, and it will say the version is not compatible, tap to download a previous version. Click that and it will install the older version!    One more thing, if and when you sync to your computer again it will say something like " Unable to install Netflix on your iPad" Just click the box to never remind you again, because it's trying to sync the newer Netflix app to your iPad, but it doesn't work so it displays the message. The old app will remain on the ipad. Hope this helps, good luck

  • I have created two related books in Lightroom 5 (Volumes 1 and 2) but my balance of page numbers is off. So I'd like to take some pages out of one book (complete with images) and paste them into the other. Is this possible?

    I have created two related Blurb books in Lightroom 5 (Volumes 1 and 2) but my balance of page numbers is off. So I'd like to take some pages out of one book (complete with images) and paste them into the other. Is this possible?

    Can you zip up a few of your GoPro images, upload them to dropbox.com and post a share link, here, so others can experiment with them, or do you mean this issue is global to all camera models?

  • How can you pull in pdf's from iBooks and bring them into the Box app?

    How can you pull in pdf's from iBooks and bring them into the Box app?

    That sounds great, but I'm lost.
    I followed these steps:
    1) Open your PDF (in Adobe Acrobat Pro)
    2) Chose print
    The print/printer options pop-up will show.
    3) In the printer section, do not use your normal printer, a printer named Adobe PDF should be an option. Chose it.
    4) Under the "Page handling" section, change the Page Scaling drop-down menu to "Multiple pages per sheet".
    It works fine, but it looses all of the font information and the search no longer works. How can you do it and save the font info, so the search tool continues to operate.
    Am I missing anything?

  • I filmed several takes of the same scene for a movie. I trimmed the best clips from each take and put them into the project screen. However, I can't figure out how to make it flow seamlessly as one scene. Can someone please help me??

    I filmed several takes of the same scene for a movie. I trimmed the best clips from each take and put them into the project screen. However, I can't figure out how to make it flow seamlessly as one scene. Can someone please help me??

    1-800-676-2775  apple support   tech support 1 800 275 2273
    If your computer is on one minute before it freezes, than you have one minute to secure your serial number.
    click the apple----->click about this Mac ------> click on version----> until you see the serial number.  You may have to do this a couple of times if it freezes before you have all the numbers.  A camera might help.
    Good Luck

  • Istalling third party instruments.. i have tried to go to application support and putting them into the sampler but they are still not showing up.. can someone help me

    istalling third party instruments.. i have tried to go to application support and putting them into the sampler but they are still not showing up.. can someone help me

    Hi
    So these are EXS24 Sampler Instruments?
    If yes... the .exs Instrument files need to go in
    Library:Application Support:Logic:Sampler Instruments
    Or
    <User>:Library:Application Support:Logic:Sampler Instruments
    CCT

  • Cut parts from song and import them into the sampler on ipad

    How do I cut parts of my song in garageband (ipad) and put them into the sampler to fix the pitch on specific parts of my pre-recorded vocals?
    For example, I already have a song I recorded, and I would like to simply cut a few seconds of the vocals, go into the sampler, fix the pitch, and then re-insert the editied piece back into my song.
    Is this possible on the ipad? I know that the "autotune" option isn't available on the ipad, but I simply want to fix the pitch on a few notes and I was wondering if there's any way to do that.
    If there's not, do you have any suggestions or any app reccomendations that might help me achieve this? I can't afford a macbook pro so that's out of the question.
    Sorry if my explination isn't clear! And thanks for any help :]

    Hi,
    you should go to PI 7.1 and not PI 7.0 otherwise it makes not so much sense.
    And yes it's possible to migrate your scenarios. If you have UDFs you have to check them because the java version has changed.
    Regards
    Patrick

  • I recently attempted to save my Notes in Macmail by dragging and dropping them into the Notes folder. On my most recent sync all Notes were deleted. Is there a way to undo this?

    I recently attempted to save my Notes in Macmail by dragging and dropping them into the Notes folder. On my most recent sync all Notes were deleted. Is there a way to undo this?

    Garret,
    is your movie in your backup folder a Quicktime movie? Then probably only have the Quicktime wrapper in your backup folder, but not the referenced media in the file fork of the movie. If you see the full quality movie in iPhoto in QuickTime player, don't drag it from the browser to the Desktop, but use "File > Reveal in Finder > Original File" to show the movie in your iPhoto Library. Select the Movie when it is revealed and ctrl-click it to open it in Quicktime Player.
    Export it from Quicktime Player with "Export to" and share it to iTunes. This way it will be converted to a .mp4 movie that embeds the missing resources.
    You can drag the converted movie from iTunes to the Desktop or share it using to Media Browser to other applications.
    Regards
    Léonie

  • Header data and item data into same internal table

    Hi Experts,
    I WANT TO KNOW THE LOGIC TO POPULATE HEADER DATA AND ITEM DATA INTO SAME INTERNAL TABLE AND AGAIN DOWNLOAD THE SAME TO EXCEL FILE .Output file should be displayed like this format
    Header1  rectyp ,hdnum ,sbank ,bankl ,accnr , paytp , crda ,iso.
    Item1  : rectyp ,valut ,cknum ,amount,bankl,accnr,pdate,bnktc.
    Item2  : rectyp ,valut ,cknum ,amount,bankl,accnr,pdate,bnktc.
    Header2: rectyp ,hdnum ,sbank ,bankl ,accnr , paytp , crda ,iso.
    Item1  : rectyp ,valut ,cknum ,amount,bankl,accnr,pdate,bnktc.
    Thanks
    Moderator message: Please do not use all upper case in the future.
    Edited by: Thomas Zloch on May 12, 2010 3:10 PM

    Hi,
    for example we have 3 internal tables 
    1> it_header  2>it_items   3>it_final (which contains all the header and item fields)
    once  it_header   it_items  are filled
    loop at it_items.
    read table it_header with key xyz = it_item-xyz.
    if sy-subrc = 0.
      here move all the header fields to it_final like below.
    it_final -xfield  = it_header-xfield.
    endif.
      here move all the item fields to it_final like below.
    it_final -yfield  = it_item-yfield.
    append it_final.
    clear it_final.
    endloop.
    now header and item fileds will be fillled in it_item

  • Download files from the URL and store them in the table

    Hello,
    I want to download files from the URL and want to store them in the table.
    Can I do it using sql/pl-sql.
    Please help me on this.
    Thanks,
    Rajendra Yadav

    Never tried it before...
    Is this what you are talking about?
    http://www.oracle-base.com/articles/10g/file-upload-download-procedures-10g.php
    Cheers,
    Manik.

  • Why does my new garageband 10.0.03 not have the legacy with sound effects or radio sound preset or applause preset???? I need these to be able to chop samples into the keyboard keys by dragging and dropping them into the keys.

    I am just trying to chop samples and drop them into a track with legacy-sound effects- radio sounds, so that I can play with them and chop them onto keys. I see a bunch of videos on youtube showing you how to do it, but I can't find those kits on the newest garageband.

    All these effects are part of the loops in the iLife Sound effects loop package, that was a part of the application bundle iLIfe '11 (iPhoto. iMovie, GarageBand '11).  These loops are neither installed by GarageBand 10.0 or GarageBand '11, nor MacOs X, you need an iLife '11 installer disk to get these loops.
    And GarageBand 10 also does not have the Sound Effects instruments any longer, that let you drag samples onto keys. It is one of the sorely missed features, that have been discontinued in the new version GarageBand 10. even if you install the previous version, GarageBAnd '11, to add the Sound effects instrument to GarageBand 10. it will not work properly, because GarageBand 10 will not save the custom instrument with the samples. You will have to complete your song in one session, without quitting GarageBand.
    You may want to send feedback to the Apple Developers about these missing features with a feature request:   Apple - GarageBand Mac- Feedback

  • How to read xml file and place it into an internal table...

    hello all,
    can any one help me in - how to read xml data file (placed in application server) and placing the same into an internal table (remove the xml tags or say fetching the xml data without xml tags).

    Hi Murashali,
    use this.
    TYPES: BEGIN OF day,
    name TYPE string,
    work(1) TYPE c,
    END OF day.
    DATA: BEGIN OF week,
    day1 TYPE day,
    day2 TYPE day,
    day3 TYPE day,
    day4 TYPE day,
    day5 TYPE day,
    day6 TYPE day,
    day7 TYPE day,
    END OF week.
    DATA xml_string TYPE string.
    DATA result LIKE week.
    week-day1-name = 'Monday'. week-day1-work = 'X'.
    week-day2-name = 'Tuesday'. week-day2-work = 'X'.
    week-day3-name = 'Wednesday'. week-day3-work = 'X'.
    week-day4-name = 'Thursday'. week-day4-work = 'X'.
    week-day5-name = 'Friday'. week-day5-work = 'X'.
    week-day6-name = 'Saturday'. week-day6-work = ' '.
    week-day7-name = 'Sunday'. week-day7-work = ' '.
    CALL TRANSFORMATION ...
    SOURCE root = week
    RESULT XML xml_string.
    CALL TRANSFORMATION ...
    SOURCE XML xml_string
    RESULT root = result.
    Regards,
    Vijay

  • Read two files and store it to Global Internal table in LSMW

    Hi
    I have a requirement in LSMW, there are two files which needs to read the data and upload into SAP based on 2nd file data with some conditions.
    Example :
    File One : Customer Details.
    File Two : Customer Master.
    when we upload the customer master data into SAP we have to cross check customer aganist file two(customer master).
    If the customer is does not exist in the file two, then only we have create the customer other wise skip the record.
    How to go about this, can we create any global internal table in LSMW and how to store the 2nd file data for cross check.
    I tryed with define two source structures, but at any point of time 1st file data is only one record is available.
    Please suggest some solutions.
    Advance Thanks
    Murali.

    Hi Jürgen L.
    If customer is exist in the both files, then we need to extend him to other company codes.
    Some reasons the data is not available in SAP, for writing select query. apart from this we have to do some validation based on 2nd file data.
    Is there any possibility for global internal tables
    Thanks
    Murali

  • Export external links and store them through the package function

    Is possibile to export external links (like www.xxxxxxxxx.com) like images, fonts, source files in general trough package function.
    Or are there other ways to do it? We need to collect all links that we inserted in our application.
    Many thanks!
    MC

    Hello,
    welcome to the forum.
    This is the forum for the tool {forum:id=260}
    Your question would be better asked in {forum:id=75}
    Export to flat file
    http://tkyte.blogspot.de/2009/10/httpasktomoraclecomtkyteflat.html
    Export to formatted output
    {message:id=9360007}
    Regards
    Marcus

Maybe you are looking for

  • FCP 7 won't open or re-install, need help!

    I have the latest version of FCPX installed as well as FCP7 on my system and I need to open FCP7 so that I can export an XML file in order to utilize 7 to X.  The trouble is that when I attempt to open 7 it crashes and when I attempt to re-install 7

  • IPhoto 7.1.4 crashed after upgrade

    I just use Software Update to upgrade my iPhoto, and it crashed every time I try to open it. Host Name: blackDate/Time: 2008-08-03 10:31:39.898 -0400OS Version: 10.4.11 (Build 8S2167)Report Version: 4Command: iPhotoPath: /Applications/iPhoto.app/Cont

  • Can't get these games to work on Intel Mac!!!!

    http://www.the7thwar.net/ventcore/downloads Sorry, I know this is the wrong place to post this. But I cannot get these games to work on my computer, and I want them to in such a bad way. If anybody can figure this out, I will lick the soles of their

  • 6680 update - backup/restore fails

    Hi, after updating firmware from 2.x to 4.x with Nokia software, I cannot restore my old backup correctly. After restore with ContentCopy, the screen does not show the menu entries and the systems settings cannot be called. Any help appreciated! Than

  • LR 3 Exports listed in History

    I see that in LR 3, export actions are now listed in the Development History of a photo. I don't consider exporting to be a change to an image and I don't want my history cluttered up with export activities. Is there a way of turning this feature (wr