New SD copy routines

Hello,
I have created 2 new routines, 900 and 901, in VOFM but when I go to transaction VTAA to assign them they do not show up as available in the drop down.  They are active in VOFM.  Is there a step I am missing?
Thank you,
JR

did you activate main program ?
Check this PDF..for creating a new VOFM copying requirement.
http://saptechsolutions.com/pdf/VOFMCopyRequirementRoutines.pdf
Regards,
Maha

Similar Messages

  • 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

  • New Data Transport Routine

    Hi,
    I am in the process of writing a new Data Transport Routine (RV60C702) for creating Billing documents (Maintain Copying Control for Billing Documents). I was informed that the new Routine's name (RV60C702) should be added in the Include 'RV60CNNN' and I was also informed that while transporting the new Routine (RV60C702) to the Production systems, I should add the Program 'RV80HGEN' also in a new transport which should be run in the Production system to include the new routine in the include 'RV60CNNN'.
    Could anyone please let me know how should I add the program 'RV80HGEN' in a new transport to make it run in the Production system.
    Could you please provide me some details on it.
    Thanks
    Priya

    Hi Naren,
    Thanks for the quick help!
    One more basic question. Can I add this Program in the same transport & in the same task which has the new routine or should this program be added to a new transport?
    Thanks..
    Priya

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

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

  • 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

  • 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

  • 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

  • New Domain - copied content

    I have just purchased a new domain and want to copy the web pages from my existing iWeb site to the new domain and edit from there. Are there any pitfalls that I should be ware of due to my copying the old site (which will remain active) content and editing from there?

    "I have just purchased a new domain and want to copy the web pages from my existing iWeb site to the new domain and edit from there. Are there any pitfalls that I should be ware of due to my copying the old site (which will remain active) content and editing from there? "
    From your original post it just sounds as though all you want to do is link a new domain name to your existing iWeb site. Is this correct? Then this is a simple procedure. All you need do is go to .Mac and alter your domain name under the Personal Domain name option. Then go to your domain hosting company and alter the DNS settings to use CNAME to point to web.mac.com.
    Not sure whether you mean this or whether you want to upload your site directly to your domain hosting company?
    There is no big deal to using an ftp program and many people here use such programs as Cyberduck, Fetch and Transmit with no problems at all. All you do is publish to a folder rather than .Mac and then upload to your web space with one of the above.
    When you say "Edit from there" you won't be able to do that. Basically, your site is created with iWeb and when you want to alter pages or edit them, then you do this in iWeb. You then need to republish to a folder your edited and updated pages and then re-upload to your web space.
    iWeb was designed to be used with .Mac, so obviously it is easier, but the other can be done.
    As others have said, if you do use and publish to .Mac, then .Mac is your host. If you purchase a domain name, then the registering company hosts your name, but not your site. .Mac is your host and any domain name is just pointed towards .Mac.
    If you purchase a domain name with a hosting package too and upload to that space via ftp, then yes, your site is hosted there instead and has nothing to do with .Mac.

  • How to Create new database (copy all table with data excluding 2 table )with existing database.

    Please follow the scenario:
    using C#
    1) current database file name is DB20122013.
    when user click on new year button
    2)Create backup copy of current database
    3)New database should create with all table(excluding table "Dailytemp" and "DailyMain") with data and database name as DB20132014.
    Musakkhir Sayyed.

    Hi,
    I hope, below stored procedure is useful for your scenario.
    CREATE PROC Create_New_Database
    ( @DBNAME VARCHAR(550)
    )AS
    Test : Exec [Create_New_Database] @DBNAME='DB20122013'        
    BEGIN TRY               
    SET NOCOUNT ON   
    DECLARE @sql VARCHAR(MAX), @DBNAME_NEW VARCHAR(550),@num int
    IF EXISTS(SELECT 1 FROM sys.databases WHERE name=@DBNAME) AND ISNUMERIC(RIGHT(@DBNAME,4))=1
    BEGIN
    SELECT @num= RIGHT(@DBNAME,4) 
    SELECT @DBNAME_NEW='DB'+CAST(@num AS VARCHAR(10))+''+CAST(@num+1 AS VARCHAR(10)) 
    IF EXISTS(SELECT 1 FROM sys.databases WHERE name=@DBNAME_NEW)
    BEGIN
    SELECT @DBNAME_NEW+' database already exists'
    END
    ELSE
    BEGIN
    SET @sql='USE '+@DBNAME+'  '+' backup database '+@DBNAME+' to disk = ''C:\'+@DBNAME+'.bak''  '
    +' restore database '+@DBNAME_NEW+' from disk = ''C:\'+@DBNAME+'.bak'''
    +' with move '''+@DBNAME+''' to ''C:\'+@DBNAME+'_data.mdf'' ,
    move '''+@DBNAME+'_log'' to ''C:\'+@DBNAME+'_log.log'''
    EXEC (@sql)
    SET @sql=''
    SET @sql=' USE '+@DBNAME_NEW+' IF EXISTS(SELECT 1 FROM SYS.TABLES WHERE NAME=''Dailytemp'') 
    BEGIN DROP TABLE Dailytemp END IF EXISTS(SELECT 1 FROM SYS.TABLES WHERE NAME=''DailyMain'') 
    BEGIN DROP TABLE DailyMain END '
    EXEC (@sql)
    END  
    END
    ELSE 
    BEGIN
    SELECT 'Database is now found or Database name does not mach the scenario'
    END
    SET NOCOUNT OFF   
    END TRY   
    BEGIN CATCH                
     DECLARE @ErrorMessage NVARCHAR(4000)                
        DECLARE @ErrorSeverity INT                
        DECLARE @ErrorState INT                           
        SELECT @ErrorMessage = ERROR_MESSAGE(), @ErrorSeverity = ERROR_SEVERITY(),@ErrorState = ERROR_STATE()                
        RAISERROR (@ErrorMessage,@ErrorSeverity,@ErrorState )                
    END CATCH;   
    GO
    Regards,
    RAMBHARATH

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

  • New or copy field in process order

    Dear all,
    Can i add new field  in process order  at header lavel for ex. specific gravity  OR Is it possible to copy characteristic and value from material master to process order if yes then how?
    kindly help

    Hi
    Use the PPCO0006 exit - Enhancement to predefine fields in order header

  • Is there a simple way to drag new virtual copy to a collection?

    I've searched multiple times for a hint on how to do this, but always come up empty, perhaps I'm not searching correctly; apologies if this is obvious, well known or asked all the time:
    In Windows Lightroom (3.5 at the moment), if I select one or more images and then, on the left, right click and create a new collection, I'm given the option of creating new virtual copies of the selected images for inclusion in the new collection. I use this all the time.
    However, once the collection is created, I've not found a simple, one-step method to add virtual copies of additional images to that collection. Best I've come up with is the three step process: create a virtual copy, drag the virtual copy to the collection, and then remove the virtual copy from the folder/collection where I created it. It would be far cooler if there was, say, a keyboard shortcut, e.g. alt-click-drag or something, that would do this all in one step. Is there such a method?
    Thanks.

    You can right click on the collection and make it a target collection. Then each time you create a virtual copy simply hit the B key to add it. No need to drag.
    Remember to switch your target when finished by right-clicking Quick Collection.
     

Maybe you are looking for

  • How do I use autofill with my Iphone?

    I have Itunes 10.7 on windows and have watched a few videos on how to use autofill, but it is not appearing on my screen when my Iphone 4s is connected. I have also tried changing the settings in my Iphone by opening the device and going into the sum

  • Cannot download PDF in windows 7

    I have just upgraded to Windows 7 and downloaded Adobe reader 9.3.3, and the programme wil not allow the downloading of PDF files. tyhe error message reads your current programme cannot download PDF files you need reader 8 or 9 and I have reader 9.3.

  • Right Click to convert webpage to pdf creates pdf with website headers but not iframe content

    Hello We are having a problem converting webpages to pdf with Acrobat.  Out website uses Iframes to view the website we are converting to pdf.  When I right click on the webpage and click convert to pdf everything works fine. But the pdf that is crea

  • Database Auth in J2EE and Page authorization, Attn: Frank

    Frank: (1) In one of your replies to my queries, you said that page authorization and permissions (the way it is available now in a file based security where one can go to Edit Authorization on each page and grant read/write) is not available in a J2

  • OS X Connectivity and Upgrade

    All, My CFO had me do some work at his house on the Apple network.  He has a Mac Mini Server that he has his IP cameras storing the video's on.  He has a personal website setup so that he can log into the cameras from anywhere.  All that makes sense