What is copy routine?

Hi All,
I am not aware of the concept of copy routines, can any expert throw some ligh on this would be really helpful.
thanks in advance.
Regards,
Karthik

hi check this,
transcation code VOFM
https://forums.sdn.sap.com/click.jspa?searchID=5370600&messageID=1230484
https://forums.sdn.sap.com/click.jspa?searchID=5370600&messageID=348123
search for COPY ROUTINES in the SDN forum.
I am sure u will get an idea.
for pricing routine.
1. You have to use VOFM transactino to create new pricing routine..
2. You have to assign the pricing routine to the pricing procedure...which can be done in V/08
If it is related to Sales order first write the required code in the MV45AFZZ include program price related forms FORM USEREXIT_PRICING_PREPARE_TKOMK and
FORM USEREXIT_PRICING_PREPARE_TKOMP.
even after writing this if you are not getting the related output
goto VOFM tcode for wrting the Routines
from menu Requirements-> pricing
You can create the pricing related routines here
Use the Number from 900 only
take the acess key and try to copy the existing routine and change the code to your requirement and keep a break point and see
Activate it before execution
regards,
Prabhu
reward if it is help ful

Similar Messages

  • Problem in copy routine while creating the follow up to Servcie Request

    Hi,
    I am creating Lead as follow up from Service Request. I have partner functiona called Reporter in Service Request. Now what ever the value is there in Reporter I need to copy it into Contact Person of Lead. However, I am not seeing any method to update the contact person in COPY ROUTINE BADI.
    Can you please help me.
    Thanks,
    Sandeep

    hello,  in the COPY ROUTINE BADI, you don't need the method special for partner.  You can set the parnter of new document by CRMD_ORDER_MAINTAIN.
    In the function, you only need the new document guid handle, and the partner guid which you want to set in the document, and partner type.

  • How to clear the fields within copy routines in the copy contorl

    HI Gurus,
    I need to clear  the fields VBP-VBELV and VBAP-PSSNV within the copy routines 303 in the copy control between quote item and sales order item. I am not sure how to do that... Can some body please help.
    This is required because we had sales order and quote using the same requirement type which controls the special stock indicator. This leads to the stock getting update in quotation instead of the sales order, because the quotation is initiating document (collecting all cost etc).Now i know requirement should only be passed to production from sales order and not from quotation so i changed the config but there are some existing documents using same requirement type on both quotation and sales order and to correct those i need to clear fields VBP-VBELV and VBAP-PSSNV within the copy routines 303.
    Please help!
    Regards,
    Sam

    Hi ,
    just use this code in ur save button action handler , this will clear the field after entered in to the database and will ready for the next set of data.
    String password=wdContext.currentContextElement().getpwd();
    try{
         InitialContext ctx=new InitialContext();
         DataSource ds=(DataSource)ctx.lookup("jdbc/SAPJ2EDB");
         Connection con=ds.getConnection();
         con.setAutoCommit(false);
         Statement stmt=con.createStatement();
         int retIns = stmt.executeUpdate("insert into TMP_NEWUSERDETAIL(PASSWORD) values("password")");
         con.commit();
         con.setAutoCommit(true);
         wdContext.currentContextElement().setpwd(null);
    or use a seperate button to clear the field.
    wdContext.currentContextElement().set<Attributename>(null);
    Regards
    Vijayakhanna Raman

  • HT4972 When I Copy & Paste, what results in the Paste is NOT what I copied. With enough shaking, eventually a box appears saying "Undo Change attributes", which fixes it. HOW do I turn off "Change attributes" in iOS 5.1?

    When I Copy &amp; Paste, what results in the Paste is NOT what I copied. With enough shaking, eventually a box appears saying "Undo Change attributes", which fixes it. HOW do I turn off "Change attributes" in iOS 5.1?

    Did you ever figure out which output worked the best? I have the same original footage; trying to determine the best output settings to make a dvd for tv.
    thanks!

  • Using CCC,what to copy over from itunes

    I have already copied over 200 GB of music via the drag,drop method to an EHD.  I now what to copy over just the recently added items using Carbon Copy Clone.  Do I just check the music folder?  It contains the following. DS store,localized.Amazon mp3 ,itunes, garage band. Is there another easier way anyone can recommend.  Thanks

    Ok so let me understand this correctly.  You want one EHD for iTunes and another for Backup?  If this is correct that yes I would use Time Machine.  Here is what I would suggest:
    1.  Create a folder in your ... lets call it iTunes EHD called iTunes
    2.  Drag the iTunes Media folder you already copied to the EHD into the iTunes folder you just created
    3.  From your internal HD copy (copy not move) the other contents of your iTunes folder into the iTunes folder on your EHD, stuff like the Album Artwork folder, iTunes Library file, iTunes Library.xml file etc.
    4.  Quit itunes, and relaunch holding down the alt/option button.
    5.  A dialog will appear asking you to choose a library.  You can either choose an existing one or create a new one, click "Choose Library"
    6.  Navigate to your iTunes folder on your EHD and click OK.  iTunes will launch and load your library
    Once you get your Backup EHD select it for time machine through Preferences --> Time Machine --> Select Disk
    Click on option and remove the iTunes EHD from the list so Time machine will back up that volume as well.
    Hope this helps

  • Logs who/what has copied to/from removable disk ?

    I am looking for a solutions that
    - logs/audits what data(files) has copied to and from a USB/removable disk ?
    - logs/audits who has copied data to and from a USB/removable disk ?
    does ZENWorks End Point Security Management do the same
    Regards
    needee

    Yes, ZESM has built-in reports to do that.
    See #6.2.4 "Compliance Reporting" for details at
    http://www.novell.com/documentation/...q.html#bbk0qq9
    >>>
    From: needee<[email protected]>
    To:novell.support.zenworks.endpoint-security-management
    Date: 1/14/2010 5:26 AM
    Subject: logs who/what has copied to/from removable disk ?
    I am looking for a solutions that
    - logs/audits what data(files) has copied to and from a USB/removable
    disk ?
    - logs/audits who has copied data to and from a USB/removable disk ?
    does ZENWorks End Point Security Management do the same
    Regards
    needee
    needee
    needee's Profile: http://forums.novell.com/member.php?userid=16133
    View this thread: http://forums.novell.com/showthread.php?t=398208

  • CRM_COPY_BADI/Copying Routines

    Hi,
    I want to copy some custom fields from a source line item to a target line item during business transaction copying. For this, I would like to use the Copy Control BAdI - CRM_COPY_BADI. After having a look, it appeared to me that I will have to define a new copying routine to which the BAdI implementation will be linked. Then, the copying routine will have to be specified in the relevant Copy Control Customizing settings. Is my understanding correct?
    If it is, then does it mean that I will have to attach the copying routine to the copy control settings of all the item categories that are there (and of course for which I want the routine to be called)? Don't know why but it sounds a bit weird.
    Thanks for answering.

    Yes, your undersanding is correct. You create your own implementation of badi and then link this implementation to each combination of item category copy control definition. This allow you to be very flexible if you need different logic for different item categories.
    Regards.

  • Why cannot copy routine of shipment be used to transfer delivery data?

    Hi
    i create new copy routine for shipment to transfer some data of delivery (such as; shipping cond). I would like to use copy routine rather than user exit.
    Who have the best solution , please tell me.
    Best Regards,
    Autsnee P
    Message was edited by:
            Autsnee Phuangchaisri

    Hello.
    As the standard of SAP provide us to be able to copy data from Delivery by routine only : FwdAgent, Route and Deadline, so if you would like to copy other datas from delivery , you can use the user exit : EXIT_SAPLV56F_010 to copy other datas from Delivery to Shipment.
    You can see the note no.387541
    Autsnee P.

  • What is start routine

    what is start routine?

    Dear Viswnadha,
    You have the option of creating a start routine in the transfer rules maintenance screen. This start routine is run for each data package after the data has been written to the PSA and before the transfer rules have been executed.
    Please refer to link:
    [http://help.sap.com/saphelp_nw04/helpdata/en/b3/0ef3e8396111d5b2e80050da4c74dc/content.htm]
    Hope the above can be useful for you.
    Best Regards,
    Tim
    SAP Business One Forums Team

  • When I copy/paste text to an ipages empty document can does it only show the first page of what I copied?

    When I copy/paste text to an ipages empty document can does it only show the first page of what I copied?

    You want to use word processing mode. I suggest you ask your question in the Pages forum and include information about what you are copying. Off the top of my head I can't come up with any reason you'd see this in WP mode.   https://discussions.apple.com/community/iwork/pages

  • What is pricing routine?

    hi all
        what is pricing routine for currency conversion and why that concept is used.im new to it .please can anyone explain..i read thro many docs but it gave a vague explanation.
    regards
    asha

    Hi Asha,
      Routines are small ABAP code which is assigned in the pricing procedure, this carries out additional check before processing/updating the document.
    If the document currency and local currency are different, SAP has provided standard function module for currency conversion, "CONVERT_TO_LOCAL_CURRENCY". Based on your requirement you can use this FM to achieve at the correct price in local currency.
    Hope this helps.
    Regards
    Raj

  • Copy routine

    Hi,
    i need to copy routines available in vofm through user exit how can i do that ?
    Regards

    Check this thread.U can find steps to create copy routine.
    creating a new routine using vofm

  • Repair Order Process - o/b delivery from PO, need copy routine

    Hi Experts,
    We are configuring repair order process and while creating o/b delivery to Vendor from PO, need to check for GTS message and should be blocked that document for further processing in ECC. For SO to o/b delivery working fine using include program RV50B901 (routine 901, document type OR to LF, item category TAN). It is copy of 101 routine and added GTS code to block the documents in ECC if GTS is blocked for compliance checks.
    For o/b delivery from PO, document type NB with item category L (subcontracting but in copy control, I don't see LB to NB rather LB to DL. Is it correct? I put a break point in routine 901 but it is not hitting that routine. Where can I look at to find correct routine to include GTS code?
    I really appreciate your reply.
    Regards,
    Manohar.

    Hi Manohar,
    This is not really a GTS question, is it?  You should ask in the MM forum.
    Regards,
    Dave

  • Changing WBS element in copy routine.

    Hello All,
    I need to change WBS elemnet of specific sales order when i create this with treference to master sales order.
    I am changing in Routine FV45C151(Enhancement spot implementation), But while saving this routine is being triggered twice before save. Because of this what ever the value i am changing that is being refreshed with the old value ....
    How can i control this?
    My intension is i need to trigger my code which creates new WBS element and assigns this new value to the new documnet only Once..
    Any Idea..
    Regards,
    Krishna.

    I resolved it on my own..
    i created a z table and i am sending this data temporarily and deleting after succesful processing..
    Thanks.

  • Copy routines written in transfer rules to other system

    <Moderator Message: Even as a newbie you should be able to copy and paste or read here and write there>
    Hi All,
    In the datasource '0CO_OM_OPA_6' , in the transfer rules for infoobject 0PART_CCTR' , we have a ruotine written 'Fill  Partner Cost Center from Partner Objects'.
    Now I want to write the same routine for same infoobject in another test server for the same data source.
    Can anybody please tell me how to go about from start as I am new in BW.
    Regards,
    Sushmita
    Edited by: Siegfried Szameitat on Jun 8, 2009 3:47 PM

    I think you should check the source system assignment in the transport connection. It might have directed to the old sytem.
    Cheers
    Chanda

Maybe you are looking for

  • TS3274 Microphone stopped working

    Microphone stopped working apparently after installing iOS 7. Any suggestions for a remedy?

  • Developing iOS apps with Flash Guide.

    Hello, Does anybody know any good guide or tutorial for build iOS apps in flash? I had done an application which is in "Waiting for review", but I made it lineal, without packages or clases, because I don't know them, so i used pure ActionScript in a

  • Help ! The Display of Date

    Please help me with this problem : When I select a date , for example SYSDATE, how can I display its format in millisecond ? Thanks a lot !

  • Wip  for the wbs not found for particular month

    Hi What are the reason a wip not found for a wbs  for a particular month while doing rrb billing ,while it is again found in the next month

  • 11g admin applets not loading

    Hello - would love any help. I cannot get into admin applets on my windows 7 installation. i was able to access through another computer, but now i can't with that. when i get into the admin page (with chrome, firefox, or MS explorer), the java icons