LSMW: Uploading Vendor Master : Muliple-Items

Hi ,
This is Prabhu , i created one LSMW for Uploading vendor Master .For Withholding tax Type i have to upload atleast 18 items.for that one I given Pagedown to Fill all The Item.But In the maintaining Source Structute I am getting Error.How can overcome This error.How to handle Table Control COncept in LSMW.
please Guide me.
regards
Prabhu

First Set :-„³   
     SAPMF02K 0610
          BDC_OKCODE                     =P+
         BDC_SUBSCR                     SAPMFWTV
         BDC_CURSOR                     LFBW-WT_SUBJCT(06)
         LFB1-QLAND                     IN                   QLAND  
         LFBW-WITHT(01)                 1A                   WITHT_01         
         LFBW-WITHT(02)                 1B                   WITHT_02 
         LFBW-WITHT(03)                 1C                   WITHT_03            
LFBW-WITHT(04)                 1D                   WITHT_04                          LFBW-WITHT(05)                 1E                   WITHT_05
LFBW-WITHT(06)                 1G                   WITHT_06            LFBW-WT_SUBJCT(01)             X                    WT_SUBJCT_01        
LFBW-WT_SUBJCT(02)             X                    WT_SUBJCT_02                      LFBW-WT_SUBJCT(03)             X                    WT_SUBJCT_03                      LFBW-WT_SUBJCT(04)             X                    WT_SUBJCT_04                      LFBW-WT_SUBJCT(05)             X                    WT_SUBJCT_05                      LFBW-WT_SUBJCT(06)             X                    WT_SUBJCT_06        
For Second Set
         SAPMF02K 0610
             BDC_OKCODE                     =P+
             BDC_SUBSCR                     SAPMFWTV
             BDC_CURSOR                     LFBW-WT_SUBJCT(06)
             LFB1-QLAND                     IN                   QLAND
             LFBW-WITHT(01)                 1H                   WITHT_01 
             LFBW-WITHT(02)                 1S                   WITHT_02            
             LFBW-WITHT(03)                 1T                   WITHT_03            
             LFBW-WITHT(04)                 2A                   WITHT_04            
             LFBW-WITHT(05)                 2B                   WITHT_05            
             LFBW-WITHT(06)                 2C                   WITHT_06            
             LFBW-WT_SUBJCT(01)             X                    WT_SUBJCT_01        
             LFBW-WT_SUBJCT(02)             X                    WT_SUBJCT_02        
             LFBW-WT_SUBJCT(03)             X                    WT_SUBJCT_03        
             LFBW-WT_SUBJCT(04)             X                    WT_SUBJCT_04        
             LFBW-WT_SUBJCT(05)             X                    WT_SUBJCT_05
Here I am enclosing The Source Structure .i am looking for Ur Comments on This .
I am doing recording itself.

Similar Messages

  • LSMW Upload vendor master data

    I am uploading vendor master data via a batch input in LSMW (program RFBIKR00).
    I uploaded all the vendors for 1 company code.
    When I try to upload the vendors for another company code, in the step “Create Batch Input Session” I get the error: “Trans. 1 XK01 : Acct already exists; general area not being processed, ... Data in table BLFA1 cannot be processed”.
    When I try to manually create a vendor for another company code via tcode XK01, I have no problems. But when I create an existing vendor manually for another company code I don’t have to add the information which is contained in table lfa1.
    Therefore I tried to upload the vendor, which has to be created for the company code, with a “/” in the data for table lfa1. But this doesn’t work.
    Has somebody a suggestion to solve this problem?
    Thanks

    In the similar thread you said:
    "If the vendor exists in LFA1 but not LFB1, use XK02 with the structures for LFA1. Then use XK01 with the structures for LFB1."
    It is not possible to use XK02 in order to create the vendor for another company code if the vendor already exists with a certain company code. You will get the error "Vendor xxx has not been created for company code yyy".
    The problem is that LSMW requires a mapping onto structure LFA1, but when the vendor already exists for a certain company code, LSMW returns in the step "Create Batch Input Session" the error: "Trans. 1 XK01 : Acct already exists; general area not being processed, ... Data in table BLFA1 cannot be processed".

  • LSMW Upload vendor master data problem

    Hello,
    I have to upload vendor master data with LSMW.
    I'm using a batch input with the program RFBIKR00.
    In the step "Create batch input session", I get the following error:
    FB012 Session 1 : Special character for 'empty field' is /
    FB007 Session 1 session name VENDOR was opened
    FB112 Trans. 1 : No transaction code was transferred
    FB016 ... Last header record ...
    FB014 ... BLF00-STYPE 1
    FB014 ... BLF00-TCODE /
    FB014 ... BLF00-LIFNR DETES998
    FB014 ... BLF00-BUKRS /
    FB014 ... BLF00-EKORG /
    FB014 ... BLF00-KTOKK 0001
    FB013 ....Editing was terminated
    Does anyone know how to solve this error?
    Kind regards,
    Frank

    Hi ,
    first up all u r not mentioning the tcode and other mandatory field values...just in the field mapping and conversion step...
    click -->Extras -->Layout and select all fields
    and give default values to field TCODE,and other fields also and also check whether mapping conversion with regard to source is correct or not...
    If still any doubts i can clarify
    Regards,
    Sridhar Reddy
    Message was edited by: sridhar reddy kondam
    Message was edited by: sridhar reddy kondam

  • Error in the LSMW for vendor master using standard batch/direct input

    I am facing the problem in the LSMW for the Vendor master data. The vendor is initially created for the company code 350 by using LSMW. NOw when I try to uploasd the same vendor using the same LSMW for the company code 450 then I get the error in the Bach input creation as follows:
    Batch Input Interface for Vendors
    FB012                    Session 1 : Special character for 'empty field' is /
    FB007                    Session 1 session name VNDR_CREATE_ was opened
    FB104                    Trans. 2 XK01 : Acct already exists; general area not being processed
    FB125                    ... Data in table BLFA1 cannot be processed
    FB016                    ... Last header record ...
    FB014                    ... BLF00-STYPE 1
    FB014                    ... BLF00-TCODE XK01
    FB014                    ... BLF00-LIFNR 300951
    FB014                    ... BLF00-BUKRS 402
    FB014                    ... BLF00-EKORG /
    FB014                    ... BLF00-KTOKK VEND
    FB017                    ... Last data record ...
    FB014                    ... BLFA1-STYPE 2
    FB014                    ... BLFA1-TBNAM BLFA1
    FB014                    ... BLFA1-ANRED /
    FB014                    ... BLFA1-NAME1 SAVOIE AUTOMATISME DEXIS
    This is because when we use XK01 to create the vendor by using the

    Please check this answered link:
    Re: LSMW for Vendor Master
    LSMW Upload vendor master data
    Edited by: Afshad Irani on May 5, 2010 12:42 PM

  • Upload vendor master with multiple phone numbers through LSMW

    Hi,
    I am trying to upload vendor master data with multiple telephone numbers. I am using BAPI BUS4001 , method SAVEREPLICA . It has allow me add only phone number. Is there any workout to short out this issue?
    Thanks in advance.
    Regrads,
    Suresh Yerra.

    Dear All,
    the telephone structure in bapi is a table. so append each telephone record to the table for multiple phone numbers.
    Thanks,
    Suresh Yerra

  • Upload vendor master in LSMW

    Hi, all, i want to upload vendor master in mass. And for the upload data, there is same vendoer with different company code or purcharsing organization, how should I complete it?

    Object 0040 Vendor master
    Method 0001 Standard
    Program Name RFBIKR00
    yeah, in fact, I use this method. In the upload file, I create two same records except the company code or purcharsing organization. But it is not OK.
    Is there anything should I take care?

  • LSMW for Vendor master

    Hi All,
    I am trying to use LSMW for Vendor Master upload.
    I have gone through all the steps and it is showing correct data in "Display Read Data".
    Also the data in "Display Converted Data" is correct.
    However when i am running step "Create Batch Input Session" , it is giving following errors:
    (1) Transaction XK01 is not supported
    (2) editing ws terminated.
    Wt could be possible reason for this,I am using standard Batch method for object 0040 and program name RFBIKR00.
    ("Maintain Object Attributes" details).

    hello,
    in the field mapping step, check whether tcode field has been assigned as XK01 properly.
    Reward Points if it is Useful.
    Thanks,
    Manjunath MS

  • Data upload Vendor Master Chinese character from Excel does not upload

    Hi Gurus,
    We are trying to upload Vendor Master from Excel sheet.
    The Chinese characters in excel sheet is not getting uploaded.
    After upload, we see in SAP as ????? for these Chinese character.
    Could any one inform what setting I may need to change?
    Thanks and Best Regards,
    Mohan

    Hi Bala,
    Goto he Initial screen of SAP and click the ALT+F12    costomizating of local setup.the choose the options-->choose the I18N Tab in that POP up and check the Activate the multi byte support.
    press Apply and OK.
    close the  SAP Log on and Re-loag on.if u r not closing the Logon screen the changes wiil not effect.
    or
    click on the log on SAP and choose the server  name -->right click ->Properties>chose the log on language as chanies .-->Apply and Logon.
    Now u can eassily Upload to the Excel in checnies language.
    Thanks & REgards,
    Nelson.

  • Upload vendor master data from legacy system to internal table tcode xk01

    through batch input program how to upload vendor master data from legacy system to internal table and then to SAP R/3 database(transaction XK01) by using recording method.

    By learning the basics of BDC recording and the use of GUI_UPLOAD

  • To upload vendor master using BDC

    how to upload vendor master details using vendor master,
    the problem is while recording XK01 application i am unable to fill email,time-zone,street 4,.. but these are visible while i am creating with out recording..
    i am having fields for these in my legacy..
    which one is preferable session or call transaction?
    pls help me out from these its urgent..

    Look at note 653536. Also check the flag for "use central address management". (You should see this in the recorder - SHDB.)
    Rob

  • Upload Vendor Master(MK01)

    Hi abapers,
    There is a little confusion. I am trying to upload Vendor Master(MK01) through call transaction method.
    It is inserting only one record(one vendor). my flat file contains multiple records.
    Is there anything wrong in below coding.
    REPORT  ZBDC_UPLOAD_PROGRAM_03.
    data: begin of itab1 occurs 1,
          fld(80),
          end of itab1.
    data: begin of itab occurs 1,
           F1 type LIFNR,
           F2 type EKORG,
           F3 type KTOKK,
           F4 type NAME1,
           F5 type SORTL,
           F6 type LAND1,
           F7 type SPRAS,
           F8 type WAERS,
           end of itab.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
       FILENAME                      = 'C:\Documents and Settings\eccadm\Desktop\vendorslist2.txt'
       FILETYPE                      = 'ASC'
       HAS_FIELD_SEPARATOR           = ' '
      TABLES
        DATA_TAB                      = itab1
    *LOOP AT itab1.
    *write:/ itab1-fld.
    *ENDLOOP.
    LOOP AT itab1.
    split itab1-fld at ',' into itab-F1 itab-F2 itab-F3 itab-F4 itab-F5 itab-F6 itab-F7 itab-F8.
    append itab.
    ENDLOOP.
    *LOOP AT itab.
    *write:/ itab-F1, itab-F2, itab-F3, itab-F4, itab-F5, itab-F6, itab-F7, itab-F8.
    *ENDLOOP.
    DATA: BDCDATA type BDCDATA OCCURS 1 with header line.
    Loop at itab.
    perform bdc_dynpro      using 'SAPMF02K' '0107'.
    perform bdc_field       using 'BDC_CURSOR'  'RF02K-LIFNR'.
    perform bdc_field       using 'BDC_OKCODE'  '/00'.
    perform bdc_field       using 'RF02K-LIFNR' itab-F1.
    perform bdc_field       using 'RF02K-EKORG' itab-F2.
    perform bdc_field       using 'RF02K-KTOKK' itab-F3.
    perform bdc_dynpro      using 'SAPMF02K' '0110'.
    perform bdc_field       using 'BDC_CURSOR'  'LFA1-SPRAS'.
    perform bdc_field       using 'BDC_OKCODE'  '/00'.
    perform bdc_field       using 'LFA1-NAME1'  itab-F4.
    perform bdc_field       using 'LFA1-SORTL'  itab-F5.
    perform bdc_field       using 'LFA1-LAND1'  itab-F6.
    perform bdc_field       using 'LFA1-SPRAS'  itab-F7.
    perform bdc_dynpro      using 'SAPMF02K' '0120'.
    perform bdc_field       using 'BDC_CURSOR'  'LFA1-KONZS'.
    perform bdc_field       using 'BDC_OKCODE'  '/00'.
    perform bdc_dynpro      using 'SAPMF02K' '0310'.
    perform bdc_field       using 'BDC_CURSOR'  'LFM1-WAERS'.
    perform bdc_field       using 'BDC_OKCODE'  '/00'.
    perform bdc_field       using 'LFM1-WAERS'  itab-F8.
    perform bdc_dynpro      using 'SAPMF02K' '0320'.
    perform bdc_field       using 'BDC_CURSOR'  'RF02K-LIFNR'.
    perform bdc_field       using 'BDC_OKCODE'  '=UPDA'.
    perform bdc_dynpro      using 'SAPLSP01'  '0300'.
    perform bdc_dynpro      using 'BDC_OKCODE'  '=YES'.
    *perform bdc_transaction using 'MK01'.
    call transaction 'MK01' using BDCDATA MODE 'A'.
    ENDLOOP.
    *        New Screen                                                  *
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
      CLEAR BDCDATA.
      BDCDATA-PROGRAM  = PROGRAM.
      BDCDATA-DYNPRO   = DYNPRO.
      BDCDATA-DYNBEGIN = 'X'.
      APPEND BDCDATA.
    ENDFORM.
    *        Insert field                                                  *
    FORM BDC_FIELD USING FNAM FVAL.
      IF FVAL <> SPACE.
        CLEAR BDCDATA.
        BDCDATA-FNAM = FNAM.
        BDCDATA-FVAL = FVAL.
        APPEND BDCDATA.
      ENDIF.
    ENDFORM.
    Thanks

    Hi,
    Add below marked statement in your code. It will work.
    Loop at itab.
    REFRESH BDCDATA.
    CLEAR BDCDATA.
    perform bdc_dynpro      using 'SAPMF02K' '0107'.
    perform bdc_field       using 'BDC_CURSOR'  'RF02K-LIFNR'.
    perform bdc_field       using 'BDC_OKCODE'  '/00'.
    perform bdc_field       using 'RF02K-LIFNR' itab-F1.
    perform bdc_field       using 'RF02K-EKORG' itab-F2.
    perform bdc_field       using 'RF02K-KTOKK' itab-F3.
    perform bdc_dynpro      using 'SAPMF02K' '0110'.
    perform bdc_field       using 'BDC_CURSOR'  'LFA1-SPRAS'.
    perform bdc_field       using 'BDC_OKCODE'  '/00'.
    perform bdc_field       using 'LFA1-NAME1'  itab-F4.
    perform bdc_field       using 'LFA1-SORTL'  itab-F5.
    perform bdc_field       using 'LFA1-LAND1'  itab-F6.
    perform bdc_field       using 'LFA1-SPRAS'  itab-F7.
    perform bdc_dynpro      using 'SAPMF02K' '0120'.
    perform bdc_field       using 'BDC_CURSOR'  'LFA1-KONZS'.
    perform bdc_field       using 'BDC_OKCODE'  '/00'.
    perform bdc_dynpro      using 'SAPMF02K' '0310'.
    perform bdc_field       using 'BDC_CURSOR'  'LFM1-WAERS'.
    perform bdc_field       using 'BDC_OKCODE'  '/00'.
    perform bdc_field       using 'LFM1-WAERS'  itab-F8.
    perform bdc_dynpro      using 'SAPMF02K' '0320'.
    perform bdc_field       using 'BDC_CURSOR'  'RF02K-LIFNR'.
    perform bdc_field       using 'BDC_OKCODE'  '=UPDA'.
    perform bdc_dynpro      using 'SAPLSP01'  '0300'.
    perform bdc_dynpro      using 'BDC_OKCODE'  '=YES'.
    *perform bdc_transaction using 'MK01'.
    call transaction 'MK01' using BDCDATA MODE 'A'.
    ENDLOOP.

  • LSMW for Vendor Master (t-code XK01)

    Hi guys,
    I'm creating a LSMW for Vendor Master (t-code XK01) using direct input but the following error message appears:
    In the step "Create batch input session", I get the following error:
    FB012 Session 1 : Special character for 'empty field' is /
    FB007 Session 1 session name VENDOR was opened
    FB112 Trans. 1 : No transaction code was transferred
    FB016 ... Last header record ...
    FB014 ... BLF00-STYPE 1
    FB014 ... BLF00-TCODE /
    FB014 ... BLF00-LIFNR DETES998
    FB014 ... BLF00-BUKRS /
    FB014 ... BLF00-EKORG /
    FB014 ... BLF00-KTOKK 0001
    FB013 ....Editing was terminated
    I mapped the TCODE filed using xk01 and the same error still displays; in the first step I select Object 0040, method 0002 and the program is RFBIKR00, is this correct?
    Some of the fields are stored ina different table; How can I mapped this fileds?
    Any you can provide will be great......

    Hi,
    Are you getting this error immediatly or later half?
    1. This could be with same Vendor number which would be existing in the system.
    2. Data inconsistencies.
    What are the flat files that you have is it a single file or more than one?
    Thanks,
    Prashanth

  • LSMW for  Vendor Master using Batch Input/Direct

    Hi Folk,
    I'm trying to create a LSMW for  Vendor Master using Batch Input/Direct Input and in the step Create Batch Inout Session a error message appears:
    Trans.     1 XK01: Acct already exists; general area not being processed.
    Can somebody help me with this...........

    Hi,
    Check manually create vendor. Check with recording steps means strucutre creadred while you choose BDC recording option. With same data r u able to create vendor.
    Regards
    Md.MahaboobKhan

  • Upload Vendor master data using LSMW

    Hi All,
          i am working on LSMW for uploading the Vendor master data (XK01),
    when i execute the 13 th step (Create batch input session), i got a message like
    "Editing was terminated" .
    Could you please tell me why that message is comming.
    Regards,
    Amjad.

    hi
    good
    try with these links
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/smartforms/smartform%20in%20abap.pdf
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/smartforms/tutorial%20with%20code%20sample%20on%20smart%20forms.pdf
    thanks
    mrutyun^

  • LSMW to upload Vendor Master Data

    Hi,
    I am trying to upload the vendor data for more than 1000 records from flat file structure to sap using LSMW (standard batch/ direct input) for XK01 transaction code. For uploading the house and street address i have created additional fields STR_SUPPL1 and STR_SUPPL2 in addition to STRAS. But in "Maintain Field Mapping and Conversion Rules" I am not able to locate the fields for mapping STR_SUPPL1 and STR_SUPPL2. Can any one please suggest me how to go about it. Thanks in advance.
    Regards,
    Sangram

    Hi sangram,
    Vendor master details r stored in table LFA1..as u can c the additional fields r not loaded in this table..so i dont think u can upload the same using this LSMW alone. u may have to upload ur additional fields using another LSMW for Streets(direct input) or else use Recording method for ur requirement.
    Hope it helps,
    Regards,
    Bikash
    Hi sangram,
    sorry cudnt figure out how we can relate the two. u may have to do some uploads n chk in tables how they r getting uploaded. Else, y dont u try out recording option??
    Message was edited by: Bikash  Agarwal

Maybe you are looking for