Creating Contract from another contract

hi
is it possible to create a contract from another contract as a reference? Can i use the expired contracts again after changing its validty dates?
thanks
maniraj

Hi
It is possible to create a contract from another contract in MM.
Please follow the steps
1) Go to t code ME31K
2) Initial screen press Copy document button
3) Give the reference document no and mention the reference items ( from & to)
4) Press enter
Now you can see the items copied from the old contract.
Hoep it helps.
Thanks /Karthik
Edited by: Karthik on Aug 13, 2009 9:27 AM

Similar Messages

  • Change sales area while copying contract from another contract

    Hello Gurus,
    I am copying sales contract from another sales contract. I have maintained copy control accordingly.
    Here i want to change sales area of being created sales area.
    Ex.
                                                 Sales area
    Reference contract             1000-10-10
    New Contract                       2000-10-10
    How can i control this ??...Where and what change should i made in copy control to achieve this ?
    Thanks in advance...
    Regards,
    Tarpan Vadaliya

    Thanks Kapil for your input.
    But still my question is not answered completely.
    My requirement in simple that i want to create a contract with reference to another contract but in different sales area. My customer will be remain same. So it does not relevant whether i use routine 001 or 002.
    I had tried to create with both routine but i am not getting succeed.  I had also removed below mention code from routine and tried but not succeed.
    IF HVBAK-VKORG NE VBAK-VKORG.
          MESSAGE E007 WITH HVBAK-VKORG VBAK-VKORG.
        ENDIF.
    Is the dist. channel the same in both reference and target?
        IF HVBAK-VTWEG NE VBAK-VTWEG.
          MESSAGE E011 WITH HVBAK-VTWEG VBAK-VTWEG.
        ENDIF.
    Is the division the same in both reference and target?
        IF HVBAK-SPART NE VBAK-SPART.
          MESSAGE E012 WITH HVBAK-SPART VBAK-SPART.
        ENDIF.
    Still waiting for helpful solution...
    Tarpan

  • Not able to create Service Contract from another svc.contract as followup

    Hi,
    I am trying to create a service contract from another service contract as folllow up document as a part of contract renewal process. However, when I click on follow up button, in the popup, not able to the option Service Contract. Hence I am unable to create.
    Could you please let me know, what needs to be done such that Service Contract also will be shown in the popup.
    Thanks for all the replies.
    Thanks,
    Sandeep

    Hello Sandeep,
    It is not possible to create a follow up service contract (BUS2000112) for another service contract (BUS2000112).
    I do not know your business scenario, you can debug method GET_FOLLOWUP_CUST of class CL_CRM_UIU_BT_GET_PROCTYPES and see where the follow-up transaction types are filtered out.
    I met similar case before, the solution provided at that time was
    - modify FM CRM_UBB_FILTER_SUC_PROC_TYPE in line 49. You can comment out the following line:
    delete ct_suc_proc_type where process_type = ls_suc_proc_type-process_type.
    Hope this could be helpful.
    Best regards,
    Maggie

  • Problem with creating site from another computer!

    Hi
    I have WebDB 2.2 and Oracle8i instaled on the same computer. I have a problem to create site from another computer. There is not any process when I try to create site. There is always 0%.
    But I have no problem with creating site on the origin computer.
    Does anybody know something about it?

    I am just not clear what to do once I have made changes and have published the new information.
    You shouldn't have to do anything. iWeb will save the information in the Domain.sites file. You can keep this file in a folder, or even on your desktop and iWeb will launch from a double-click on the file.

  • I can't create table from another table?

    Hi everyone!
    I have a problem that I don't known the reason why?
    I'm using Oracle version 8i and I want to create a table from another table, such as:
         CREATE TABLE a_backup as SELECT * FROM a => It's OK, table a_backup is created.
    But there is only a table that I can't created like that, such as:
         CREATE TABLE b_backup AS SELECT * FROM b;
    When I run over command, SQL Plus is not responding... and clients are can't access to DB or Executing forever
    This is the first time I met this problem.
    Can Anyone help me to resolved it?
    Thanks in advance!

    xi`tin wrote:
    Hi everyone!
    I have a problem that I don't known the reason why?
    I'm using Oracle version 8i and I want to create a table from another table, such as:You realize, of course, that 8i is completely out of support .... Is your OS and hardware just as old as your rdbms software, or is it only the rdbms that your company refuses to upgrade?
         CREATE TABLE a_backup as SELECT * FROM a => It's OK, table a_backup is created.
    But there is only a table that I can't created like that, such as:
         CREATE TABLE b_backup AS SELECT * FROM b;
    When I run over command, SQL Plus is not responding... and clients are can't access to DB or Executing forever
    This is the first time I met this problem.
    Can Anyone help me to resolved it?
    Thanks in advance!

  • Create table from another table including constraints

    Hi,
    Is there a way to create a table from another table including constraints.
    CREATE TABLE COPY_EMP
    as
    SELECT *
    FROM EMP
    WHERE 1 =2 ;
    This creates the table, but the constraints are not copied over.
    I was reading about DBMS_REDEFINITION - can that be used for this scenario ?
    Thanks!
    Anand

    >
    I tried that, but the constraint names are posing a problem. And unfortunately our constraints are not named in a standard, so am finding it difficult to replace them.
    Was just wondering if there were any simpler approach to this.
    >
    No - there isn't.
    You will have to use new names for the constraints. That usually means extracting the DDL and manually changing the constraint names.

  • How to create table from another in pl/sql

    Hi I need to create a table from another in pl/sql
    How can I do this

    The proper way to do this, is not to do it in PL/SQL. But do it in SQL, something like:
    create table tbl
    as
    select *
      from other_tbl;Doing it in PL/SQL is really slow compared to SQL.
    Yes, if you really want to create a table using PL/SQL then you will need to use DBMS_SQL or EXECUTE IMMEDIATE (Native Dynamic SQL) to do this.

  • Creating playlist from another playlist

    So, I have all the latest software etc. Can I tell you what ***** about itunes? Remember when making a playlist you could access other playlists and pluck songs to add to your new playlist? You can't do that anymore. WHY?! Itunes Master, please bring this option back!

    I'm assuming you're referring to Music in iOS, not iTunes on Mac, right?  I'm extremely upset that this feature was removed.  I have 25,000 songs, so I use playlists in iOS to sort them a bit.  No longer having the ability to pull from those playlists to create or modify another has just taken me back 5 years.  I have to create and modify everything from my Mac now, as I did long ago.

  • Update CRM contract from isu contract

    Hi!!!
    I'm try to update the data of crm contract from sap isu contract, but isn't works fine, the status and the description of CRM contract is not updated. The Bdoc SI_CONTRACT is generated correctly, and the Badi's DOWNLOAD on ISU and CRM are enhanced, but the info is not updated in crm when initial load is launched or when a move-out it's do it in isu.
    Can you help me please?
    Regards,
    David

    Hi David,
    Even though you have a green Bdoc it doesnt mean that the information was updated correctly in CRM, it simply means that the Bdoc passed the information to the queue. Check if there are any sysfails in the queues - you get the queue name from the Bdoc - and also if there are any dumps that might be related. Have you ever been able to load data from ISU to CRM?
    Kind regards,
    Vanessa.

  • Create table from another db

    Basically, I need to create a table from a query that runs against another db on a separate box. Is this possible?
    Thanks

    If you're able to create a database link to the other server you could then use the query(modifying the tables in the from clause to use the dblink) in a create table statement.

  • Question on Creating table from another table and copying the partition str

    Dear All,
    I want to know whether is there any way where we can create a table using another table and have the partitions of the new table to be exactly like the used table.
    Like
    CREATE TABLE TEST AS SELECT * FROM TEMP;
    The table TEMP is having range and hash partitions.
    Is there any way when we use the above command, we get the table partitions of TEMP to be copied to the new table TEST.
    Appreciate your suggestions on this one.
    Thanks,
    Madhu K.

    may this answer your question...
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:595568200346856483
    Ravi Kumar

  • Create cursor from another cursor

    Hello,
    How do I create a cursor from the values of another cursor ?
    For Example,
    cursor c1
    select x, y from table 1;
    cursor c2
    select c1.x, c1.y, table 2.z
    from table 2
    where y := c1.y
    I get errors when I do this way. Can somebody help me out on this.
    Thanks
    Raj

    In this particular example, it's probably easiest to declare a single cursor that contains a join, i.e.
    cursor c1
    SELECT a.x, a.y, b.z
      FROM table1 a,
           table2 b
    WHERE a.y = b.yIf you really want to create the two cursors, though, you have to make sure that the first cursor is visible to the creation statement of the second. For example,
    for c1 in (select x, y from table1)
    loop
      for c2 in (select c1.x, c1.y, b.z from table2 b where b.y = c1.y)
      loop
      end loop;
    end loop;If you need more help, quoting the exact error an providing a snippet of the code you're using would be greatly helpful.
    Justin

  • Create script from another script using PROMPT

    Oracle 11
    Instead of having to link to another database I want to create 2 scripts that are executed from a shell script and run them separately. Script1 run in Database1 would create Script 2 by using PROMPT to create the second script while grabbing a date from database1 to pass into database2. I almost have it but the problem is ... Script2 uses COPY FROM and I have to put a "-" at the end of each line which the PROMPT takes as a literal instead of as part of the output.
    SCRIPT1:
    set pagesize 0
    set trimspool on
    set linesize 2000
    set echo off
    set verify off
    set feedback off
    set sqlblanklines on
    spool /home/michelle/sql_scripts/sl_dtc_copy2.sql
    PROMPT whenever sqlerror exit sql.sqlcode rollback
    PROMPT SET ARRAYSIZE 5000
    PROMPT SET COPYCOMMIT 20
    PROMPT set linesize 4000
    PROMPT
    PROMPT COPY FROM {username}/{pswd}@{DB2}  TO {username}/{pswd}@{DB2}
    PROMPT CREATE SL_DTC_TMP USING SELECT DISTINCT
    PROMPT col1, col2, col3
    PROMPT FROM dual
    PROMPT WHERE veh_data_elements_cd = 'ODO_READ'
    PROMPT and       dh.data_collected_timstm >= 
    select trunc(sysdate)-7 from dual;
    PROMPT and       substr(vdh.vin,10,1) in ('A','B','C','D')
    PROMPT /
    PROMPT spool off
    PROMPT exit
    spool off
    exitSCRIPT2 NOW:
    whenever sqlerror exit sql.sqlcode rollback
    SET ARRAYSIZE 5000
    SET COPYCOMMIT 20
    set linesize 4000
    COPY FROM {username}/{pswd}@{DB2}  TO {username}/{pswd}@{DB2}
    CREATE SL_DTC_TMP USING SELECT DISTINCT
    col1, col2, col3
    FROM dual
    WHERE veh_data_elements_cd = 'ODO_READ'
    and       dh.data_collected_timstm >=
    12-AUG-11
    and       substr(vdh.vin,10,1) in ('A','B','C','D')
    spool off
    exitSCRIPT2 HOW IT NEEDS TO BE:
    --- A [SPACE] AND A [-] at the end of each line
    --- THE DATE NEEDS TO HAVE SINGLE QUOTES AND PREFERABLY AT THE END OF THE PREVIOUS LINE
    whenever sqlerror exit sql.sqlcode rollback
    SET ARRAYSIZE 5000
    SET COPYCOMMIT 20
    set linesize 4000
    COPY FROM {username}/{pswd}@{DB2}  TO {username}/{pswd}@{DB2} -
    CREATE SL_DTC_TMP USING SELECT DISTINCT -
    col1, col2, col3 -
    FROM dual -
    WHERE veh_data_elements_cd = 'ODO_READ' -
    and       dh.data_collected_timstm >= '12-AUG-11' -
    and       substr(vdh.vin,10,1) in ('A','B','C','D')
    spool off
    exitTHANK YOU

    Try
    select 'whenever sqlerror exit sql.sqlcode rollback'                    ||chr(10)||
           'SET ARRAYSIZE 5000'                                             ||chr(10)||
           'SET COPYCOMMIT 20'                                              ||chr(10)||
           'set linesize 4000'                                              ||chr(10)||
           ' '                                                              ||chr(10)||
           'COPY FROM {username}/{pswd}@{DB2}  TO {username}/{pswd}@{DB2} -'||chr(10)||
           'CREATE SL_DTC_TMP USING SELECT DISTINCT -'                      ||chr(10)||
           'col1, col2, col3 -'                                             ||chr(10)||
           'FROM dual -'                                                    ||chr(10)||
           'WHERE veh_data_elements_cd = ''ODO_READ'' -'                    ||chr(10)||
           'and       dh.data_collected_timstm >= ''12-AUG-11'' -'          ||chr(10)||
           'and       substr(vdh.vin,10,1) in (''A'',''B'',''C'',''D'')'
           as Script
    from dual

  • How do I reference a dynamically created MovieClip from another MovieClip?

    Hi,
    I'd be grateful for any pointers to the following problem:
         I'm having trouble referencing dynamically created MovieClips (links in a side panel on a Flash website, created from an XML file) from the current MovieClip (the currently selected link).
         I wish to freeze the the link/MovieClip in its mouseOver state once it has been clicked - this part works. When a new link/MovieClip is clicked on, I wish to release the previously clicked-on link from its mouseOver state, which is what I've so far been unable to do.
         My problem seems to be referencing the previous link/MoveClip. I've used the trace statement trace(MovieClip(this).name) to determine that the MovieClips are named item0, item1, item2 and so on. However, I've been unable thus far to reference the previous clip thus far. I've tried to trace the route to the MovieClip from the stage, and also tried MovieClip(parent).item0.gotoAndStop and lots of other different permutations, but to no avail. It's the fact they seem to be in a container called 'panel' which is defeating me.
         Here's a live version I've uploaded, which might explain the problem better. Click on "UBER UNS" in the top menu bar to get to the page in question. It's the links on the left-hand side (Historie, Unser Team, etc.) which are the problem. You'll see that once they've been clicked on they remain in their mouseOver state.
         This is the code in question on the fla file, which is a file I did not create myself. The parts in black work fine; it's the red parts where the problem lies:
    import flash.display.MovieClip;
    panel.buttonMode = true;
    var lang:uint = 1;
    var url_Link:String=MovieClip(root).program.websiteXML .language[lang].pages.titlePage[MovieClip(root).program.linkPage].texts.pageList.txt[numT XT].@link;
    var urlPage:Number=Number(MovieClip(root).program.webs iteXML.language[lang].pages.titlePage[MovieClip(root).program.linkPage].texts.pageList.tx t[numTXT].@linkPage);
    var request:URLRequest;
    var linkIndex:uint;
    var lastClickedLink:MovieClip;   //This is supposed to store the last link that has been clicked - it doesn't work
    panel.addEventListener(MouseEvent.CLICK, clicLink);
    panel.addEventListener(MouseEvent.ROLL_OVER, mouseOverLink);
    panel.addEventListener(MouseEvent.ROLL_OUT, mouseOutLink);
    function mouseOverLink(event:MouseEvent):void {
          MovieClip(this).gotoAndPlay('s1');
    function mouseOutLink(event:MouseEvent):void {
          if(numTXT !== (linkIndex - 1)/5){         //freezes mouseOver state if this is the link for the current page
               MovieClip(this).gotoAndPlay('s2');
    function clicLink(event:MouseEvent):void {
          var linkpage:uint = MovieClip(root).program.linkPage;
          if (url_Link) {
               request = new URLRequest(url_Link);
               navigateToURL(request);
          } else {
               linkIndex = numTXT * 5 + 1;
               if(linkpage == 1){
                   MovieClip(root).chPages.cont.page_about_mc.page3Tu  rner_mc.gotoAndStop([linkIndex]);
              } else if (linkpage == 2){
                   MovieClip(root).chPages.cont.page3_mc.page3Turner_  mc.gotoAndStop([linkIndex]);
         lastClickedLink.gotoAndPlay('s2');  // this is supposed to release the previous clicked-on link from it's mouseOver state - doesn't work
         lastClickedLink = MovieClip(this).name;    //this is supposed to set the new link as the last link clicked after the old one has been released from it's mouseOver state - doesn't work
    If anyone can help, that would be great.

    What you might be after for that line is to use:
    lastClickedLink = MovieClip(event.currentTarget);
    For what you show, the name property of an object is a String, so I would expect you to be getting an error regarding trying to get a String to act like a MovieClip when you try to tell it to gotoAndPlay('s2').

  • Create standby from another standby!

    Dear All,
    My database is 10gR2 and OS is Red Hat Enterprise Linux 4.
    I have an existing setup of primary database and standby database that is working fine.
    I want to add another standby database but i can only make changes to the existing stand by database, not want to disturb or restart primary database. I want to say i want to create a standby database for another standby database that is not in an open mode.
    I have tried my best to search the scenario on net but couldn't find any help. Please refer an article or document which can help me.
    Regards, Imran

    Handle:     misterimran
    Email:     misterimran
    Status Level:     Newbie
    Registered:     Jan 15, 2002
    Total Posts:     1,121
    Total Questions:      137 (119 unresolved)
    How much time will take to mark your questions as "ANSWERED"?

Maybe you are looking for