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

Similar Messages

  • 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

    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

  • KP06 Cost Center Upload-How to do

    Dear Experts,
    Please Let me know how to upload Cost center Plan through KP06-Urgent

    Hello,
    You cannot postphone go live till the books of accounts being audited. You do not know how much time it will take. What you are trying to do is bringing the books from your legacy data to ERP, in other system you packing from one bag to another bag. The following information is useful to you.
    Hello,
    Broadly I will divide data uploading process into two categories.
    1. Master data (GL accounts, customers, vendors, assets, cost elements, cost centers, profit centers etc.)
    2. Transactional Data (Open Items for customers and vendors, GL line items, Cost Center planning, profit center plan data load etc.)
    In the first case mostly you can use LSMW, if you are conversant. The following document is useful to you.
    http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
    Note: No template is suitable for you, because, your configuration is different and their configuration is different, field status of various fields must be different. Therefore, follow the above document and start from fresh with recording. Recording is more or less sufficient for master data.
    In the second case, you create 5 Offsetting accounts + one main offsetting account.
    1. Vendor Offsetting Account
    2. Customer Offsetting Account
    3. Asset Offsetting Account
    4. GL Offsetting Account
    5. Stock Offsetting Account
    At the end of the day, the total balances within these accounts must be ZERO. Make ZERO these accounts and transfer the balance to MAIN offsetting account. Once you have done this, make sure you have blocked all these accounts.
    Technically, in second case, you should take help from ABAPer to write BDC, particularly in case if your entries are having different line items. For example your first document is having 5 line items and second document is having 10 line items, in such case LSMW recording will not work. You can depend on some standard SAP programs to map the LSMW. If you are not conversant with how to map, then you can refer the following document posted by Naimesh.
    /people/naimesh.patel/blog/2008/08/14/lsmw-with-rfbibl00
    Still, if you are not able to map, then there is no other way, you need to depend on ABAPer for uploading the transaction data through BDC. He / she will create a program and a customized transaction code for you and provide you the format. You may have to help the ABAPer with your requirement what you are exactly looking to upload.
    Hope this is informative and let me know if you need any further information.
    Regards,
    Ravi

  • Cost center upload LSMW, missing company code field

    I am planning on doing an LMSW with a custom recording to load cost centers.
    The input file has a field for company code.
    I do not see company code anywhere in the screens of KS01.
    Now what?
    Thanks,
    Jeff

    Hi Jeff,
    The company code is linked to the contolling area in table TKA02.
    So in your porgram query this table to get the corresponding controlling area for the company code.
    Kind regards,
    Robert

  • 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

  • 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

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

  • Cost center Mass Upload

    Hi All,
    Can you please tell what program can be used for cost center Mass Upload?

    Hi
    You can do so through SECATT, BDC or LSMW.
    Hope this helps. Pls assign points if helpful
    regards,
    radhika

  • Profit center and cost center master data upload errors

    Hi Sapiens,
    Could you please guide me to resolve the below errors in profit center and cost cost center master data upload through LSMW. i am usinng recording method for upload and  getting below error while uploading the data from txt file.
    1. Valid from and to dates are not converting in DDMMYYYY format, which field type we have to use in field mapping?
    2. some of the fields data are overlapping when uploading the data.
    3. How to create validation for empty cells data.
    thank in advance.
    regards,
    jagadeesh.

    Hi
    when you are using LSMW for uploading PC & CC, simple way to correct the Error's WHILE RECORDING The First record, while Creating LSMW, B very care full while entering the details ,bez wht ever Fields your updating ..the same Fields get updated While LSMW Processed.
    As mentioned above update the vaild from and to date in wht ever format you want While recording, in the same format all the remaining records gets updated.. 
    Hope the suggections will Help you in solving your Issues.
    Thanks
    Goutam
    Edited by: Goutam78 on Apr 29, 2011 8:59 PM

  • Uploading of cost center data with additional fields

    Hi Gurus,
    I have uploaded the cost center data. now my client has given same data with additional fields data(ORT01, ORT02, TXJCD). first time I have uploaded with LSMW IDOC methos COSMAS1. but in the same idoc the extra field not available. So i have tried recording method for KS02 to upload the data. but the data is not changed. in the sence the additional fields data not loading. while uploading i getting the probelm at TXJCD. it is getting a popup window. i was not able to handle that. Is there any other Basic IDOC to upload the data with all the fields in cost center. BAPI or Direct input program? Thanks in advance

    hi,
    you can  avoid the popup screen by using  OK code.
    ~linganna.

  • Cost center data uploading issue in OKENN transaction

    Hi Gurus,
    I have uploaded cost center data using LSMW IDOC method. the data uploaded in the CSKS table successfully. after that i have checked for the cost centers in OKENN transaction at standard hierarchy level. but there cost center are not exist under hierarchy level. then i have changed the hierarchy data(KHINR)(for example From SUS2021100 to SUS2021200, ihave changed in KS02.... then the cost displyed under SUS2021200.... again i have changed the hierarchy from SUS2021200 to SUS2021100.... then the cost center displyed under SUS2021100..... But actualy when i have loaded the data using LSMW all the loaded.... but the cost center not displyed under hierarchy.... after manualy chnged the hierarchy data at KS02 transaction.... it is displying.... idon't understand what is the problem.... can anybody solve my issue.... thanks in advance

    Hi Gurus,
    I am facing the same issue while uploading cost centers through COSMAS01 basic type.
    Cost centers are created properly, we can display them with KS02. Every data are loaded correctly, even the standard hierarchy. Into table CSKS, field KHINR for standard hierarchy is populated, nevertheless, we do not find the cost center into the OKEON Tcode.
    How could I solve the issue I am facing ?
    Thx for your help.
    Regards,
    Aurelien

Maybe you are looking for

  • VPP Distribution issues with OSX Server Profile Manager

    Hi, I have a new issue with my OSX 10.9.5 Server. I use VPP to distribute apps to users devices, when I would add a new user I would send them an invitation message through /profilemanager . All was working well until recenetly , the message still ar

  • Coldfusion dev installer wont work - "installer user interface mode not supported..."

    i just downloaded the os x version of coldfusion 7 mx developer edition (for the thrid time making sure the download wasn't corrupt) and extracted the zip and launched the installer by double-clicking it. the install screen pops up where it lets you

  • Dreamweaver CS6 won't run on os x 10.6.8

    I ran an upgrade through application manager, restarted my computer and Dreamweaver acts like it is going to open, then hangs on a grey screen. The only option I have is to force quit. Dreamweaver cs 3 is working fine with no problems. For a few mont

  • Lighttable View mode, Keyword Sets for Import

    1. I'd be nice if we could have some sort of "Lighttable View" mode for the Library module. It would be similar to the Survey Mode, but you can move the photos around on the screen and sort or group them to your liking. E.g., after photographing a de

  • Adobe Muse is sluggish - no painfully slow

    Why is Muse increadibly slow to respond to comands. Running PC windows 7 64bit with duel xeon  8 core 48Gb memory. All other programs run smoothly and quick Not Muse. Why?