Copying sales order from one company code to other

Hi,
I am trying to copy one sales order data from one company code to another, all the details should be same other than the company code and some fields , for this I am using std BAPI Getdetail to get all the details of sales order and passing to BAPI, CREATE FROM DAT2 , so that I create new order.
When I check the new order, I see everything same but CANCEL DATE value in the ITEM Overview is not copied, I checked the original order , it has cancel date value. The order is an AFS order with AFS tabs.
I Checked the BAPI GET Detail FM, it doesn't retrieve that information, moreover it doesn't have that field ( J3_ACADA) in the ITEM structure. I can see cancel date value in VBAP. The ITEM structure in CREATE FROM DAT2 also doesn' have that field.
I can populate using USER_EXIT but I need to get the value from original order.
How to copy the cancel date value to new order.It should happen only for the orders which I run through this report.
Any suggestions let me know.
Thanks

Hi Uma,
As my understand, the couple Tcode FS15 and FS16 is used to copy GL master data from in same client or different client.
The file attract from FS15 will be stored in SAP, not in your local computer.
And when you run FS16, the system will file this file and upload it.
Here is selection screen in FS15, you can determine the file name, and keep the batch input name as default.
After executed, the file is generated with message like below
Then, go to tcode FS16 with parameter:
You can untick "Check file only" for Production run.
When you execute it, the batch input RFBISA20 is generated.
After that, you go to tcode SM35 to check the batch input RFBISA20, excute this batch input here and check the log.
Julie

Similar Messages

  • Transfer sales orders from one compnay code to another

    Hi
    Is it possible to transfer pending sales order from one company code to another? if yes please let me know complete procedure.
    thanks
    Sanjay

    Hi,
    You cannot transfer the sales order like this.If your company is getting closed then you can keep a deadline date before which you can close all the open orders and after that you can start creating the orders in the new company code.
    If your delivery date is beyond the deadline date then you can reject the sales orders and create them with new G/L accounts from the new company code.
    For this,you have to assign your sales organisation to the new company code.
    Reward points if it helps.
    Regards
    Karan

  • Migrate/Copy Contract details from one company code to another

    Hi,
    We are planning to migrate/copy some contracts from  one company code to another.
    I've read a related post regarding this, but I would like to know more about the steps on how to do it and if it is possible also to copy the conracts' present contract numbers and other contract details  to the new company code.
    Thank you so much.

    Hi Rachelle,
    you can use BAPIs in RE-FX.
    1. BAPI_RE_CN_GET_DETAIL to read the contract data
    2. Change the data according to your requirements
         For example it may be necessary to change the adjustment parameters ..
    3. BAPI_RE_CN_CREATE to create the contracts in the new company code
    If you want to have the same contract number you would have to switch to external numbering in the new company code.
    Regards, Franz

  • Transfer of employees from one company code to other

    Hi Team,
    I have to transfer some 100 employees from one company code to other company code.  Can any one let me know the best practice for this activity.
    Many Thanks
    Veena

    Hi,
    You cannot assign one PA to multible company codes.
    In you case, create new PA's by copying the Existing PA's.
    Assign the newly created PA's to the new Cocd.
    Check all the groupings.
    In the Inter company transfer aciton limit the infotypes to 0 & 1.
    Record an LSMW for Intercompany transfer and move the employees in the new Cocd.
    NB : perform the actions w.e f 01.04.2010 avoid any changes to the statutory forms.
    Hope this helps,
    Regards,
    Param

  • How to Maintain the MM Master Data from one company code to other co code

    Hi Experts,
    Can any one pls tell me how to Maintain the MM Master Data from one company code to other co code.
    Presently we created New plants,New Purchase Orgs under different company code.
    1) Material Master data
    2) Vendor MAster data
    3) PIR
    4) Source List
    Is there any standard Transactions...??
    Please reply.
    Brgds,
    KK

    Hi
    Check out the link -
    http://wiki.sdn.sap.com/wiki/display/ABAP/StepstocreateasimpleLSMWusingbatchinput+recording
    lsmw for data migration for  xk01 transaction
    http://www.sap-img.com/general/lsmw-steps-for-data-migration.htm
    Regards
    Anand

  • Problem arise during transfer of material from one company code to other co

    Dear CONS
    While doing transfer from one company code to other company code by using movement type- 301 ( direct one step) we got one error message '' Field Bus. Area is a required field for G/L account  JDPO 16020202
        Message no. F5808
    Diagnosis
        The value for field "Bus. Area" in the interface to Financial Accounting
        is an initial value but you are required to make an entry in the field
        selection for G/L account "16020202" in company code "JDPO" linked to
        the field selection for posting key "21".
    PL. SOLVE IT WHERE IS THE SETTING.

    no, the system is not accepting the GL ACCT. as it is a balace sheet account. pl. help.
    Edited by: nirupama swain on Sep 23, 2010 7:00 AM

  • EE Transfer from One Company Code to Other during a month

    Hi Gurus,
    I have a query related to transfer of employee from one company code to other in during a month. Because these companies are in one group. And if employee is terminated or resigns company needs to clear all his dues according to government rules and regulation.
    I have two Co Codes say 1000 & 3000.
    For these two Co Codes there is one chart of account and same wage types are created. These two companies have same payroll area and Control Record.
    In the current payroll period which is monthly, if I transfer an employee from one company to other. Is it possible to run regular payroll.
    Pls suggest what shall I do in this case....
    Regards,
    KPJ

    Hi,
    You can run regular payroll run before that u have to perform Action Transfer/Relocation.
    If you have some more quaries pls let us know.
    All the Best.

  • Excise dta upload from one company code to other

    hi
    Balances in Excise Registers like RG 23 A, RG 23 C and RG 1 will be upload from one company code to other. what is the process. in which table it is available.

    Hi,
    Excise upload from one company code t another means its almost implementation in that respective company code. Do the intial entry of stock balances with 561 movement type and update the registers. For finished product RG1 register will update with 561 movemet type. Closing Balances for RG23A Part-II & RG23C Part-II & PLA registers before going live, to be updated directly in SAP table J_2IACCBAL . Use LSMW for upload.  Please check below link for detailed upload. Hope ths will resolve your issue. Thanking you.
    Excise Registers Part1 & Part2
    Edited by: Padmasri Garapati on Sep 30, 2011 9:32 AM

  • Asset Transfor from one Company Code to Other Company Code

    Hi i want to know how to transfor total Assets from one company code to other company code
    Ex:
    1 - ABC
    2 - XYZ
    XYZ is my new Company code i have 100 assets in ABC Company Code, i am using that assets since last 3 years how can i transfor total Assets
    Please suggest me,
    Regards,
    Venkat

    hi
    through intercompany transfer it can be possible,first you have to configure two company codes OBYA T-Code,ther you have to give posting keys ,g/l account.
    I hope This will solve your problume.
    assign me points
    Regards
    Ramana

  • Copy GL Master from one company code to another company code

    Kindly provide the details how to copy the GL Master A/c from One company code to another company code. T .Code-OBY2 can used or is there any other method.
    Pl do the needful.
    regds
    amarnath

    Hi
    If you want copy all gl's from one company code to another company code you can go through this way
    Otherwise in FS00 has one option is available for copying from one gl to another gl company code wise through  with template  option you can go through that way also.
    Regards
    Surya

  • Asset transfer from one company code to other

    Hi,
    I have a scenario to transfer asset from one company code to another company code due to merger.
    Say two company codes X & Y. From 01.04.14 onward Y merged with X  only X exists from that date
    So we want to transfer the assets from Y to X as on 01.04.14  and values of those assets should reflect in X with Gross Value and Accumulate dep posted in Y already.
    For that we are trying to post the same through ABT1N by selecting no revenue and tranfer variant as 1. ( i dont want system to calculate and post any reveneue
    I want following entry to be posted during tranfer
    DR Gross value in X CC
    CR Gross value in Y CC
    DR Accmulated dep in Y CC
    CR Accumulated dep in X CC
    system should not post to P&L GL during transfer.
    Or is there any other method through which we can address this..
    Thanks
    Karthikeyan G

    Hi Karthik
    There is more to it than mere asset transfer
    Usually, during merger, the assets are reevaluated . In thatcase, it helps to retire the assets in Y and rrecreate them in X..
    If you are just taking the assets as-is, then do Abt1n.. Note that the acc entry won't match in each company unless the clearing account is brought in..
    In Y:
    It has to be Dr. Accum dep , Cr. APC and the balance goes to a clearing account
    Similarly in X, same thing will happen
    Br. Ajay M

  • How to Copy documents (like Sales Order) from one Company/Database to another

    Hi everyone!
    I'm developing an AddOn for SAP 9.1 version.
    Part of this implementation is to import some data from a Sales Order Document from one Company to another (Document selected by "DocNum" by the user).
    So, my doubt is: after select data saved in arraylist, how I fill the document with that values saved in my arraylist ?
    I wish you could help me.
    Regards!
    Diogo Carvalho

    Hi Diogo,
    You can achieve this requirement and you will be required to get user credentials for your 'copy from' company to make a connection.
    After you make the connection with your 'copy from' company, you can provide a screen with a matrix which have the document numbers of the type of document you want.
    Create two documents of the type you want from each company. You can fill the document which created from current company while you reading from the document which created from 'copy from' company using get by key method.
    Most importantly, the master data of the two companies should be same. Otherwise, you will have errors in creating the document or document won't be identical.
    Hope this will helpful to you.
    Best Regards,
    J S L Geeganage

  • Copy all confiq from one company code to another company code .

    Hi Friends,
    I have created a Company code AAAA, and another company code BBBB in the same chart of acounts.
    I have configured all the FICO settings for company code AAAA only.
    My questions is : can i extend  or copy all the confiq to company code BBBB , bcs if i config all the same settings to company code BBBB, it is a time consuming job. 
    Is ther any short cut to copy all the settings from AAAA  to company code BBBB.
    Regards
    Jay

    hi
    use the trasaction code EC01..
                   or
    enterprise structure ..financial accounting..definitions...copy company code
    then go to the menu and click the organisational objects and click on the copy organisational objects..
    then give from which company code to which company code u want to copy
    if u want to use same currency ..say yes
    if  want  to  copy the gl accounts created in the AAAA.. then..    yes.....click on yes..
    then u get it is copied..
    change the description of that company code
    thanks
    vera

  • XK99 detailed steps to extend vendors from one company code to other

    Company code X having vendors 9000000000 to 9999999999. Now I wanted to extend all vendors to Y company code. Kindly suggest me detailed steps. i know XK99 but give steps.

    Hi,
    Using XK99 T.code you can extend vendors from one comp code to another.
    1. In XK99 slect the LFB1 - Company code dat ,and press F8.( Do not select the fields like MM17).
    2. Their will be 2 tab. select the check for DO not change for existing data.
    3. In other tab (data to be created)...give the list of vendors or Balck and the TO comp code.
    4. Bottem of this tab you have to mention the FROM company code.
    5. Press F8.
    6. Now save.
    With the same method you can extend vendors from one Pur org. to another pur org. by selecting LFM1 instead of LFB1.
    Let me know if still need any further info.
    Hope this will help you..
    Thanks,
    Kumar Arcot

  • Mass extend vendors from one company code to other

    Company code X having vendors 9000000000 to 9999999999. No I wanted extend all vendors to Y company code. Kindly suggest me.
    Thanks
    GP

    Hi,
    Using XK99 T.code you can extend vendors from one comp code to another.
    1. In XK99 slect the LFB1 - Company code dat ,and press F8.( Do not select the fields like MM17).
    2. Their will be 2 tab. select the check for DO not change for existing data.
    3. In other tab (data to be created)...give the list of vendors or Balck and the TO comp code.
    4. Bottem of this tab you have to mention the FROM company code.
    5. Press F8.
    6. Now save.
    With the same method you can extend vendors from one Pur org. to another pur org. by selecting LFM1 instead of LFB1.
    Let me know if still need any further info.
    Hope this will help you..
    Thanks,
    Kumar Arcot

Maybe you are looking for

  • Impossible to create or refresh webi report. (WIJ 77778) - please help

    Hello, i'm experiencing problem with BO Edge Standard edition on RHEL4 trying to create or refresh a report on Webi. I have installed BO without problem on the RHEL4. I can log on Infoview and in CMC with "administrator" however when i try to create

  • Update 1 column,1 single table based on where results of multiple tables

    I would like the my_id column in 1 table updated to the static value of 247 for my_id stored in the 1 single table based on the where clause, which uses the my_id column in it. The update statement updates all rows in table1, instead of just the rows

  • LOVs and JavaScript

    Hi, I am trying to use LOVs created with Portal Application inside PL/SQL PDK created portlets. Anybody has done that? Also, is there a way to use JavaScript with PL/SQL PDK? I saw this call inside portal geberated html: PORTAL30.wwv_javascript.fetch

  • Main thread

    Is it possible to schedule a Runnable object on the main event thread from another thread in a NON_GUI app. Something kind of similar to the SwingUtilities.invokeLater() method but instead off running on the Event Dispatch thread run it on the Main t

  • Translation of Text

    Hi, I have a smartform, in which data is coming in english can i perform the translation, i have to translate into ARABIC. Regards, Khusro Habib