Creation and change customer master in same LSMW

Hi Experts,
I have a created customer master uploading using batch input recording in lsmw.
Now i have scenario like if the customer already exists i need to change that customer accordingly.
I hope most of u would have come across such issue,for time being i tried makin 2 recordings for creation(XD01) and change(XD02)
after assigning 2 structures for each creation and change, but i don know where to check whether the customer already exists and how to skip respective recordings....
Pl suggest steps after this, if this one correct........
Or if there any alter method pl do suggest me..
Pts will rewarded immly.
Regards,
Dilip

Hi,
In the begin of record, you can check whether a cust already exist in the system. Based upon the result you can change the Tab Name and Tcode.
Just give this a try.
Rehards,
Lalit

Similar Messages

  • Bapi For creation and change for Vendor Master and Customer Master

    I am looking for BAPI to create and change  Vendor Master and Customer Master which will not take me to standard SAP transaction but will work in the background
    Explanation: BAPI to delete material (BAPI_MATERIAL_DELETE) take you to standard SAP screen of T-Code MM06  but BAPI to create material (BAPI_MATERIAL_SAVEDATA) creates material in the background i.e. does not take you to standard SAP screen of T-Code MM01
    So in my case (i.e. to create and change  Vendor Master and Customer Master ) I want BAPI which would work like BAPI to create material (BAPI_MATERIAL_SAVEDATA)

    For general information,to find BAPIs associated with any business object :
    Transaction : BAPI - choose alphabetical tab - Find customer - (right side choose - tools - create bapi list and search ) , you will get all the BAPIs associated with this particular business  object
    Mathews

  • IDoc Configuration for Production Order Creation and Change

    Hi All,
    Please Help me out for IDoc Configuration for Production Order Creation and Change
    I have found the IDoc for Production Order
    Messgae Type : LOIPRO and IDoc type : LOIPRO01
    Actually my requirment is to send the (LOIPRO01 )IDoc from SAP R/3 to XI system ,when ever the Production Order Created and Changed,
    I have done following Configurations:
    1. RFC Destination created for XI system
    2. PORT was created for XI
    3. Partner profile created WE20 and LOIPRO01 IDoc is added in OutBound Perameter.
    I need to know how to do the followning.
    1. How do i configure the outbound Production order idocs when Production Order is created or changed.
    2. in NACE (Output control) which is the Application for Production Order.
    3. How can I set IDoc as output Type for Production Order Creation.
    Thanks in advance
    Dhanabal T

    Hi Michal,
    I know that it is the old thread but still want to get clarified from you out of curiosity.
    Unlike other IDOC, i actiavated change pointers for LOIPRO
    1.message and idoc type is linked
    2.function module , message type , idoc type is linked
    function module used is CLOI_MASTERIDOC_CREATE_LOIPRO
    3.BD64, distribution model is created and distributed
    4. port and partner profile is in place.
    5. IDOC is not getting generated after creating the process order.
    do we need to activate the change documents for the message type in BD52,
    if yes can you please provide the object types for the same.
    or i am missing something else. please guide me in this regards.
    Thanks in advance for your time.
    S.Janagar

  • Creation and Change Date for Tcode and Function Groups

    Hello All,
    I need to display the Creation and Change Dates for Custom Tcodes and Function Groups in a Report. Can anyone please let me know the logic of retrieving it.
    regards,
    Mahesh

    Hi,
    TADIR and TRDIR is the tables where you can find all these data
    Regards
    Sudheer

  • Change Customer master Address Data using Structure biadd2 in report rfbide00.?

    hello
         i want to change Customer  Master Address Data using using RBIDE00 report program but when i execute the report it will accept input from batch file
    but the same is not getting updated in  customer master .
    please  help me to resolve this issue .
    thanks & regard
    laxmikant soni

    Found the answer from SDN - not possible unless using some BUS.
    RFBIDE00 - Address data issue
    Thread closed.

  • 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?

  • End User Doc. Create / Change Customer Master Data

    < MODERATOR:  Message locked.  Please read the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] before posting next time. >
    Hi Experts,
    I would appreciate, if anyone of you could forward me the end user documents for creating & changing customer master data.
    sonicasmailbox at rediff
    Points will be assigned.
    Regards
    Sonica

    Hi
    Refer to help.sap.com for creating customer master data.
    Copy this to word document and it will be become user manual.
    http://help.sap.com/saphelp_ides/helpdata/en/47/ef8c64124811d2806f0000e8a495b3/content.htm
    Additionally refer to this weblink
    http://web.mit.edu/cao/www/AR/ar1/ar_FD01.htm - This if for FICO only.
    Changing customer master record.
    Use T.Code XD02.
    Enter Customer No,Company code,Sales Org, Distribution channel and division and press Enter or
    Enter Customer no,company code and click on customer's sales area, you will see Sales Org, Distribution channel and division,select the Sales org,Sales Org, Distribution channel and division and press enter.
    You can make necessary changes to customer master
    Please let me know if you need more information.
    Asssign points if useful.
    Regards
    Sridhar M

  • All of a sudden, my settings have been changed, my homepage, and EVERYTHING. No matter how many times I go in and change them again, the SAME pages open up when I start FireFox and I am constantly being asked if I want Yahoo as my start page and default s

    I don't know what happened. All of a sudden, my settings have been changed, my homepage, and EVERYTHING. No matter how many times I go in and change them again, the SAME pages open up when I start FireFox and I am constantly being asked if I want Yahoo as my start page and default search engine. I click the box 'do not ask me again' and it comes up EVERY TIME. I change things like I don't want history remembered, and when I reload FireFox again, it's back to the way it was BEFORE. EVERY SINGLE TIME. I don't know why this is happening, or how to fix it. What do I do??

    I do not want to download another virus program.. I do not believe it is a virus. I am running the full version of Norton 360 and it is doing a daily scan. I have Windows 7, 64 bit OS.
    This is very irritating !! If I wanted Yahoo I would ask for it !

  • How to trigger an Idoc from Sales order creation and change

    We are trying to trigger Idoc from sales order creation and change we have done following setting mentioned below:
    Follow the below steps:
    1. Go to NACE transaction
    2. Select V1 application and select OUTPUT TYPES
    3. Select the required output type and double click on Processing routines.
    4. Enter Medium as DISTRIBUTION ALE, Program as RSNASTED and Routine as ALE_PROCESSING.
    5. Save it.
    message type ORDERSP in the distribution model (BD64).
    Follow the below steps to configure the condition records:
    1. Go to NACE
    2. Select V1 application and select CONDITION RECORDS
    3. Select the requred output type and click on Condition records
    4. Selection screen will be displayed.
    5. Go for execution. In that screen enter the selection criteria. For eg Condition record is based on Sales document type. Then
    Sales doc type = OR
    Funt = SP
    Partner = blank. It means there is no restriction on partner numbers.
    Medium = A
    date/time = 4
    Lan = EN.
    Note: partner is left blank means, the sales order of type OR can be send to all partners.
    6. Save it.
    We also done ALE configuration.
    We are facing problem that from VA02 "No output has been selected for printing Message no. V1102"
    Kindly suggest the solution.
    Regards,
    Sharad Dixit

    Hi ,
    Please check the total error description and diagnosis as below :
    InVa02 enter SO  go to extras->output->Header->edit.You can find a table with all the triggered output types. Choose the output type BA00 with medium Distribution ALE and go for 'Processing log'. It will show you the error description.
    Please paste the diagnosis .
    Thanks and Regards,
    P.Bharadwaj

  • Customer master (XD02) with LSMW

    Hi All,
    I am trying to update customer master (XD02) with LSMW. But i the First step i.e. Maintain Object Atrributes... when I clic batch input recording & try to give a recording name in th second line... it throws an error saying "Enter a vali Value"... It does not accept a recording name & does not allo me to click Recording : Overview button .
    Has this error to do anything with the settings??... The sandbo in which I am working has the component version "SAP R/ Enterprise"(found out by System --> Status) ... Please Help

    hI,
    You will have to create recording first & then select from drop down box of "Batch Input".
    To create recording pls follow this:
    Go TO T code : LSMW
    Create Project, Subproject & objects.
    In Maintain Attributes - press F8
    In menu bar
    Goto---> recording overview
    Now you can create your recorindg which wil be avaliable for selection.
    rgds,

  • PR Creation and Change

    Dear All,
                     I want to put a control in the Purchase requisition creation and change ME51N and ME52N any standard user exit  available for this?..
    if available kindly send me the user exit name. We have already tried with the user Exit M06B0002 under function exit
    EXIT_SAPLEBND_001 but this is not suitable in ME52N
    Any other standard user exit available.
    Kindly give your valuable help on this
    Thanka in advance.
    Regards
    P.Anandhakumar...

    The Item Category B is a Limit PO, which means it is a value limit. so there is no need for a qty - So, it was greyed.
    The currency which is brought from the Vendor, so if you want to change - then do it from the Vendor - so it was greyed.
    The UOM will be a activity, since the PO was value based - so it was greyed out.
    This is a standard of SAP.

  • Authorization control on material reservation creation and change (MB21 & M

    Hi Friends
    Please help me to find a solution on Authorization control on material reservation creation and change (MB21 & MB23).
    Client looking for a control over end user on those T.Code s but not at T.Code level;
    Client looking for control either based on "Storage location" and/or u201CProduct hierarchyu201D.
    More specifically, user A and B both can Create/Change MR but user A only can do it for the MR which related to storage location say YY while B authorized for storage location ZZ
    Thanks in advance.

    Hello Partha,
    Only available Standard SAP Authorization Objects, related to Reservations, are M_MRES_BWA (Reservations: Movement Type) & M_MRES_WWA (Reservations: Plant) where you can maintain authorizations based on Movement Type & Plant respectively and hence seggested enhancement.
    You can use Tcode-SUIM to search for Basis authorization details i.e. Roles defined for specific transaction/authorization object / profiles.
    Revert if any further info required.
    Regards,
    Anup

  • Customer master report for new and changed customer

    Hi All,
        I want to write a report for customer master, If a new customer is created or if customer is changed the report should get the customer and download it to a flat file.
    There is no proper spec they want customer based on acount group,Here how i can find the customer is  newly created or changed. Change pointer is active.
    in table CDHDR if customer is created the date and object id is there but changed the changed date is not in table kna1.
    Please help me regarding the logic.
    Thanks,
    Arun.

    Dear Arun,
      Please check for the delta entries on the customer master tables in DBTABLOG.
      This table stores all the changes made in database level.
    Regards
    imran.

  • 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

  • Change Customer Master using CMD_EI_API MAINTAIN_BAPI Method

    Hi Experts,
    I am using CMD_EI_API=>MAINTAIN_BAPI method for Creating Customer through Custom program. The Creation of Customer Master is working fine.
    I have another requirement i need to perform the following for the Customer Change
    1 . Delete all Phone , Fax and SMTP entries from the table and create a new entries for Customer.
    2 . Delete a Contact Person based on the information from the legacy system.
    I am facing problem in the above two issues
    ADR2, ADR3 and ADR6 entries are retrieved for customer.
    this values are populated and passed to the method with Task as 'D' - delete.
    there is no error message  from the Method. when i call commit statement
    1 . the address details are not getting deleted in the tables
    2. if a contact person is deleted then i am getting a short dump while commit.
    Please help me if you know the details of MAINTAIN_BAPI method whic can be used for the Deletion purpose.
    Thanks,
    Shrikanth R

    Hi Experts
    I'm having the same problem it looks like the method maintain_bapi does not commit the new values, I debuged it and found a call to a badi lr_badi_update but I could not find information about it.
    Any help will be appreciate
    Leo

Maybe you are looking for