LSMW - LF as record separator

Hi,
I want to use LSMW to upload longtexts to SAP. Source file is an excel spreadsheet with two columns containing the material no and the longtext. If the longtext contains more lines each line is separated by an LF (word wrap within cell in excel)!
If I now save the excel file as TXT file and upload it in LSMW each CRLF and LF is recognized as "end of record indicator", but I only want CRLF as "end of record indicator"!?
Can I prevent LSMW from handling each LF as "end of record indicator"?
Thanks & Regards
Daniel
Edited by: Daniel Brack on Aug 3, 2010 2:01 PM
I just found the solution by myself. Take a look at note 1464980 - GUI_UPLOAD: Line break LF was accepted!

Hi,
I want to use LSMW to upload longtexts to SAP. Source file is an excel spreadsheet with two columns containing the material no and the longtext. If the longtext contains more lines each line is separated by an LF (word wrap within cell in excel)!
If I now save the excel file as TXT file and upload it in LSMW each CRLF and LF is recognized as "end of record indicator", but I only want CRLF as "end of record indicator"!?
Can I prevent LSMW from handling each LF as "end of record indicator"?
Thanks & Regards
Daniel
Edited by: Daniel Brack on Aug 3, 2010 2:01 PM
I just found the solution by myself. Take a look at note 1464980 - GUI_UPLOAD: Line break LF was accepted!

Similar Messages

  • Customized LSMW (Batch Input Recording) to upload data for Vendor

    Hello Fiends,
       can u help me on this object and how to upload in xk01.
            Customized LSMW (Batch Input Recording) to upload data for Vendor Master using Transaction code XK01
    With best wishes,
    Chandu.
    Point will be rewarded....

    Hi,
    Go through the following link, you will find your answer
    http://www.sapbrain.com
    Regards,
    Bhaskar

  • Lsmw (batch input recording)

    explain step by step procedure for uplodig master data through lsmw (batch input recording) method. please explain settings for auto field mapping in 5th step

    Hi Neela,
    These are the steps to be followed while doing a Batch Input Recording.
    LSMW STEPS (Batch Input Recording)
    1. Maintain Attributes:
    Here you have to choose the second option and you can do the recording how this should work. Then assign the same to the Batch Input Recording name.
    2. Maintain Source structure:
    Create a structure name
    3. Maintain Source field:
    Create a structure like the Input File
    eg:
    Name - LIFNR
    Description - Account number or Vendor Number
    4. Maintain structure relations:
    This will link the structure to the input file.
    5. Maintain field mapping and conversion rules:
    You can choose the Auto Filed Mapping under Extras Menu. Yopu can also do coding, depending upon the code you have written or assignment you have done the values will get picked up from the file and get processed.
    6. Maintain field mapping and conversion rules:
    If you have any fixed values you can define here.
    7. Specify files:
    Specify the input file path and type.
    8. Assign files:
    This will assign ur file to the Input file
    9. Read Data:
    This will read ur data from teh file.
    10. Dispaly Read Data:
    You can see the uploaded data
    11. Convert Data
    This will convert the data to the corresponding format for processing
    12. Display Converted data:
    13. Create batch input session
    Here this will create a batch input session for processing
    14. Run Batch Input session:
    By clicking on the session and process (Back ground or Display Errors)
    Refer the Below Links
    http://www.sapbrain.com/TOOLS/LSMW/SAP_LSMW_steps_introduction.html
    /people/hema.rao/blog/2006/09/14/lsmw--step-by-step
    http://help.sap.com/bp_blv1500/BL_US/documentation/LSMW_EN_US.doc
    http://esnips.com/doc/8e732760-5548-44cc-a0bb-5982c9424f17/lsmw_sp.ppt
    http://esnips.com/doc/f55fef40-fb82-4e89-9000-88316699c323/Data-Transfer-Using-LSMW.zip
    http://esnips.com/doc/1cd73c19-4263-42a4-9d6f-ac5487b0ebcb/LSMW-with-Idocs.ppt
    http://esnips.com/doc/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI.ppt
    http://esnips.com/doc/7582d072-6663-4388-803b-4b2b94d7f85e/LSMW.pdf
    http://help.sap.com/saphelp_erp2005/helpdata/en/e1/c6d30210e6cf4eac7b054a73f8fb1d/frameset.htm
    Reward Points if Useful
    Regards
    Gokul

  • (8I) SQL*LOADER에서 | (PIPE LINE)을 RECORD SEPARATOR로 사용하기

    제품 : ORACLE SERVER
    작성날짜 : 2003-10-21
    ===============================================================
    (8I) SQL*LOADER에서 | (PIPE LINE)을 RECORD SEPARATOR로 사용하기
    ===============================================================
    PURPOSE
    Oracle8i부터는 , SQL*Loader을 사용할때 record terminator을 지정할 수 있게
    되었다.
    Explanation
    Oracle8i 이전에는 record seperator로 default로 linefeed(carriage return,
    newline 등)였다. 이전에는 VAR 또는 FIX 등의 적당한 file을 다루기 위한 옵션을
    주어야 하기 때문에 복잡한 감이 있었고 flexible하지 못했다.
    Oracle8i부터는 , SQL*Loader을 사용할때 record terminator을 지정할 수 있게
    되었다. newline 또는 carriage return 문자를 포함하는 data 또는 special 문자를
    포함하는 data를 load하고자 할때 record terminator를 hexadecimal로 지정하여 활용할 수 있다.
    Example
    다음의 예제는 '|' (pipe line)을 record separator로 사용한다.
    record separator를 사용하기 위해서 SQL*Loader의 control file에 'infile'절에 적당한 값을 지정하여야 한다.
    아래의 예는 '|' (pipe line)을 사용하기 위해서
    "str X'7c0a'"을 'infile'절에 지정하였다.
    --controlfile : test.ctl
    load data
    infile 'test.dat' "str X'7c0a'"
    into table test
    fields terminated by ',' optionally enclosed by '"'
    (col1, col2)
    --datafile: test.dat
    1,this is the first line of the first record
    this is the second|
    2,this is the first line of the second record
    this is the second|
    SQL> desc test
    Name Null? Type
    COL1 VARCHAR2(4)
    COL2 VARCHAR2(100)
    $ sqlldr scott/tiger control=test.ctl log=test.log
    load된 data을 보면 아래와 같이 carriage return이 들어가 있는 data가 한 column에
    제대로 들어간 것을 볼 수 있다.
    SQL> select * from test;
    COL1
    COL2
    1
    this is the first line of the first record
    this is the second
    2
    this is the first line of the second record
    this is the second
    RELATED DOCUMENT
    <Note:74719.1>

  • Problem with LSMW infotype 1950 recording

    Hi !
    When I use The LSMW recording facility to play in a PO10 Properties (HR infotype 1950) I get error in the process step when the pgm action to the =UPD command  is to clear all the screens fields (pgm MP195000 screen 2000).
    I see that when LSMW process step is running sets sy-datar to "X" when MP195000 screen 2000 is executing and then a clear step executes
    ....but it do not be the same with manually infotyp input  by the same screens.
    Can some one help me  with this problem?

    Can I import it from the QA Client....there are lot of recording in this project , in which I just want to export/import only one project , how can I do that .

  • LSMW creating info records

    I am using standard batch input LSMW for creating info records with obj 0060 and program RM06IBI0. In the last step while running session I am getting error as 'Field EINE-EVERS. (shipping instructions ) is not an input field.' Does anybody know why? Is this field not there in ME11 transaction?

    resolved

  • LSMW Batch Input Recording for Create BOM

    Dear All,
    I want to do LSMW for Creating BOM using Batch Input Recording,
    I know that i have to make 2 time Recording, first for the BOM Header and second for the BOM item
    For the BOM header i have done it, but for the BOM item i got some trouble with the item number (POSNR),
    when i run the LSMW, for the first item (item 0010) was success, but for the item 0020, it can't work and i got error
    message " NO BATCH INPUT FOR SAPLCSDI 0150"
    How is the recording step by step for BOM Item so the Item number can increase well?
    Very need your help,
    Regards,
    Marufat

    Hello Santosh,
    Thanks for the reply,
    I already check in SM35 where i also thought that the main problem is about adding the new item number,
    but when i tried to do repeat recording, i can not find any entry for adding the line item, so the line item after 0010 cannot be input
    Is there any solution?
    Regards,
    Marufat

  • LSMW- Download error records to a file

    Hi Experts,
       I have a query regarding error handling in LSMW using Direct Input method.
    I want to upload a file using Direct Input method in LSMW(for material master).
    Once the upload is done, there may be some records which cannot be uploaded due to some errors.
    I want to download such records in the same structure as the source structure was, to the presentation server.
    I know i can validate in the conversion and mapping step, but i cannot find all the conditions when a upload will fail.
    Can Somebody guide me in this regard?
    Thanks and regards,
    Ravi kanth Talagana

    Bump...

  • LSMW with SE16 Recording

    Hello,
    I have a bespoke file that I am trying to load in LSMW.
    I have created a recording of SE16 where I entered a record.
    When I process this in the foreground it works fine. 
    When I process this in the background it fails saying "Table maintenance not allowed for table".
    The table is setup to have maintenance allowed otherwise the foreground processing wouldn't work.
    Any ideas appreciated, I've got 40,000 records to load !

    Try doing your recording over SM30.  Do you table maintenance there rather than SE16.
    Regards,
    Rich Heilman

  • FK01- Vendor created using LSMW (batch input recording)

    Hi,
    I have created an LSMW for Creating vendor. While doing the recording I gave the telephone number 2 TELF2 dield also. But when I upload the vendors, that field is coming blank. Is there any specific reason for that? Appreciate your help.
    Thanks and Regards
    Madhu Vutukuri

    HI,
    Check the fields you have created in 'Source Structure and file you are attaching columns' if it exactly matching then check in 'Maintain Field Mapping and Conversion Rules'.
    Try once and assign points if useful.
    Sarma BH

  • LSMW, batch input recording, structured file

    Hello,
    I'm new with LSMW.
    Is it right that with LSMW when used in batch input recording, it is impossible to use a structured file, with a header and with many item for exemple ?
    ( i try to do that with a financial transaction like F-02 )
    Thanks in advance for any help.
    (we are in WAS 6.20, LSMW 4.0 )
    Denis

    hai
    can any one help me how to handle lsmw with two structures  header & item data structures
    how can i map the target structures to source structures
    for example target recording structure have  ematn_01
                                                ematn_02
                                       how to map these 01 and 02 to source structures
    i have to take two source fields as ematn_01 & ematn_02
    or i have to map only one source ematn to all emant_01
                                                       _02
                                                       _03
    if there are n ematn's in that case how to map dynamically

  • Disadvantage LSMW Method besides Recording

    Hi Expert,
    In LSMW, there are several method such as Direct input, Batch recording, Bapi, and IDoc. Commonly, we use Batch recording. I would like to use another method for uploading the data, but then my supervisor ask me if there is disadvantage / side effect on using other method besides recording.
    Especially, if I want to use Bapi method, I need to activate Idoc inbound Processing. Is there any negative effect if I activate it?
    Thanks before

    If LSMW would only have recording as import method, then I would call the usage of the whole tool a disadvantage.
    I use LSMW for many years, and maybe because we are big company with complex processes I rarely find an option where recording can be a solution.
    Recording is static, most of the data I have to deal with requires flexibility, hence I have to make use of the other 3 import options.So it is an advantage to have Batch Input, IDOC and BAPI method.
    What is save, what is unsave? if you connect a test system with a productive system, then some say that this is unsave.
    Sure there can be side effects, especially if a an unexperienced user has to do the customizing.
    I personally have never seen a negative side effect with activating IDOC inbound processing in LSMW.

  • Audio, recorded separately, strays from sync

    Hello,
    I have three sources of media that I'm using in my project, which is a recording of a gig that my band played:
    - Sony AVCHD video camera (front view), includes one video and a stereo pair
    - Sony AVCHD video camera (side view), includes one video and a stereo pair
    - three tracks of audio that were recorded using a separate multitrack audio recorder (Zoom R16).
    I've figured out how to sync the sources together - I set an in point on a distinct piece of audio that exists in all three sources (actually it's someone coughing, I didn't think to have the drummer clap his sticks together before we started). Then I set an in point in the sequence, edited in the three sources, and adjusted the in points of the clips forward to the beginning of the set. At that point where the clips were matched up, the sources are perfectly in sync.
    However, within 30 seconds before or after the sync point, some drift is evident in the audio that was captured on the R16. And a few minutes out, it's seconds off. I capture these gigs one set at a time, so we're talking about clips that are an hour long (we usually do two or three sets).
    I didn't pay much attention to the detailed settings of the audio recorder before I captured the gig. Actually, I recall that the basic marketing/quickstart tutorials on the Apple website say you can pretty much use any video or audio in a single project in FCE and it would convert/transcode for you as necessary.
    Had a look at the clip properties, and I see that the audio captured in the cameras is 48.0 KHz, while the R16 captured the audio at 44.1 KHz. If I'd noticed the difference beforehand I would have changed the R16's settings to match, just to be thorough - but I am a little disappointed - I'd thought that there would be compensation for differences like these... this is digital!
    Could this difference in the sample rates be the problem? Regardless, can anyone suggest how I might be able to resample or convert the audio so that it doesn't drift like this?
    Thanks much in advance, and cheers.

    fudster wrote:
    RyanManUtd wrote:
    Hmmm ... honestly .... I am running out of ideas ...
    Can I ask:
    1. did you get both their starting point correct ?
    2. Are the duration of both the video clips & audio clips you are trying to sync the same length ? That is, if the audio is 10 secs, then is the video also 10 secs ?
    Thanks
    Hey -
    1. Yes, I'm certain that I matched up the in points correctly while making the edits. In the audio tracks, I zoomed in all the way so I could get sub-frame position - as described starting on pg 474 of the manual. At that point, they are in perfect sync. And as you get further away from that matched point in the sequence, the drift gets worse.
    2. The length of the audio that was recorded on the cameras is exactly the same length as the video (of course). The audio clips recorded on the R16 are all exactly the same length as each other as well.
    However the R16 clips are not the same length as the video clips, and the two videos are not the same length as each other. They are a few seconds different from each other, because of the way I start the recording - I step onto the stage and before we start playing, I use the infrared remote to start the recording on each of the cameras one at a time, and then I start the recording on the R16.
    I don't actually know how exact clip lengths from separate recording sources could be achieved, and since I'm editing them in separately, I think it shouldn't make a different. The keyword being "shouldn't", of course. In any case, if you extend the clips all the way out to play all the available media in the track (using up all the handles), the extents of the clips in the tracks appear a few seconds different from each other, as they should.
    Thanks for your suggestions, I'll keep trying to come up with something. Feel free to suggest other things you think of, I do appreciate your time and help.
    I have run out of ideas ... Anyone here can help ?

  • LSMW for VK11 Recording

    Hi Experts.
    WE have mass data to introduce by VK11.WE want to use LSMW recording.
    But the problem;
    We input condition type,then we have to select key combination.But we have to scroll down to click key combination.And lsmw does not read sroll down and select the first key combination instead of ours.
    İs the any solution to solve tihis problem..
    Thanks in advance..

    HI
    Not required to Take  scroll down
    After you created a First Step , take the Table and Fields names of
    Suppose Condition Type is PR00 , Key Combination : Customer / Material
    You need to maintain the Excel for the fields Condition type, Sale Org., Distribution Channel , Customer & material , Amount l if you required From date and TO date
    before execute the last step , before one more step is there , in that step just check whether values are uploaded correctly or not
    if not just check the file and do the necessary changes and same it in the same file name
    Run the Once with File upload Step onward's
    Kindly Avoid Posting into multiple forums , same thread you are posted in MM Forum
    for you reference check the below link
    [lsmw recording does not read Scroll down  |Re: lsmw recording does not read Scroll down]
    Regards,
    Prasanna

  • LSMW-Change Info Record

    Hi all,
    I need to use LSMW to change infor records, they are standard, consignment and subcontracting info records.
    How can I make the system to choose the right info record type? Do I need a recording with these three fields?
    NORMB                Indicator: Standard info record
    LOHNB                Indicator: Subcontractor purchasing info record
    KONSI                Indicator: Consignment info record
    Thanks!

    How do you know which info record you need to change?
    Based on what field  do you do this decision?
    I recommend not to use recordings, SAP has developed  LSMW import methods for info records that really work well.
    Recordings are only needed if SAP has not given anything in standard, mainly to load data into Z-tables.
    I recommend to have a look into the info record tables EINA and EINE
    EINE table has only  field ESOKZ that determines which type of info record it is.

Maybe you are looking for