VOFM ( Copying Requirements ) Problem

Hi All,
I have one requirement like up to now my billing documents are created based on sold-to-party but i need to create based on sold-to-party(VBAK-KUNNR) as well as cutomer PO Number(VBAK-BSTNK).
I am giving Example
Present :
Sold-To-Party : 1001
Orders : 10   customer PO - 5
Orders : 20   customer PO - 5
Orders : 30   customer PO - 6 . So for above situation system creates only one document because all Orders are under same sol-to-party (1001).
My Requirement:
Sold-To-Party : 1001
Orders : 10   customer PO - 5
Orders : 20   customer PO - 5
Orders : 30   customer PO - 6 .
For above case i need to create two invoice documents based on Customer PO(one for 5 and another for 6).
Is above scenario is possible with copying requirements ..and please help me out....
Points will be rewarded...
Thanks and Regards,
Siva.

Yes, you can use the copying requirment to handle this scenario.
You need to modify the VBAK-ZUKRI field to make the invoice split.
VBRK-ZUKRI+0(10) = VBAK-KUNNR.
VBRK-ZUKRI+10(30) = VBKD-BSTKD.
Try changing the VBRK-ZUKRI field in the debugging (set a break point in the data transfer routine of the copy control).
Regards,
Naimesh Patel

Similar Messages

  • VOFM Copying Requirements

    Hi Folks,
    I have an issue in VOFM transaction. Actually i am blank about this transaction.
    My requirement is :     
    " Standard SAP does not copy the data stored in the “your reference field” sold-to party header to the “External Delivery” field of the delivery header. An enhancement is required to copy this value from the sales order to the delivery document ".
    The VOFM routine that is currently being used to transfer data from the sales order header to the delivery header is “1”
    Now how to proceed with this? Should i want to create a new routine or need modifiy the existing one?
    If u send any step by step process, it would be much helpful to me.
    Awaiting for urs response.
    Regards
    Savi.

    Hi Anji,
    The following code is the standard code copied from program FV50C001.
    Pick-up sheet number in delivery order processing is external dlv. no.
      IF CVBAK-VBKLT EQ VBKLT_AUSL_AUFT OR
         CVBAK-VBKLT EQ VBKLT_AUSL_AUFT_KORR.
        MOVE CVBAK-BSTNK TO LIKP-LIFEX.
      ENDIF.
    Consignment issue by service agent is external delivery number
      IF CVBAK-VBKLT EQ VBKLT_EDL_ENTN OR
         CVBAK-VBKLT EQ VBKLT_EDL_ENTN_KORR.
        MOVE CVBAK-BSTNK TO LIKP-LIFEX.
      ENDIF.
    My requirement is i need to move the " Your reference " Field from Sold-to party Header ( i.e VBKD-IHREZ ) to the " External Delivery " Field of the Delivery Header ( i.e LIKP-LIFEX ).
    How to proceed with this? Should i want to comment the standard code of FV50C001 or need to continue with the satndard one?
    Can u give sample code?
    Regards,
    Savi.

  • VOFM Copying Routines

    Hi,
    I have 2 requirements - firstly where sales orders should not be combined into a delivery for a particular Special Processing Indicator value ( VBKD - SDABW ), i.e, seperate deliveries should be created. The 2nd requirement is for delivery split for a single sales order based on shipping type condition.
    I choose to copy the existing Copying requirement 051 in VOFM - > Copying Requirements - > Deliveries into a custom routine 600 and add the extra code here for VBKD - SDABW and asked my functional colleague to make necessary config in VTLA at header level. Unfortunately the routine is not triggered.
    For the 2nd requirement, i decided to copy the existing copying req 101 and add the extra code here for shipping type in my custom routine 601 . After making config changes at item level, this routine is getting triggered and the delivery is getting split. However since 1st req is failing i tried putting the extra code of 600 in 601 itself -- since basically the 1st req also requires you to split the two orders into seperate deliveries instead of combining them into 1 delivery. But this is still not working.
    i tried this idea since the concept is basically about splitting two orders into two deliveries in the 1st req and splitting a single order into multiple deliveries in the 2nd req. does my prob have anything to do with the fact that 601 is config at item level and 600 at header level ??
    Any inputs are welcome since i am completely lost.... Thanks....

    Hi,
    Check these notes:
    Note 546668 - FAQ: Delivery split when creating deliveries and related.
    Note 399912 - Split analysis activation during delivery creation (so useful to do the analysis).
    So you can copy it with tcode VOFM (search in google a document with this string: inside vofm ext:pdf, or check this notes, so you will know how to do your own VOFM (remember the naming conventions for VOFM, call it 901 e.g.). Too, you can check Note 327220 - VOFM function and its objects and related notes.
    Regards
    Eduardo

  • What is the difference between copy requirement and data transfer routines

    Hi Experts,
    I am writing a copy control routine for maintainence quote
    from sales quote.Where do i have to write it in VOFM?
    Is it in copying requirements or data transfer.
    Actually according to the business all the line items from the sales quote are copied
    into the maintainence quote and additional line items are added into maintainence quote
    and the line items copied from the source document are linked to the two newly added
    line items.
    Please advise.
    And is it possible to add the 2 new line items to the new document into VBAP at the runtime?
    Regards,
    Chitrasen

    First of all you have to have a link between the sales documents. You can check it in Tcode: VTAA. if not, talk to your functional people. Try to make this equal to quote to order but instead make it quote to quote.
    You need to put break point in copy requirement as well as in data transfers and check for your requirement.
    Well, the code you want to put in will be the requirement
    I am not sure if you can add 2 line items runtime into quote. this has to go through different checks and i dont think it is possible.
    Good luck

  • Copy control problem : Delivery to Billing

    Hi Guys,
    I am facing a strange problem regarding copy control between delivery and billing document. The case is as below:
    When I am creating an F2 Invoice from LF Delivery the header texts from the LF Delivery is getting copied into the header taxt of F2 Invoice but this is not working when I am creating a F8 Proforma Invoice from a LF Delivery. The thing is like this LF-F8 copy control was working fine before couple of days and now it's not at all working. I am bit surprised to see this as these document types are Standard SAP document types !!!
    Can anyone advice regarding this particular issue?
    Hrishi

    Hi,
    Check your Copy Control Settings for
    Taget Doc.: F8
    Source Doc.: LF
    in T. Code: VTFL
    For Header Settings:
    Maintain Field: Copying requirement - 009 - (DlvRel.pro forma hdr)
    and Check Box: Copy Item Number
    For Item Settings:
    Select your Item Category (say, TAN - Standard Item)
    Maintain Fields:
    Copying requirements   010  DlvRel.pro forma itm
    Data VBRK/VBRP         000
    Billing quantity     D
    Pricing type         G
    Hope, this may Help.
    Best Regards,
    Amit.

  • How to create data transfer and copying requirements

    Hi Gurus,
    Can you tell me how to create data transfer and copying requirements in copying control for SD?
    Thanks,
    pAUL

    Hi John,
    Go to Transaction code - VOFM.
    In the menu select Data Transfer and select where you want maintain the copying requirements i.e. at the order level, delivery level etc.
    Here, you can either create a new routine or change the existing routine according to your requirement.
    Make sure you activate the routine (click on Edit - Activate from menu) once you are done with the routine.
    REWARD POINTS IF HELPFUL
    Regards
    Sai

  • Sales order Copying Requirement

    Dear Experts,
    I went to transaction VOFM to maintain the Copying Requirement for the Sales Order.  When I create a new Routine number, I found out that some has the importing parameter BY_SUBRC in the Subroutine and some do not, I want to ask when the variable BY_SUBRC will be present and when will be absent.  Thanks
    Thanks.

    Hello,
            There will be scenarios where (as in your requirement), just copying the Sales and Distribution Document will be sufficient. In this case, we'll not require any SUBRC Checks to see if the document is actually copied or not.
           However, there are scenarios where you do not want to COPY a particular Line Item in the Sales Order. Then, in such kind of scenarios, where the access to the Actual Data is limited, we'll use the Parameter BP_SUBRC and make it a non-zero to forcefully fail that routine so that the Line Item is not Copied (requirement is not fulfilled).
    Hope it was clear and helpful.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • Copying requirements in vtaf credit memo request

    Copying requirements[021]: This routine checks sold-to-party, sales area, and currency is same or not when copying billing document to sales document.
    experts please give clarity on the above statement. when we are creating the credit memo request , we simply in va01 give reference invoice number and we will press enter . so then all the details will be copied. And my confusion is that , we are copying from invoice everthing , then how can we check sold-to-party, sales area, and currency is same or not

    Hi
    Why confusion ?
    All data will come from the reference document.
    You can refer to a Billing document OR  a Sales order for creating a Credit memo request.
    If you are refering the Billing document and if you want to check then go to the document flow.
    You will get all preceeding documents and succeding documents there which makes your checking easier.
    Beside this , you can also create a "Credit memo request" with out any reference document document.
    So what you will check here ?
    It is created as per requirement.
    Take an example of a practical situation.
    Suppose, You are working in Sales, Your Dealer, who is your customer has put a complain for which you need to create a Credit memo request but he is saying that he can not give you any reference document number.
    Then what you will do in that case  and what you will check here?
    Simply, you have create a Credit memo request without any reference document.
    Hope, it is clear.

  • Click 2 call and excel copy/paste problems

    Recent posts from late May claim that the click to call issues were resolved in late may. Today is June 21/12 and I resolved the problem yesterday by un-installing the click to call program. Prior to that cut and copy requests were losing the marquee around copied cells and when target cells were right clicked the context menu did not include Insert Copied cells. 
    Some problems may have been addressed but the problem still exists. It's too bad because click to call was a good feature.
    Solved!
    Go to Solution.

    The problem was identified and fixed already in an update to the Click to Call toolbar in April: http://blogs.skype.com/garage/2012/04/skype_click_to_call_fix_for_of.html
    *Best Solution* Download the new version of Skype Click to Call. It’s the quickest way to solve the copy & paste problem you are experiencing. Go to http://www.skype.com/intl/en-us/get-skype/on-your-computer/click-to-call/windows/ and click Download Now.
    Follow the latest Skype Community News
    ↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

  • Copying requirements

    Hi All,
    i have seen in header copying requriements from sales doc type to sales doc type, there is a condition that the copying takes place from source sales document only when the sold to party is same in source sale doc and target sales doc.
    my question is that, how will the system knows before copying that the sold to party is same in the source and target. what I mean to say is that it is only after copying that the sold to party becomes avaibale in the target document. so how come copyin g requirmeent works in the case of sold to party.
    regards
    sachin

    hai sachin
    your query is quite logical, when data is copied from source to target document in sap , it is copied like header to header, item to item and schedule line to schedule line.So in the sub routines for copying requirements, it is defined that the sold to party of the source document should be identical with the target document. so i think it will first check the sold to party numbers of the two documents (coding will be done on these lines) before copying  and hope it makes sense
    award points if you are satisfied  or correct me if i am not right
    regards
    kishore

  • VOFM - pricing requirements ( abaper require some functional assistance)

    HI,
    I had written the required code in one of the customer routines in the transaction: vofm.
    to change the tax code according to the country of destination.
    I was given information that this will be triggered during the sales order change..(va02)..
    When i put a break point in that include it is not triggering..
    Can anyone tell me how to trigger (either std include or customerized include) of transaction: vofm (pricing requirements) in the sales order change tranx (VA02).
    thanx

    Hi there,
    Once the routine is configured in VOFM, it has to be activated for eg using RV80HGEN. Only then you can apply that routine.
    Also when the logic is not getting triggered in debug, then it means that either the logic is wrong, code has been put in a wrong location or tables / fields are called wrongly.
    Ask the ABAPer to check points & then try.
    Also changes in VA02 is captured by function V & new entry by H.
    Regards,
    Sivanand

  • Create folder and copy files problem

    Hello all indesign script Members
    where I work we use a permanent folder structure for an example
    a jobnumber called "123123"
    I have wrote a little interface called interface.jsx, this file is saved and located in
    123123/scripts/interface
    I want my interface to navigate two folders up
    to 123123/source/ creates  a folder called "hej" so result is "123123/source/hej"
    then I can pick from a little dialog box the folder 123123/source/a/ copy all .indd files to the folder hej (or any other folder I choose from the dialog box)
    I want the script to know the active path instead of whole locations because, we have different project numbers all the time.
    then run an extern script called hej.jsx
    the best should be also if the script could chose 123123 as default jobnumber too.
    Please could  someone help me to script this?
    /get started I am very newbie
    Thank you so much in advance
    All Adobe Members

    Hi tjacobs01,
    Thanks for reply. I didnt include main method since i dont want to make the problem looks too complicated. I called both of the methods in main. The following is the simplified class code including main method.
    import java.io.File;
    import java.io.IOException;
    public class TestClass{
    public void buildFolder(){
    File f=new File("/documents/hospital_backup");
    if(f.exists()==false){
    f.mkdirs();
    public void copyFile(String file){
    String form_cmd="cp /job_holding/hospital/" + file + " /documents/hospital_backup/"+file;
    String[] command = new String[]{"sh", "-c", form_cmd};
    try{
    Runtime r=Runtime.getRuntime();
    Process p =r.exec(command);
    BufferedReader in = new BufferedReader(new InputStreamReader(p.getInputStream()));
    String line = null;
    while ((line = in.readLine()) != null) {
    System.out.println(line);}
    int exitVal=p.waitFor();
    System.out.println("Process exitValue:"+exitVal);
    }catch(Exception e){System.out.println(e);}
    public static void main(String[] args) {
    String dir_root="/job_holding/hospital/";
    File f=new File(dir_root);
    File[] fList = f.listFiles();
    for (int i=0; i<fList.length; i++)
    String file=dir_root+fList.getName();
    TestClass test = new TestClass();     
    test.buildFolder();
    test.CopyFile(file);

  • Copy & Paste problem stops working

    I've been experiencing an unusual issue with the copy and paste function on my MacBook Pro. The copy & paste function appears to work fine after I've restarted the computer, but after a short period (can be hours or days) the copy & paste function stops working. Instead of copying the highlighted section (usually I'm copying text) when I go to paste the text, all I appear to get is one space. As I use this feature countless time in the run of a day (copying from mail, Daylite, NeoOffice, Text Edit...)this is turning out to be very annoying.
    I have recently re-installed "MacOSXUpdCombo10.4.11Intel.dmg" to see if that made any difference, and everything seemed to be working great for about 5 days, then the same issue started again. If I shut down and re-start my Mac, it seems to offer a temporary solution to the issue.
    I have not tried re-installing the operating system.
    Thanks in advance.
    BassPlayer07

    Amazingly, I found this looking for a fix for the exact same problem. Mine started today, though it could have been yesterday as I don't remember using copy or paste yesterday.
    The one change I have made in the last 48 hours is that I installed the MS Office SP 1 update that just came out. I know it was working right after that update because I was using copy/paste in Word.
    The other difference I've found is that a restart doesn't seem to fix mine. I just restarted and still no copy/paste - just a single space instead. And you're right, it doesn't matter what you copy, it always pastes just a single space.
    I've tried CMDC/CMDV and the menu items to the same effect.
    I hope someone has an answer.

  • Copy paste problems - bootcamp

    The copy and paste functions don't seem to be working in
    dreamweaver 8 in bootcamp ... does anyone have a solution to this?
    I have tried deleting this file "WinFileCache-7A9586CB" as
    discussed in another thread ... but this made no difference.
    thanks for your time

    same problem with windows XP sp1
    Deleting the "WinFileCache-*.dat" file doesn't help

  • Copy & Paste Problems in Logic Pro 8

    Hi All,
    I'm working with LP8 and was trying to use some tracks from an old project on another newer project. I copied the files, closed the project, opened a new one and then pasted.
    I've had nothing but problems doing it this way. I now realize I should have imported the audio files. But, after working on this new project for a few days, I'd rather not go back and start over.
    Here are my problems:
    1) The audio files on the old project aren't playing anymore
    2) Any time I try to listen to a loop in the media browser, it plays through the copied audio track and changes the pan of the track.
    3) Every once in a while when I add a new track and record or add a file it plays the old copied audio file through the new track instead of the audio file that is on that track.
    Ok, I tried being as clear and concise as possible and again I've found how to import audio files from different tracks but I want to see if I can fix the problem some way before having to start over or do some hefty rearranging.
    Thanks for any help you can offer
    Chris

    Hi, in my experience you can always better import the audio files than paste them into your project (but you figured that one out yourselve :))
    To answer your questions:
    1. Could it be that you've moved you files from the old project's audio folder (cut instead of copy?)
    2. I don't know why listening to a file in the media browser can affect your panning information... Could it be that the automation write or latch mode is turned on?
    3. Could it be that the old file are still on the track you're recording? So that you are recording on top of the old file? When you record a new file over it, it's hard to see any underlying regions (they might show up slightly with some dotted marks)
    I hope I was able to help you... Good luck!

Maybe you are looking for

  • What's wrong with my Oracle Database Installation?

    Hi, I'm trying to install Oracle Database 11gR2 on a newly-created Oracle Linux 5.7 64-bit system. There's 25GB of available harddrive space and about 1700MB free RAM. I followed everything in this guide: http://www.oracle-base.com/articles/11g/Oracl

  • File processing in XI

    Hi all, I have a question: Can XI process records in a file with format A below, and map the fields to an XML format B? Format A ======== <Header1> <Body1_1> <Body1_2> <Body1_3> <Body1_4> <Trailer2> <Header2> <Body2_1> <Body2_2> <Body2_3> <Body2_4> <

  • Font problem in Forms 10g

    We are upgrading an application(forms and reports) from 6i to 10g. We are testing the application from 10gDev. Suite. The forms in 6i contains certain fonts like Arial Narrow (Western),Wingdings (Western),Arial(Western),Terminal,Tahoma,Fixedsys,Times

  • How can I name my downloads

    How can I name my downloads? I can't find a page that I can change the names from the numbers that are on the downloads when i receive. I want to name them for what they are, so if I need one, I can go to my download file and retrieve it. Secondly...

  • Slow startup on G4 Cube

    Startup on my G4 Cube 450mhz running 10.4.11 has become abnormally slow. Once running, I don't find that applications are having any running issues. What hard drive maintenance/procedures are recommended to possibly remedy this issue?