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

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.

  • 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

  • What exactly is Update method Master data attrib with a Time dependency ?

    Hi Experts,
    I have a Update rule in which i have an Update Method  "Master Data Attrib of " with Time dependency
    basically we are loading (update rule of )   0PAYROLL AREA ,
                  at Master data attribute of  we have 0EMPLOYEE
                  at Time Dependency When reading Master Data  END radio button is checked
                  frm it is mention as 0CALDAY.
    please explain what is function of 0calday here?
    I understand that 0PAYROLL AREA is a attribute of 0Employee and since from R/3 we are getting only 0EMPLOYEE so we are filling it from 0employee but  what is the significance of 0CALDAY here?
    Regards,
    RG

    Hi RG,
    It fills the valid value of 0PAYROLL for a particular 0EMPLOYEE in a particular time frame.
    Elaboration.
    Say  Employee          Payroll                  Valid from          Valid to
            RG                    1000000                 01.01.2007        31.12.2007
            RG                    2000000                 01.01.2008        31.12.2008
            RG                    3000000                 01.01.2009        31.12.2009
    The if your transaction data has RG employee in it with a transaction on 0CALDAY = 12.05.2007 then the valid payroll at that time would be 100000.
    On Calday 05.05.2009 your payroll would be 300000.........
    So for different days different payroll values would be valid.
    You require calday to find out which payroll value is valid in the timeframe of a transaction.
    In your update rule it is bringin the value of valid attribute value for the time of the transaction.
    Hope it helps,
    Regards,
    Sunmit.

  • Error while replicating vendor master data from R3 to SRM

    Hi,
    I am trying to replicate Vendor master data from the R3 system to SRM system(7.0) for the first time and am facing the following error :
    Organizational unit 50000004  does not exist; check entries
    Message no. BBP_BUPA034
    I  have gone through the other posts with similar issues but haven't been able to find a solution.
    Any ideas?
    Thank you.

    hi sahlini
    did you create a vendor organisation structure via PPOCV_BBP ? SINCE YOU REFER THIS NUMBER 50000004 WHAT IS THIS?
    BR
    \MUTHU

  • Modify vendor number when replicating vendor master data from ECC to SRM

    Hi,
    Is there a way  to modify vendor number(manually input vendor number e.g. from a file) when replicating vendor master data from ECC to SRM using the vendor master data user exit (SAPMF02K)?
    Does anyone have documentation on the user exit, how do I use it??
    Thanks and Regards'
    David

    Hi David,
    Please go through the link below:
    [Enhancement SAPMF02K Vendor Master Data  - question about LIFNR;
    Regards
    Anirban

  • Issue with Vendor Master Data-field notes ID  (Table ADRT-REMARK)

    Hello,
    I have a issue related to Vendor Master Data maintenance.
    The client wants to maintain the u201CNotesu201D field in vendor master data. The field gets populated from the field u201CADTR-REMARKu201D table ADRT.
    Now client wants to maintain some alphabet to distinguish some of vendors (i.e. 1250) out of 5000 vendors. We tried to develop LSMW, however it is not getting generated as this field is not getting recorded as the field is inside the tab (next to e-mail id field) which requires click. It seems BDC also is also not working as it is not populating these fields except e-mail id.
    The table ADRT contains filed ADDRNUMBER which is the same field in LFA1, and it is ADRNR (Address number).
    Also please note that CATT/e CATT is not permitted at all the client level.
    Can any body suggest the way to change the master data through some way.
    Regards,
    Chepan

    Hi,
    Did you heard about SAP GUI Scripting? There is SAP functionality - seems to Excel Macros. You are able to record SAP  like macros, then after small code modifcation (code is in Visual Basic), and special excel origin (there could be excel prepared like for CATT) upload data to VMD.
    If you have any questions I try to help you?
    Best regards,
    Piotr
    Edited by: Piotr Wieczerzak on Jan 26, 2010 9:35 PM

  • Bank detials Maintained in Vendor master data with out Sort code / Bank Key

    Hi
    We have a Requirement of creating Japanese bank details in Vendor Master Record. But No Bank key / sort code is available.
    Even for Russian Bank accounts we donu2019t have any bank key / sort code available from client.
    System does not allow to create vendor bank details with out providing Sort code/ Bank key details.
    Is there is any way of creating bank details in Vendor master data with out giving Bank key details.
    Regards,
    Karunakar.

    Hi,
    I assume you fill in Sort Code in bank number field.
    In my company, our bank number is set not to duplicate bank key.
    So bank key is simply a reference.  And our bank number field is not mandatory.
    If you follow these settings, you can create an abitrary bank key for your vendor bank account.

  • Linking personnel number with vendor master data

    Hello,
    When i am created vendor master data,that time Personnel number field is showing "No values found"
    What does it mean?
    Thanks.

    Hi Pari,
    It appears that you are treating employee as vendor. You have not maintajned the personnel number of employees (in HR Module). The personnel number is the only feature within a client which is unique to an employee. You have to enter a personnel number before you can display and maintain an employee's master data and time data.
    Thank You.

  • How to transfer changes in my Vendor Master Data ? (currency)

    Hello everybody,
    I replicated my vendors with bbpgetvd and everything was fine.    Now, my vendor master data  has changed, some vendors were modified in their currency field.   
    If I run again the transaction "bbpgetvd", the program doesnt identify these changes  =(
    What can I do in order to update this data ?
    Thanks and regards,
    Diego

    Hi guys,
    Thanks so much for your help !  I tried bbpupdvd and it worked fine !  
    thank you !!!
    Regards from Mexico,
    Diego

  • Vendor Master Data - General and Company Code Data

    Hi,
    We are collecting vendor master data requirements. The requirements that I have are for Vendor General Data, Company Code Data (Accounting Info, Payment Transactions, Correspondence etc.) and Purchasing Org Data. Out of these 3 groups I can only see Vendor General Data that is mapped to CREMDM04 in SAP supplied syndication maps. I am wondering if someone could tell me how much effort is involved to first create the structure in MDM for Company Code data and Purchasing Data and then map these additional fields to CREMDM04 fields?
    Why is it that Company Code data and Purchasing Data is not mapped in pre-delivered syndication maps?
    Thanks in advance,
    M

    Thanks Shruti for your reply.
    I agree with you. However, our client is really pushing for Company Code Data and Purchasing Org data along with Vendor General Data. Now, this is something that is new to me to do. I have never done this kind of customization before.
    I would really appreciate if someone from SAP could give me their recommendation and also help me answer the following questions
    1. Is this doable to map and syndicate Company Code data and Purchasing Org data along with Vendor General Data
    2. Is it possible to then extract the tables that hold Company Code data and Purchasing Org data from ECC and bring it back in MDM to update MDM tables (that we are going to create for this data)?
    3. What's the effort involved in this customization (Considering that we will be extending our repository structure, extend the syndication map, extract new tables from ECC for MDM, create import maps for these tables to import Company Code and Purchasing Org data into MDM)
    Regards,
    M

  • LSMW - Vendor Master DATA - IBAN management

    Dear SAP guru's,
    I'm trying to integrate the IBAN in vendor master data with my LSMW (batch recording techno).
    unfortunately, I do not have the IBAN information in structure BLFBK
    BLFBK Vendor Master Record Bank Data (Batch Input Structure)
    DO you know how we can integrate an IBAN by LSMW? Batch recording seems to be too risky..
    And I do not have the BBAN info, I only receive the IBAN...
    Thanks for your comments,
    Karim

    Hello,
    With batch, it is not possible to have IBAN details updated in Vendor master data. This should be done manually, when the IBAN
    number is entered system will do the validation checks as per the legal requirements using the specific Function modules for each country.
    Nevertheless, there is batch input program RFBIKR00 which is used for processing the following data:
    - Creating and changing vendor master data
    - Creating bank master data
    Please, note that the program RFBIKR00 cannot import master data which contains the usual account number and the IBAN at the same time. There has to be either an IBAN or an account number in the imported file.
    There are 2 scenarios how to get all the data imported, depending from
    the source system:
    1. If the source is also an SAP system, you can import the account numbers using the RFBIKR00 and then transport the IBANs separately using the ALE distribution (RFIBAN_ALE).
    2. If the source is a non SAP System, then file contains always two entries for a payment instruction. In the first one the account number will be imported, in the second one the IBAN. The functionality "IBAN without account number" is prerequisited and has to be active in the target system. In this scenario 2 payment instructions would be created in the vendor master(LFBK), one with the account number, another one with the IBAN.
    I hope this helps to resolve the problem.
    Thanks and regards,
    Suresh Jayanthi.

  • Problem posting Vendor Master Data

    Hi,
    We are posting Vendor Master data from MDM to ECC. We have serialized ADRMAS and CREMAS so that ADRMAS is always posted first and then CREMAS. ADRMAS is always posted correctly but for some reason the link between ADRMAS and its following CREMAS is not getting established. Because of that CREMAS is failing.
    We have explored all possible workarounds but nothing is working. Please note that in ECC, the number ranges are set to external numbers. The number ranges in ECC start with leading zeros. We are sending vendor numbers in the same format with leading zeros. However, I have this gut feeling that these leading zeros are causing the problem but I am not sure.
    Another thing is that if we create a vendor in ECC and then send data from MDM to update it, we can successfully do that. It's just the new vendor creation that is causing problem.
    Please also note that we are using '005' as message function. I have also tried '009' but it's not working either.
    Any suggestion, solution, workaround will be highly appreciated.
    Thanks,
    TS

    Hi Michael,
    Yes, that's always the case. The <ADRMASxx>-<E1ADRMAS>-<OBJ_ID> and <CREMASxx>-<E1LFA1M>-<LIFNR> both are mapped to our vendor number.
    We are using ECC 6.0. I have tried distributing vendors with and without leading zeros but in either case it didn't work.
    Here's the error message that we get while posting CREMAS
    "Fill all required fields SAPMF02K 0111 ADDR1_DATA-DEFLT_COMM"
    Message no. F2282
    However, when we check the ADRMAS, we can see a value 'LET' against 'COMM_TYPE' field. It is not empty.
    Any help will be greatly appreciated.
    TS

  • Vendor Master Data LSMW problem

    Hi,
    I have vendor master data in XLS file. Created project in LSMW with standard batch input object 004 (Vendor Master Data), Method (0001 standard) and Program name RFBIKR00.
    Other constant data:
    BLF00-TCODE = 'XK01'
    BLF00-LIFNR = 'FOX1220' ... 'FOX1221' etc
    BLF00-BUKRS = '3800'
    BLF00-EKORG = '2000'
    BLF00-KTOKK = "LIEF'
    other all data like (Bank detail, purchasing data, accounting data, dunning data) are coming from that single XLS file.
    Problem while creating Batch Input Session: <b>"Vendor FOX1221: data retention at plant level not allowed"</b>
    Why??? Reading and converting data is fine.. but still problem terminates the BDC.
    Please help me out
    Thanks,
    Chetan Shah

    Hey it is solved, just making WERKR (Data retaintion at Plant Level) = 'X'
    Thanks,
    Chetan Shah

  • Creation of Vendor Master Data

    Hi,
    In my company they are currently using this process to create Vendor Master Data: The Vendor Master Data is created in the Production Server and refreshed to Development Server and to Quality Server, using ALE.
    Is this the right process? If not can you let me know the steps to create Vendor Master Data.
    regards,
    raj

    Hi Raj,
    ALE and IDoc is the best way to transfer master data between SAP system. They have excellent error handling and reprocessing capabilities (Recommended by SAP).
    In order to automate the vendor master data transfer, you need to do the following steps.
    1. Create Logical System (if not available) for PROD, QA and DEV system.
    2. Create RFC Destination (SM59) from PROD to QA and DEV system.
    3. Create Distribution Model from PROD to QA/DEV (BD64) for message type CREMAS (Vendor Master).  
    4. Create Partner Profile (WE20) for message type CREMAS in PROD, QA and DEV system.
    5. Execute transaction code BD14 (Send Vendor) from PROD to QA and DEV system.
    6. To monitor the IDoc, you can use transaction code WE02.
    If you are not familiar with ALE/IDoc setup, please work with technical folk.
    Hope this will help and give an idea.
    Regards,
    Ferry Lianto

Maybe you are looking for