SCAT program for copying BOM from one material to another material??

Hi Gurus,
Tried creating SCAT program for copying BOM from one material to another material and founf that the copying function does not work.
Please advise??
Thank you.
Naveen.

HI Satish Ji,
We are using version 6.0.
We were able to create SCAT for creating new BOM but, for copying we are facing an issue.
Kindly advice.
Thank you.
Naveen.

Similar Messages

  • Java Program to copy file from one directory to another failing

    Hello All,
    Oracle Applications 12.1.3
    RDBMS: 11.2.0.30
    SQL*Plus: 10.1.0.5.0
    Java beginner here so help is much appreciated.  I'm have some java code that I'm using to copy a file from one directory to another in an Oracle Applications Server.  I notice that when moving to a new instnace I started to get file not found errors.  I think it's because of the directory.  My question is, does the directory in which I trying to pick up the file have to be a DBA_DIRECTORY, or a UTL_FILE directory in order for the java to find the file and move it?
    Here is my code...
    CREATE OR REPLACE AND COMPILE JAVA SOURCE NAMED "COPY_FILE_JVS" AS
    import java.io.*;
    public class COPY_FILE_JVC{
      public static void copy(String SourceFile, String DestDir) {
        File source = new File(SourceFile);
        File dest = new File(DestDir);
        File cpDestFile = null;
        try {
          if (dest.isDirectory()) {
              if(source.isFile()) {
                System.out.println("File name = " + source.getName());
                System.out.println("File name dest = " + dest.getPath() );
                System.out.println("File name cpDestFile = " + dest.getPath() + File.separator + source.getName());
                cpDestFile = new File(dest.getPath() + File.separator + source.getName());
              else {
                System.out.println("Directory or File Not Found");
                return;
          BufferedInputStream  br = new BufferedInputStream (new FileInputStream (source));
          BufferedOutputStream  bw = new BufferedOutputStream (new FileOutputStream (cpDestFile));
          int read = 0;
          while((read = br.read()) != -1) {
            //System.out.println((char)read);
            bw.write(read);
          br.close();
          bw.close();
        catch (FileNotFoundException e) {
        e.printStackTrace();
        catch (IOException e) {
        e.printStackTrace();

    I get these messages when calling the java from SQL Plus as follows...
    serveroutput on size 100000;
    dbms_java.set_output(1000000);
    MY_PKG.CopyFile('/home/my_user/set_env.sh','/interface/home'); (this is call to oracle pl/sql package which calls the java.)
    PL/SQL procedure successfully completed.
    Directory or File Not Found
    PL/SQL procedure successfully completed.
    If I change the directory from /home/my_user/ to any directory that is defined in DBA_DIRECTORIES or is a UTL_FILE directory to program works.  Is it perhaps because the java is in a PL/SQL package as seen below?  The PL/SQL program runs as the APPS user and I have issued the following the command grant JAVASYSPRIV to APPS.
    Here is the PL/SQL Package....
    CREATE OR REPLACE PACKAGE BOLINF.MY_PKG AUTHID CURRENT_USER AS
    CopyFile(p_SourceFile IN VARCHAR2, p_DestDir IN VARCHAR2);
    +++++++++++++++++++++++++++++
    CREATE OR REPLACE PACKAGE BODY BOLINF.MY_PKG  is
    CopyFile(p_SourceFile IN VARCHAR2, p_DestDir IN VARCHAR2)
    AS LANGUAGE JAVA NAME 'COPY_FILE_JVC.copy(java.lang.String, java.lang.String)';

  • How to Copy BoM from one organization to another Organization

    Hi We are using Oracle EBS 11i, we are having problem that when one of our finished Product moved from one org to another we are not be able to copy and we have to do manually enetr each line of BoM in new Org,
    Any one can help me to find out the solution which will help us to copy one BoM from Orag 1 to Org 2.
    Regards
    Umair

    Hi Umair,
    While using the copy option, go to the org where bill is not present.
    Enter the Parent Item in the header and go to tools--> copy bill from
    There you can select the org from which bill needs to be copied.
    Also make sure your responsibility has organization access to those inventory orgs.
    Thanks
    -Arif.

  • Program for transferring amount from one GL to another based on due date.

    Hi
    There is one requirement to show customers in differnt way (i.e. dues less than 6months seperately and more than 6 months seperately).
    I have created one GL (customers due less than 6 months)
    Now all balances are in one GL account i.e. customer due more than 6 monhts)
    So is there any program which will transfer all the amount for due less than six months from one GL to other GL.
    I also need such program for items (like prepaid accounts) which are entered directly into GL accounts.
    Edited by: Meenu_ND on Dec 23, 2010 5:01 PM

    Hi,
    Yes there is one functionality available that is Reclassification or sorting of Receivables and payables. The tcode is FAGLF101 - Sorting/Reclassification (New), for this you need to do some configuration settings. The navigation path is New gl- periodic processing-Reclassify-Transfer and sort receivables & payables.
    Regards,
    Azeem

  • Best approach for copying DB from one system to another

    I have Oracle 9i Enterprise running on a UNIX box with a large database upon it (well, 3 - 2 test databases).
    I want to recreate one of the databases in Personal Oracle on a Windows machine, again 9i.
    I have managed to export the database into DMP files which I ZIPped up to keep them small.
    I have also managed to install Oracle 9i Personal edition on the Windows machine.
    But how do I import the data? I mean, do I have to recreate the database, tablespaces, etc exactly, can this be done by extracting the scemea and making a script? There must be a "recommended" path!
    Many thanks

    I would not use
    Full=Y
    in this case, you have different edition of Oracle on different platform.
    It will be better to identify your previous schema holder and use
    fromuser=old_schema_user touser=new_schema_user
    approach

  • How to copy documents for InfoProvider data from one cube to another cube

    Hello Everyone,
    We are using standard document feature to store document/comment about the data shown in the report/planning query. Relevant characteristics have the property 'characteristics is document attrib' turned on/selected for this purpose.
    Looks like the documents created gets tagged to a particular InfoProvider along with characteristic value assignment.
    Is there a way to move or copy documents from one InfoProvider to another InfoProvider.
    As per the design requirement, we need to move data from a real time InfoProvider (transaction cube) to a basic reporting cube. The data in the first/source cube stays for a period of approx 3 months before moved to other cube. We want the documents associated with InfoProvider data also to be moved, so that users can continue to see the document/comments what they  had created earlier.  
    I looked at the Documents tab in DataWarehouse workbench. No options seem to be available to copy or move documents.
    Any help will be highly appreciated and points will be rewarded accordingly!
    Best regards,
    Sanjeeb

    Hi
    Have you got any answer to this? I would also be interested in a copy function but more from one query ID to another.
    Kind regards,
    Daniel Müller

  • Can I copy clips from one project to another?  The clips are still frames captured within a video event.

    Can I copy clips from one project to another?  The clips are frames saved as stills from a video event.  I try the copy & paste but it does not seem to work.

    The video was converted into MP4 and then I could get it into iMovie events.  I had right clicked and saved farmes as stills.  ABout 50 of them,  When I tried to copy and paste those stills into another project I couldn't. They came up blank.
    I ended up going to a Genius appointment at my APPLE store this afternoon and was told that those "stills" aren't really anything. Not a .jpg or video, so the program doesn't recognize them.  So instead I'm using the Project with the 50 stills and copying other .jpgs and video into it.  (This is for a 1961 Class Reunion, so it's old stuff).  Seems to work so far.
    So bottom line seems to be I can use these stills created from a video in the project in which they were created, but no where else.  Do you know a way around this?

  • Copying value from one cursor to another

    Hi,
    I have a problem while copying values from one cursor to another cursor.
    The code looks like below.
    PROCEDURE XYZ
                TransactionResultSet OUT NOCOPY types.ref_cursor,
    IS
                temp_cursor types.ref_cursor;
                wip_rec types.ref_cursor;
    BEGIN
    DECLARE
                    CURSOR temp_cursor IS
                SELECT ...........
    END;
    BEGIN     
        FOR wip_rec IN temp_cursor
        LOOP
        update tinsagr set something
        where {the condition}
            IF SQL%ROWCOUNT = 0 THEN
      dbms_output.put_line('this is test ');
            Fetch wip_rec into TransactionResultSet;
         END IF;
       END LOOP;so basically i want to iterate the "temp_cursor" and depending on the values i get it from here i shall update a table. Actually i want to exclude few records from "temp_cursor" and add it/copy rest of the records to "TransactionResultSet"
    That means say initially " temp_cursor" has 100 records and i updated 5 records in a table and same number of records should be excluded and rest should be added to the output cursor TransactionResultSet.
    How do i achieve it?
    while saving i am getting
    (1): PLS-00456: item 'WIP_REC' is not a cursor.
    Do any one has any idea what to do in such scenario?

    There are options like....
    SQL> CREATE OR REPLACE TYPE emp_obj AS OBJECT (ename VARCHAR2(50), dept NUMBER);
      2  /
    Type created.
    SQL> CREATE OR REPLACE TYPE emp_tbl IS TABLE OF emp_obj;
      2  /
    Type created.
    SQL> set serverou on
    SP2-0158: unknown SET option "serverou"
    SQL> set serverout on
    SQL> DECLARE
      2    rc      sys_refcursor;
      3    v_ename emp.ename%TYPE;
      4    v_dept  emp.deptno%TYPE;
      5    ---End Of Local Varriable Declaration
      6    --Procedire declaration !
      7    PROCEDURE TEST_CUR(pi_out_ref_cur IN OUT sys_refcursor) IS
      8      emp_rec emp_tbl;
      9    BEGIN
    10      /* This BULK COLLECT can be done with explicit cursor,Ref Cursor
    11      with some simple modification, Here I have used implicit cursor! */
    12      SELECT emp_obj(ename, deptno) --Casting as the object
    13      BULK COLLECT
    14        INTO emp_rec
    15        FROM emp
    16       WHERE deptno = 10;
    17   
    18      dbms_output.put_line('Records selected are:');
    19      FOR i in 1 .. emp_rec.COUNT LOOP
    20        dbms_output.put_line(emp_rec(i).ename || '--' || emp_rec(i).dept);
    21      END LOOP;
    22      --Now we are filtering the record and may be doing some operation with each record.
    23      FOR i in 1 .. emp_rec.COUNT LOOP
    24        IF emp_rec(i).ename = 'KING' THEN
    25          --You can change this IF according to your need.
    26          emp_rec.DELETE(i);
    27        END IF;
    28      END LOOP;
    29      OPEN pi_out_ref_cur FOR
    30        SELECT * FROM TABLE(emp_rec); --Using the TYPE AS table.
    31    END TEST_CUR;
    32    /* Main execution or procedure calling section*/
    33  BEGIN
    34    --Actual calling
    35    TEST_CUR(rc);
    36    dbms_output.new_line;
    37    dbms_output.put_line('Now in Ref Cursor');
    38    dbms_output.put_line('****************');
    39    LOOP
    40      FETCH rc
    41        INTO v_ename, v_dept;
    42      dbms_output.put_line(v_ename || '--' || v_dept);
    43      EXIT WHEN rc%NOTFOUND;
    44    END LOOP;
    45 
    46  END;
    47  /
    Records selected are:
    CLARK--10
    KING--10
    MILLER--10
    Now in Ref Cursor
    CLARK--10
    MILLER--10
    MILLER--10
    PL/SQL procedure successfully completed.
    SQL>

  • Copying photos from one computer to another, with descriptions

    After editing photo descriptions and locations in iPhoto, it is desireable to be able to copy them to iPhoto on another computer, with the associated photo descriptions and locations.  In principle, this is possible by selecting all desired photos, then selecting File -> Export...  In the Export dialog box, in the "File Export" tab, select "Include: Titles and keywords", and "Include: Location information".  Copy the exported files to the other computer, and do a File -> Import to Library ...
    In practice, this works fine with images taken by some cameras, and not with images from others.  In my limited experience with a Fuji F80EXR and a Canon SX230HS, the above work flow works with the Fuji.  But, with the Canon, while the exported files clearly have the description data embedded in them (as seen by GraphicConverter), it is not imported into iPhoto, nor is it visible in Preview's Inspector.  The workaround I use is to run an exiftool command on the exported files.
    Exiftool is a command line utility that can read and write meta data in image files:
    http://owl.phy.queensu.ca/~phil/exiftool/
    I run the following command on the exported files to rewrite the IPTC Caption:
    exiftool −overwrite_original_in_place -tagsfromfile %f.jpg -ext jpg -"IPTC:Caption-Abstract>IPTC:Caption-Abstract" *.jpg
    Note that the above command overwrites the files that were exported from iPhoto.  If you wish to leave the original files intact, with an "_original" appended to the file name, run:
    exiftool -tagsfromfile %f.jpg -ext jpg -"IPTC:Caption-Abstract>IPTC:Caption-Abstract" *.jpg
    I'm not sure why it is necessary to copy and rewrite that data.  Perhaps there is something strange in the format of the meta data in the file as it comes from the camera, and the iPhoto export does not correct this strangeness. Copying and rewriting the data by exiftool seems to put things right.
    The above works for me, but is somewhat unwieldy.  Is there a better way to copy photos from one computer to another, if iPhoto refuses to import the description data that it was written to the exported files?

    Thanks for the pointer.  I did a test with 10 images, and confirmed the iPLM works, even with the problematic images from my Canon SX230HS.
    The workflow is to use iPLM to create a new Library on the computer that has the photos you want to copy.  Copy the photos to the new Library.  Copy the new Library to the second computer using a method of your choice (file sharing, USB flash drive, etc).  Copy the photos from the new Library to the existing iPhoto Library.
    iPLM costs $20, whereas my original solution was free (but you need to invest the time to get exiftool installed and working).  But, unlike exiftools, iPLM also copies over the Faces information, so it is likely a worthwhile investment if you use that feature. 

  • Is there a way to copy attributes from one composition to another?

    I'm using After Effects 7.0
    I'd like to copy the same Zoom attributes from one composition to 30 photographs.
    In Final Cut, you can copy attributes from one clip to another. Or from one still photo to another.
    Is there a way to do that in AE 7?
    Thanx
    Mike

    EDIT: I see you edited your question, so I am editing my reply.
    To copy the scale of a layer, open the main twirl of that layer and you'll see the Transform properties group. Open the twirl for that, and you'll see Anchor Point, Position, Scale, etc. Click on "Scale" and copy it (Edit > Copy, or Control+C on Windows/Command+C on Mac). Then select the other layers and just paste (Edit > Paste, or Control+C on Win/Command+V on Mac).
    Such a broad question
    Anytime you add a new item you imported to the timeline or composition panels, it becomes a new layer.
    Anytime you duplicate an existing layer (Edit > Duplicate), you get a new layer.
    Anytime you split a layer (Edit > Split) you get a new layer.
    Anytime you copy a whole layer (target the name in the timeline panel) and paste it, you get a new layer.
    You also create layers when you use the Shape tools, text tools, or create a new solid layer, etc.
    This list could go on and on, so instead, I invite you to read the After Effects Help section on Creating layers specifically, and the whole chapter on Layers and properties, in general. If anything isn't clear for you, then let us know.

  • Can Pages copy text from one page to another automatically?

    Can Pages automatically copy text from one page to another?
    For example recurring text in a document e.g. addressee details or a date (not today's date).
    I want to type the topic title of one letter and have it automatically filled into the correct field in the next page which will be a letter to a different recipient.
    The letter text will be different for each recipient so mail merge probably won't work.
    Thanks
    Andy

    Thanks that worked great!!!(for the first line)
    Now why wont it populate more than the one other text field?
    F.Lic.Table1.Row1.agt_ssn_lic.rawValue = xfa.event.newText;
    F.PAGE3.agt_ssn_1.rawValue = xfa.event.newText;
    F.PAGE4.agt_ssn_2.rawValue = xfa.event.newText;

  • Copy Text from one quote to another

    Hi
    I need to copy text/notes related to one quotation to another.. I tried FM SAVE_TEXT and CRM_TEXT_MAINTAIN_OW but neither of it worked...
    Can anyone help me with this ?

    Hi Ashwineee,
    U can copy text from one quote to another by customizing also
    Just Check the settings of your text type in the text determination procedure.
    Select ur  text type and click on details u will find the text id description sequence and
    Transfer  field u have various options  u select the option "B" for ur text type .
    U can take reference of the  Standard Text determination Procedure "ORDER001"  for doing the same
    for your text determination Procedure
    Menu Path--
    Crm-Basic Functions- Text Management-Define Text Determination Procedure - select the Object --
    example for CRM_ORDERH and click on Procedure and select ur text determination procedure --     
    Select  Definition of Procedure that gives u details of  your   text type  and  its  options
    Hope it will Resolve ur problem
    Regards
    Pavan.A

  • Copy query from one InfoProvider to another InfoProvider...

    Thank you in advance for your response and help...have a good day......
    Have a query that I  want to use with another InfoProvider.  What are the possible TC's to do the copy or the best way to duplicate the query?
    Than You Jim

    Hi Jim,
    Hi,
    For copying queries from one cube to the another use Tcode :RSZC.
    It asks for target infoprovider and source infoprovider..
    You can copy queries between two cubes only in the case where both these cubes are exactly the same. The cube to which you want to copy the queries may have some additional info objects than the original. But it must have all the info objects of the original one.
    Hope  this helps,
    Sudhakar.

  • Copy Query from one cube to another

    Hi ,
    Where can i do copy query from one to another cube
    Thanks
    Gururaj

    Hi,
    For copying queries from one cube to the another use Tcode :RSZC.
    If you have RKF and CKF in the queries,
    then only  those RKF's and CKF's which are used in the query will be copied(Only those which you use in the structure).
    One more important all the keyfigures will be copied with Technical name as _1 at the end.
    i.e: if you have a KF called AVERAGE with Techname as <b>OSD_AVG</b> then this will be copied as <b>OSD_AVG_1</b>.Meaning you cannot define your own Tech names.
    Thanks,
    Uma Srinivasa Rao.

  • T code to Copy Data from one table to another table

    Hi,
    I want copy all data of one table to its copy table. Anyone knows transaction code to copy data from one table to another table.
    Regards,
    Jigar Thakkar.

    Hi
    Create a small program.
    Extract data from T1 - database table and put it in one internal table - itab1.
    loop the itab1 data .............
        insert itab1 into tab2.   (tab2 - second database table)
    endloop.
    try this....
    hope it works....

Maybe you are looking for

  • How to view instagram download in itunes

    how to view instagram download in itunes

  • How to - Extract data from Cloud For Customer into SAP HANA system

    Hello Community, I have a requirement for extracting the existing data from Cloud for Customer into separate SAP HANA Box. Is it possible to achieve the same ? If yes, Please guide me for the same. Awaiting quick response. Regards Kumar

  • Flash Player Not Found in IE9 or 10

    Hi, I have been having an annoying problem lately. I recently got addicted to Facebook Casino games. About a month ago I started to have an issue with Internet Explorer 9 and Adobe Flash Player. While playing or trying to load the game, Flash Player

  • IPhoto 11 Ignore Faces keyboard shortcut

    Hi everyone,      I am using iPhoto 11 for the first time.  I'm sorting through tons of faces using the Library -> Faces -> Find Faces feature.  I like the ease with which I can start labeling the people in my pictures.  I have one question though, a

  • Slowly dieing

    My machine has seemed to be slowly dying for the past two months. It is one of the first lime green clamshells they sold. I have just ordered more ram (it has a 256 now / I ordered a 512). But it has about 1/2 of the 256 still free. Everything just k