LSMW Mass Update Vendor Master

I have a request to use LSMW to read all vendor records and reformat and update the tax code (LFA1-STDC1) field. Does anyone know if this can be done with LSMW? I am not sure how to do it. Or, is it easier to develop an ABAP routine to do the updates?  Any help will be rewarded.

For mass updation one can use LSMW Object: 0040 / 0001 / RFBIKR00 / B or else try using FM vendor_update .
null

Similar Messages

  • BAPI/function module to create/update vendor master data

    Hi
       We are on ECC 50 and have a need to update vendor master data through a programatic interface ( non-dialog ) with ABAP. What is a good function module that can be used to create/update vendor master data - I looked at BAPI_VENDOR_CREATE and did not find any input interfaces that can be passed to this BAPI.
    Previous experiences with the right BAPI for this purpose that can be shared is appreciated. <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Feb 26, 2008 5:58 PM

    Hi Kiran,
    If you want to load the vendor data into sap its better to go with LSMW batch input program.
    object 0040
    method 0001
    program name RFBIKR00
    Program type B
    this would be a good choice. Recently i did the same.

  • FM to update Vendor Master record

    Hi,
    Is there a Function Module which we can call to update Vendor Master record. Most specifically, I would like to update the Name1 field. The program I am creating will run as a daily job and we do not wish to use BDC. Any help is appreciated. Thanks!

    Hi, I found FM vendor_update and have tried passing in I_LFA1 and I_LFB1 to update a particular vendor. It seems to work but I am still exploring what the other parameters are used for. Any tips?

  • Creating / updating vendor master from CREMAS03

    Hi All,
    I am getting vendor master data from external system and SAP XI will convert this into Idoc of message type CREMAS03. I would like to create/update vendor master in R/3 system from Idoc CREMAS03. Which function module / BAPI will cater to this need.
    Thanks and best regards
    Kalingeri

    Hi
    Check in WE57 using the Message type & Idoc type & direction.
    IDOC_INPUT_CREDITOR & IDOC_INPUT_CREDITOR_MDM are the the two Func modules being used. You can use any one of them based on your reuirement
    Thanks & Regards
    Kishore

  • Cannot update Vendor Master (LFA1,LFB1,LFBK) in the background

    Hi All,
         I am workingon a requirement to update vendor master (LFA1, LFB1, LFBK etc) and after doing extensive research on SDN I came to know there are no BAPIs to update vendor and got information on function modules I can use and finally ended up using FM "Vendor_Update". I thought it is working fine because data gets updated in tables but when I checked the same vendor through transaction XK02, it still shows the old data! I even tried BDC recording with "Call Transaction"  and it works in fine in foreground (I can see changes in tables and XK02) but nothing works in the background but user requires the program to run in the background. I spent last 6 hours on SDN researching and trying several suggestions but no luck yet. Can someone please share any information on any solution to resolve this?
    Thanks in advance.
    Ravi

    Hi All,
         I figured out  that I have to check "Use central address management" check box which will be visible when you only record with option "Simulation in background".
    Thanks.
    Ravi

  • USING LSMW TO UPDATE VENDOR BANK DETAILS

    Hi SAP gurus
    I have used LSMW for mass updates of vendor bank details by recording the Tcode FK02
    But the problem is .. after I load the data, its replacing the old bank details with the new one which Im updating with.
    I want to keep the old bank details and add the new bank details as another entry.
    How do I do that..
    How Do I retain the old one and also the add a new entry to the bank details section of the vendor master record.
    Is there any other way for mass updating the vendor master records
    I have tried using MASS or XK99...but i cant add a whole entry with that transaction. All I can do is updating one of fields (Like Reference Details) in the bank details.
    Thank you in advance for all your replies. Points will be awarded as a token of appreciation

    Hi
    when you record the transaction for bank details in LSMW in , try to create record in last line. Automatically it will go to top line.
    I hope it will solve your problem.
    regards
    Srinivas

  • To update Vendor master data

    I have 4300 records in vendor master data LFA1. I have to update  industry code corresponding to each vendor .
    Can anyone suggest me how can i  do it ?
    Is there any t-code availaible to do it. So i can make BDC program to do this.
    Help me on this ...
    << Moderator message - Everyone's problem is important. But the answers in the forum are provided by volunteers. Please do not ask for help quickly. >>
    Edited by: Rob Burbank on Jun 24, 2011 4:20 PM

    Hey XK02 is for Vendor Master change.
    Make sure if you write BDC check the flag No BatchInput in SHDB recording.
    Or else Use the MASS transaction for doing so.
    Since you want to change only one field data LSMW is also simple way to do it.
    Hope this Helps,
    Regards,
    Bhargav

  • LSMW to update vendor E-mail

    Hi,
    I want to use LSMW to update lots of vendor E-mail, but when i reocrd the screen, i find the field:E-mail is not found, and some other field like communication method is also not found duing recording of LSMW.
    Then i change to use CATT, it is recorded.
    Does anybody know why, can i use LSMW to change E-mail address of vendor, how to do that?

    If u want updated e-mail address in vendor master so u can use mass maintaince in t code MASS & select ur vendor object type.
    Thanks & regards
    Amar

  • Updating Vendor Master Address from HR Master using PRAA

    Hi All,
    When PRAA updates the Address into the Vendor Master from Infotype 6 subtype 1, does it consider the Second Street address as well?
    Some employees have 2nd address line populated in their IT0006 record and this isn’t showing in their vendor account.
    Regards,
    Anjali.

    Hi Anjali,
    No, the sttandard program does not update any subtypes of infotype 0006 other than subtype 0001. However, you can adapt this to suit your needs: an empty routine is supplied in the includes RPRAPAEX and RPRAPAEX_001 which you can adapt to your requirements You must implement the user exit routine 'set_address_by_user'. An experienced ABAP programmer can do this.
    Regards,
    Rodrigo

  • MASS confirm Vendor Master changes

    Hi,
    I want to know whether it is possible to mass confirm the vendor master changes.
    As thru the transaction FK08 only individual vendors can be confirmed at one time.
    Thanks
    Suresh

    Hi,
    Thanks, but still need to select by each vendor if there is a list.
    Rgds

  • 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

  • Update vendor master contact address

    hello Folks,
    is there any function mdoule to update the Vendor Contact address.. I have searched in SCN and i found that in some threads there is no function module available to do so.
    Can any one tell me if this is correct .. we cannot  with BAPI or FM .
    Regards,
    raj

    Hi Raj,
    I had similar issue in my current project. This answer might be helpful for others.
    Go to table KNVK ..enter your vendor numbers LIFNR & note down the unique number in field PARNR  .
    Change  partner contact details in tcode: MAP2 with help of unique numer.
    You can also develop LSMW with reference to transaction MAP2 for upadting partner address.
    Thanking you
    Prakash

  • Mass Update vendor e-mails

    received a request to update some emails addresses for vendors. If a vendor had no email a default address was granted (ex. [email protected]) . This default email address, in use on 2300 vendors, now changes (ex; [email protected] ).
    I’m looking now for a method to change these addresses in ADR6. To change the standard (primary) address I use a transaction recording XK02 in LSMW. However I don’t find a method to update the other (secondary) addresses.

    hi, see this program u will get one idea how to send mail through program...............................
    report ZMAILTEST.
    parameters: p_email   type somlreci1-receiver
                                   default '[email protected]'.
    data: begin of it001 occurs 0,
          bukrs type t001-bukrs,
          butxt type t001-butxt,
          end of it001.
    data:   imessage type standard table of solisti1 with header line,
            iattach type standard table of solisti1 with header line,
            ipacking_list like sopcklsti1 occurs 0 with header line,
            ireceivers like somlreci1 occurs 0 with header line,
            iattachment like solisti1 occurs 0 with header line.
    start-of-selection.
      select bukrs butxt into table it001 from t001.
      Populate table with detaisl to be entered into .xls file
      perform build_xls_data .
    Populate message body text
      clear imessage.   refresh imessage.
      imessage = 'Please find attached excel file'.
      append imessage.
    Send file by email as .xls speadsheet
      perform send_email_with_xls tables imessage
                                          iattach
                                    using p_email
                                          'Example Excel Attachment'
                                          'XLS'
                                          'TestFileName'
                                          'CompanyCodes'.
         Form  BUILD_XLS_DATA
    form build_xls_data .
      constants: con_cret type x value '0D',  "OK for non Unicode
                 con_tab type x value '09'.   "OK for non Unicode
    *If you have Unicode check active in program attributes thnen you will
    *need to declare constants as follows
    *class cl_abap_char_utilities definition load.
    *constants:
       con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB,
       con_cret type c value cl_abap_char_utilities=>CR_LF.
      concatenate 'BUKRS' 'BUTXT'
             into iattach separated by con_tab.
      concatenate con_cret iattach into iattach.
      append  iattach.
      loop at it001.
        concatenate it001-bukrs it001-butxt
               into iattach separated by con_tab.
        concatenate con_cret iattach  into iattach.
        append  iattach.
      endloop.
    endform.
         Form  SEND_EMAIL_WITH_XLS
    form send_email_with_xls tables pit_message
                                              pit_attach
                                        using p_email
                                              p_mtitle
                                              p_format
                                              p_filename
                                              p_attdescription.
      data: xdocdata like sodocchgi1,
            xcnt type i.
    Fill the document data.
      xdocdata-doc_size = 1.
    Populate the subject/generic message attributes
      xdocdata-obj_langu = sy-langu.
      xdocdata-obj_name  = 'SAPRPT'.
      xdocdata-obj_descr = p_mtitle .
    Fill the document data and get size of attachment
      clear xdocdata.
      read table iattach index xcnt.
      xdocdata-doc_size =
         ( xcnt - 1 ) * 255 + strlen( iattach ).
      xdocdata-obj_langu  = sy-langu.
      xdocdata-obj_name   = 'SAPRPT'.
      xdocdata-obj_descr  = p_mtitle.
      clear iattachment.  refresh iattachment.
      iattachment[] = pit_attach[].
    Describe the body of the message
      clear ipacking_list.  refresh ipacking_list.
      ipacking_list-transf_bin = space.
      ipacking_list-head_start = 1.
      ipacking_list-head_num = 0.
      ipacking_list-body_start = 1.
      describe table imessage lines ipacking_list-body_num.
      ipacking_list-doc_type = 'RAW'.
      append ipacking_list.
    Create attachment notification
      ipacking_list-transf_bin = 'X'.
      ipacking_list-head_start = 1.
      ipacking_list-head_num   = 1.
      ipacking_list-body_start = 1.
      describe table iattachment lines ipacking_list-body_num.
      ipacking_list-doc_type   =  p_format.
      ipacking_list-obj_descr  =  p_attdescription.
      ipacking_list-obj_name   =  p_filename.
      ipacking_list-doc_size   =  ipacking_list-body_num * 255.
      append ipacking_list.
    Add the recipients email address
      clear ireceivers.  refresh ireceivers.
      ireceivers-receiver = p_email.
      ireceivers-rec_type = 'U'.
      ireceivers-com_type = 'INT'.
      ireceivers-notif_del = 'X'.
      ireceivers-notif_ndel = 'X'.
      append ireceivers.
      call function 'SO_DOCUMENT_SEND_API1'
           exporting
                document_data              = xdocdata
                put_in_outbox              = 'X'
                commit_work                = 'X'
           tables
                packing_list               = ipacking_list
                contents_bin               = iattachment
                contents_txt               = imessage
                receivers                  = ireceivers
           exceptions
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                others                     = 8.
    endform.

  • Help with replicating/updating vendor master data

    Hi,
    Currently, we run the bbp_vendor_sync program to do the replication. It does the job of both bbpgetvd (new vendor creation) and bbpupdvd (update existing vendor).
    But the problem is, we have two number ranges for vendors. One is Numeric and other one is Alpha.
    Group -->AB     From 0010000000     to 0699999999
    Group -->AZ     From A     to ZZZZZZZZZZ
    The vendor synchronization program can consider only one number range at a time i.e.
    either Numeric or Alpha. So, we have to switch the active number range
    and run the program twice., first for numeric and then for alpha.
    In order to avoid this, I'm looking at implementing bbp_transdata_prep which I was told would take care of this issue.
    I looked around for documentation/sample code for bbp_transdata badi and couldnt find any on SAP help site or SDN.
    Wondering if someone can help with the documentation/sample code and difficuly level of implementing this BADI.
    Any help would be highly appreciated and suitable points would be awarded for your help.
    Also, if there is another way to solve this issue without implementing transdata badi, pls. let me know.
    TIA,
    Seyed

    Hi
    <u>Please go through this -></u>
    http://help.sap.com/saphelp_srm50/helpdata/en/56/54f137a5e6740ae10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/62/fb7d3cb7f58910e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/42/d3b671ba67136fe10000000a1553f7/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/bb/6c0e3b02616a42e10000000a11402f/frameset.htm
    <b><u>Sample BADI Implementation
    BADI Definition - BBP_TRANSDATA_PREP
    Purpose -> Impl. for BBP_TRANSDATA_PREP, Delete Invalid Mail Addresses</u></b>
    <u>PREPARE_REPLICATION_DATA method -></u>
    method IF_EX_BBP_TRANSDATA_PREP~PREPARE_REPLICATION_DATA.
      FIELD-SYMBOLS: <LFS_ADR6> TYPE ADR6.
      LOOP AT CT_ADR6 ASSIGNING <LFS_ADR6>.
        IF <LFS_ADR6>-SMTP_ADDR NS '@'.
          DELETE CT_ADR6.
        ENDIF.
      ENDLOOP.
    endmethod.
    <u>PREPARE_UPDATE_DATA method -></u>
    method IF_EX_BBP_TRANSDATA_PREP~PREPARE_UPDATE_DATA.
      FIELD-SYMBOLS: <LFS_ADR6> TYPE ADR6.
      LOOP AT CT_ADR6 ASSIGNING <LFS_ADR6>.
        IF <LFS_ADR6>-SMTP_ADDR NS '@'.
          DELETE CT_ADR6.
        ENDIF.
      ENDLOOP.
    endmethod.
    Hope this will help.
    Regards
    - Atul

  • Update vendor master Classification Data

    Hello Folks,
    I am using Cremas message type to distribute the idocs from one system other system(SAP systems).. However i also need to update the Classfciation data.... In the basic type CREMAS05  there is no option for this..
    I know couple of message type as (CLSMAS AND CLFMAS) ... i came to know this is only used for material master.. Can anyone let me know if i am correct or wrong.....
    any help is highly appreciated.
    Regards,
    Raj

    hI,
    Can anyone help me?
    Regards,
    Raj

Maybe you are looking for

  • Adding Navigation Buttons for Users of PDF Documents

    The default for Acrobat Reader (and even the Pro version) seems to leave the Forward and Back navigation buttons OFF the Acrobat Reader tool bar. You have to deliberately go into the Tools - Customize Tools menu and turn on these two buttons in order

  • New Ipod Touch will not play in BMW

    I have a new Ipod touch that I bought from Apple. My 2010 BMW 128c will not recognized this Ipod touch or my wifes Ipod touch. It will recognize the one I bought my son at Best Buy. It also would not work with my previous BMW X5. I am using the adapt

  • Delta upload in ODS 0FIGL_O02

    Hi, I tried loading the data in to 0FIGL_O02 using 'Full update' option.And then for loading the deltas i'm doing the 'init' option .Then its throwing a message 'Full loads already available.Init/delta not possible. I also tried loading using the opt

  • RFC  IN  BACKGROUND TASK

    Hai all, I created RFC 'ZBAPI_BACKPROCES' . And Im using this RFC in my ABAP program. BUT I having to call this FUNCTION MODULE in background Task .But I dont know how its working and also this FM does not returning any values. Can anyone Say  exampl

  • Bionic Clear System Cache

    When I try and clear my system cache on my Verizon bionic (Android version 4.1.2) I can get to the screen w/ the android and exclamation point but no further.  If I click the volumes together I get nowhere.  Is there another trick to this?  Thank you