Copying one material attributes to another material thro' FM or BAPI

Hi,
My requirement is :
To copy a material attributes from one material(old) to an another material(new). Can anybody suggest a FM or BAPI for this?
Thanks,
Kaarthick

Hi,
These answers never helped me. I can reformat my quesion : Pls. suggest a BAPI/RFC/FM used to create a new material with reference to an old material.
Hope this is understandable one.
Thanks,
Kaarthick

Similar Messages

  • Free Goods from One Material Group to Another Material Group

    Salute Masters!! 
    I need your valuble suggestion, please provide.
    I need to configure Free Goods of Material Group to Material Group.
    User want:
    1) Free Goods from one Material Group to another Material Group, like F010 to F040
    2) User should have option to change from one Material Group to Other Material Group, which He / She want, like F010 or F020, F030, F040 any one of them.
    Suppose;
    Line Item Material Belongs to One Group Quantity in Gallons Free Goods from Any Material Group Quantity in Gallons
          1            A                                              3                                    F010                                             4
          2            B                                              3                                     F020
          3            C                                              4                                     F040
    Any No. of Line Item Any No. of Material
                                       from One Group      Total 10                   From Any Material Group
    (Comprising of 3-4 Different Material from 1 Group, they should be able to choose/provide Free Goods from other Material Group)
    3) While creating Sales Order what Quantity (Gallons/No./Ltr) to be put?
    How I can configure this scenario?
    Please suggest, is it  possible through KEY COMBINATION?
    Rgds.
    Srivastav
    +91 7829755109
    Skype ID: sanjai.srivastav1

    Hi,
    if you want to give free goods from other group it can be possible only for EXCLUSIVE free good type
    In exclusive free goods, a material different from the orignal material can be specified as the free goods.
    Example: A customer who buys 200 crates of beer, gets 5 boxes of glasses free.
    In VBN1 >> Exclusive
    See column ADD FREE MATERIAL
    While creating Sales Order what Quantity (Gallons/No./Ltr) to be put?
    Maintain alternative units in material master >> Additional data >> Material master,BUT it is only main item
    Those item u want to give free that items unit is derived from free goods condition record and it CANNOT be change in order

  • In freegoods if one material is purchased another material is given free

    Hi Gurus
    In  freegoods if one material is purchased another material is given free if the free good is not available i mean stock not available the free good should be replaced with another material
    ex:  customer wants to buy pencil he should get rubber if rubber is not there i mean no stock  shopner has to come

    hi,
    i guess its not possible in standard sap. In VBN1 we have different delivery controls where you can deliver the main item without free, or only free item, or if main item partially delivered then also give the free item, like that. But you cannot replace the free item if stock not available with some thing else.
    i guess doing material determination for the free item also does not help in this case. Since free goods functionality cannot include items with material determinatin.
    open to more ideas.
    regards
    sadhu kishore

  • Transfer material stock into another material

    hi
    I want to transfer the stock of one material into a new material,
    Is it possible? if yes then how? and is there any financial effect.
    thanks
    Pankaj Garg

    Hi Garg ,
    Transfer posting is done through MB1B T.Code which requires the necessary movement tyep
    Transferring the material stock into another Material uses the mvt type 309
    The quantity is posted from unrestricted-use stock of the issuing material into unrestricted-use stock in the receiving material
    Prerequisite: both materials have the same stockkeeping unit.
    Possible special stock indicators: E, O, Q, V, W 
    Hope this helps you out
    If found useful award accordingly
    Thanks & Regards
    Pavan

  • Copy one text file to another text file and delete last line

    Hi all wonder if someone can help, i want to be able to copy one text file to another text file and remove the last line of the first text file. So currently i have this method:
    Writer output = null;
             File file = new File("playerData.xml");
             try {
                   output = new BufferedWriter(new FileWriter(file, true));
                   output.write("\t" + "<player>" + "\n");
                   output.write("\t" + "\t" + "<playerName>" + playerName + "</playerName>" + "\n");
                   output.write("\t" + "\t" + "<playerScore>" + pointCount + "</playerScore>" + "\n");
                   output.write("\t" + "\t" + "<playerTime>" + minutes + " minutes " + seconds + " seconds" + "</playerTime>" + "\n");
                   output.write("\t" + "</player>" + "\n");
                   output.write("</indianaTuxPlayer>" + "\n");
                  output.close();
                  System.out.println("Player data saved!");
             catch (IOException e) {
                   e.printStackTrace();
              }However each time the method is run i get the "</indianaTuxPlayer>" line repeated, now when i come to read this in as a java file i get errors becuase its not well formed. So my idea is to copy the original file, remove the last line of that file, so the </indianaTuxPlayer> line and then add this to a new file with the next data saved in it. So i would end up with something like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <indianaTuxPlayers>
         <player>
              <playerName>Default Player</playerName>
              <playerScore>0</playerScore>
              <playerTime>null minutes null seconds</playerTime>
         </player>
         <player>
              <playerName>Default Player</playerName>
              <playerScore>0</playerScore>
              <playerTime>null minutes null seconds</playerTime>
         </player>
         <player>
              <playerName>Default Player</playerName>
              <playerScore>0</playerScore>
              <playerTime>null minutes null seconds</playerTime>
         </player>
    </indianaTuxPlayers>
    However after all day searching the internet and trying ways, i have been unable to get anything working, could anyone give me a hand please?

    I would go the XML route too, but for fun, open a file as a BufferedWriter and do this:
    void copyAllButLastLine(File src, BufferedWriter tgt) throws IOException {
        BufferedReader in = new BufferedReader(new FileReader(src));
        try {
            String previous= in.readLine();
            for (String current = null; (current = in.readLine()) != null; previous=current) {
                tgt.write(previous);
                tgt.newLine();
        } finally {
            in.close();
    }

  • How to shift valuation class from one material type to another material type ?

    I have came across following weird scenario:
    We already created huge no.of materials of material type say ZABC with two valuation classes say 1100 and 1200(GL accounts for these VCs for different posting keys in OBYC settings are same). Account category reference for this material type is 0010.
    After that we created new material type say ZPQR  with new Account category reference 0025, and valuation class 1200 is linked with this ACR 0025. Because of this, valuation class 1200 disappeared from material type ZABC. In order to avoid inconsistency, we need to have valuation class 1200 linked with older material type i.e.ZABC.How we can do this ? What impacts must have happened in this period (from MM/FI) in the system, where valuation class get shifted from one material type(ZABC) to another material type(ZPQR)....please help us in this scenario.

    Thanks Sana,
    We are also looking for the solution provided by you i.e. reassign ACR 0010 to Valuation class 1200.
    Your are also correct in terms of  statement "config doesnt allow me to assign same valuation class to 2 different AREF (Account reference number/Account category reference).
    I wanted to know, what are the possible impacts in the system during this re-assignment of ACR to old material type ZABC.
    Regards,
    Sudarshan.

  • Copying One Plan Version to Another Plan Version

    Hi Experts,
    When  I am copying one plan version to target plan version by using the transaction RE_RHCOPL00,
    I am getting waring as the target version is not empty.
    I have checked the tables HRP1000,HRP1001 but no objects exists for the target planversion.
    Secondly I am getting waring also Number Assignment is not for all plan versions.
    My requirement is to copy 3 different plan version into one plan version.
    Thanks in Advance.
    Regards,
    IFF

    Archana,
    Thanx for the prompt the  response.
    My  concern is the  I have three different plan versions ( division wise) , I need to copy all the 3 plan version into one tranget plan version ( which is not active).
    But in Quality and Development system we have  table T77S0  with the entry 05 for the Numrg and Comp.
    Should I assign the same in prodution.
    I am sure that 3 different plan versions have unique numbers.Please advice what to do.
    Regards,
    IFF

  • How do i copy one external harddrive to another?

    Ok, so i am a complete newby to Mac's. I have a 1 TB External Hardrive that has about 180 movies on it. I also have an Apple TV. I would like to copy the movies from one external hard drive to another so that I can give it to my mother for a gift. I am not sure how to do this, can anyone help me?

    Connect both drives to your computer. Select the movies you want to copy from Drive A and drag them over to Drive B.
    If you need to clone Drive A to Drive B:
    Clone using Restore Option of Disk Utility
      1. Open Disk Utility in the Utilities folder.
      2. Select the destination volume from the left side list.
      3. Click on the Restore tab in the DU main window.
      4. Select the destination volume from the left side list and drag
           it to the Destination entry field.
      5. Select the source volume from the left side list and drag it to
          the Source entry field.
      6. Double-check you got it right, then click on the Restore button.
    Destination means Drive B. Source means Drive A.

  • How do I copy one NAS drive to another, incrementally?

    Hello - I have two 1tb Network Attached Storage devices on my Apple network.
    I'm unsure how to make one a backup copy of the other. Tools used for cloning the Macintosh HD to a backup device (like Carbon Copy, Super Duper, Time Machine, Apple backup etc.) don't seem to allow me to make a copy of a NAS drive on a second NAS drive.
    Does anyone have any ideas as to how I can do this please?
    David.

    Sorry to butt in, but could you explain this to me please. Typing rsync into the finder on my desktop finds no results. Is this a way of copying files without overwriting the files that are already the same?

  • Issue with customer exit for copying one variable value to another

    Hello Gurus,
    I need to copy the value of a single value variable into another single customer exit variable.
    I coded as below.
      WHEN 'customer_exit_var'.
        IF I_STEP = 2. "after the popup
          LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
          WHERE VNAM = 'user_input_Variable'.
            CLEAR L_S_RANGE.
            L_S_RANGE-LOW = LOC_VAR_RANGE-LOW.
            L_S_RANGE-HIGH = ''.
            L_S_RANGE-SIGN = 'I'.
            L_S_RANGE-OPT = 'EQ'.
            APPEND L_S_RANGE TO E_T_RANGE.
            EXIT.
          ENDLOOP.
        ENDIF.
    I used the condition <= for the customer exit variable in the report. But, it is considering only single value, but not all the values <= to the give value.
    Please help me in this regard,
    Thanks,
    Aarthi.

    Thanks for your immediate response Govind.
    My report is restricted based on two dates. Date1 and Date2. Need to consider all records whose dates are <= Date1 and <= Date2.
    Date1 and Date2 should have same values. But user inputs only Date1.
    So, I created Date1 as Single, User Input Variable restricted the query with <=Date1.
    Next I created Date2 as Single, Customer Exit Variable and restrcited the Query with <=Date2.
    In CMOD I used the above code to assigne Date1 Value to Date2.
    When I execute the report, say I give todays date in the report (Dec, 12, 2007). Date2  has to consider all the values <= Dec 12, 2007. But, in my case it is considering only Dec 12, 2007, but not the before dates.
    So, Please help me in solving this problem.
    Thanks,
    Aarthi.

  • Copy one cube data into another cube

    Dear SDN's,
                          Can anyone tell me how can i load the data from one cube to another cube request by request.. Like,  I need all the requests available in first cube should appear in the new cube which i want to load the data.. How can i do this..Kindly advice me...
    Answering getz appreciated,
    Warm Regards,
    Aluri

    Hi Aluri,
    Well you want it request by request.
    That does not make it easy.
    The only thing I can think of is to
    - empty the source cube,
    - reconstruct the first request,
    - do an init to the new cube,
    - reconstruct the next request,
    - do a delta,
    etc.
    but, depending to the number of requests this is a lot of work.
    Udo

  • How to copy one account preferences into another account on the same mac?

    I would like to open a new account (on the same mac) but would like to copy some preferences including software from the existing account. How can I do that?
    Thanks

    To copy files from Account A to Account B:
    1. Log in as A.
    2. Find the files you wish to copy.
    3. Move them to /Users/A/Public. Don't move your actual Documents, Pictures, Library etc folders. Just move their contents.
    4. Log in as B.
    5. Navigate with Finder to /Users/A/Public.
    6. Drag the files to the desktop to make new copies of them.
    7. Put the files away in the appropriate places in B's home folder.
    8. Log back in as A and move the files in /Users/A/Public back to their original locations.

  • Prob. to Copy one clt data to another clt with SCC1 for standard WF Task

    Hi All,
    I have created a business object for event driven pickslip for goods movement. With that business object I have attached a standard workflow task. This object linked with output type custom output type'Z001'.
    With a subroutine it triggers workflow task.
    I want to move this standard task from clt 400 to clt 440 with t-code SCC1, but I am getting below error:
    *Copy Tables from a Client*
    *Table                 Ins.     Del.     Upd. Func.  kByte  Time[sec] Time*
    *Log -> See Transaction SCC3*
    *Table T78NR is not client-specific*
    *Error in object R3TR1 HRNR2  3*
    *Table HRS1000 is not client-specific*
    *Table HRS1002 is not client-specific*
    *Table HRS1203 is not client-specific*
    *Table HRS1210 is not client-specific*
    *Table HRS1211 is not client-specific*
    *Table HRSCONT is not client-specific*
    *Table HRSOBJECT is not client-specific*
    *Error in object R3TR1 PDAC2  3*
    *Table HRS1000 is not client-specific*
    *Table HRS1002 is not client-specific*
    *Table HRS1200 is not client-specific*
    *Table HRS1201 is not client-specific*
    *Table HRS1202 is not client-specific*
    *Table HRS1206 is not client-specific*
    *Table HRS1210 is not client-specific*
    *Table HRS1211 is not client-specific*
    *Table HRS1212 is not client-specific*
    *Table HRS1213 is not client-specific*
    *Table HRS1214 is not client-specific*
    *Table HRS1216 is not client-specific*
    *Table HRS1220 is not client-specific*
    *Table HRS1221 is not client-specific*
    *Table HRSCONT is not client-specific*
    *Table HRSOBJECT is not client-specific*
    *Error in object R3TR1 PDTS2  3*
    *Table SWOT21 is not client-specific*
    *Table SWOTDI is not client-specific*
    *Table SWOTDQ is not client-specific*
    *Table SWOTDV is not client-specific*
    *Table SWOTOL is not client-specific*
    *Table SWOTTQ is not client-specific*
    *Table SWOTTV is not client-specific*
    *Table TOJTB is not client-specific*
    *Table TOJTT is not client-specific*
    *Error in object R3TR1 SOBJ2  3*
    *Table TDDAT is not client-specific*
    *Table TVDIR is not client-specific*
    *Selected tables           :             42*
    *Processed tables          :              4*
    *Storage required (KB) :              0*
    *Program ran successfully*
    *Runtime (seconds)         :              5*
    *End of processing: 15:42:15*
    Could you please guide me how to remove these errors.
    Thanks in Advance,
    Guri

    Make sure that you are trying to copy the customizing  request rather than the work bench, because when ever you create a rule or task it will prompt you for the workbench request rather that customizing request so i think there is no necessary of the client copying .

  • Copying one external drive to another

    So I have an aging 350gb external drive that is formatted as Mac OS Extended (Journaled).    I want to copy the entire contents to a new external drive that I've been using as my time machine (although not to back up the external drive).   It is formatted as Mac OS Extended (Case-sensitive, Journaled).   I've been reading these forums and there doesn't seem to be a easy or straightforward way.
    Or is there ?  !    Any help as always is appreciated.

    AFAIK, there isn't. BTW, why is the TM disk case-sensitive? For TM things, peruse Pondini's TM FAQs.

  • Material Transfer From one Material Type to another should not be possible

    Dear Gurus ,
                        I have a issue here i want to lock the transfer posting from one Material Type to Another Material Type . The point is the Transefr Posting Shuold happen from same Material Type  . So can anybody help me out that what should I do for the same

    Hi ,
            I tried for the same but its not working . I just kept a Break point in this exit . Tried to transfer from MB1B its not stopping at the Break Point Can U suggest as I am doing it from MB1B .
    Regards
    Shankar

Maybe you are looking for