Method for uploading Customer Hierarchy Data

hi experts,
i have a requirement in which i need to upload Customer Hierarchy data into ECC system from CRM system.
I need to know is there any method in LSMW by which i can do it?
thanks,
Ags.

resolved..

Similar Messages

  • LSMW - DIRECT INPUT METHOD FOR UPLOADING PP MASTER DATA

    Dear Gurus,
    A LSMW project (DIRECT INPUT METHOD)has been created for PP master.
    But Now They have Lost Previous File which they have prepared Earlier.
    Now to Create a file for the Same Project wat fields need to be taken.
    By taking only Source structure fields it is giving error.
    In project some constant fields are also there.
    pls guide me.
    With Regards,
    GMP

    have Lost Previous File
    what does that mean? did they lose the source that should be used to load the data from?
    without source you cannot load data.
    Had you ever got this source file? how? by mail, then check your old mails and take it from there, ask the sender to he/she checks the SENT folder in his mail system. Maybe someone has a local copy of this fille.

  • LSMW : Idoc method , Business Activities custom fields data upload

    Hi guys
    I am uploading Business activities using LSMW IDOC method and below message and idoc type
    Message type CRMXIF_ORDER_SAVE_M
    Basic idoc type : CRMXIF_ORDER_SAVE_M02
    Using EEWB I added few fields to business activities , along with the standard fields I want to upload the customer fields also .
    I tried to Extend the Basic idoc type CRMXIF_ORDER_SAVE_M02, but it was not allowing me to Extend ( since it is generated basic idoc type ) I tried the other Basic idoc types for Business activities , I got the same problem
    the basic idoc type contains only two Segments
    E101CRMXIF_CUSTOMER_H_X (parent)
    E101CRMXIF_CUSTOMER_H (child)
    with out my custom fields
    pls help how can i add my custom fields ( added by eewb) to the basic idoc type
    for uploading custom fields
    thanks in advance
    Warm regards
    Rajasekhar

    You are going to need to create an enhancement of the standard IDOC type in order to get your custom fields to show.  I can't remember the exact procedure, but you will need to create a Z-type based on the existing type in the system.  When you generate the z-type the fields will be filled in.
    Look at the following thread and it will give the basic steps
    How to delete Extention
    Good luck,
    Stephen

  • Outbond interface programme to upload customer master data.

    Hi experts,
              i need to develop an outbound interface programme to upload customer
    master data,which will be received from sap and posted to web methods using
    standard function mudule.can any one help me?

    Hi,
              Hi,
    Primary you should have Message type, Idoc type and Function module or Report to process Outbound interface.
    If your's is an Customized Process, then follow this.
    1. Create Message type in we81.
    2. Create segments in We31
    3. Create Idoc Type in WE30.
    4. Assign Message type to idoc type in WE82.
    5.Create an Partner profile in WE20.
    6.If you are creating an function Module create it in SE37.
    7. Assign it to process code in WE41.
    8. Charactersitics of FM in BD51.
    9. Assign FM and IDoc And Message type in WE57.
    <b>ALE IDOC</b>
    Sending System(Outbound ALE Process)
    Tcode SALE ? for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 ? Create Model View
    Tcode BD82 ? Generate partner Profiles & Create Ports
    Tcode BD64 ? Distribute the Model view
    Message Type MATMAS
    Tcode BD10 ? Send Material Data
    Tcode WE05 ? Idoc List for watching any Errors
    Receiving System(Inbound ALE )
    Tcode SALE ? for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 ? Check for Model view whether it has distributed or not
    Tcode BD82 -- Generate partner Profiles & Create Ports
    Tcode BD11 Getting Material Data
    Tcode WE05 ? Idoc List for inbound status codes
    ALE IDOC Steps
    Sending System(Outbound ALE Process)
    Tcode SALE ?3 for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 !V Create Model View
    Tcode BD82 !V Generate partner Profiles & Create Ports
    Tcode BD64 !V Distribute the Model view
    This is Receiving system Settings
    Receiving System(Inbound ALE )
    Tcode SALE ?3 for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 !V Check for Model view whether it has distributed or not
    Tcode BD82 -- Generate partner Profiles & Create Ports
    Tcode BD11 Getting Material Data
    Tcode WE05 !V Idoc List for inbound status codes
    Message Type MATMAS
    Tcode BD10 !V Send Material Data
    Tcode WE05 !V Idoc List for watching any Errors
    1)a Goto Tcode SALE
    Click on Sending & Receiving Systems-->Select Logical Systems
    Here Define Logical Systems---> Click on Execute Button
    go for new entries
    1) System Name : ERP000
    Description : Sending System
    2) System Name : ERP800
    Description : Receiving System
    press Enter & Save
    it will ask Request
    if you want new request create new Request orpress continue for transfering the objects
    B) goto Tcode SALE
    Select Assign Client to Logical Systems-->Execute
    000--> Double click on this
    Give the following Information
    Client : ERP 000
    City :
    Logical System
    Currency
    Client role
    Save this Data
    Step 2) For RFC Creation
    Goto Tcode SM59-->Select R/3 Connects
    Click on Create Button
    RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles
    give the information for required fields
    RFC Destination : ERP800
    Connection type: 3
    Description
    Target Host : ERP000
    System No:000
    lan : EN
    Client : 800
    User : Login User Name
    Password:
    save this & Test it & RemortLogin
    3)
    Goto Tcode BD64 -- click on Change mode button
    click on create moduleview
    short text : xxxxxxxxxxxxxx
    Technical Neme : MODEL_ALV
    save this & Press ok
    select your just created modelview Name :'MODEL_ALV'.
    goto add message type
    Model Name : MODEL_ALV
    sender : ERP000
    Receiver : ERP800
    Message type :MATMAS
    save & Press Enter
    4) Goto Tcode BD82
    Give Model View : MODEL_ALV
    Partner system : ERP800
    execute this by press F8 Button
    it will gives you sending system port No :A000000015(Like)
    5) Goto Tcode BD64
    seelct the modelview
    goto >edit>modelview-->distribute
    press ok & Press enter
    6)goto Tcode : BD10 for Material sending
    Material : mat_001
    Message Type : MATMAS
    Logical System : ERP800
    and Execute
    7)goto Tcode : BD11 for Material Receiving
    Material : mat_001
    Message Type : MATMAS
    and Execute --> 1 request idoc created for message type Matmas
    press enter
    Here Master Idoc set for Messge type MATMAS-->press Enter
    1 Communication Idoc generated for Message Type
    this is your IDOC
    Change Pointers
    I know how to change the description of a material using ALE Change Pointers.
    I will give the following few steps
    1) Tcode BD61---> check the change pointers activated check box
    save and goback.
    2) Tcode BD50---> check the MATMAS check box save and comeback.
    3) Tcode BD51---> goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.
    4) Tcode BD52---> give message type : matmas press ok button.
    select all what ever you want and delete remaining fields.
    save & come back.
    5) 5) go to Tcode MM02 select one material and try to change the description and save it
    it will effects the target systems material desciption will also changes
    6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute
    give Message type : MATMAS and Executte
    ALE/IDOC Status Codes/Messages
    01 Error --> Idoc Added
    30 Error --> Idoc ready for dispatch(ALE Service)
    then goto SE38 --> Execute the Program RBDMIDOC
    29 Error --> ALE Service Layer
    then goto SE38 --> Execute the Program RSEOUT00
    03 Error --> Data Passed to Port ok
    then goto SE38 --> Execute the Program RBDMOIND
    12 Error --> Dispatch ok
    Inbound Status Codes
    50 Error --> It will go for ALE Service Layer
    56 Error --> Idoc with Errors added
    51 Error --> Application Document not posted
    65 Error --> Error in ALE Service Layer
    for 51 or 56 Errors do the following steps
    goto WE19 > give the IDOC Number and Execute>
    Press on Inbound function Module
    for 65 Error --> goto SE38 --> Execute the Program RBDAPP01 then your getting 51 Error
    Regards

  • BDC Program - Session Method For Add and Edit Data

    Hi,
    How to write a BDC program (For Session Method) to upload Sales Order Data (VA01) and at the same
    time to modify the data if the Order exists?
    Thanks
    Murthy

    Hi,
    go to SHDB
            Create a project and recording the Va01 and then u write the code for That recording.

  • How to get the salesprice and condition for a customer / material / date

    Hi all,
    how can I get the correct price and condition for a customer / material / date ?
    I know this is possible using the BAPI_SALESORDER_SIMULATE, but this bapi is using to much ressources on the system.
    I'm trying to get the correct price and condition WITHOUT using that BAPI.
    Does anyone know how it is possible ? As said before : I have the customer, material and a date.
    thanks in advance for your help

    Hi
    You need it because it's possible to have a complex pricing procedure, and you can't do it with a simple select on a table. Think that you can have pricing requirements, formulas (ie: VOFM) and so on in your pricing procedure (tcode V/08).
    I hope this helps you
    Regards
    Eduardo

  • Dual Control for Vendor/Customer Master Data

    We can set Dual Control for Vendor/Customer Master Data. I have set it. According to the cycle, I have customized sensitive field, and make changes in Vendor/Customer A/c. Here the changes will be confirmed by other user who is authorised to confirm the changes. In this scenario, I would like to know, can we avoid this confirmation once we have actived? If, no than how could we confirm the changes and where can we set authorisation?

    Dear,
    No, You cannot avoid the dual check if You activate it. Another user by FK08 has to confirm the changes.
    Then You can delete the field for the dual control into the table T055F and no check will be done in the future.
    I hope this helps.
    Mauri

  • Creating change documents for VDH1N-customer hierarchy

    Hi
    i need to create change documents so that i can read the changes and extend DEBMAS06 to send customer hierarchy data to non-sap system using IDOC.
    can anyone let me know how to create change documents to customer hierarchy ...

    Hi
    i need to create change documents so that i can read the changes and extend DEBMAS06 to send customer hierarchy data to non-sap system using IDOC.
    can anyone let me know how to create change documents to customer hierarchy ...

  • Credit limit for the customer hierarchy

    Hi All,
    Our client needs a report to show the total Credit Limit assigned to Global customer as shown below. It will be the summarization of individual credit limits of all the customers linked to this Global Customer. It will be a BI report.
    Can someboby please tell me as to how to create the credit limits for the customer hierarchy? Also, hoe to fetch these valus in the report?
    Customer No     Customer Name      Total Credit Limit     Individual Credit Limit
    1000000             Carrefour                      970,000,000.00      
    1000001             Carrefour France                             300,000,000.00
    1000002             Carrefour Spain                                             200,000,000.00
    1000003             Carrefour Belgium                             90,000,000.00
    1000004             Carrefour Greece                             85,000,000.00
    1000005             Carrefour Italy                                             200,000,000.00
    1000006             Carrefour Turkey                                             50,000,000.00
    1000007             Carrefour Poland                             45,000,000.00
    2000000             Metro Group                      290,000,000.00      
    2000001             Metro Austria                                             25,000,000.00
    2000002             Metro France                                             53,000,000.00
    2000003             Metro Spain                                             48,000,000.00
    2000004             Metro Germany                                             63,000,000.00
    2000005             Metro Switzerland                             15,000,000.00
    2000006             Metro UK                                             60,000,000.00
    2000007             Metro Portugal                                             26,000,000.00
    Regards,
    Raghav

    Hi,
    Credit limit is maintained on payer level and you are not able in standard to split it between sold-to or assign N sold-to to one global limit. You have to extend the credit control functionality to check the credit limit additionally for the global limit customer. Unfortunatelly you cannot implement it without development.
    Regards,
    Marcin

  • Clone a method for my custom object.

    Hi!
    We have a method:
    comp.saveFrameToPng(compTime, fileObj);
    I have my custom object block.
    Is it possible to clone "saveFrameToPng" method for my custom object?
    I've tried:
    Function.prototype.clone = function() {
        var that = this;
        var temp = function temporary() { return that.apply(this, arguments); };
        for(var key in this) {
            if (this.hasOwnProperty(key)) {
                temp[key] = this[key];
        return temp;
    And then in my custom object:
    function block (comp)
    this.saveFrame = comp.saveFrameToPng.clone();
    But thin won't work properly
    Help me please if this possible.
    Thank you in advance!

    Hi
    static public long powerTwo(long number)
         long ret = 2;
         if(number == 0)
              return 1;//2 to the power of 0 is 1
         else
                    //use a for loop to loop as many times as specified by number,
                    //times 2 to ret every time it loops
         return ret;//return the answer
    }Hope this helps

  • LSMW Method for VD51 Customer-Material Info master data conversion

    Hi,
    I am using LSMW for VD51 Customer-Material Info master data creation but can't able to find any standard BAPI, IDOC or Direct input program.
    Can anybody tell me any standard way to do it or only the recording method possible for this.
    Thanks
    Dhirendra

    Hi,
    I have done this once and used recording method in LSMW. Do the recording from LSMW itself.
    Thanks,
    Jyothi

  • Is there a Function module to get customer hierarchy data?

    Howdy,
    I'm writing a report where the user can, on the selection screen, enter a customer number or a hierarchy node and then the program has to get all the higher level nodes and  and lower level nodes for the selected Sales area.
    eg. for the following hierarchy:
    A
    ->B
    --|-> D
    --|-> E
    -> C
    ---|-> F
    ---|-> G
    if node b was selected it would pull back:
    KUNNR     HKUNNR
    A         blank
    B         A
    C         A
    D         B
    E         B
    F         C
    G         C
    Anyone know if there is a Function module that can do this?
    Thanks

    Hi Victoria,
    even i was using the same FM "RSNDI_SHIE_STRUCTURE_GET3"
    my code goes like this...
    i am passing hierarchy name and  node name...this is for cost element hierarchy.
    please check the code and tell if i am missing anything.
    o/p i am getting is all 0's.
    report ztest5.
    tables : ZREPCODMAP.
    data: itab type standard table of ZREPCODMAP with header line.
    TYPES: BEGIN OF STRUC,
             RESULT type RSSH_S_NODEBYNAMEWOL,
            ZREPCODMAP-REPDSELM,
            END OF STRUC.
    DATA: itab1 type standard table of struc with header line.
    data: w_hiesel like RSNDI_S_HIESEL.
    w_hiesel = '1000KES'.
    *data: w_nodebyname type RSNDI_T_NODENM.
    data: tab type standard table of RSNDI_S_HTAB with header line.
    data: lsubrc type SY-SUBRC.
    select * from ZREPCODMAP into table itab where PROFIT_CTR <> ' '.
    loop at itab.
    concatenate itab-CO_AREA itab-REPDSELM INTO itab1-RESULT.
    *write: itab1.
    break-point.
    CALL FUNCTION 'RSNDI_SHIE_STRUCTURE_GET3'
    EXPORTING
    I_S_HIEKEY =
    i_s_hiesel = w_hiesel
    i_s_subtreesel = itab1-result
    I_T_NODENAME =
    I_NO_NODENM_TABLE = w_flag
    IMPORTING
    E_S_HIEDIR =
    e_subrc = lsubrc
    TABLES
    E_T_HIEDIRT =
    e_t_hierstruc = tab.
    E_T_MHIERNODE =
    E_T_THIERNODE =
    E_T_HIERINTVL =
    E_T_NODENAMES = tab.
    E_T_NODEATTR =
    E_T_LEVEL =
    E_T_MESSAGE =
    write: tab.
    *write: lsubrc.
    endloop.
    Thanks & Regards,
    Vijaya

  • Method for Saving the attendence data

    Dear All,
                 We are implementing the HR,MM,FI,SD module and also implementing  the Kronos Time Machine for Time details.
    I got the text file in which employee attendence data is mentioned  from the kronos system.Now which way i have to used for upload this information in sap tables or infotype .Because some buddy told we can not used the CATS ,I don't know why.
    So now how i can save attendence data and also in which table in sap we have to save that data.Kindly Help me .I am using IT2001,2002 and 2006 infotype for time management
    Kindly tell me the procedure for saving the Attendence data it' urg.
    Thanks
    sandeep
    Edited by: SANDEEEP DABRAL on Jun 19, 2009 2:45 PM

    Hi
    Does your client is using punch in and punch out data. If then then we can store the P10 and P20 data in SAP directly with the help of the integration with 3rd party systems.
    If not then just prepare a customized prghramme with the help of ABAP guys to uplad the data in IT 2002 against the absence types.
    For this you need to do the Absences customization in SAP R/3
    Thanks
    Sheetal

  • Uploading Account Hierarchy data

    Hi all,
    Can anyone tell me how to upload Account Hierarchy into BI.I have created a flat file with the Hierarchy structure but unable to upload.
    The File format is
    Node ID,Info Object Name,Node Name,Link Name,Top Node,From Ac,To Ac,Language, Short Text, Long Text,Description.
    Kindly help me in this regard
    Regards
    Ajoy

    Hello,
    SAP provides a very powerful tool to upload mass amount of data without any coding required : LSMW.
    Furthermore, you can use this tool together with the Migration Workbench (tcode SXDA) to do parallel processing...
    So why would you want to record anything, or create a Z program? Even if you need to implement your own rules, you can implement some coding within your mapping project... Many cookbooks about LSMW are available both on SDN and on the sap service market place (with sample files, etc.).
    And for the record, here is of you can use this IDOC that I mentioned in my previous reply:
    Re: using FM CRMXIF_PARTNER_HIER_SAVE
    Regards,
    Nicolas Busson.

  • Which is the best approach to upload customer master data?

    Hi Everyone,
    I have to load customer master data  which is extracted from ecc by using generic data source(view) when i try to  trigger DTP it is showing error message  as duplicates because the customer has two sales area ,two person number and two consumernumber and four partner functions.
    So i tried to make all these as compounding attributes but the length is exeeding 60 for these attributes so how can i implement this.can i implement hierarchy's?
    Please give me any suggestions.
    Thanks and Regards,
    G.Kavyasree

    Hi Yogesh,
    The issue is not resolved yet.If the length is manageable  in compounding attributes.please suggest me the solution.
    yes ,by enhancing two data sources 0customer_attr and 0customer_sales_attr i can meet my client requirement .but i dont know how to join these datasources  based on customer number in bi (i.e customer genral data from 0customer_attr  datasource and sales area data from 0customer_sales_attr  datasource ) and generate a report on these two datasources  data.
    my report should look like this .
    customer_id   firstname      city      country   sales_org  distribution_channel  division  telephone
      100                 mary       newyork    us          1010                     10                    10       +1xxxx456
      100                 mary       newyork    us          1010                     20                    10       +1xxxx457
      100                 mary       newyork    us          1010                     20                    20       +1xxxx433
      101               richard       texas        us          1010                     10                    10       +1xxxx351
    Please provide your valuable suggestions.
    Thanks,
    Kavya

Maybe you are looking for

  • Add Partner application to OSSO

    Hi, I am using OracleAS Single Sign-On. I have my application (UCM) having the url "http://host/ucm". I want to register UCM as partner application with my OracleAS Single Sign-on. I logged in to the SSO Sever and on the UI, I selected the link "Add

  • What happened to the frequencies view in the main display?

    In the old versions of iTunes, you could toggle the top status window to show the frequency levels of a song. This is nowhere to be found lately. Any ideas? Did they get rid of it?

  • New Mac Pro and LED cinema display

    Sorry if this has been asked before, I tried searching for it but none of the topics answered my question specifically enough. I have a 24" Apple LED Cinema Display purchased less than a year ago. Will it connect to a new Mac Pro and what happens to

  • I keep getting this error...

    Whenever I try to preview a song in the store it keeps asking for me to authorize the computer. I do so, and this error then comes up saying, "We could not complete your iTunes Store request. A required iTunes component is not installed. (-42401)" It

  • How to build Project Budget report with "IF-then" formula?

    HI I have user requirement to create this report: Controlling Area Currency CAC Object Currency (OC) Amount to be returned calculation Amount to be used for Budget Return Budget (CAC) Actual (CAC) Remaining Budget (CAC) Budget (OC) Actual (OC) Remain