Copy purchase order number and date from one sales order to other sales ord

Hi,
I am creating sales order in va01. here i am entering purchase order number (p100) and date. Sales order number ex: 42000
I am creating another sales order with reference to 42000. when creating sales order with reference to 42000, purchase order number (p100) and date has to be copied automatically from that order.
Can anyone please give me a solution?
Thanks in advance
Babu

Dear Babu,
Currently, PO number is being mentioned in copy routine 101 but this  
field VBKD-BSTKD is being cleared out.                                
If we check this routine code:                                                                               
FORM DATEN_KOPIEREN_101.                                              
Data which is not copied                                            
Pricing date for consignment issue by external service agent from   
the scheduling agreement                                            
  IF CVBAK-VBTYP CA VBTYP_LP_EDL.                                     
    CLEAR VBKD-PRSDT.                                                 
  ENDIF.                                                              
PO data should not be copied                                        
  CLEAR: VBKD-BSTKD,                    <<<<<                         
         VBKD-BSTDK,                                                  
In order to achieve your requirement, you need to consider creating you
own copying routines for VBKD fields copying standard copying routines
(for example copying routine 101) according your business requirements
and change them via transaction VOFM, in order to:                    
  - deactivate the LOCAL: statement                                   
  - delete the clear statements                                                                               
Once you have created those two routines to match your business needs,
you can insert them in transaction VTAA, so the sales order will copy 
the PO date at item level.                                            
I hope I was able to help you.
Kind regards,
Zsuzsanna

Similar Messages

  • Copy contract PO number and Date to Sales Order

    Hi freinds,
    I have one requirement. I want to copy contract PO number and date to Sales order PO Number and Date while creating the sales order with reference to contract.
    Thanks,
    Satya

    Hi,
    You have to modify your data transfer routine with the help of ABAPer.
    You have to give him the requirement that these value should be copied to sales order from contract.
    He will do the needful changes in the data transfer routine.
    Then assign that routine to the copy control of sales order from contract.
    Regards
    Raj.

  • Copying database objects and data from one server database to another server database in AG group

    Hi,
    I am still trying to wrap my head around sql clusters and AGs and I have a project that requires I take a vendor's database and restore it weekly so its available on the production server which is clustered.
    The vendor's database on the cluster is in an AG group and encrypted.
    Right now, I plan to restore the database on a sql staging server and use the SSIS Transfer SQL Server Objects Task to copy the table structure and data from Stage to the Production database of same name and I would first drop the objects in production
    database using the same task.
    I am concerned that this might cause issues with the passive cluster due to "logging" from active to passive. The database is about 260 MBs and I am not sure how many tables.
    Has anyone run into this type of scenario before or have a better solution?
    Thanks
    Sue

    IF I understand anything about clustered sql and logging, the sql server should take the log file and recreate the same scenario on the passive side of the cluster.
    Is that correct?
    Hi Sue,
    Yes, for AlwaysOn Availability Group, the transaction log is basically replayed from the primary to all of the secondary's.
    Besides, from my point of view, as we cannot directly restore a database that is part of an Availability Group, it is a good way using SSIS task to drop and recreate all tables then transfer data from the restored database to the primary replica. Schema changes
    and data changes will also happen on the secondary  replica.
    There are some similar links for your reference.
    http://dba.stackexchange.com/questions/21404/do-schema-changes-break-sql-server-2012-alwayson-or-are-they-handled-transpare
    http://blogs.msdn.com/b/sqlgardner/archive/2012/08/28/sql-2012-alwayson-and-backups-part-3-restore.aspx
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.
    Lydia Zhang
    TechNet Community Support

  • How to copy data from one planning area to other planning area

    Hi ,
    I need to copy data from one planning area to other planning area, the MPOS for two planning areas are differant and  here my scenario is one planning area having extra key figures.
    First i need to release forecast data to CIP planning area and then,  i load the data from infocube  to MPS planning area and copy the data from CIP planning area. here both MPS and CIP planning areas having different MPOS .
    Please help me in this. Please give me the stepls i need to follow.
    Thanks in advance.
    Regards,
    Chandu

    Hi,
    You can use the transaction /sapapo/tscopy.
    In this you can configure your source plng area and destination plng area. You also have an option to map your KF. There is no problem if the MPOS are different as long as you are able to map the characteristics between the 2 MPOS.
    Alternatively, you can create an Infocube which shares common ground between the 2 planning areas and extract data from CIP plng area into the infocube and then copy teh data from infocube to MPS plng area using the the transaction /sapapo/tscube.
    Hope this helps.
    Thanks
    Mani Suresh

  • How to copy very large number of files from one drive to another???

    I'm a fairly experienced Mac user for serveral years but this problem really has me stumped.
    I'm trying to copy or move 152,000 files from one external drive to another drive. I can highlight (Cmd - A) all the files on the first drive and drag them to the second drive but Finder always shows 32,768 files being copied no matter what I try.
    Any and all suggestions on how to move/copy a large number of files from one external drive to another are greatefully appreciated.
    Thank you in advance,
    Mack

    I would use the command line tool rsync.
    For instance with: rsync -av source-dir destination-dir
    -a The files are transferred in "archive" mode, which ensures that symbolic links, devices, attributes, permissions, ownerships, etc. are preserved in the transfer.
    -v Verbose, so you see the progress.
    Rsync is fast and really, really powerful and many times used in shell scripts and the like to automatically backup and/or sync stuff. Google a bit for more info.

  • How to show data from one web site to other web site having diffrent domain.

    Dear all,
             i want to show the selected data from one web site to other web site.
    the location of the two web site is geographically seprated (and diffrent domain)
    Please tel me in how many ways it can be accomplished.
    If it can be done using jquery then please tel me the function or procedure to do it.
    Note: ( i have seen the above behavior in many web sites .
    like, i was purchasing some thing but finally declined,
    after that i visited some other web sites to gets some other data on other area
    , and i show my selected items of the first web site  on second website as advertisement.)
    i would like to know how these things are accomplished and how it can be done in asp.net.
    yours sincerely

    Hello,
    Thank you for your post.
    I am afraid that the issue is out of support range of VS General Question forum which mainly discusses
    the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    Because your issue is about ASP.NET website programming, I suggest that you can consult your issue on ASP.NET forum:
    http://forums.asp.net/
     for better solution and support.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • 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

  • How to pass Data from one form to the other

    Hi all
    Can any one suggest me how to pass data from one form to the other form, which i zoomed from the original one?
    I tried to do this by passing parameter in Event Procedure but i am getting error msg when i am opening the zoomed form.
    If any one of u have any idea, give me a reply
    Thank you
    Suhasini

    If you choose the second alternative you should erase these global variables after the second form is opened
    You can erase the global variable using:
    erase('global_var')
    Greetings,
    Sim

  • Transfer data from one record typr to other

    Hi All,
    How can we move data from one record type to other record type in Oracle PL/SQL?
    Can any one reply me ASAP.
    Thanks in Advance,
    Dhana

    Like this
    declare
      type rec is record(no integer, name varchar2(10));
      rec1 rec;
      rec2 rec;
      rec3 rec;
    begin
      rec1.no := 1;
      rec1.name := 'karthick';
      dbms_output.put_line(rec1.no||'/'||rec1.name);
      --Now just assign rec1 to the rec2 by element
      rec2.no := rec1.no;
      rec2.name := rec1.name;
      dbms_output.put_line(rec2.no||'/'||rec2.name);
      --Now just asign directly
      rec3 := rec2;
      dbms_output.put_line(rec3.no||'/'||rec3.name);
    end;

  • How do I transfer my applications and data from one Mac to another?

    I am buying a new Macbook, anyone know how do I transfer my applications and data from old MacBook to New one?

    Or you can be guided bt this 'officail' Apple support document:
    http://support.apple.com/kb/PH4441
    Ciao.
    Csound 1 greetings:  Nothing wrong with a little plagiarism.

  • Migrating CMSA Assets and Data from one server to another

    Hello,
    Is there an official way to migrate the data from one CMSA installation to another one?  In the near future we're going to need to move from our development machine into the production environment, and it would be great if there was a way to get all the assets we've created in dev over to production without the need to manually re-create them all.
    Is this possible?
    Cheers,
    Kristian

    Check out http://help.adobe.com/en_US/LiveCycle/9.5/AssetComposerTechGuide/WS2bacbdf8d487e5824fb272 0612b944351b6-8000.html for this.

  • Migrate Closed Sales Data from one SAP system to Other

    Hi,
    We have a requirement to migrate Closed Sales Order data from one SAP System to the New SAP system.
    Please share your thoughts on the considerations / DOs and Donts for such cases.
    Appreciate your response.
    Kind Regards,
    Tanuji

    Hi,
    If you want to migrate closed SOs..then first consider why? and from what date i.e how long back?
    Following are the considerations:
    1) You can't get the creation date same as your previous system dates--this might lead to incorrect reporting. So you'll have to check if its really worth?
    2) You might want to have a reference no somewhere in the new transactions from the previous system.
    3) If you want to migrate the deliveries, invoices then you've to consider also GL migration as well as payments.
    Regards,
    Raghu.

  • How can I transfer my money and data from one ID to another

    Need to transfer my iTunes money and backup data and music from an old ID whoose email is now inactive to a new one

    Or you can be guided bt this 'officail' Apple support document:
    http://support.apple.com/kb/PH4441
    Ciao.
    Csound 1 greetings:  Nothing wrong with a little plagiarism.

  • Transferring data from one planning area to other within the same system

    Hi,
          We have two planning areas setup and the corresponding planning books in the same system. Now I have to save the results of first book and transfer the results in the other. They have common key figures. Is the data saved to the key figure after saving show up immediately in the second one or do I need to load?
    Thanks.

    Visu,
    If I understand your requirement correctly, you should be able to use transaction /SAPAPO/TSCOPY (Copy/Version Mgmt) to send the data from the one planning area to the other.  Please let me know if I misunderstood the requirement.
    Sean

  • Recent update on PS elements 12, I can no longer drag and drop from one photo to the other.

    Hello I hope someone can help, I am using Adobe photoshop elements 12, I am using a PC with windows 8.1.
    any ways I recently was prompted that I had a update for PE12, as i always do i followed the exact instructions after the restart as prompted. I was no longer able to drag on photo to another photo, i like to use a blank page design a background and then choose a couple photos to collage or group together on one photo but now i cant drag the selected/croped or even a whole picture any one else have this probleum i am on chat with an adobe professional but even they seem stumped, maybe someone can help.

    It's a bug introduced with the 12.1 update when your images are in Tabbed view. Dragging from one to another doesn't shift focus to the second image so you can't drop it. Switch to Tiled view (Windows> Images> Tile) and drag & drop will work.
    If Tile is greyed out you need to switch on Floating Documents.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

Maybe you are looking for