Table Control in LSMW

Hi All,
I have used XK01 tcode to upload vendor details as well bank details.Bank details are in Table Control. Here in this table control the number of visible rows are 5. And I did LSMW, recording for one vendor with 5 bank details.
I have taken all the fields in a single row in the file in the sequence of Recording, and the entries in file are uploading into database as well. But while I am giving more than 5 enttries in file, I am unable to update.
Can any one of you navigate me how to upload the entries in file at table control in LSMW.
Best Regards,
Ubedulla.

Hi !!
In step 1 of lsmw.
choose IDOC.
Message TYPE CREMAS: BASIC TYPE CREMAS04.
The rest of steps are mostly the same.
The differency is thaht jou have orginaly prepared structure of data.
in step 2. do like this
Source Structures
        SVENDOR                  VENDORS HEADER
            SBANKS                   Banks
(hierarchical structure - SVENDOR to main data SBANKS for banks deatil)
in step 3.
maintain source fields for both structures.
the assign structure in step 4.
for examle like this
     E1LFA1M Segment for general vendor data                               <<<< SVENDOR VENDORS HEADER
             Select Target Structure E1LFA1M .
         E1LFA1A Segment for standard vendor data -  enhancement
         E1LFA1H Vendor Master Basic Data: Texts, Header
             E1LFA1L Vendor Master Basic Data: Text Lines
         E1LFB1M Segment for company code data for vendors SMD                <<<< SVENDOR VENDORS HEADER
             E1LFBWM Segment for withholding tax types in vendor master
             E1LFB5M Reminder data for vendor SMD
             E1LFB1H Vendor Master Company Code: Texts, Header
                 E1LFB1L Vendor Master Company Code: Text Lines
         E1LFM1M Segment for purchasing organization data vendor SMD          <<<< SVENDOR VENDORS HEADER
             E1LFM2M Segment purchasing data for vendor MMS SMD
             E1WYT3M Segment for addresses of vendors MMS SMD
             E1LFM1H Vendor Master Purchasing Organization: Texts, Header
                 E1LFM1L Vendor Master Purchasing Organization: Text Line
         E1LFBKM Segment for bank details of vendor SMD                       <<<< SBANKS  Banks
         E1LFASM Segment for EU tax numbers vendors
         E1WYT1M Segment for vendor sub-range MMS SMD
             E1WYTTM Segment for vendor sub-range identification SMD
(sorry for formating but it was taken from my ready lesm project).
The rest is mostly the  same like with butch input.
In assign files it would be better to creat 2 files - one with vendor master data one with banks.
what you have to do more is to create lsmw ports (LSMW -> settings -> IFOC inbound processing)
br, JACEK

Similar Messages

  • How to use table control in LSMW

    Hello All,
    I have requirement to use LSMW , in my using transaction have table control ,I need to pass values in table control . how to use table control in LSMW .Can any one give me the solution for this.
    Best regards,
    Satya.

    Note: The recording function records a fixed screen sequence. It cannot be used for migrating data containing a variable number of items or for transactions with dynamic screen sequences!
    Tip: It is possible to create a recording via SHDB, generate a program out of this recording, and adopt the program to your needs and registrate the program to be able to use it in LSMW.
    That’s means, for creation of project and WBS Elements is not possible through
    1. LSMW-BDC (For both CJ01 and CJ20n)
    2. LSMW-BAPI (Method: Maintain is not listed )
    3. LSME-Standard Batch Direct Input.
    It’s possible through programmatically(SE38.) either using BAPI Or BDC.
    Thanks,

  • How to handle table control in lsmw recording method

    hi expert please tell me the procedure for how to handle table control in lsmw recording method
    Locked for same reason as how to upload data for me01 using LSMW BDC METHOD
    Edited by: Matt on May 9, 2011 8:52 AM

    Sri,
    just search in SDN search box by giving table control in lsmw you will get hell lot of threads for same.
    Amit.

  • Handling table control in lsmw

    hi,
    i need a help to handel table control in lsmw.
    i have created two source structure zheader and zitem.
    then at the time of maintain structure relations its taking only one structure . means i am able to assign only zheader structure. how can i assign both the strucure zheader and zitem here ?
    Thanks.
    Regards,
    Pooja Joshi.

    LSMW in table controls
    How to use table control in LSMW
    LSMW
    Handling Table controls in LSMW

  • Table control in lsmw tcode me01

    MY requirement is develope an object in lsmw recording method for tcode me01 .
    this tcode has a table control .
    how to handle the table control and what will be the logic for that .
    where to write the logic?
    the source file is one only .
    please help me out.urgently

    Sri,
    just search in SDN search box by giving table control in lsmw you will get hell lot of threads for same.
    Amit.

  • Handling Table controls in LSMW

    Hi All,
             Need a help regarding LSMW.Is it possible to handle table control using LSMW if the rows are dynamically changing or do we need to use BDC ?
    appropriate answers will be rewarded.
    Thanks,
    Sandeep

    hai sandeep,
       check this link...
    LSMW TABLE CONTROL
    http://www.jt77.com/development1/programming-15871.html

  • Table controls in LSMW

    Hi friends,
    Iam doing the LSMW for Source list(ME01) for  Materail..
    Its a small transaction..Number fields also less compare to other transaction..
    Problem is..its completely table control.. how can i give the fields in file format..
      How its comming next line for updating in table control.. Any body done the lsmw  for table control.please help me..
    what kind of precauctions i have to take for that updation in Table control..
    regards,
    sampath

    hi,
    You can have your own custom programs for LSMW. You need to register you custom program in table through SM30.
    SDX0 - Program Definition ( BI or DI )
    SDX1 - Program Assignment
    SDX2 - Declaring Structures
    SDX3 - Declaring field identifiers for structures
    You can goto SM30 and can view the standard BI/DI programs definition by using the four digit Obejct Number...
    ~~Guduri

  • How to handle table controls using LSMW

    Hi All,
    how to use LSMW to handle table control like header and item details eg. VA01 , ME21 etc. To handle these kind of trnasactions can we use LSMW instead BDC to upload data. Please let me know.
    Thanks in advance.
    Regards,
    Kalpana

    Hi Kalpana,
    You can have your own custom programs for LSMW if the standard DI/BI IDOC , BAPI dont meet your requirements.
    Its little bit complex. You need to register you custom program in table through SM30.
    SDX0 - Program Definition ( BI or DI )
    SDX1 - Program Assignment
    SDX2 - Declaring Structures
    SDX3 - Declaring field identifiers for structures
    You can goto SM30 and can view the standard BI/DI programs definition by using the four digit Obejct Number...
    <b>AS</b>

  • Reg:lsmw(table control)

    hi friends,
            i need some issues regarding lsmw.
    how to handle the table control in lsmw?
    if it is possible r not? pls tell me urgently

    Sri,
    search with term table control in lsmw in SDN.am sure you will get your answer,.
    Amit.

  • LSMW - table controls

    Dear all,
    Could we upload data for table controls in LSMW?
    If yes please let me know how to go about it (if possible with an example plz)
    Thanks,
    Regards,
    Beeram

    yes..it is possible...

  • Problem with table controle

    hai experts
    how should i implement a table control in LSMW please send me u r seggassions and code also
    Message was edited by:
            venkat rathnam

    hai experts my question has not been answered yet please send me answer

  • How can we handle table control parameter in lsmw

    hi guru,
    please tell me  how can we handle table control parameter in lsmw.
    thanks & regards
    subhasis.

    Hi,
    we  create table control program (module pool) this program use in LSMW,
    we mention the transaction code ,write ur  table control program name.
    This is use full for u
    Reguards,
    lakshmi

  • How can I work lsmw with table control using mm01 appl?

    Hi
    How can I work lsmw with table control using mm01 appl?
    Is it difefrent the way we handle table control in BDC?
    Thank You

    Hi
    How can I work lsmw with table control using mm01 appl?
    Is it difefrent the way we handle table control in BDC?
    Thank You

  • How to handle Table control in BDC? Difference between BDC & LSMW?

    Hi
    How to handle Table control in BDC? Difference between BDC & LSMW?
    Regards,
    Raghu

    Hi ,
    the diff b/w normal BDC and with table control is that with table control u can enter as many lineitems as u want..so during recording if u r entering 3 line items..then the program will show (1), (2) and (3) with that.
    chane that fixed no to variable.
    check that sample code.
    in this for new customer...any no of items can be entered.
    LOOP AT t_cusdata.
        REFRESH t_bdcdata.
        ON CHANGE OF t_cusdata-kunnr.
    initial screen.
          PERFORM bdc_dynpro      USING 'SAPMV10A' '0100'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                  'MV10A-VTWEG'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                  '/00'.
          PERFORM bdc_field       USING 'MV10A-KUNNR'
                                  t_cusdata-kunnr.
          PERFORM bdc_field      USING 'MV10A-VKORG'
                                  t_cusdata-vkorg.     "'HCL'.
          PERFORM bdc_field       USING 'MV10A-VTWEG'
                                  t_cusdata-vtweg.     "'HL'.
          DATA: fnam(20) TYPE c,
                fnam1(20) TYPE c,
                idx(2) TYPE c.
          MOVE 1 TO idx.
          LOOP AT t_matdata WHERE kunnr = t_cusdata-kunnr.
            PERFORM bdc_dynpro      USING 'SAPMV10A' '0200'.
            CONCATENATE 'MV10A-KDMAT(' idx ')' INTO fnam.
            PERFORM bdc_field       USING 'BDC_CURSOR'
                                          fnam.
            PERFORM bdc_field       USING 'BDC_OKCODE'
                                           '/00'.
            CONCATENATE 'MV10A-MATNR(' idx ')' INTO fnam1.
            PERFORM bdc_field       USING fnam1
                                          t_matdata-matnr.      "'FIN50'.
            PERFORM bdc_field       USING fnam
                                          t_matdata-kdmat.  "'ABCD'.
            idx = idx + 1.
          ENDLOOP.
          PERFORM bdc_dynpro      USING 'SAPMV10A' '0200'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                  'MV10A-MATNR(01)'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                  '=SICH'.
          CALL TRANSACTION 'VD51' USING t_bdcdata MODE 'A' .
                                        UPDATE 'S' MESSAGES INTO t_err_mes.
    Regards,
    Sonika

  • How to handle the table control While working with LSMW?

    How to handle the table control While working with LSMW?

    its possible in lsmw,
    Hi,
    LSMW will have a Indicator for headr and itam, i do not remember the correct field, but it will have an indicator, check the fields, there will be a single charecter lenght field, that should be the indicator, and using that we can write the logic.
    check that single charecter field, it that is X that means the header record is processed, and do the items.
    and, this is another way, try this out also
    YOu can do this in "Define Source Structures" step,
    the HEADER is defined first,
    then the DETAIL below the HEADER.
    add the fields to the structures.
    Both should have some common key field
    Please take care that the name of the common field is the same.
    Once you do this it is linked. The you have a header and item corresponding to that header. then run the LSMW as you would.
    Thanks

Maybe you are looking for

  • PDF printing errors with InDesign CS4 docs

    I've discovered somewhat belatedly that since upgrading from CS3 to CS4, every pdf I have created in InDesign (a dozen or more) won't print. After a general error message, "the document could not be printed," I get one or both of these messages: "the

  • Error when deploying imported LCA when the same application already exisits.

    Afternoon All, We are getting errors when trying to deploy a newly imported LCA when the application was already running on the server. Environment: ES2.5 All recent SP's and QF's applied. Windows 2k8 R2, MS SQL 2005 Details: We already had a deploye

  • HTML Content in UWL Description

    Hi All, We are developing UWL Connector with third party system. We want to display HTML Content in UWL Description.  I tried with embedding HTML tags with Description. But it displays description with HTML tags. Is it possible to embed HTML design w

  • I AM GOING TO HATE PC SUITE

    I know that writing in capitals is considered as schouting. But again after updating PC suite to the latest version there is a problem. As after installing the previos version i got a never ending install issue with windows portable device. After the

  • Reg derived roles combination into composite role

    Dear All, We have a role called GR Clerk. This will be available across all stores and DC for our retail customer. We have devised a strategy wherein we will create one global role with * in org level for site. Then we will create derived roles for i