I am unable to upload the customer master data using BAPI.?

Hi Guru's,
i am unable to upload the customer master data using BAPI.(BAPI_CUSTOMER_CREATEFROMDATA1)
Please guide me how upload the data...
Thanks in iadvance
Srinivas...

Hello Srinivas
This BAPI does not allow to create a new customer from scratch but only to copy an existing customer to a new one and change its address data.
The reference customer has to be provided using IMPORTING parameter PI_COPYREFERENCE. See also the BAPI documentation for more details.
The BAPI does the same like transaction XD01 with Reference.
Regards
  Uwe

Similar Messages

  • Uploading the pricing master records using bapi

    Hi I have to transfer the pricing database from legacy to SAP using bapi but I am not able to find a bapi for that. Pls guide.

    Check BAPI: BAPI_PRICES_CONDITIONS. You can also find sample codes in SDN for the BAPI.
    Check this link [Example for Price Conditions|Re: Sample code for  BAPI_PRICES_CONDITIONS]
    Regards
    Eswar
    Edited by: Eswar Rao  Boddeti on Sep 22, 2008 3:52 PM

  • Uploading of material master data using bapi BAPI_MATERIAL_SAVEDATA

    hi guys,
    i am uploading data from a flatfile (say notepad file).
    the value for the field BRGEW(gross_wt) is displayed as 0.0000 WHEN i run the transaction MM03 where as  in the flat file its value  is 0000000000003
    the data type of BRGEW is P
    what should i do to solve this issue.
    my flat file looks like this
    000000000000010760FERTRNY01test material                           KG 005      NY010KG 0000000000003
    My structure is
    DATA:
    BEGIN OF MATERIAL_MASTER,
    MATNR(018) TYPE C,      "Material number
    MTART(004) TYPE C,      "Material type
    MBRSH(001) TYPE C,      "Industry sector
    WERKS LIKE MARC-WERKS,  "TYPE C Plant
    MAKTX(040) TYPE C,      "Material description
    MEINS(3)   TYPE C,      "base unit of measure
    MATKL(009) TYPE C,      "Material group
    SPART(002) TYPE C,      "Division
    WEBAZ(03)  TYPE C,      "GR processing time
    GEWEI LIKE MARA-GEWEI, "Weight unit
    BRGEW(13) type c, "Gross weight
    end of MATERIAL_MASTER.
    thanks
    Edited by: nishant patel on Aug 7, 2008 11:16 AM

    Hi,
    try to fill the BAPI structure
    WRITE ds_output1-brgew
                TO <bapi_structure>
                UNIT 'Pass the unit here'
                NO-GROUPING.
    Hope it will work.
    Thanks,
    Kamesh Bathla
    Edited by: Kamesh Bathla on Aug 7, 2008 6:51 PM

  • How to upload different views of customer master data using LSMW-IDOC

    I need to upload customer master data  using LSMW Idoc method for my client. Now customer will have different views like main view, Sales data, Company code data, Partner function data etc. And except main data all other data can be multiple for each customer. We are going to upload data from tab delimited .TXT file. Should I propose different LSMW for upload different views for the customer from different .TXT files? or we can upload all the customer related data (like main view data and partner function data )from a single .TXT file. Kindly suggest which one in convenient and how we can prepare the data file in both cases.

    convinient is the method that you can handle.
    but as the guy who loads the data you have to load the data like they are available, like it is convinient for others to prepare the data.
    In general there is no problem to use an IDOC method to load a customer master with multiple comany codes and several sales orgs in one shot.
    the data can be in one source file, but need then to be maintained in a certain way
    Example1: all data in 1 structure
    GD1 - CC1 - SO1
    GD1 - CC2 - SO2
    GD1 - CC2 - SO3
    in this case the GD (general data) is redundand in each line which has different Company code data or different Sales Org data
    Example2: all data in 3 sturcures but one file
    GD1
    .CC1
    .CC2
    ..SO1
    ..SO2
    ..SO3
    Example3: data delivered in 3 files - you join the files in LSMW, they must have a common identifier like the old customer number in the beginning of each file
    FILE General data:
    GD1
    GD2
    GD3
    file Compamy code data:
    CC1
    CC2
    CC3
    file Sales org data:
    SO1
    SO2
    SO3
    LSMW is flexible and can handle each of this scenarios, are you flexible too?

  • *Journal Entries while uploading the vendor master data from legacy system*

    hi SAP Folks,
    can any one of you tell me the journal entries while uploading the vendor master data from legacy system to SAP system.
    Eg: legacy system is having 10000 vendors list, 1 reconciliation account and $ 1000000. while uploading all these data from legacy system to SAP what are the journal entries we get.
    thanks in advance.
    Edited by: ravindranath manikonda on Nov 24, 2008 1:12 PM

    Hi
    you will be having  only one entry logically
    i.e. Opening Bal. clrng A/c Dr.
           To Vendor A/c Cr.
    regards

  • Is there any transaction to view the customer master data ...

    is there any transaction to view the customer master data ...i me all the datats so that ui can prepare a report......

    Hi Sunaina Kumar,
    From Funtioanl Point of view
    XD02 or Xd03 - Chane / Display Customer Centrally ( With Company Code Data)
    VD02 or VD03 - Change / Display Customer - Sale and Distribution( With out Company Code Data.
    From Technical Point of View:
    SE11 or SE16
    Table Name : KNA1 or KNB!
    From here you can view all the customer data.
    Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • Validate Street and House Number in the Customer Master Data (xd01/xd02)

    All.
    I need to validate if the fields street and house number are in blank in the Customer Master Data transaction (xd01/xd02). I found an user-exit (EXIT_SAPMF02D_001), which I can validate the customer data (KNA1, KNB1, etc) before to save. The problem is in the KNA1 structure, there aren't the fields street (STREET) and house number (NOUSE_NUM1), there is only the field STRAS, which street and house number values are concatenated.I solved this problem using field-symbol to catch these values in the screen, but I know it isn't a good solution. Is there another solution to solve this ? I had problem using this user-exit. It shows a message error type 'E' when either field street or field house number are in blank, after show this message if the user click in the tabs navigator button before press enter button, the transaction shows the error message "System error on reading table  DYNTAB, screen no. 0370". Does Somebody know this problem?
    Best regards,
    Alexandre
    ps: I'm coding in the ECC 6.

    Amit.
    Thanks for your suggestion, but I need to validate these values typed by the user. When I create a customer, I can't get these values in the ADRC table.
    Regards, Alexandre

  • How to find the Acoount Group used while creating the customer master data.

    Hi,
    I am in xd03 mode displaying the customer master data. I want to know the ACCOUNT GROUP which was used while create this customer. How can i find it? Can any one tell me the process to find the account group?
    Thanks in advance.

    Enter the customer number in XD03 and click enter. Once the screen displays the customer name go to dropdown extras--> Administrative Data. This will give you the account group and the creation date of the customer. The same is stored in KNA1- KTOKD.
    Thanks
    Indranil

  • HR - Idocs to upload the HR Master data

    Hi,
    Can any one pls tell which are the std Idocs we use to Mass upload the HR master data
    HRMASTER01/02 , HRMD_A06 etc
    Regards
    Hemant V. Mahale

    http://www.scribd.com/doc/5884984/Idoc-Quick-Reference-Sheet

  • Loading customer master data using lsmw and bdc

    Hi all..
    Iam a beginner in sap world and my first project is to load the customer master data from mainframes into sap.
    Can anyone guide me how to approach to this project and what are the best materials to go through. Also can any one send some sample programs related to these..
    It would be a great help of you guys for a beginner like me..
    Thanks,
    mahi

    Message type DEBMAS
    Idoc type DEBMAS**  where ** is highest number available in your system (check via WE30). e.g. DEBMAS06

  • Error in uploading the material master data

    HI friends,
    I have trasferred the material master data through idocs from one server to another server(with in SAP only).
    Outbound side the status of idoc is 3 which is OK.But inbound side ,the status is 51 and the error is 'Function module not allowed  IDOC_INPUT_MATMAS01'.I debugged the function module in which the control records , data records are getting transferred correctly and also the segments data is also fine.But , i am not able to rectify  the error.
    Can anybody give the solut

    Hi mahesh,
    check the proces code may be having the FM module 'IDOC_INPUT_MATMAS01'. change with some other FM for processing the IDOC. you need check with different ways what is the problem. better dont stick on one thought.
    ~linganna

  • Error while updating AFS weights & measures material master data using BAPI

    Hello ABAP experts,
    Please help me in finding the right way in updating AFS weights & measures data (/AFS/MARM) data using BAPI /AFS/BAPI_MATERIAL_SAVE_DATA.
    I'm populating the following table parameters of the BAPI,
    1. SKUUNITSOFMEASURE with /AFS/MARM records
    s_bapi_marm-ALT_UNIT = 'EA'.
    s_bapi_marm-ALT_UNIT_ISO = 'EA'.
    s_bapi_marm-grid_value = 'XXXXS'.
    *s_bapi_marm-STOCK_CATEGORY = '01000'.
    s_bapi_marm-volume  = '10'.
    s_bapi_marm-GROSS_WT  = '10'.
    s_bapi_marm-NET_WEIGHT  = '10'.
    append s_bapi_marm to t_bapi_marm.
    2. UNITSOFMEASURE with MARM records
    s_bapi_uom-ALT_UNIT = 'EA'.
    s_bapi_uom-ALT_UNIT_ISO = 'EA'.
    s_bapi_uom-NUMERATOR = '1'.
    s_bapi_uom-DENOMINATR = '1'.
    s_bapi_uom-UNIT_OF_WT = 'KG'.
    s_bapi_uom-VOLUMEUNIT = 'CCM'.
    append s_bapi_uom to t_bapi_uom.
    But the BAPI returns me an error "Stock Category & is not valid in Category structure  &"
    Let me know if you have any inputs on this one.
    Thanks,
    Partha.

    Hi VAMSHI,
    I have your same error but I don't know how to solve it. We have active "material split valuation" and valuation type is mandatory field if using ACCOUNTING and COSTING views.
    Please, let me know.
    Thanks in advance.
    GB

  • Dunning - clearing the customer master data?

    Customer XYZ has been dunned.  Customer master updated with dunning level = 1 and last date dunned.  Once customer pays invoice, is this automatically cleared by the system, or does user have to do this manually (clearing of dunning level and last date dunned in customer master)?

    The field KNB5-MAHNS (dunning level in the customer/vendor master
    record) is not the actual dunning status of the customer/vendor,
    but the highest dunning level customer/vendor got the last time
    customer/vendor was dunned.
    This is mentioned in the F1 help of this field.
    If customer pays all the repayments etc., then customer will not be
    dunned, but that customer will forever keep his dunning level, even if
    there are no more open items.
    You can change the KNB5-MAHNS field manually in the master record in
    fk02/fd02.
    Also, please review and apply note 6591 if you would like to reset the
    dunning data.
    Hope that helps:
    Jon

  • Customer master data using LSMW std batch input

    Hello all,
    i m using LSMW method to create customer master records in the SAP system.
    we need to cover all the fields for addresses.
    Following are my doubts :
    1. some address fields are gettng truncated while loading customer master using std batch input program (for ex name1,name2,name3,name4,street..)
    2. some fields are not part of std batch input program . how to load that fields
    3. if we load address data first and then other customer data ,how to handle internal number range?
    4. how to upload internation address data in the system? is there any bapi for that?
    5 . how to upload additional communication data in address (ex mail,URL)
    Please help asap. its required urgently.
    thanks
    Jigs
    note : helpful ans will be rewarded.

    Message type DEBMAS
    Idoc type DEBMAS**  where ** is highest number available in your system (check via WE30). e.g. DEBMAS06

  • For uploading the to transaction 'abzu'  using bapi

    Hi Experts ,
    I need to upload the data to the  (asset write up ) transaction 'abzu' and please help me inthis regard
    i found some bapi's like below
    BAPI_FIXEDASSET_CHANGE Changes an Asset
    BAPI_FIXEDASSET_CREATE Creates an Asset
    BAPI_FIXEDASSET_CREATE1 Creates an Asset
    BAPI_FIXEDASSET_GETDETAIL Display Detailed Information on a Fixed Asset
    BAPI_FIXEDASSET_GETLIST Information on Selected Assets
    BAPI_FIXEDASSET_OVRTAKE_CREATE BAPI for Legacy Data Transfer
    BAPI_FIXEDASSET_TEST BAPI for Legacy Data Transfer
    i tried with this bapies but unable to do the transfer the data ,
    please help me ,
    which is the exactly suitable bapi for uploading the data to 'abzu' transaction
    i apriciate you advanced ,
    please give me the exactly solution for this ,
    Thanks&Regards
    anand

    Hi Jeevan,
    Did you find any solution for this issue?
    We are also facing the same issue.
    Please help me.

Maybe you are looking for