Vendor Table mofification:-LFB1,LFM1,LFA1

Hi team,
I have a requirement were i need to mofify the entries in  LFB1,LFM1,LFA1.
I have been told not to use MODIFY/UPDATE/INSERT statements directly on any standard tables.
Can someone help me by pointing any BAPI/BDC/IDOC to update these tables.
Thanks in advance,
Jithin

- BDC : Try with transaction, FK02 or XK02
- BAPI : none (as far as i know only interactive ones exist)
- iDOC : CREMAS and ADRMAS (and FM beginning with IDOC_INBOUND)
- Also try LSMW
Regards,
Raymond
PS: Don't use  VENDOR_UPDATE, this update task FM is SAP internal and does not perform any check nor update change document, as a rule never use update task function module in your program, those FM are called from SAP standard program after checking data and with other FM like change document and the like. Calling those FM is nothing more than direct update of database...

Similar Messages

  • Updating a vendor table when address changes in infotype 6

    hello all,
    when an employee changes his personal information in the PZ02 service, it updates the infotype 6, as soon as the update is done it has to update the LFA1 or LFB! vendor table.
    is there a workaround for this
    BR
    venu

    thanks for the reply.
    whenever there is an address change in IT6 it should update the vendor table(for eg: if changes are done in PA30 and not from ess, so its kind of generic version that i have to create to update the vendor table either from ess or PA30).
    i am already using the HR_ESS_ADDRESSDETAIL and HR_ESS_ADDRESSLIST for changing the fields on the iview.
    (t77www_sc)and linking it to pz02.so what u mean is i can go ahead and write the code in the same module for updates.
    is this is the only way to do it, or we can do it by BAPI_address_change.
    I am trying to know all the different ways it can be done.
    a)can i use a BAPI if so which one?
    b) can i do it thru workflow.
    c)or user exit.
    Please help me out with details
    thanks
    venu

  • Vendor table in SRM

    hi guys ,
    can any one send Vendor Table, which contains the refernce field Shopping cart Object_ID and should contain the vendor number and vendor name and all the data....
    i know BUT000 table i need anonther table...

    Hi
    Look in tables
    BBP_PDVIEW_BUP
    CRMD_ORDERADM_H
    CRMD_ORDERADM_I
    BBPD_PD_INDEX_H  
    BBPD_PD_INDEX_I  
    Otherwise, BBP_PD transaction is always there.
    Hope this will help.
    Regards
    - Atul

  • Appended field Vendor Group in LFB1 does not display in FK03

    Hi ,
    I had a problem with FK03 transaction I was not able to view the field I appended in table LFB1 which is Vendor group for spanish log-in in the system but for english log-in I was able to view the field I appended is language. Please advice what I am suppose to do in order to view the field in spanish log-in. Hope to hear ideas..Thanks ahead.
    --Ekit

    Hi,
    Login into spanish language and go to transaction  SE11. Check whether the new field is coming in LFB1 table. Also check whether the translation is maintained or not.
    Also check whether the account group field status in customizing allow this field to be displayed.
    Regards,
    Gaurav

  • Update Vendor Reconciliation Account - LFB1-AKONT

    To Update LFB1-AKONT, on Create or change of Vendor based on some criteria , I have tried using the BADI
    SAPMF02K ( Used only for Checking data)
    and the BTE 00001421     VENDOR MASTER DATA: Save with data transfer Also does not work.
    Have set the values inside and the update indicator, still not working. Am I missing somethign?
    Please suggest a solution.
    Thanks,
    Vinotha M

    Check badi VENDOR_ADD_DATA
    method PRESET_VALUES_CCODE

  • Vendor and Material (MARA and LFA1) linking

    Hi ,
    I have created a view on top of mara marc and mard for one of my report requirements. Here I have mara-mfrnr field is mapping to manufacurer field in BW. Now I need to restrict the data in to this field by acct group which is available in 0vendor as an attribute and 0manufacturer field is referenced by 0vendor. So when I'm loading the data I want to load only particular vendor acct group data in to this mfrnr field....Is this possible at all?
    Please advice
    Thanks
    Edited by: sam on Nov 17, 2010 2:25 PM

    >
    sam wrote:
    > Hi ,
    > I have created a view on top of mara marc and mard for one of my report requirements. Here I have mara-mfrnr field is mapping to manufacurer field in BW. Now I need to restrict the data in to this field by acct group which is available in 0vendor as an attribute and 0manufacturer field is referenced by 0vendor. So when I'm loading the data I want to load only particular vendor acct group data in to this mfrnr field....Is this possible at all?
    >
    > Please advice
    >
    > Thanks
    >
    > Edited by: sam on Nov 17, 2010 2:25 PM
    1.Rather than working on view ,why don't you load everything to BW(table to flat DSOs)  and write business logic in BW side.It will infact be easier and will help in future as well when you want some more changes or filter.
    2.Since Your are already loading 0Material_attr .Check if you have that field there.You may enhace it to have the additional info.
    Is it essential to restrict accout group??
    Whatever you are telling can't be achieved by simple views(because they are static) and you have a dynamic logic.
    You have 0Vendor-->referencing 0Manufacturer
                                  -->attribute account group
                    0material -->attribute 0Manufacturer
    You want to restrict all the materials --> who has a manufacturer of particular account group.???
    3.Another approach:Load data of 0Vendor to Flat ZVENDSO with keys : Manufacturer & Account Group.(this will be delta enabled fast loading.)
    Now :while loading Mara,Marc & Mard View ,use the look up to delete unnecessary data in start routine.
    DATA: IT_ZVENDSO LIKE TABLE OF /BIC/AZVEDSO,
    WA LIKE LINE OF IT_ZVENDSO.
    LOOP AT IT_ZVENDSO in wa.
    Delete source_package where manufacturer = wa-manufacturer and account_grp = wa-account_grp.
    ENDLOOP.
    This will remove unnecessary records.
    4.Make an infoset on VIEW DSO & ZVENDSO on keys manufacturer & account group.It will have common keys.
    Load data to any infoobject from this infoset.
    Regards,
    RK

  • Tax Vendor Table

    Hi Experts!
    What table stores the tax vendors? Where you can view the payment method associated with each tax vendor (i.e. check).
    Thank you!!

    This can be accomplished through the IMG:
    Payroll>Payroll: Canada>Third-Party Remittance>HR Payee maintenance>Set up HR payees for tax remittance.
    Edited by: Scott Sinai on May 19, 2008 4:06 PM
    Edited by: Scott Sinai on May 19, 2008 4:09 PM

  • Fixed vendor table in source list

    Hi Friends,
    We understand that EORD is the table for Source List.Fixed Vendor check which we maintain in source list (transaction ME01) does not get saved in the table EORD.It get saved at some other table,Can you please let me know the table name for this Fixed vendor check.
    -Prasad.

    hi
    ME03 field is actuly  a structure not a table .
    Structure          RM06W
    Short Description  I/O Table, Source List, SAPDM06I
    field : FESKZ       Fixed source of supply
    check in SE11
    regards
    ravikant

  • Display Changes to Vendors - Table

    S_ALR_87012089 - Display Changes to Vendors
    Question: Is there a table that keeps track of these changes from where this report gets data? Or Does this report just look of entries in standard tables and give the current and old values?

    Hi,
    Check table CDHDR and CDPOS for object class KRED.
    Please let me know if you require further help.
    Regards,
    Ganesh Sawant

  • Select Vendors character format only from LFA1

    hi ,
    I have an internal Table with 53,890  vendors in first column.
    the others columns contains vendor descirptions and their address.
    for e,g say i have records in  my internal table as follows.
         LIFNR
    1)   0000001109
    2)   0000001111
    3)   0000005581
    4)   E-115174
    5)   E-115175
    6)   E-115176
    7)   E-115177
    8)   MR84
    9)   MR85
    10)  MR86
    now i want to delete records starting from 1 to 3 as they are number format
    but i don't want to delete records from 4 to 10 as they are character format.
    i can do that deletion based on number and character formats
    using the below code.
    *Final Table for Diplsay of Vendors
        LOOP AT t_lfa1 INTO wa_lfa1.
          CALL FUNCTION 'NUMERIC_CHECK'
            EXPORTING
              string_in = wa_lfa1-lifnr
            IMPORTING
              htype     = w_type.
          IF w_type = 'NUMC'.
            DELETE t_lfa1 WHERE lifnr = wa_lfa1-lifnr.
          ENDIF.
        ENDLOOP.
    the above code fulfills my requirement but it takes lot of time when moved for testing since there are
    53,890 records and DELETE will always increases the index cost and performance problem comes.
    My requirement is there any condition we can put in my SELECT syntax where in i can select only
    those records in character format

    Hi Murali
    I don't think that you can do anything in select query for this, instead enhance your current code.
    1. For loop, use a field symbol, This will enhance your loop performance as the overhead to copy values into a work area is reduced.
    2. Add another field of type CHAR 1 (let's say NUM_CHECK) to declaration of T_LFA1. If you find the vendor as numeric then set this field to X in loop. Do not delete anything in loop.
    3) After loop, use DELETE T_LFA1 WHERE NUM_CHECK = 'X'.
    This will take lesser time.
    Thanks
    Anuraag

  • Vendor table

    hi,
    may i know what is the corresponding table / field for the below.
    1) table vbpa sales doc. is there any similar table for vendor?
    2) may i know what field for bsid-vbeln in bsik table?
    thanks

    1. vendor hierarchy (table LFMH)
    2.BSIK-EBELN

  • ABAP - Vendor Table

    Hi,
    I have a requirement that i need to find screen names for KNVK table fields which is in XK01.
    How to find that ?
    Meena
    Moderator Message: Please use more meaningful subject lines in your future questions.
    Edited by: Suhas Saha on Oct 14, 2011 12:19 PM

    Sorry Max, but KNVK is indeed for vendor also addition to customer. If field KZHERK has value 'K' it is created for a vendor and the corresponding vendor that the KNVK record is linked to is stored in field KNVK-LIFNR.
    For the original question, please use SM35 to make a recording and system will show you the names of the screen fields. But that only makes sense if you are making a batch input program. Additionally you can press F1 in an appropriate input field in XK01 and by looking the technical details icon you can get the technical field name.
    br: Kimmo

  • Error when marking return vendor in MK02 ( field LFM1-KZRET )

    Hi experts ,
    I am doing BDC to update vendor purchasing records ( MK02 ) but it is giving me the following error.
    'It is not possible to copy data from field Returns with Shipping Proc. '.
    Can anyone help me on this or suggest an alternative.
    Best Regards,
    Navin Fernandes.

    Hi
    The following are common reasons for BDC error sessions:
    ■ Posting periods are locked
    ■ C hanges in master data, e.g., in general ledger (G/L) accounts, profi t centers are locked for posting
    ■ Changes in screen layout of SAP program
        These scenarios are only examples; there may be several reasons for errors. To process incorrect BDC sessions, you need to fi nd out the reasons for these error sessions. The easiest way to do this is to analyze the BDC log. In transaction code
    SM35, select the BDC sessions in question and click on the log. The Batch input: Log Overview screen will appear; double-click on any of the rows of the Log Overview tab to see an error screen. After analyzing the error, fi x it and process the BDC
    sessions.
    Regards from Pakistan

  • Error in table mofification

    Dear All,
    I created one table with 7 fields with three key fields say A,B,C.and activated .It was working fine.
    Due to changes in the requirement i added two fields say X,Y and made them as key fields and also made the fields A,B,C as non key fields.
    Now when i try to activate it is showing error as
       ERROR OCCURED DURING ACTIVATION
       TABLE WAS NOT ACTIVATED AND STRUCTURE CHANGED AT FIELD LEVEL.
    Please let me know how to correct this.

    do this way to avoid that error GOTO -- UTILITIES->DATABASE UTILITY and press button adjust and activate button ...
    Else goto SE14 transaction give the table name and press button activate and adjust database...
    Regards,
    Santosh
    Message was edited by:
            Santosh Kumar Patha

  • I want know the RFC or BAPI for Vendor details which gives customise lfa1

    Hello Experts,
    I want to fecth the Supplier information from SAP server to PDM server (non sap) using RFC call.But the LFA1 have some customised fields..
    1) I want the RFC or BAPI which Gives the supplier details with customised fields in LFA1.
    2) How Can I code In the PDM server??I mean How can I call In the PDM script??
    Please send me how to write a script and code of the script??
    Thanks In Advance
    Preethi

    hi,
    use BAPI_VENDOR_GETDETAIL
    A.

Maybe you are looking for