Regd. lsmw  batch i/p recording

Hi,
I hav a doubt regd LSMW batch i/p recording. How do u upload header and item data using batch i/p recording option in LSMW when u hav 2 files with header data in one and item data in the other file.
I tried it but only the last item is being updated ..i.e iam able to get only one item added...though i am trying to add more than one item.
Can anyone guide me...?
Thanks..

hi sheetu,
Welcome to sdn..
with the recording option you could only do for one item only as itz intended for initial test transfer.
go ahead with standard program thru which u can upload for multiple line items...
Cheers,
Abdul Hakim
Mark all useful answers..

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

  • LSMW Batch recording

    Dear All,
    I am uploading stock using LSMW batch recording .I want to create only one material document for all the material stock upload.What is the procedure I have to follow.
    Please advice
    Thanks

    I doupt that this is possible, because of a technical limit in the accounting document.
    Accounting document can only have 999 items,
    Each material document item can create several accounting document items, because of this a physical inventory docuemnt is limited to 300 items.
    So you should at least create a new material document after 300 items to avoid a posting failure.
    Further recording is the worst method, which should only be used if no SAP given import method is present. for material movements you have standard/direct input and IDOC and BAPI methods  ready for use .
    In a static recording  you probably get already issues to enter more items than your first screen allows . In SAP given import methods you can just transfer records and count them and do a transfer_transactio when 300 items are reached.

  • Lsmw-batch input

    Hi all..
    Am uploading vendor master using lsmw-batch input method..when there s one record in my flat file its working fine.. But when i give more than one record its throwing some errors and i cant create the session.. can any one help me regarding this...
    Points will be rewarded generously...
    Thanks and regards
    Ashu

    hi mrutyun..
    the structure relations are correct since it works fine if i have only one record..
    Am using the transaction XK01 for uploading.. Its reading all the records and converting perfectly..it shows error like
    Trans. 1 record 2: Table BLFA1 was transfered more than once its like a warning message and i cant process the session..
    its saying like <b>EDITING TERMINATED</b>

  • Problem about House Number of Vender Transfer by using LSMW+Batch-Input

    Hi,
    anyone has met the same problem?
    by using LSMW+Batch-Input method to transfer vender data the field House Number cannot be added.
    Object: 0040 Vendor Master
    Method 0002 Shared
    Program Name RFBIKR00
    Program Type B Batch Input
    Thanks in advance!

    in Vedndor master LSMW batch input method there is no field for House Number , we have only one filed
    (STRAS)for street and house numner in LSMW.
    first create the vendors after that update through XK02
    for this you can write program small LSMW recording  method
    using below fileds
    LIFNR                          C(010)    Vendor
    BUKRS                          C(004)    Company Code
    STREET                         C(060)    STREET
    HOUSE_NUM1                     C(010)    HOUSE_NUM1

  • How to export the Batch Input Session recording

    Hi,
    i want to export Batch Input Session Recording created by using LSMW from Developement server to quality.
    Plz help.

    Hello,
    To move to the quality system.
    First Import the lsmw in text file in development system.
    To import LSMW Tcode u will find Extra option in menu bar from there choose IMPORT PROJECTS.
    save the file in desktop.
    Second to move to quality system
    go to LSMW tcode in quality system.
    use EXPORT Projects from same menu bar EXTRA then follow the procedure.
    LSMW cannot be transproted

  • LC Output - problem big batch of 1000+ records

    Hi,
    I am creating a prototype with LC Output. The calling application will produce big XML file - Batch with more than1000 records.
    Example XML data:
    <?xml version="1.0" encoding="utf-8"?>
    <BATCH>
    <formDataRecords>
    <LC_KOMA002>
    <customerNameAddress>Jensens Biludlejning</customerNameAddress>
    <customerNameAddress>Vestergade 21c</customerNameAddress>
    <customerNameAddress>7100 Vejle</customerNameAddress>
    </LC_KOMA002>
    <LC_KOMA002>
    <customerNameAddress>Pete Petersen</customerNameAddress>
    <customerNameAddress>Vestergade 10</customerNameAddress>
    <customerNameAddress>7100 Copenhagen</customerNameAddress>
    </LC_KOMA002>
    </formDataRecords>
    In a setVariables step I extract the XML data to be merged with formTemplate. I extract all all nodes under <formDataRecords> in a new XML variable.
    I use this xml as input data to a GeneratePDFOutput (LC Output). The GeneratePDFOutput is set up with 'multiple streams&apos; and &apos;record level&apos; 2 and &apos;Record name&apos; = <LC_KOMA002>. I use the &apos;Output Location URI&apos; to save the pdf with incremental filename xxx1,2,3,4.pdf
    The workflow works fine with 500 records - here it produces 500 pdf files with 1 page.
    Problem:
    When running with 1000 records or more my process does not produce any pdf. The watchedfolder take my XML datafile. But after 3-4 min. it returns this error in the ERROR server log.
    2010-08-12 11:52:00,484 WARN [com.arjuna.ats.arjuna.logging.arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_58] - Abort of action id a10ed08:ce4d:4c596be4:15f4fee invoked while multiple threads active within it.
    It seems like GeneratePDFOutput run out of memory in some way when it handles more that 500 records.
    I hope that you have ideas to configuration/settings that can be used on the Adobe LC server or CL Output so that it can handle large batch jobs??
    I look forward to all you clever solutions - I really want to show the customer Adobe LC can do this one :)
    /Thomas Groenbaek, Jyske Bank

    Thanks Neal,
    You are always a life saver... and wauw you second post, it takes the tough questions to get you out :)
    Great info. I have now succesfully produced Batches with 1000 records and 2000 records. This means my GeneratePDFOutput create 1000/2000 PDF with one pages and 1 Big of 1000/2000 pages.
    Just want to share with everybody what settings I adjusted on my Adobe LC server:
    1) In C:\Adobe\Adobe LiveCycle ES2\jboss\bin\run.bat
    set XX:PermSize=512m -XX:MaxPermSize=512m -Xms2048m -Xmx2048m
    2) In C:\Adobe\Adobe LiveCycle ES2\jboss\server\lc_turnkey\conf\jboss-service.xml
    set <attribute name="TransactionTimeout">900</attribute> Default 300
    3) In Home > Services > Applications and Services > Service Management
    Find service 'outputservice1.1&apos; and click link to open settings
    Changed &apos;Transaction Time out&apos; from default =180 to 900
    When I produce batch with 2000 record it produced all 2000 PDF but I had an error right after it finished:
    2010-08-13 15:16:43,076 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract java.lang.Object com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterLocal.doRequiresNe w(com.adobe.idp.dsc.transaction.TransactionDefinition,com.adobe.idp.dsc.transaction.Transa ctionCallback) throws com.adobe.idp.dsc.DSCException, causedBy:
    java.lang.IllegalStateException: [com.arjuna.ats.internal.jta.transaction.arjunacore.inactive] [com.arjuna.ats.internal.jta.transaction.arjunacore.inactive] The transaction is not active!
    Anybody knowing what caused this error and how to solve it
    /Thomas Groenbaek

  • Reg LSMW-Batch/Direct Input

    Hi All,
        I have small issue , I am using LSMW-Batch/Direct Input method i this method am using some fields and as per those fields i maintain flat file  data.
    in 7th step i specify file name , while saving that one am getting this Error message i.e.
    File Name 'Converted Data': Max. 45 Characters. Remaining data saved.  so please could you help me abt that .
    Thanks & Regards,
    SHAIK.

    Hi Shaik,
    In specify files step -> Files -> converted data the filename will be automatically proposed by system.
    <Project name><Subproject name><Object name>.lsmw.conv
    this file name should not exceed 45 characters. so please cut short the names of Project name / Subproject name/Object name or
    double click on proposed file name and change it.
    Regards,
    Savitha

  • Split the file in the batches of 1000 records

    Hi,
    I need to read a fixed length file from SAP system and then have to send the file which is combination of a huge number of records (e.g 100000) in the batches of 1000 records each to the target system.The target system which is a third party has a constraint of accepting only 1000 records in a file.
    What is the best approach we may use here to split the file in the batches of 1000 records and then send the file to the target.
    Kindly suggest.
    Thank You.
    Regards,
    Indu Khurana.

    The adapter will will take care this and split the input file (message) into smaller message batches (set to the number of records defined by you, say 1000).  Each of these smaller batches will be processed as per your design and configuration.  For example a straight through sender and receiver will have the sender splitting the input file into batches of 1000 messages which will be delivered to your receiver.  You could also add a timestamp or the like to stop the file being overwritten at the destination.
    Regards,
    Mike

  • Suggestions for improving this update in batches of 100 records

    I'm currently using the following PL/SQL code to update batches of records in groups of 100 records at a time.
    - DB Version : Oracle9i Enterprise Edition Release 9.2.0.7.0
    - There is an index on columns : AHS_CONTACT_TYPE, SYNCSTATUS
    - I have to commit the records in batches of 100
    -- Mark all the Agents "In Process" (regardless of Owner)
    -- Update last_modified_by_id to 'SALESFORCE_LOADED' if the
    -- last_modified_by_id column is 'SALESFORCE_SYNC' and
    -- the ID column is NOT NULL
       ln_count := 0;
       FOR C IN (SELECT tmpsf_CONTACT.ROWID
                   FROM tmpsf_CONTACT
                  WHERE ( AHS_CONTACT_TYPE = c_sfContactType_AGENT ) AND
                         ( SYNCSTATUS <> c_sfsyncstatus_IN_PROCESS )
       LOOP
          UPDATE tmpsf_CONTACT
             SET SYNCSTATUS = c_sfsyncstatus_IN_PROCESS,
                 LAST_MODIFIED_BY_ID = decode( LAST_MODIFIED_BY_ID, c_username_SALESFORCE_SYNC,
                                                            decode( ID, NULL, LAST_MODIFIED_BY_ID,
                                                                        c_username_SALESFORCE_LOADED),
                                                            LAST_MODIFIED_BY_ID)
           WHERE ( tmpsf_CONTACT.ROWID = c.ROWID );
          -- Commit every 100 records       
          IF (ln_count >= 100) THEN
             COMMIT;
             ln_count := 1;
          ELSE
             ln_count := ln_count + 1;
          END IF;
       END LOOP;
    -- Catch last batch with any records less then 100
    COMMIT;Does anyone have any suggestions about further improving this performance?
    Thanks,
    Jason

    Okay, I have to do it batches per our DBA group.
    This is not up for debate...unfortunately. Their
    r reasons :
    - To keep the rollback segment small Very small apparently, in fact in this test, updating 100 rows of 2 varchar2(200) columns uses 56 KB of rollback. Updating the whole 10,000 rows uses 5 MB. Is this database running on a pocket USB flash drive? Currently costing $30 for 512 MB from Amazon
    http://www.amazon.com/gp/product/B0000B3AKR/qid=1136558252/sr=8-2/ref=pd_bbs_2/103-9580563-3995040?n=507846&s=electronics&v=glance
    SQL> create table t as select rpad('x',200,'x') a, rpad('y',200,'y') b
      2  from dual connect by level <= 10000;
    Table created.
    SQL> update t set a = replace(a,'x','y'),
      2    b = replace(b,'y','x')
      3  where rownum <= 100;
    100 rows updated.
    SQL> select
      2      used_ublk undo_used_blk,
      3      used_ublk * blk_size_kb undo_used_kb,
      4      log_io logical_io,
      5      cr_get consistent_gets
      6  from
      7      v$transaction, v$session s,
      8      (select distinct sid from v$mystat) m,
      9      (select to_number(value)/1024 blk_size_kb
    10          from v$parameter where name='db_block_size')
    11  where
    12      m.sid       =   s.sid
    13  and ses_addr    =   saddr;
    UNDO_USED_BLK UNDO_USED_KB LOGICAL_IO CONSISTENT_GETS
                7           56        337             227
    SQL> rollback;
    Rollback complete.
    SQL> update t set a = replace(a,'x','y'),
      2    b = replace(b,'y','x');
    10000 rows updated.
    SQL> select
      2      used_ublk undo_used_blk,
      3      used_ublk * blk_size_kb undo_used_kb,
      4      log_io logical_io,
      5      cr_get consistent_gets
      6  from
      7      v$transaction, v$session s,
      8      (select distinct sid from v$mystat) m,
      9      (select to_number(value)/1024 blk_size_kb
    10          from v$parameter where name='db_block_size')
    11  where
    12      m.sid       =   s.sid
    13  and ses_addr    =   saddr;
    UNDO_USED_BLK UNDO_USED_KB LOGICAL_IO CONSISTENT_GETS
              626         5008      31898             594
    SQL>>
    - To prevent tying up the entire table
    They don't know much about Oracle these DBAs do they, what exactly do they mean by "tying up the table"?
    Maybe they didn't get past the 2 Day DBA manual to the Concepts guide yet?
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14220/consist.htm#i13945
    >
    - And the most important, replicated transactions
    must be reasonably small for throughout across the
    WAN
    I don't know what replication engine is being used, but the loop approach uses a huge amount more of REDO than a simple set based update. Most replication applies the REDO to the remote database to synch it up. The loop will cause more data to be transferred over the WAN than a single update.
    >
    Either way, I want to optimize this code as much as
    possible. In fact, today I found a need to do a
    similar update again...
    Just do the update. It uses less resources and is faster becasue of it. The slow approach does not use fewer database resources because you are throttling it. It is slower because it requires more of everything.

  • 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, 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

  • 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

  • Regd: LSMW

    Hi All,
    While uploading the data's in the T-Code "J1ID" for 'Excise Tax Rates' we get an error 'No batch input data for screen SAPMJ1ID 0200' at the end of the transaction,but it saves the data's in the relevent fields 1ly,
    Inspite we have done the recording and the mapping of fields excatly and correctly we get this message, the message says that Batch input was created incorrectly, But we don't find any problem in the Batch Input Session method.
    Suggestions and Help will be much appreiciated.
    Thanks & Regds.
    Ramesh.

    Hi Ashok Kumar Prithiviraj,
    I know that its the Intial Screen it gives error after saving the data. So i think i have given the relevant inputs to staisfy the condition.
    Thanks & Regds.
    Ramesh.

Maybe you are looking for

  • Error in updating BO record

    Hi all,        I am trying to update one of the attribute of BO record by calling update function of BO in an application service. But i am getting an error message " Entity is locked by user guest". I have written following code. // getting service

  • Protect Mode with APP-M

    Hello, I have a problem with Adobe Reader XI Protect Mode. When we open a PDF document through the APP-V layer I have an Access Dennied: Look the LOG: [12:11/13:40:07] NtCreateFile: STATUS_ACCESS_DENIED [12:11/13:40:07] real path: \??\mailslot\Lilo17

  • Exclude folders in a search with smart folders

    setting up a smart folder or doing a search, using the "kind", the only choice is "kind is". I would like to exclude folders. How could you do that? Or if I say kind is documents it finds text files but excludes Excel files. Basically I want everythi

  • Help with RSS

    Hi guys Basically, I would like to create a panel for Photoshop CS4 getting an RSS feed of my video tuts. I know how to put the video window but I would like the RSS links to show the video once clicked. Kind of like what Scott Kelby did HERE but ins

  • Saving a freeze frame as a jpeg?

    I've done this in the past when I was on FCP3, now I've upgrade to 6 and it's a little different. All of my options are OfflineRT HD, NTSC and PAL. It says Photo JPEG but just saves it as a .mov. How do do this?