LSMW- Customer Create - Sales Data - URGENT

Hi ,
I am trying to create the Customer via LSMW. With the basic information i am able create the Record.
But , I am facing the Problem when i give the sales informations ( Sales organisation / distribution channel /division ). The values are not populating in the Sales Area Tab ( sales office , sales group , customer group).
Read and convert data is correctly mapped and populating the values. While processing the session in error mode , its not populating the fields in Sales Tab.
Kindly suggest what's going wrong.
Thanks
Krishna

Hi,
Steps:
1. Identify Mandatory Fields in XD01.
2. Map Legacy System Fields with corresponding SAP Fields. Note that you should pass values for all the mandatory fields (either from Legacy System Fields, constants, or fetch data based on some condition)
3. Create the Object.
For information regarding LSMW steps visit the following link:
/people/hema.rao/blog/2006/09/14/lsmw--step-by-step
http://help.sap.com/bp_blv1500/BL_US/html/dataconv_lsmw.htm
Also, visit the following thread:
Visit the following link:
Re: sap general
   refer
https://forums.sdn.sap.com/click.jspa?searchID=7090774&messageID=1463435
Regards

Similar Messages

  • Report to fetch the text information from customer master sales data

    Dear Experts,
    We have come up with a requirement where the business want a report/list of the customers for whom a particular text is not maintained in customer master -sales data.
    There are many Z text id are configured and are maintained in Sales data- extras- text. In addition, business also need some key fields from the customer master such as name, city, delv plant, payment terms, sales off, sales grp etc.
    I could not get any standard table where the text is maintained with the customer numbers. Table STXH can give the customer numbers for a particular text id type but what is maintained against the given text id is not fetched from the table.
    So we need the valuable inputs to realize the requirement.
    As an proposal, we are aiming to develop custom Z report with the FM READ_TEXT to get the text information with the customer no ( object type KNVV and text id ). But for the additional information, what should be the actual logic for fetching the data. say if this FM is used, what should be the sequence of the logic and ideal selection parameters.
    In addition, we aim to use BAPI BAPI_CUSTOMER_GETDETAIL2 to fetch some of the customer ifnormation but many fields are not found in this . can we use some other bapi which can provide the complete general/sales data of customer ( delv plant, sales off, sales grp, custo grp, incoterms, payment terms etc)
    Kindly suggest accordingly.
    Many thanks in advance.

    Hi Dharmendra Kumar,
    I guess the best would be to check in ABAP General forum on the READ_TEXT sequence/ logic etc..
    For customer details, the available BAPIs are:
    BAPI_CUSTOMER_GETDETAIL
    BAPI_CUSTOMER_GETDETAIL1
    BAPI_CUSTOMER_GETDETAIL2
    However, you might have to check classes in SE24 to find any existing classes and its method yo give you all the information of a customer. Also check this thread: [BAPI for customer details like in IDoc DEBMAS;
    Regards,
    Raghu.

  • LSMW to create Sales Order refer to Quotation with multiple line items.

    Hi Gurus,
    I am new to LSMW, and my requirement is that, I have a file downloaded from another system, it is like this:
    Quotation No.  Sold to party  data        item no.       material no.     quatity
    556                         10000012                 10              19077                1
    556                         10000012                 20              19078                1
    557                         10000011                 10              19076                1
    And it is required I need to create orders in VA01 refering to quotations, and then delete all the items from quotation, and add the items in the file. I am now doing it through transaction recording in VA01, but I came to a difficult part, that is how I can process line items. Because the items number will only be decided at runtime, so I can not record a BDC for that. And I have read some guides on LSMW, one of it said that transaction recording in LSMW can not deal with deep structures. So could any1 help on this?
    Best regards,
    Vincent

    Dear SD Gurus n Experts,
    I have solved the above problem. But there is another problem appearing regarding the date format. Now system generating a message: Date . . is not valid.
    While I am using Date: YYYYMMDD format in flat file, which is SAP's Standard Format.
    In SDN Link: LSMW upload Sales Order using VA01/VA02     I have found that there are some date fields which are mandatory to filled. Here I have mapped
    VDATU - Requested delivery date,  BSTDK - Customer purchase order date,  PRSDT - Date for pricing and exchange rate,  BSTDK_E - Ship-to party's PO date, FKDAT - Billing Date, KORDT - Delivery Date,
    and PRGRS - Date type is Constant = D
    Can any one tell me, where is the priblem.
    With thanks,
    DSC

  • Customer Master sales data BAPI

    Hi all,
    I am doing customer master updation process through RFC,for this i am using Bapi_customer_createfromdata1 fm for customer master General data,at he same time i need to update the sales related data like LIFNR,BZIRK,KONDA etc.. these fields also.For this which Bapi shall i use....
    Thanks in Advance...

    I closed this thread.

  • Sales data(urgent)

    Hi
    If any employee is working in different sales offices different countries how can we maintain different sales data.
    In PA30 Infotype SALE DATA can be used?
    i tried to use infotype Sales Data but what is happening is it overwrites the previous record.
    my question is how can we maintain sales data for one employee who is working for many sales offices in different countries.can it be based on one personnel number.
    plz suggest.
    Thanks
    Arc

    Hai..
    Maintain Time Constraint Class 3 for that particular Infotype in..
    SM30, V_582A, Time constraint field...
    manu

  • System is not blocking Customer at creating Sales order - Urgent

    Hello all,
    Our user has created a sales order for 1,040,000.00  PKR for advance payment- cheque payment term. There is not payment against customer in fbl5n but system is not blocking sales order.Customer credit limit is zero. Any idea that why this is happening??

    hi,
    we had a similar req we handled it using delivery level blocks and restricted the authorisation to remove the block to certain users. incase you are not doin this follow this path. imglog executionshippingdeliveries-define reasons. assign this block to the order. also you will ahve to put teh block in cust master too.
    saurabh

  • LSMW Customer Create

    Hello,
    I am creating New customers by using LSMW ( Batch Input Method) its not allowing me to create the Credit Control data for the New Customers, is there any way to handle this in a single transaction.

    Hi Krishna,
    If u cannot load credit master along with customer master.... credit master is done separately.....better use a recording(FD32  tcode) which is very easy to do so.as u have very few fields to do so....
    Sony
    Message was edited by:
            sony
    Message was edited by:
            sony

  • Adding new field to Customer master sales data area sales tab

    Hello everyone,
    I am new to module pool so seeking some help from experts here.
    I have a requirement were in I have to add a new field to the customer master (VB02) sales area data sales tab.
    I found that there is no screen exit.Is there any other way of doing it?
    could you please provide me with a step by step procedure of doing it.
    With Regards,
    Karishma.

    Hi,
    How did you look for screen exit? Have you also tried it in BADI? 'Coz normally, adding custom fields to a standard screen has to be implemented in exits.
    I haven't worked with VB* screens yet so I can not give you a some possible exits. But you can do some debugging. I think there's an available code in the net that searches for exits/screen exit (ask Mr.Google). You can also ask him how to search BADI in debugging mode. I remember it's TCode SE24 then look for cl_exithandler class, get_instance method. Then look for exit_name variable.
    Hope this helps.

  • LSMW to create Sales Order using direct input RVINVB10

    Hi,
    I need advise on 2 parts of Sales Order creation using direct input program RVINVB10.
    1) How do I enter the WBS Element PS_POSID in the item line of Account Assignment tab? There does not seem to be a field in the direct input program structure to fill this in.
    2) How can I fill in item tab 'Billing Plan' that appears only when Item Category = 'Milestone Billing'?
    Thanks

    Nandan,
    Please go through the documentation of the BAPI. It gives you details of what needs to be filled in in which structure/parmater. Also, read the documentation associated with each structure, that will tell what to fill.
    It is really hard to explain it in simple terms as to what are required. But, you need the header, items and partners at the minimum. Also, with some of these structures there are also 'X' structures(like ORDER_ITEMS_INX for ORDER_ITEMS_IN) which should also be filled based on what fields you filled in the original structure. For example, if you filled 'MATERIAL' field on the ORDER_ITEMS_IN structure, you should also fill in the same field on the ORDER_ITEMS_INX structure with an 'X' in it.
    All this is well documented in the BAPI.
    Srinivas

  • Creation of Customer Master with Sales Data

    Hi Experts,
    I have a requirement in whic i have to Create/Change Customer Master through Custom program.
    The Customer Master details will be stored in file and Retrieved through program with the following Tables to be Updated
    KNA1 - Customer Master
    ADRC - Address
    ADR2 -  Telephone Number
    ADR3 - Fax Number
    ADR6 - E-Mail Addresses
    KNVV - Customer Master Sales Data
    KNVP - Customer Master Partner Functions
    KNVK - Customer Master Contact Partner
    From SDN  i came to know about  CMD_EI_API . Can you please tell me which is the method suitable for Creation/Change of Customer Master with the above details.
    Regards,
    Shrikanth R

    Hi Experts,
    Please help me how to use MAINTAIN_BAPI method in Class CMD_EI_API  in order to create Customer Master.
    Regards,
    Shrikanth R
    Edited by: SHRIKANTH R on Jul 15, 2010 11:59 AM

  • Wht r the standard tables for vendor customer and sales order report/

    Hi wht r the standard tables for vendor and customer reports and is how in normal we cannot use them for vendor reporting and etc ?

    Hi
    Customer is related to Sales Module
    So for a customer we fetch the reports of Sales orders , Deliveries and Billing doc's
    CUstomer and Vendor related tables with important fields:
    KNA1: Customer Master-General(KUNNR,NAME1,LAND1)
    KNB1: Customer Master(Company Code)(KUNNR,BUKRS,PERNR)
    KNC1: Customer Master Data (Transaction Figures)(KUNNR,BUKRS,GJAHR)
    KNVK: Customer Master Contact Partner(PARNR,KUNNR,NAME1)
    KNVV: Customer Master sales data(KUNNR,VKORG,VTWEG,KDGRP)
    KNBK: Customer Bank Details(KUNNR,BANKS,BANKL,BANKN)
    KNVH: Customer Hierarchy (HITYP,KUNNR,VKORG,VTWEG,SPART)
    KNVP: Customer Master Partner Functions(KUNNR,PARVW,KUNN2)
    KNVS: Customer Shipment data(KUNNR,VSTEL,TRANS)
    KNVI: Customer Tax data(KUNNR,ALAND,TATYP)
    LFA1: Vendor Master-General (LIFNR,NAME1,ORT01)
    LFB1: Vendor Master(Company Code)(LIFNR,BUKRS,PERNR)
    LFC1: Vendor Master (Transaction Figures)(LIFNR,BUKRS,GJAHR)
    Sales related Tables for a customer
    VBAK: Sales Document(Header Data) (VBELN, KUNNR)
    VBAP: Sales Document(Item Data) (VBELN,POSNR,MATNR,ARKTX,CHARG)
          Enquiry, Quotation, Sales Order are differentiated based on Doc.
          Type(VBTYP field) in VBAK,VBAP Tables( for Enquiry VBTYP = A,
          for Quotation 'B' & for Order it is 'C'.)
    LIKP: Delivery Table (Header Data)(VBELN,LFART,KUNNR,WADAT,INCO1)
    LIPS: Delivery Table (Item Data)(VBELN,POSNR,WERKS,LGORT,MATNR,VGBEL)
          (LIPS-VGBEL = VBAK-VBELN, LIPS-VGPOS = VBAP-POSNR)
    VTTK: Shipment Table (Header Data)(TKNUM)
    VTTP: Shipment Table (Item Data)( TKNUM,TPNUM,VBELN)
          (VTTP-VBELN = LIKP-VBELN)
    VTFA: Shipping Document Flow(TKNUM,VBELV,VBELN)
    VTPA: Shipping Partners data(VBELN,PARVW,KUNNR,PERNR)
    VTTS: Stages in Shipment(TKNUM,TSNUM,TSTYP)
    VTSP: Transport Stage/Shipment Item Allocation(TKNUM,TSNUM,TPNUM)
    VEKP: Handling Unit: Header(Packing)(VENUM,VSTEL)
    VEPO: Handling Unit: Item (Packing)(VENUM,VEPOS,VBELN)
    VBRK: Billing Table(Header Data)(VBELN,FKART,BELNR)
    VBRP: Billing Table(Item Data)(VBELN,POSNR,FKIMG,NETWR,VGBEL,VGPOS)
          (VBRP-AUBEL = VBAK-VBELN, VBRP-VGBEL = LIKP-VBELN)
          Apart from these tables there are lot of other tables which starts with
          ‘V’, but we use the following tables frequently.
    VBUK: All Sales Documents status & Admn. Data(Header)(VBELN,VBTYP)
          VBTYP= ‘C’(Sales Order) VBTYP=’J’(Delivery) VBTYP=’M’(Invoice) 
    VBUP: Sales Documents status & Admn. Data(Item)(VBELN,POSNR)
    VBEP: Sales Doc. Schedule Lines Data(VBELN,POSNR,EDATU,WMENG)
    VBKD: To get sales related Business data like Payment terms etc.(VBELN,ZTERM)
    VBFA: sales document flow data(VBELV,VBELN,POSNV,VBTYP)
    VBPA: Partner functions Data(VBELN,PARVW,KUNNR,LIFNR)
    VEDA: Contract Data(VBELN,VPOSN)
    VEDAPO: Contract Data(VBELN,VPOSN)
    Vendor related MM tables
    EBAN-- Pur.Reqn. Data (BANFN,BNFPO,BADAT,MATNR)
    EBKN-- Purchase Requisition Account Assignment(BANFN,BNFPO,VBELN)
    EINA—- Purchase Info.Record (General Data)(INFNR,MATNR,LIFNR)
    EINE-- Purchase Info.Record (Pur.Orgn Data )(INFNR,EKORG)
    ELBK-- Vendor Evaluation Header Data(LIFNR,EKORG,KLASS)
    EKKO-- Purchase Order Data (Header)(EBELN,BSTYP,BSART)
    EKPO-- Purchase Order Data (Item)(EBELN,EBELP,MATNR)
           RFQ and PO are differentiated by Doc Type(BSTYP)in EKKO table.
           For RFQ it is ‘A’ and for PO it is ‘F’.
    MKPF-- GRN Data (Header) (EBELN,BLDAT,BUDAT,XBLNR,BKTXT)
    MSEG-- GRN Data (Item)(MBLNR,BWART,LIFNR,MATNR,EBELN)
           Apart from this there are lot of tables which begin with 'M'& 'E', but we
           use the following very often.
    EKBE--PO History Data (EBELN,EBELP,BELNR,BLDAT,MATNR,VGABE)
    EKBZ--PO History with delivery Costs(EBELN,BELNR,LIFNR,XBLNR)
    EKET--Schedule lines data of a PO (EBELN,EINDT,SLFDT)
    EKES--Vendor Confirmations Data(EBELN,EBTYP,EINDT,XBLNR)
    Reward points if useful
    Regards
    Anji

  • Is there any BAPI,direct input object in lsmw to create billing plan?

    Hi experts,
    Is there any BAPI,direct input object or idoc in LSMW to create sales order with billing plan?
    Lance

    by myself

  • HOW TO CREATE A CUSTOMER NO (sales view)THAT STOERS IN KNVV TABLE

    HI ,
      how to create a customer no(sales view) that stores in tabel knvv, i able to create in kna1 table but not storing in knvv table, please provide with tcode

    Hi,
    I believe while creating customer you must be maintaining sales area if you are not maintaing then only customer's genaral data will be created and only KNA1 table will be populating.
    Rgds
    San

  • Sales order Customer Requested Delivery Date

    Hi Experts
    We are getting date difference of Customer Requested Delivery Date in MD04 and Product View for one customer.
    Scenario:
    Created Sales order by giving CRD date as 26.07.2010 and In APO Product View the same sales order shows 25.07.2010.
    Please advice.
    Thanks
    Kanth

    Hi Kanth,
    Please check your settings under transaction /sapapo/cp3
    Also check sap notes 423626, 394113
    Regards
    R. Senthil Mareeswaran.

  • Sales data not getting populated for Material master by LSMW.

    Hi,
      When I am trying to create material manual for sales view material is getting created and the table MVKE(Sales Data for Material) is getting populated with the sales data. But when i Am trying with LSMW METHOD
    Object          :     0020  
    Method          :     0000               
    Program Name    :     RMDATIND           
    Program Type    :     D(Direct Input)
        materials are geeting created but the sales data is not getting populated in the table MVKE(Sales Data for Material) and LSMW program also not showing any error.
    Can any one tell me what is teh problem here.
    Thanks,
    Naren.

    Hi,
    along with VKORG, VTWEG in <b>BMM00</b> are you mapping the below one's also.
    BMM00-XEIV1 = 'X'. "sales 1 view
    BMM00-XEIV2 = 'X'. "sales 2 view
    this will enable the sales(1/2) view.
    Check it once..
    Regards
    vijay

Maybe you are looking for