Settings to copy header data only in copy control

Hi Friends,
I am trying to create an order with reference  an invoice but i only want to copy the header data. What setting should i maintain in copy control to achieve this.
Regards,
Wasim.

Hi DSR,
I have maintained below data in VTAF (Data T: 052 ,Copying requirements: 302,DataT: 103,DataT: 003)
Now i am getting dump while raising  sales order with ref a billing doc.
Can anyone please suggest how to rectify the same.
DUMP:
Short text
    Missing parameter with PERFORM.
What happened?
    Error in the ABAP Application Program
    The current ABAP program "SAPLV45C" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
Error analysis
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_DYN_CALL_PARAM_MISSING', was
     not caught in
    procedure "VBRK-VBELN_PRUEFEN" "(FORM)", nor was it propagated by a RAISING
     clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    A PERFORM was used to call the routine "BEDINGUNG_PRUEFEN_302" of the program
   "SAPLV45C".
    The current call contains 0 actual parameter(s),
   but the routine "BEDINGUNG_PRUEFEN_302" expects 1 parameters.
Missing RAISING Clause in Interface
Program                                 SAPLV45C
Include                                 LV45CF0V
Row                                     14
Module type                             (FORM)
Module Name                             VBRK-VBELN_PRUEFEN
ger Location of Exception
Program                                 SAPLV45C
Include                                 LV45CF0V
Row                                     51
Module type                             (FORM)
Module Name                             VBRK-VBELN_PRUEFEN
ce Code Extract
  SourceCde
1       HVBAK-VKORG = VBRK-VKORG.
2       HVBAK-VTWEG = VBRK-VTWEG.
3       HVBAK-SPART = VBRK-SPART.
4       ORG_FROM_NEW_DOCUMENT = CHARX.
5     ENDIF.
6     IF POSITIONSVORSCHLAG = SPACE.
7       PERFORM VBUK_SELECT USING VBRK-VBELN.
8     ENDIF.
9   ELSE.
0     MESSAGE E001.
1   ENDIF.
   32
   33   IF POSITIONSVORSCHLAG = SPACE.
   34 * Kopf-Kopierbedingung pruefen
   35     PERFORM TVCPA_SELECT USING SPACE   " AUART_VON
   36                                FVBRK-FKART   " AUART_VON
   37                                HVBAK-AUART.  " AUART_NACH
   38
   39     PERFORM VBPA_SELECT_PROBE USING VBRK-VBELN.
   40
   41 * Falsche Belegnummer in Anlegen mit Bezug eingegeben
   42     IF SUBRC > 0.
   43       EXIT.
   44     ENDIF.
   45
   46     IF STEUERUNG-NUMMER <> '000'.
   47       PERFORM (STEUERUNG) IN PROGRAM SAPLV45C.
   48     ENDIF.
   49   ENDIF.
   50
>>>>> ENDFORM.
   52 *eject
   53
   54 &----
   55 *&      Form  VBAP-UEPOS_LESEN
   56 &----
   57 *       text                                                           *
   58 ----
   59 FORM VBAP-UEPOS_LESEN USING VALUE(VS_VBELN)
   60                             VALUE(VS_UEPOS).
   61
   62
    64        EXPORTING
    65             I_DOCUMENT_NUMBER = VS_VBELN
    66             I_ITEM_NUMBER     = VS_UEPOS
    67        IMPORTING
    68             E_VBAP            = VBAP
    69        EXCEPTIONS
    70             ITEM_NOT_FOUND    = 01.

Similar Messages

  • RA data only updated in Controlling Area currency..

    Hi Guys,
    When we run the Results Analysis for WBS Elements, we are getting the message " RA data only updated in Controlling Area Currency ".
    How can we make this message gone or why is the system updating only in CO Area Currency.
    Thanks
    Srik.

    Hi,
    The company code currency for this WBS is different from the Co Area Currency assigned in the Co Area definition.
    However still system is updating only in the Co Area Currency.
    Thanks,
    srik.

  • User Exit for changing Zterm while copying header data from VA01 to VF01

    H i All,
    I have a requirement where I need to copy sales order header data to invoice header data (VA01 to VF01). The field of interest to me is Payment terms(zterm). In case the customer belongs to a particular condition type grp then I have to modify the zterm in invoice header.
    Kindly let me know which user exit I can make use of.

    Hi,
    Check Exit V46H0001  SD Customer functions for resource-related billing
    Also check BADI:
    BADI_SD_V46H0001  -  SD Customer functions for resource-related billing
    Method: EXIT_SAPLV46H_003 Customer Function when Creating/Changing Header

  • Copy transaction data only to another version

    I want to copy only "Transaction" data to another version. The version copy gives only two options. "Master Data" "Master data and Transaction Data".  But there is no option of "Transaction Data".  Any knows how to copy only "transaction data"
    /Shibu

    Hello Shibu -
    "<b>Understand that Transaction Data is based on your Master Data. Without Master Data there wont be no Transaction Data."</b>
    even if you have to transfer both i.e. Master Data and Transaction Data then there wont be any change in the master data(if master data has not been changed) that you have already transferred.
    Regards,
    Suresh garg

  • Copying of Data through HFM Copy utility fails wit unspecified error

    All,
    We are receiving some strange error . Please help if you have any input to this.
    The error message shows :
    Error : Failed to copy all available data from table XYZ_DCE_1_2008 to table ABC_DCE_1_2008. This may be a driver or DBMS error. Please review driver and DB logs!
    Error : Processing aborted for table XYZ_DCE_1_2008. Reason: Unspecified error
    I need help to understand , what should be the root cause of this error ? What should be the fix for the same?
    Thanks,
    Laxmikant

    Laxmikanth,
    What version of HFM are you on? If you are on 11.1.1.3 and using a 64 bit HFMCopyUtlity, then there is a known bug/issue with that. It fails and you would get the DB errors. We also faced a similar issue and Oracle support recommended to use a 32 bit HFM CopyUtility from a 32 bit server.
    It works fine. Hiope this helps!!
    Thanks,
    SSP

  • Display header data only in multiple xl sheets

    hi all,
    my rewuirement is as follows.:
    i need to write a code for template. when i click this template i have to header in different xlsheets. idont have line items.
    plz send me the code.
    thanks,
    maheedhar.t

    arey nani...requirement spelling correct ga ledu ..choodu okasari

  • Copy user data from Desktop HD to external HD

    This is for a customer; I fix PCs and MACs for a living. Please answer all 3 questions below if you are able.
    Old PowerMAC G5 has non-working mouse (i.e new mouse in different USB connector fails too) PLUS Other problems too. It does boot to an account with no login Password. However Login password for user account with admin privleges has been forgotten by customer. Customer wants to get a new MAC to replace G5.
    So my job is to copy user data ONLY from PowerMAC HD to a NEW external usb HD for later copy to a MAC to be purchased later.. My plan is to use Target Disk to access the PowerMAC G5 HD (i.e G5 never boots with this approach; we are seeing G5 as it's HD ONLY.
    So we have a MAC laptop in the middle running OS 10.4 or higher (unknown at the moment) and I connect via firewire cable and Target Disk to the G5 and ALSO connect the new usb external HD. It then use Disk Utility to reformat the external usb HD to Apple OS extended. And also wipe out all permissions on the external HD.
    And then I drag and drop user home directories (and subfolders) from the G5 to the external HD.
    HERE IS MY QUESTION: When I try to copy the user account with admin privleges which DOES HAVE A LOGIN PASSWORD OR the admin account home directories will OS X on the MAC laptop in the middle ASK ME FOR THE CORRESPONDING ACCOUNT PASSWORD or in some other way (PLEASE SPECIFY) get in the way VS just doing the copy ??
    Because customer forgot the login password AND since mouse fails on G5, I cannot use an OS X install CD to wipe out the account password by booting from OS X Install CD etc etc.
    SO IF THE MAC IN THE MIDDLE ASKS FOR THE LOGIN PASSWORD I am dead, I have no way of backing up the customer's data, can only back up from the user accounts with NO login password.
    (2) I am also wondering if the MAC laptop will object to copying the home directories for user accounts with NO login password.
    (3) And if the MAC in the middle objects or asks for passwords PLEASE PROVIDE A WORKAROUND if you know one. Please provide step by step instructions or a link to same as my MAC knowledge is much inferior to my PC knowledge and I probably can not "fill in the blanks"
    Mike

    You will be asked to provide an administrator password for the computer you're working at during the copying process. The login passwords for the accounts aren't needed to copy the data, but if any account is protected by FileVault, that account's password will be needed to decrypt it.
    For example, if you're on a computer which has an administrator password of '1234' and are trying to copy the home folder of an account for which the password is '5678', you'll need to provide '1234' to copy the home folder, but not '5678'. Opening that account's FileVault-protected disk image home folder will require '5678'.
    Additionally, if the numeric UIDs of the accounts match, no password will be needed to perform the copy. This generally only applies to one account per computer, and is independent of account passwords.
    (62724)

  • How to copy data only

    Hi,
    I'm wondering what is the way to copy schema table data only (no definitions) between 2 databases?
    (the schema names are the same)
    What happens if tables are not identical (by definition).
    Thx,
    Dobby

    I'm wondering what is the way to copy schema table
    data only (no definitions) between 2 databases?
    (the schema names are the same)
    What happens if tables are not identical (by
    definition).I am curious why you wanted to do like that.
    You also can use following method(a little complex):
    1.  in sqlplus,
              set head off feedback off lines 300 pages 0
        1.1 spool /tmp/abc.txt
        1.2 select * from table1 where ...
        1.3 spool off
    2. in other database, use sqlloader or external table to get data.

  • Header data (VBAK- OID_MISCDL) is not copied to order items (VBAP-OID_MISCD

    Hi Team
    When I create an order with reference to another document then header data (VBAK- OID_MISCDL) is not copied into the sales order items (VBAP-OID_MISCDL) for all the copied items. But if I add a new item to this order then the value of VBAK- OID_MISCDL is copied into the new item (VBAP-OID_MISCDL) only.
    Also if I create an order without any reference document then value of VBAK- OID_MISCDL is copied into the sales order item(VBAP-OID_MISCDL) if the header data VBAK- OID_MISCDL  is entered before line items are added to the order.
    Thanks for your help
    Javed

    Hi Paul
    Thanks for your reply. The issue is not with the copy control. The issue is that data is not copied from a header field in sales order into line item within the same document. So while in create mode of the sales order, if I enter line item details like enter material codes and quantities and then I enter value in a header field in the same sale order then that value is not copied across to those line items that were entered before. However during creation of sales order, If I enter value in the header field first and then enter line item details in the same sales order then that header value is copied across to the line items.
    Thanks
    Javed

  • How can I copy the date and time in Mail header?

    How can I copy the date and time in Mail header?
    I can copy everything else in the header for pasting in another application. 
    But not the date and time which is absolutely vital.
    It was ok in 10.6 

    I suppose you could copy it from the Raw Source. View>Message>Raw Source

  • Your current internet security settings do not allow data copying to clipboard

    i get a message when i try to hit the Copy button at the end of the chat to try to copy the chat
    your current internet security settings do not allow data copying to clipboard
    how can i fix this

    thanks for the reply but i was wondering how do i edit javascript then and all and i was wondering if any of the steps require a restart for firefox

  • Copying sales order header data into delivery line item

    Hi
    In copy control from sales order to delivery I want to copy value in sales order header to all the items in delivery, can I achieve this in the header level data transfer routine (Source sales document type to target delivery doc type i.e TVCPL-GRUAK)  or I have to do the changes in item level data transfer routine (TVCPL-GRUAP)
    The requirement is to copy a value from VBAK into LIPS during delivery creation
    Thanks
    Javed

    Dear Javed,
    Your requirement sounds interesting.
    If possible can you explain the scenario where we have to transfer the header data form order to item data in delivery?
    Also if you have found the solution, can you please update the same.
    Thanks & Regards,
    Hegal K Charles

  • Copy - Paste Velocity data only?

    Hello everyone,
    I have an ostinato pattern that repeats about 50-60 times, and I'd like to be played "loud-soft-soft." Is there a way to copy-paste velocity information so I don't have to manually change each notes velocity?
    I've tried copy-pasting hyper edit velocity information but it copy-pastes not only the velocity, but the notes as well!
    I could use the pencil tool to draw the hyper information, but that is almost as tedious as changing the notes by hand.
    Any suggestions?

    I got a GREAT suggestion from logicprohelp.com to use "groove templates" and apply 0% quantize and 100% velocity. In theory this should work, but no matter what I try (quantize strength 0%, Quantize swing 0%) it STILL wants to quantize my part, and does so in a way that it makes it sound like mistakes and jitters rather than the consistent triplet pattern I wrote.
    I'm going to continue to try this method, as it seems like it should work! I'm hoping its just user error!
    As for simply re-playing in the part...well, lets just say my piano chops are REALLY bad, and when I slow down the part to a tempo I can play it, it somehow looses the bouncy feel I wanted then I speed it back up. I was hoping there would be an easy way to get the "feel" I wanted with the velocities and easily paste them. Perhaps I should just bite the bullet and keep re-recording the part until its right! That would probably be faster in the long run, seeing as how there is no Copy-Paste velocity, and groove templates seem to be buggy.

  • Copy hiearchical data using SQL only.

    Is there anyway to copy hiearchical data that use ID's without using a pl/sql loop procedure or a global temporary table?
    Example
    CREATE TABLE DUCK_TREE
    FIRST_NAME VARCHAR2(100 BYTE),
    LAST_NAME VARCHAR2(100 BYTE),
    FAMILY_ID NUMBER,
    PARENT_ID NUMBER
    INSERT INTO DUCK_TREE ( FIRST_NAME, LAST_NAME, FAMILY_ID, PARENT_ID ) VALUES (
    'Louie', 'Duck', 207, 203);
    INSERT INTO DUCK_TREE ( FIRST_NAME, LAST_NAME, FAMILY_ID, PARENT_ID ) VALUES (
    'Dewey', 'Duck', 206, 203);
    INSERT INTO DUCK_TREE ( FIRST_NAME, LAST_NAME, FAMILY_ID, PARENT_ID ) VALUES (
    'Huey', 'Duck', 205, 203);
    INSERT INTO DUCK_TREE ( FIRST_NAME, LAST_NAME, FAMILY_ID, PARENT_ID ) VALUES (
    'Donald', 'Duck', 204, 201);
    INSERT INTO DUCK_TREE ( FIRST_NAME, LAST_NAME, FAMILY_ID, PARENT_ID ) VALUES (
    'Thelma', 'Duck', 203, 201);
    INSERT INTO DUCK_TREE ( FIRST_NAME, LAST_NAME, FAMILY_ID, PARENT_ID ) VALUES (
    'Daphne', 'Duck', 202, 200);
    INSERT INTO DUCK_TREE ( FIRST_NAME, LAST_NAME, FAMILY_ID, PARENT_ID ) VALUES (
    'Quackmore', 'Duck', 201, 200);
    INSERT INTO DUCK_TREE ( FIRST_NAME, LAST_NAME, FAMILY_ID, PARENT_ID ) VALUES (
    'Grandma', 'Duck', 200, NULL);
    INSERT INTO DUCK_TREE ( FIRST_NAME, LAST_NAME, FAMILY_ID, PARENT_ID ) VALUES (
    'Hortense', 'McDuck', 103, 100);
    INSERT INTO DUCK_TREE ( FIRST_NAME, LAST_NAME, FAMILY_ID, PARENT_ID ) VALUES (
    'Scrooge', 'McDuck', 102, 100);
    INSERT INTO DUCK_TREE ( FIRST_NAME, LAST_NAME, FAMILY_ID, PARENT_ID ) VALUES (
    'Matilda', 'McDuck', 101, 100);
    INSERT INTO DUCK_TREE ( FIRST_NAME, LAST_NAME, FAMILY_ID, PARENT_ID ) VALUES (
    'Scotty', 'McDuck', 100, NULL);
    COMMIT;
    Now you would like to copy the hierachical data starting say at Grandma and all children?

    I can't really see a way to get away from iterative PL/SQL or the use of temporary tables (global or otherwise).
    The best solution I've managed to come up with so far is use at least 1 GTT to store a mapping of current FAMILY_IDs to new FAMILY_IDs, then use the map table to translate the old IDs to new IDs during the copy phase.
    DROP TABLE id_map;
    CREATE global TEMPORARY TABLE ID_MAP
        (   old_id NUMBER,
            new_id NUMBER
        ON COMMIT DELETE ROWS;
    DROP SEQUENCE duck_tree_seq;
    CREATE SEQUENCE duck_tree_seq INCREMENT BY 1
        START WITH 208;
    create or replace procedure ADD_DUCK_WITH_DESCENDENTS
          (fName varchar2, lName varchar2, pid number, RootID number) is
        new_id NUMBER;
    begin
        -- Create new Ancestor
        insert into duck_tree values (fname, lname, duck_tree_seq.nextval, pid)
        returning family_id into new_id;
        -- Add root mapping
        insert into id_map values (rootid, new_id);
        -- Map lineage
        INSERT INTO id_map
        WITH t AS
             SELECT d.*
               FROM duck_tree d
              WHERE level <> 1 -- exclude root ancestor
            CONNECT BY d.parent_id = PRIOR d.family_id
              START WITH d.first_name = 'Grandma'
         SELECT family_id, DUCK_TREE_SEQ.nextval newid FROM t;
        -- Copy descendents
        insert into duck_tree (
            first_name,
            last_name,
            family_id,
            parent_id)
        WITH t AS
            (SELECT d.*
               FROM duck_tree d
              WHERE level <> 1 -- exclude root ancestor
            CONNECT BY d.parent_id = PRIOR d.family_id
              START WITH d.first_name = 'Grandma'
         SELECT t.first_name
              , t.last_name
              , m1.NEW_ID
              , m2.NEW_ID
           FROM t
        JOIN id_map m1
             ON t.family_id = m1.old_id
        LEFT JOIN id_map m2
             ON t.parent_id = m2.old_id;
        -- Clear out the map table
        delete from id_map;
    end;
    call add_duck_with_descendents('Grandpa','Duck',null,200);
    /

  • Please give me idea now I compile all branch data in head office only new r

    Hi master
    Sir I have 5 office In different city and one head office in Karachi all branch have same oracle system my question is how I get new data and compile for accumulative reporting
    I want only new record and modify record not old record
    Old record already I import
    When I use oracle import and export tool that no give me right result
    If xxx table exists in database then import tool not replace and no insert or no replace with previous data with new modify data
    Such as
    First time
    V_no=897 have debit amount 3998 is Islamabad branch and i export form Islamabad and import in Karachi office
    Next time
    Islamabad office change v_no=897 debit amount with 76555 and add many new record
    I export form Islamabad and import in Karachi office but system no change and not add new record in Karachi office
    Please give me idea now I compile all branch data in head office only new record and modify record
    Thanks
    aamir

    Here a very simple example with table EMP, assuming source table has a primary key. Firstly you create a materialized view log on source table (necessary for fast refresh) :
    SYS@db102 SQL> conn test/test
    Connected.
    TEST@db102 SQL> create materialized view log on emp including new values;
    Materialized view log created.
    TEST@db102 SQL> then at destination DB/user :
    TEST@db102 SQL> conn scott/tiger@test10
    Connected.
    SCOTT@test10 SQL> create database link test
      2  connect to test identified by test
      3  using 'db102';
    Database link created.
    SCOTT@test10 SQL> create materialized view emp_mv
      2  refresh fast
      3  as select * from emp@test;
    Materialized view created.
    SCOTT@test10 SQL>Now emp_mv is the exact copy of emp. To refresh the MV, to reflect changes :
    SCOTT@test10 SQL> exec dbms_mview.refresh('EMP_MV','F');
    PL/SQL procedure successfully completed.
    SCOTT@test10 SQL>                                                                  ...but I strongly recommend you to read the documentation...

Maybe you are looking for

  • Free goods in Retail system

    Hello Guys, I have done all required steps to maintain Free Goods (in Retail system). Maintained following condition tables: 1. Company/Material 2. Sales org/Material 3. Sales org./Distr. Channel/Material 4. Sales org./Distr. Channel/Plant/Material 5

  • Regarding header alv

    Hi all, Below i m giving my ALV program actually my requirement is i have to get "program name","date" ,"time" , and "pageno". in the header of the report. so i tried but i m not getting can anyonehelp me or change my code as per my requirement. <cod

  • XPath to Update XML document

    Using XPath I can read a particular node of an XML document through JAVA program. However, is it possible to Update the value of the node, just read from XML doc, using XPath expressions ?

  • I can't locate my serial number for creative suite 2

    Ive been trying to download this all day because i got it for free, and every time i cant find the serial code or redemption code that they were supposed to email to me. A little help?

  • Flash player life cycle

    He. Team Could you please help me with below information Adobe Flash Player life cyle OS: Windows 8.1 Adobe Flash Player 11 Adobe Flash Player 12 Adobe Flash Player 13 Adobe Flash Player 14 Any help please! Thanks