LSMW Cost Center

I'm looking for a LSMW to upload the cost center from a xls-file or csv-file in the R/3 System. Which LSMW can I use for this?

hi
You can user recording method. In LSMW first step, select the radio button for recording option then record the tcode. It is easier than all others
Reward if it dose
Siva Kuamr

Similar Messages

  • LSMW - Cost Center Upload

    Hi Gurus,
    Any idea on what BAPI should we use on uploading Cost Center using LSMW? Currently we are using a BAPI with the following characteristics:
    Business Object    BUS0012      Cost Center
    Method                   CREATEMULTIPLE
    Message Type       COSTCENTER_CREATEMULTIPLE
    Basic Type             COSTCENTER_CREATEMULTIPLE
    Unfortunately on step  4 - Maintain Structure Relations, we are encountering an error "No target structures could be found" upon executing it. It seems that the selected bapi has no export parameter/structure.
    Any suggestions for the approach should we use?
    Thanks and Regards,
    Jay

    Hi,
    Check the below links.
    LSMW Cost Center creation using BAPI BUS0012
    http://wiki.sdn.sap.com/wiki/display/ABAP/ListofBAPI%27s
    Hope this helps.
    Regards,
    Satish Kanteti

  • LSMW - Cost Center Upload using BAPI

    I have to upload Cost Centers in SAP. I want to use BAPI BUS0012-CostCenter.CreateMultiple for the purpose, but neither does this have a message type attached to it nor it is registered in the Data Transfer Program Library (Tcode-BDLR). The ALE interface is also missing for this.
    Can someone guid me for
    1. Registering the program in Data Transfer Library (Tcode-BDLR),
    2. Creating a message type for the same,
    3. Generating ALE interface (Tcode-BDBG).
    Your award is assured for all the replies you post.
    Thanks in advance.
    Regards,
    Gajendra Bhatt

    Hi!
    Sounds like you pretty good know what to do already. Then you should have found the application help, too - but I'm not sure, so here are the links:
    BDLR: http://service1.sap.getro.net//ecc_5.0_sr1/helpdata//EN/7b/3519b3fed111d2a6250060087832f8/frameset.htm
    Messages can be defined with WE81 (I hope, that's the right kind of message)
    BDBG: http://service1.sap.getro.net//ecc_5.0_sr1/helpdata//EN/78/21740f51ce11d189570000e829fbbd/frameset.htm
    The ALE Programming Guide http://service1.sap.getro.net//ecc_5.0_sr1/helpdata//EN/78/2173cf51ce11d189570000e829fbbd/frameset.htm says quite a lot to the necessary steps - this should be quite usefull on your way to your own data migration.
    Regards,
    Christian

  • LSMW Cost Center creation using BAPI BUS0012

    Hi
    I am creating a LSMW using BAPI BUS0012, I have done the setting for inbound Idoc Processing, but when i am clicking on maintain structure relations, i am getting an error No Target structure could be
    found
    please let me know what to do ?
    thanks in advance
    Lokesh

    Hi
    YOu can check http://help.sap.com/saphelp_nw04/helpdata/en/ad/2d54a41d7011d2b42e006094b944c8/frameset.htm
    Here you may get a answer to your question.
    Cheers,
    Hakim

  • Cost center updating thorugh LSMW

    Dear All,
    I have uploaded cost centers ( changed new costcenters) thorugh LSMW. I hv created recording using T-Code PP01 and select relationship according to the BEGDA and ENDDA and i choiced the relation ship ID A011 costcenter Assignment and i did all the procces and uploaded.
    according my recording all the costcenters are uploading in the relationship history ( newly uploaded through LSMW cost center also available . but in infotype 0001 it not reflecting.i dont know why.
    please if anybody can help me how to upload costcenter through LSMW.
    PLOGI ORGA switched on
    regards.
    dinesh.

    Hi, I have the same problem that you, if you do ir directly from PP02 you can see the cost center assigned to the person in the infotype 0001, but if you do it with a batch inputo or call transaction, the relationship betweeen the position or unit org, and cost center is created, but you can not see the cost center in the infotype 0001 of the person.
    I'm still looking for an answer becasuse I want to do a massive charge, and I did a record of PP02 in SM35.
    I have a program and do it correctly using the Function module 'RH_INSERT_INFTY_1001_EXT'
    If you do it with an LSMW or record one SM35 of PP02 it doesnt works,
    But if you make a program and create the relationship with CALL FUNCTION 'RH_INSERT_INFTY_1001_EXT'
    IT WORKS, YOU CAN SEE THE COST CENTER IN IT0001.
    FINALLY I WILL DO IT WITH THIS FUNCTION MODULE BECAUSE I DONT SEE ONE ANSWER OF OUR PROBLEM.
    ONE EXAMPLE OF THE PROGRAM.....
       CLEAR it_p1001.
              wa_p1001-infty = '1001'.
              wa_p1001-istat = '1'.
              wa_p1001-otype = dc_otype. "O
              wa_p1001-plvar = dc_plvar.
              wa_p1001-begda = d_fecha_k.
              wa_p1001-endda = it_cod_ceco-endda.
             wa_p1001-endda = dc_fec_fin.
    *       Preparamos los registros para ser insertados
              wa_p1001-aedtm = sy-datum.
              wa_p1001-uname = sy-uname.
              wa_p1001-varyf(2) = "K"
              wa_p1001-varyf+2(8) = it_cod_ceco-ceco(8).
              wa_p1001-objid = wa_p1000-objid.
              wa_p1001-relat = '011'.
              wa_p1001-rsign = 'A'.
              CONCATENATE it_cod_ceco-ceco 'COCT' INTO  d_sobid.
              wa_p1001-sobid = d_sobid.
              wa_p1001-sclas = dc_otype2. "K
              APPEND wa_p1001 TO it_p1001.
              CLEAR wa_p1001.
              DATA d_fcode TYPE hrrhap-fcode.
              d_fcode = 'INSE'.
              CALL FUNCTION 'RH_INSERT_INFTY_1001_EXT'
                EXPORTING
                  fcode                   = d_fcode"'INSE'
                  vtask                   = 'D'
                  authy                   = space
                TABLES
                  innnn                   = it_p1001
                EXCEPTIONS
                  no_authorization        = 1
                  error_during_insert     = 2
                  relation_not_reversible = 3
                  corr_exit               = 4
                  begda_greater_endda     = 5
                  OTHERS                  = 6.

  • How to use LSMW using the IDOC to upload and maintain cost center group

    Hi Everyone,
    Is there anyone who knows how to use LSMW using the IDOC functions instead of the recording. I wanted to upload the alternative cost center group I created in the system. 
    reply would be greatly appreciated
    Warm Regards

    Hi Praveen,
    There is a risk trying to migrate data directly into standard tables because this can generate database inconsistences or wrong inserted data according to what is customized in the target system. I do not recommend migrate like this. 
    With LSMW you use objects like direct input programs, idocs, bapis and recorded batch input. Try to create a project and use an standard object for your data. Also, check in SXDA transaction (Goto-->DX programs) if there is a standard program for your data.
    Anyway, if you want to upload data directly to tables, read below thread:
    ["UPLOAD  CSV  FILE";
    [how to upload .csv file into a custom table;
    Regards,
    Roger

  • Cost Center Creation - Manual/LSMW

    Hi Experts .....
    We are trying to create the cost center data using the tcode PP02, in infotype 1001, subtype A 011. when the record is manually created, relevant cost centers are displayed in infotype 0001 (Organizational Assignment). But the same transaction, when run by an LSMW, infotype 0001 is not updated. However, in PO13, cost center relationship is created in both the cases.
    It would be great if some one can suggest the solution for uploading the cost centers for bulk data.

    Hi Kumar,
    Definitly it should work.
    Suppose if you are changing the CC for a position first it should delimit the dates and then is should add new CC to that posiiton.
    check the LSMW agian whether it is correct or not.
    OR, try to create the CC through PPOS_OLD and slece the position GOTO Account assignment.
    then Select the position GOTO master CC and give the CC which you want to use with dates. which intun updates the PP02 -- Position, CC relationship also. if you want you can check.
    let me know if you have probelm again.
    Reward me if helps,
    thanks,
    Vasu.

  • Lsmw Uploading cost center master data fields ERFNM,ERFDT at History tab

    Hi Gurus,
    I done uploading of cost center master data through LSMW.everything is fine but I have one issue.
    I done Uploading from 4.6 now in 4.6 the cost center was created by some one else when I am doing in ECC 6.0 system automatically taking my name as default it means I can not enter in ECC 6.o that who originally created  it  and what was that date. Is there any way to solve it or system will take only mine name in Fields( ERFNM,ERFDT )at cost center History Data while creating Master data.
    Many Many Thanks

    Yes, system will take the creator name from the person who actually creates the cost center in SAP.
    It will be filled automatically and you can not change the creator name.
    This is to ensure better audit trail and tracability.
    Regards,
    Gaurav

  • How batch append cost center group to standard hierarchy by batch

    Hi Guys,
    Would you please tell how me how append cost center groups to standard hierarchy by batch, every time I have to do it one by one, is there  a convenient way? thanks.
    Best Regards
    FS

    Hi,
    You can create any number of cost center groups as per your requirement.
    But one thing is crucial. If you crin your eate the groups using the T Code:OKEON. those will effect  to the standard hierarchy.
    Cost centers created wil KSH1 will not effect to standard Hierarchy.
    Main point here is the main hierarchy should be maintained in OKEON. Later you can add any number of groups to that. LSMW will work, before that Hirarchy Area(Cost center group) should be maintained in the system for effective work of LSMW.
    Regards,
    Pavan Kumar Arvapally

  • How to change cost center in asset master data through mass changes

    Hi sap gurus,
    Hi i have 20 assets i have to change the cost center through mass changes provide the solution.
    regards,
    ramanjaneyulu.

    Hi,
    For 20 assets it won't be useful to write a CATT or LSMW. So, either enter it manually or you could correct directly in the tables (ANLZ), though it's generally not recommended.
    Regards,
    Eli

  • Upload cost center/element groups

    Hi everybody,
    Is there any possibility for excel upload of cost center/element GROUPS?
    Thank you for your feedback in advance!
    Greetings,
    Pam

    Hi everybody,
    I meant not to import/export cost center/element groups in/from one system to another but to create them totally new automatically (like it is possible for cost centers via LSMW and excel file).
    The question is if there is one possibility not to create all the cost center/element groups manually (for the first time - if they are existing in one system, I know that it is possible to transfer it to other systems).
    Thanks for your answers!
    Greetings
    Pam

  • Cost center -Description

    Dear Experts,
    How it is possible to maintain
    How to maintain description in several languages for cost centers?
    my client has branches in other countries, so when we maintained description in English (sap login language "EN"), my client is not able to see description when they log in "DE" or "CN" languages.
    how it is possible to maintain description in other languages, when we logged in "EN" language.
    is there any program is available for this?
    The same problem  we are facing for cost centers, cost center groups, profit centers and profit center groups.
    Regards
    babu...

    Dear Eli,
    Thanks for your reply,
    Currently we are log in to other languages and updating the description for master data. but not only for cost centers we are having this issue for Tax codes, Terms of payment and even customisation of some activities.
    but i could not under stood how it can be possible to update through LSMW?
    say for example we can maintain description in other languages for GL accounts as it has separate fields, but i could not see language fields for cost centers or any other language.  could you help in this?
    regards
    babu.

  • Cost center missing for pers. no

    Hi,
    While prosting exps in TC: TRIP, we are getting the error "Cost center missing for pers. no". After analyzation the issue we came to know that there is no relationship with org. assignment. We went to TC: PO13>give position>select relationship-->click on create infotype. Here we have given relationship A 011and click on save and again save. Now, we went to TC: PA20/30 cost center is appearing correctly.
    We have couple of pers nos. Instead of doing manuallthis we are doing executing program RHINTE30 in TC: SE38. But it is not updating cost center in TC: PA20/30. How should i achieve this issue? Pls advice....

    you are correct RHINTE30 report will update Cost Center in IT 0001 from OM. Before that you have to upload CC to position through T.code  P013 using either LSMW / BDC.
    For updating CC in IT 0001 process is below.
    First Create Cost center to position using P013 t.code and relation ship A 011.
    Excutre report RHINTE30 using T.code SE38.
    After that there will be one batch input session created in SM35.
    Finally Select your batch input session and Excute through SM35
    Then CC will be updated in IT 0001.
    If there are no much employees you can manull create CC directly in P013 and CC will directly upte in IT 0001.

  • Transporting Master data - New GLs,Cost Center and profit Center.

    Dear Friends,
    1. I have to create new GLs in Dev, Now i have to transport the new GL to Quality and Production. As per my knowledge, Master data has to created in DEV,Quality and Production.
    please suggest, is there any t.code where i can transport GL from Dev to quality and production.
    2. when Creation of the site, New Cost center,Profit center, Changes to standard hierarchy both in cost center and profit center hierarchy has to done in dev,quality and production manually.
    Any suggestions where i can do only in dev and transport to quality and production.
    3. After creating new cost center and profit center, i have to go to okb9, select the co.code,cost element and insert the new cost center and profit center in every cost element. This takes almost one hour.
    Please suggest how to reduce this manually process.
    All the help will be greatly appreciated.
    Regards
    Sridhar Reddy

    Hi ,
    Master data is to be created in diffrent clients as it is a non transportable object .
    So in case of GL , cost centers you will have to again re run the LSMW which you had created for DEV .
    Secondly OKB9 is a transportable object , so i dont feel there should be an issue in adding it to a transportable object .
    In case of adding the values of tables in a request what you can do is create  a request , go to SE01 open the request in change mode in the objects enter TABU and enter on the relevant entries that you want to transport .
    But again one has to be very clear on what all table entries are to be transported , like SKA1 , SKB1 , SKAT etc. looking at the complexities and moving ahead with the standard way it is advisable to re run the LSMW in QUA and PRD .
    Hope this helps .
    Regards ,
    Dewang T.

  • Mass data change of cost center in asset master record

    Hi Gurus,
    I followed all the steps suggested by sap library and the below link.  But the cost centers are not getting updated.  When refreshed in TC-ar31 the status is completed instead of ended, no errors. but no change in master record.  Pl suggest.  What woud be the problem?  I am awaiting for reply
    http://wiki.sdn.sap.com/wiki/display/ERPFI/AssetMasterRecordMassChanges

    Hi,
    You might have missed a step out of them.
    Anyway, you have another workaround to change the cost center using LSMW's batch input recording method.
    Regards,
    Srinu

Maybe you are looking for

  • Intercompany Stock Transfer - without clearing accounts

    Dear all, I have configured in one client machine the Intercompany stock transfer process, following the indications of the different messages posted in the forum (vendor allocated to supplying plant, customer associated to receiving plant, NB purcha

  • Mirrored pics

    Hi, got a problem. My stills taken with external iSight webcam in Photo Booth application are always mirrored (right side is left and vice versa) even though no effects are turned on. How to make pictures look right (real)? Can you solve this? Thanx

  • What happened to OS X Mountain Lion and why do I now have to have OS X Mavericks?

    Has Mavericks really improved on OS X Mountain Lion? i Photo is now in my opinion awful, can't create own borders on photos or include text on photos anymore when using for home printing. Is it possible to uninstall Mavericks and go back to Mountain

  • Missing smoothcam and soft focus effect

    Hi. I recently archived and reinstalled my operating system (leopard). Now when I try to make a quicktime from my timeline, it says, "unable to load softcam and smoothcam effects." Any idea why smoothcam and soft focus disappeared and anyone know how

  • Computer doesn't load past gray screen...but it's more complicated....

    Hi to those reading my question..... I'm not sure what to do. I have a MacBook Pro, OS X (10.5.8). About 4 weeks ago (3 weeks after my apple care protection plan expired), my super drive stopped accepting discs. It made a low eh-eh sound and then spi