Create line extension between two SPA-3102

I`m having problems to create a line extension between two SPA-3102
I have one SPA-3102 connected to an analog PBX system with IP 192.168.0.201, and the other SPA-3102 with analog phone and IP 192.168.0.200
I succesfully setup them to make a call from the first to the second
But I couldn`t setup them to make a call from the second (192.168.0.200) and give me the dialtone of the PBX connected to the first SPA-3102 (192.168.0.201).
I could setup a hot line on the second SPA-3102 (192.168.0.200) and call to 192.168.0.201, but it doesn`t take the line to hear the pstn dialtone.
I saw many answers about this problem, but no one resolve the problem, i have the latest firmware. please, anyone could help me and if it`s possible to work please send me all the configuration needed.
Thanks again

Hi Jeremy,
I have a similar problem, I have one PSTN line (say Line1) with free minutes to mobiles, so its good for outgoing calls. The other line (say Line2) which i have is acually VoIP but it comes with its own hardware (magicJack if you have heard) so I can't use a SIP client and have to use the supplied Hw client, but it does give me an option to connect any normal phone to this magicJack (i suppose that would make it a fxs port). Now this magicJack is cheap for other people to call me.
I want to find a solution so that all the calls I receive on Line2 get forwarded to my mobile number via Line1. And if I receive any calls on Line1 they should be treated normally (my home phone rings). Do you have some idea how I can achieve this with minimal spend? Thanx
Atif

Similar Messages

  • Unable to find line break between two lines in attachment file.

    Dear all I will be very great full if someone help me out,
    I am trying to send mail through SMTP server with an attachment of oracle report, but I am unable to find line break between two lines, when I down load the attachment from mail and open attach.txt file by double click on it. Next line starts right after previous line ends, it should starts with new line.
    In order to send an attachment file, I am reading source file line by line and put MIME protocol’s attachment instance, contain of source file is being properly written into target file if I open that attachment on cmd prompt.
    Following code may help you to understand the case.
    Thanks in advance.
    My code is as follows:-
    create or replace procedure bec_file_test
    v_subject varchar2, -- Subject of the email
    v_body varchar2, -- Body of the email
    v_from VARCHAR2 default 'XYZ.com', -- sender mail id
    v_to varchar2 default 'XYZ.com', -- Field To of the email
    v_cc varchar2 default 'XYZ.com' -- cc address
    ) is
    -- variable to hold the smtp server connection
    v_smtp_connection utl_smtp.connection;
    -- variable to hold the smtp host name
    v_smtp_host varchar2(100) default 'mail.bec-group.com';
    -- variable to hold the smtp port
    v_smtp_port number default 25;
    -- composite of {CR}{LF} caridge return and line feed.
    CRLF varchar2(2):=CHR(13)||CHR(10);
    cursor pr_rec is
    select requisition_no,line_no,release_no,a.contract,
    a.project_id,substr(a.activity_seq,1,11)ACT_SEQ,
    substr(a.part_no,1,12)PART_NO,
    substr(a.description,1,32)DESCRIPTION,
    substr(a.Bal_qty,1,8) BAL_QTY,
    substr(a.unit_meas,1,5)UOM,
    a.wanted_receipt_date WAN_REC_DT,
    a.latest_order_date LAT_ORD_DT
    from bec_pr_line_rep a
    where a.Bal_qty>0 and a.header_state not in 'Closed'
    and upper(a.state1) like 'RELEASED' and a.contract not in ('U1ENG','ULENG','U1FND','U2FND')
    and a.buyer_code='70306'
    order by a.part_no;
    begin
    declare
    fHandle UTL_FILE.FILE_TYPE;
    v_msg_line varchar2(2000);
    -- v_buffer varchar2(20000);
    --ALTER SYSTEM SET utl_file_dir = 'D:\Database\temp'
    --COMMENT='Temporary change on Dec 14'
    --SCOPE=SPFILE;
    SELECT name, value
    FROM gv$parameter
    WHERE name = 'utl_file_dir';
    --drop directory my_directory
    --CREATE or replace DIRECTORY my_directory AS 'D:\database\temp';
    --GRANT read,write ON DIRECTORY my_directory TO PUBLIC;
    begin ---writing data into a file.
    fHandle := UTL_FILE.FOPEN('MY_DIRECTORY', 'pending_pr_summry.txt', 'w');
    UTL_FILE.put_line(fHandle, ' Pending PR to process (detail report)');
    UTL_FILE.put_line(fHandle,TO_CHAR(SYSDATE,'MM-DD-YY HH:MI:SS AM'));
    UTL_FILE.put_line(fHandle, '--------------------------------------------------------------------------------------------------------------------------------------------------');
    UTL_FILE.put_line(fHandle, 'Req.no. li Re Site Prj Id Act seq Part no Description Qty UOM want rec dt lat ord dt' );
    UTL_FILE.put_line(fHandle, '--------------------------------------------------------------------------------------------------------------------------------------------------');
    for pr_temp in pr_rec loop
    begin
    v_msg_line:=to_char(rpad(pr_temp.requisition_no,12,' ')||'|'||
    lpad(pr_temp.line_no,3,' ')||'|'||
    lpad(pr_temp.release_no,3,' ')||'|'||
    rpad(pr_temp.contract,7,' ')||'|'||
    lpad(nvl(pr_temp.project_id,' '),7,' ')||'|'||
    lpad(nvl(pr_temp.act_seq,' '),12,' ')||'|'||
    lpad(pr_temp.part_no,12,' ')||'|'||
    rpad(pr_temp.description,35,' ')||'|'||
    lpad(pr_temp.bal_qty,10,' ')||'|'||
    rpad(pr_temp.uom,6,' ')||'|'||
    lpad(pr_temp.wan_rec_dt,14,' ')||'|'||
    lpad(pr_temp.lat_ord_dt,14,' '));
    UTL_FILE.put_line(fHandle,v_msg_line);
    end;
    end loop;
    UTL_FILE.put_line(fHandle, '--------------------------------------------------------------------------------------------------------------------------------------------------');
    UTL_FILE.put_line(fHandle, ' Regards : IFSAPP ( Application owner ) ');
    UTL_FILE.FCLOSE(fHandle); ------------writing into file is successfuly done here!
    --Reading of file starts here containt will be added in attchment file
    fHandle :=UTL_FILE.FOPEN('MY_DIRECTORY','pending_pr_summry.txt','R' );
    -- establish the connection to the smtp server
    v_smtp_connection := utl_smtp.open_connection(v_smtp_host, v_smtp_port); /** OPEN CONNECTION ON THE SERVER **/
    -- perform a handshake with the smtp server
    utl_smtp.helo(v_smtp_connection, v_smtp_host); /** DO THE INITIAL HAND SHAKE **/
    -- set the 'from' address of the message
    utl_smtp.mail(v_smtp_connection, v_from);
    -- add the recipient to the message
    utl_smtp.rcpt(v_smtp_connection, v_to);
    -- send the email
    utl_smtp.open_data(v_smtp_connection);
    v_msg_line:='Date: ' || TO_CHAR( SYSDATE, 'dd Mon yy hh24:mi:ss' ) || CRLF ||
    'From: ' || v_from || CRLF ||
    'Subject: ' || v_subject || CRLF ||
    'To: ' || v_to || CRLF ||
    'Cc: ' || v_cc || CRLF ||
    'MIME-Version: 1.0'|| CRLF || -- Use MIME mail standard
    'Content-Type: multipart/mixed;'||CRLF ||
    ' boundary="-----SECBOUND"'||CRLF||
    CRLF ||'-------SECBOUND'|| CRLF ||
    'Content-Type: text/plain;'|| CRLF ||
    'Content-Transfer_Encoding: 7bit'|| CRLF ||
    CRLF ||v_body|| CRLF;     -- Message body
    utl_smtp.write_data(v_smtp_connection,v_msg_line);
    v_msg_line:='-------SECBOUND'|| CRLF ||
    'Content-Type: application/octet-stream;'|| CRLF ||
    'Content-Type: text/plain;'|| CRLF ||
    'name="pending_pr_summry.txt"'|| CRLF ||
    'Content-Transfer_Encoding: 8bit'|| CRLF ||
    'Content-Disposition: attachment;'|| CRLF ||
    ' filename="pending_pr_summry.txt"'|| CRLF || CRLF;     -- Content of attachment
    utl_smtp.write_data(v_smtp_connection,v_msg_line);
    -- check file is opened
    IF utl_file.is_open(fHandle) THEN
    -- loop lines in the file
    LOOP
    BEGIN -- Content of attachment
    utl_file.get_line(fHandle,v_msg_line);
    v_msg_line:=concat(v_msg_line,CRLF);
    utl_smtp.write_data(v_smtp_connection,v_msg_line);
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    EXIT;
    END;
    END LOOP;
    END IF;
    --end of attachment containt     
    utl_smtp.write_data(v_smtp_connection,v_msg_line);
    UTL_FILE.FCLOSE(fHandle);
    utl_smtp.close_data(v_smtp_connection);
    utl_smtp.quit(v_smtp_connection);
    exception
    when utl_smtp.invalid_operation then
    dbms_output.put_line(' Invalid Operation in Mail attempt using UTL_SMTP.');
    when utl_smtp.transient_error then
    dbms_output.put_line(' Temporary e-mail issue - try again');
    when utl_smtp.permanent_error then
    dbms_output.put_line(' Permanent Error Encountered.');
    when others then
    dbms_output.put_line('Exception: SQLCODE=' || SQLCODE || ' SQLERRM=' || SQLERRM);
    RAISE;
    end;
    end bec_file_test;

    Pending PR to process (detail report)01-17-13 12:43:19 PM--------------------------------------------------------------------------------------------------------------------------------------------------Req.no. li Re Site Prj Id Act seq Part no Description Qty UOM want rec dt lat ord dt--------------------------------------------------------------------------------------------------------------------------------------------------MAT/250370 | 2| 1|ISCSP | 4977| 100004207| 0104000016|Angle 50 X 50 X 6 IS:2062 Grade |500|kg |30-NOV-2012| 20-nov-2012MAT/250370 | 3| 1|ISCSP | 4977| 100004207| 0105000002|Channel 100 X 50 IS:2062 Grade A | 1000|kg | 30-NOV-2012| 20-nov-2012MAT/250579 | 2| 1|NMDCJ | 6001| 100005580| 0109020002|TMT Bar 10 mm Fe 415 IS:1786 | 2991|kg | 13-DEC-2012| 03-dec-2012MAT/250606 | 2| |NMDCJ | 6002| 100005860| 0109020002|TMT Bar 10 mm Fe 415 IS:1786 | 4500|kg | 29-DEC-2012| 19-dec-2012MAT/250607 | |1|NMDCJ|6001|100005580| 0109020002|TMT Bar 10 mm Fe 415 IS:1786 | 1500|kg | 29-DEC-2012| 19-dec-2012MAT/250194 | 3| 1|NMDCJ | 6002| 100005818| 0109020002|TMT Bar 10 mm Fe 415 IS:1786 | 3939|kg | 29-DEC-2012| 19-dec-2012MAT/250606 | 4| 1|NMDCJ | 6002| 100005860| 0109020004|TMT Bar 16 mm Fe 415 IS:1786 | 39000|kg | 29-DEC-2012| 19-dec-2012MAT/250607 | 4| 1|NMDCJ | 6001| 100005580| 0109020004|TMT Bar 16 mm Fe 415 IS:1786 | 17500|kg | 29-DEC-2012| 19-dec-2012MAT/250194 | 2| 1|NMDCJ | 6002| 100005818| 0109020004|TMT Bar 16 mm Fe 415 IS:1786 | 12183|kg | 29-DEC-2012| 19-dec-2012MAT/250606 | 6| 1|NMDCJ | 6002| 100005860| 0109020006|TMT Bar 25 mm Fe 415 IS:1786 | 9500|kg | 29-DEC-2012| 19-dec-2012MAT/250607 | 6| 1|NMDCJ | 6001| 100005580| 0109020006|TMT Bar 25 mm Fe 415 IS:1786 | 4500|kg | 29-DEC-2012| 19-dec-2012MAT/250194 | 6| 1|NMDCJ | 6002| 100005818| 0109020006|TMT Bar 25 mm Fe 415 IS:1786 | 17500|kg | 29-DEC-2012| 19-dec-2012MAT/250607 | 7| 1|NMDCJ | 6001| 100005580| 0109020008|TMT Bar 32 mm Fe 415 IS:1786 | 22000|kg | 29-DEC-2012| 19-dec-2012MAT/250194 | 7| 1|NMDCJ | 6002| 100005818| 0109020008|TMT Bar 32 mm Fe 415 IS:1786 | 27060|kg | 29-DEC-2012| 19-dec-2012MAT/251138 | 1| 1|NMDCJ | 6002| 100005825| 3501000001|Cement 50 kg | 1|pkt | 25-DEC-2013| 14-dec-2013--------------------------------------------------------------------------------------------------------------------------------------------------
    where as source file is like that:-
    Pending PR to process (detail report)
    01-17-13 12:43:19 PM
    Req.no. li Re Site Prj Id Act seq Part no Description Qty UOM want rec dt lat ord dt
    MAT/250370 | 2| 1|ISCSP | 4977| 100004207| 0104000016|Angle 50 X 50 X 6 IS:2062 Grade | 5500|kg | 30-NOV-2012| 20-nov-2012
    MAT/250370 | 3| 1|ISCSP | 4977| 100004207| 0105000002|Channel 100 X 50 IS:2062 Grade A | 1000|kg | 30-NOV-2012| 20-nov-2012
    MAT/250579 | 2| 1|NMDCJ | 6001| 100005580| 0109020002|TMT Bar 10 mm Fe 415 IS:1786 | 2991|kg | 13-DEC-2012| 03-dec-2012
    MAT/250606 | 2| 1|NMDCJ | 6002| 100005860| 0109020002|TMT Bar 10 mm Fe 415 IS:1786 | 4500|kg | 29-DEC-2012| 19-dec-2012
    MAT/250607 | 2| 1|NMDCJ | 6001| 100005580| 0109020002|TMT Bar 10 mm Fe 415 IS:1786 | 1500|kg | 29-DEC-2012| 19-dec-2012
    MAT/250194 | 3| 1|NMDCJ | 6002| 100005818| 0109020002|TMT Bar 10 mm Fe 415 IS:1786 | 3939|kg | 29-DEC-2012| 19-dec-2012
    MAT/250606 | 4| 1|NMDCJ | 6002| 100005860| 0109020004|TMT Bar 16 mm Fe 415 IS:1786 | 39000|kg | 29-DEC-2012| 19-dec-2012
    MAT/250607 | 4| 1|NMDCJ | 6001| 100005580| 0109020004|TMT Bar 16 mm Fe 415 IS:1786 | 17500|kg | 29-DEC-2012| 19-dec-2012
    MAT/250194 | 2| 1|NMDCJ | 6002| 100005818| 0109020004|TMT Bar 16 mm Fe 415 IS:1786 | 12183|kg | 29-DEC-2012| 19-dec-2012
    MAT/250606 | 6| 1|NMDCJ | 6002| 100005860| 0109020006|TMT Bar 25 mm Fe 415 IS:1786 | 9500|kg | 29-DEC-2012| 19-dec-2012
    MAT/250607 | 6| 1|NMDCJ | 6001| 100005580| 0109020006|TMT Bar 25 mm Fe 415 IS:1786 | 4500|kg | 29-DEC-2012| 19-dec-2012
    MAT/250194 | 6| 1|NMDCJ | 6002| 100005818| 0109020006|TMT Bar 25 mm Fe 415 IS:1786 | 17500|kg | 29-DEC-2012| 19-dec-2012
    MAT/250607 | 7| 1|NMDCJ | 6001| 100005580| 0109020008|TMT Bar 32 mm Fe 415 IS:1786 | 22000|kg | 29-DEC-2012| 19-dec-2012
    MAT/250194 | 7| 1|NMDCJ | 6002| 100005818| 0109020008|TMT Bar 32 mm Fe 415 IS:1786 | 27060|kg | 29-DEC-2012| 19-dec-2012
    MAT/251138 | 1| 1|NMDCJ | 6002| 100005825| 3501000001|Cement 50 kg | 1 |pkt | 25-DEC-2013| 14-dec-2013
    Ignore alignment. It is well formatted in source file.

  • How to create radio button between two slection screen

    hello all.
    could you please guide me how to create radio button between two SELECTION-SCREEN  in screen painter.
    Thank you,
    srinivas

    hi
    SEE THIS CODE
    REPORT  ZNNR_REPORT NO STANDARD PAGE HEADING MESSAGE-ID ZNNR LINE-SIZE 100 LINE-COUNT 65(4).
    ******DATA DECLARATIONS**********
    DATA : BEGIN OF IT_PLANT OCCURS 0,
            MATNR LIKE MARA-MATNR,
            WERKS LIKE MARC-WERKS,
            PSTAT LIKE MARC-PSTAT,
            EKGRP LIKE MARC-EKGRP,
           END OF IT_PLANT.
    DATA : BEGIN OF IT_PONO OCCURS 0,
            EBELN LIKE EKKO-EBELN,
            EBELP LIKE EKPO-EBELP,
            MATNR LIKE EKPO-MATNR,
            WERKS LIKE EKPO-WERKS,
            LGORT LIKE EKPO-LGORT,
           END OF IT_PONO.
    TABLES EKKO.
    ********END OF DATA DECLARATIONS*********
    ********SELECTION SCREEN DESIGN ***********
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETER : P_WERKS LIKE MARC-WERKS MODIF ID S1.
    SELECT-OPTIONS : S_EBELN FOR EKKO-EBELN NO INTERVALS MODIF ID S2.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : R3 RADIOBUTTON GROUP G2 DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 5(20) TEXT-003 FOR FIELD R3.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : R4 RADIOBUTTON GROUP G2.
    SELECTION-SCREEN COMMENT 5(20) TEXT-004 FOR FIELD R4.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-004.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : R1 RADIOBUTTON GROUP G1 DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 5(20) TEXT-002 FOR FIELD R1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : R2 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN COMMENT 5(20) TEXT-003 FOR FIELD R2.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK B2.
    ******END OF SELECTION SCREEN DESIGN****************
    <b>rEWARD IF USEFULL</b>

  • Create view link between two view objects (from programmatic data source)

    Hi Experts,
    Can we create a link between two view objects (they are created from programmatic datasource ; not from either entity or sql query). If yes how to create the link; ( i mean the like attributes?)
    I would also like to drag and drop that in my page so that i can see as top master form and the below child table. Assume in my program i will be only have one master object and many child objects.
    Any hits or idea pls.
    -t

    Easiest way to do this is to add additional transient attributes to your master view object, and then include those additional transient attributes in the list of source attributes for your view link. This way, you can get BC4J to automatically refer to their values with no additional code on your part.

  • How to get lines in between two fields in smartform

    Dear Freinds,
                   I have developed one smart form however iam not getting output correct could you please help me out, the problem iam getting is iam not able to get the following things
    in The Main Window
             i have one header , one Main Area and one Footer Area
    in the header i have created one %ROW1 and named as Row and again under the ROW i have
    created a % Cell ...........again i want to create for the same Row iam not able to creeate another
    Cell.........please let me know how i can have 5 or 6 cells for the same Row .
    as i want the output as
    UNit No. : 103              Quantity Req : 200   Date of Issue  : 10/01/2008
    Destination : Delhi         Amount       : 300    Rate/Per unit  : 7
    and secondly i have to have lines between the rows .... so please do let how to get lines in between rows as well..
    i have tried allot but not able to get.
    regds
    madhuri

    Hi Marcin Pciak ,
                 Thank you very much for giving me the solution, one more point i require in this regard
    i have requirement as below
    IDNo                                      Invoice Amount
    Despatch Date                      Despath Time.
    Now i want i created Two Cell s (Cell A & Cell B)  could you let me know  how i can get IDNO and
    Invoice Amount adjusacent to each other as above but right now iam getting in my smarform
    IDNO
    Invoice amount
    but i want is  IDNO--    Invoice Amount--
    please help me this point
    thanks once again for giving me answer.
    regards
    madhuri

  • Create Foreign Keys between two Schemata

    Hello,
    I use Oracle 10g and I trying to create a ForeignKey constraint between two tables in different schemata.
    This is my DDL-Script
    SQL> CREATE TABLE PROJECT.LOCATION (
    ID INTEGER NOT NULL,
    MAIN INTEGER,
    KURZ VARCHAR(40),
    NAME VARCHAR(40),
    STRASSE VARCHAR(40),
    ORT VARCHAR(40),
    TELEFON VARCHAR(40),
    FAX VARCHAR(40),
    EMAIL VARCHAR(40),
    PLZ VARCHAR(40),
    CONSTRAINT PK_LOCATION PRIMARY KEY (ID)
    Tablespace PROJECT;
    CREATE TABLE Diary.Diary (
    ID INTEGER NOT NULL,
    LOCATION_ID INTEGER NOT NULL,
    CONSTRAINT PK_Diary PRIMARY KEY (ID)
    Tablespace Diary;
    ALTER TABLE Diary.Diary
    ADD CONSTRAINT FK_Diary_Has_LOCATION
    FOREIGN KEY (LOCATION_ID) REFERENCES PROJECT.LOCATION (ID);
    This is the Message that gives my SQLplus :
    SQL> ALTER TABLE Diary.Diary
    2 ADD CONSTRAINT FK_Diary_Has_LOCATION
    3 FOREIGN KEY (LOCATION_ID) REFERENCES PROJECT.LOCATION (ID);
    FOREIGN KEY (LOCATION_ID) REFERENCES PROJECT.LOCATION (ID)
    FEHLER in Zeile 3:
    ORA-00942: Tabelle oder View nicht vorhanden
    All Grants (select,alter,references) are given to the User for the tables.
    Whats then Problem?

    You miss some priviledge:
    SQL> create user project identified by project;
    Utente creato.
    SQL> grant connect, resource to project;
    Concessione riuscita.
    SQL> create user diary identified by diary;
    Utente creato.
    SQL> grant connect, resource to diary;
    Concessione riuscita.
    SQL> CREATE TABLE PROJECT.LOCATION (
      2  ID INTEGER NOT NULL,
      3  MAIN INTEGER,
      4  KURZ VARCHAR(40),
      5  NAME VARCHAR(40),
      6  STRASSE VARCHAR(40),
      7  ORT VARCHAR(40),
      8  TELEFON VARCHAR(40),
      9  FAX VARCHAR(40),
    10  EMAIL VARCHAR(40),
    11  PLZ VARCHAR(40),
    12  CONSTRAINT PK_LOCATION PRIMARY KEY (ID)
    13  )
    14  ;
    Tabella creata.
    SQL> CREATE TABLE Diary.Diary (
      2  ID INTEGER NOT NULL,
      3  LOCATION_ID INTEGER NOT NULL,
      4  CONSTRAINT PK_Diary PRIMARY KEY (ID)
      5  )
      6  ;
    Tabella creata.
    SQL> ALTER TABLE Diary.Diary
      2  ADD CONSTRAINT FK_Diary_Has_LOCATION
      3  FOREIGN KEY (LOCATION_ID) REFERENCES PROJECT.LOCATION (ID);
    FOREIGN KEY (LOCATION_ID) REFERENCES PROJECT.LOCATION (ID)
    ERRORE alla riga 3:
    ORA-00942: tabella o vista inesistente
    -- DIARY CAN'T SEE PROJECT.LOCATION
    SQL> grant select on project.location to diary;
    Concessione riuscita.
    SQL> ALTER TABLE Diary.Diary
      2  ADD CONSTRAINT FK_Diary_Has_LOCATION
      3  FOREIGN KEY (LOCATION_ID) REFERENCES PROJECT.LOCATION (ID);
    FOREIGN KEY (LOCATION_ID) REFERENCES PROJECT.LOCATION (ID)
    ERRORE alla riga 3:
    ORA-01031: privilegi insufficienti
    -- DIARY CAN SEE PROJECT.LOCATION BUT CAN'T REFERENCE IT
    SQL> grant references on project.location to diary;
    Concessione riuscita.
    SQL> ALTER TABLE Diary.Diary
      2  ADD CONSTRAINT FK_Diary_Has_LOCATION
      3  FOREIGN KEY (LOCATION_ID) REFERENCES PROJECT.LOCATION (ID);
    Tabella modificata.
    -- NOW IT'S ALL OK!!Max
    [My Italian Oracle blog|http://oracleitalia.wordpress.com/2009/12/18/table-elimination-oppure-join-elimination-lottimizzatore-si-libera-della-zavorra/]

  • Programmatically create a relationship between two positions in HR

    Hi,
    I have a requirement to create relationships in HRP1001 between two given positions with a start and end date.
    I need to write an upload program to do this but want to avoid Batch Input if possible.
    Are there any relevant function modules that can do what transaction PP01 does?
    Many Thanks
    David

    Hi,
    Try using this code
    LOOP AT T_MAINTAIN INTO WA_MAINTAIN.
        WA_MAINTAIN-FCODE = 'INSE'.
        WA_MAINTAIN-PLVAR = '01'.
        WA_MAINTAIN-ISTAT = '1'.
    *Relate account to project
        IF WA_MAINTAIN-OTYPE = 'O' AND WA_MAINTAIN-SCLAS = 'O'.
          WA_MAINTAIN-RSIGN = 'B'.
          WA_MAINTAIN-RELAT = '002'.
    *Relate position to project
        ELSEIF WA_MAINTAIN-OTYPE = 'O' AND WA_MAINTAIN-SCLAS = 'S'.
          WA_MAINTAIN-RSIGN = 'B'.
          WA_MAINTAIN-RELAT = '003'.
    *Relate job to position
        ELSEIF WA_MAINTAIN-OTYPE = 'S' AND WA_MAINTAIN-SCLAS = 'C'.
          WA_MAINTAIN-RSIGN = 'B'.
          WA_MAINTAIN-RELAT = '007'.
    *Relate employee to position
        ELSEIF WA_MAINTAIN-OTYPE = 'S' AND WA_MAINTAIN-SCLAS = 'P'.
          WA_MAINTAIN-RSIGN = 'A'.
          WA_MAINTAIN-RELAT = '008'.
        ENDIF.
    *Relate position to position
        ELSEIF WA_MAINTAIN-OTYPE = 'S' AND WA_MAINTAIN-SCLAS = 'S'.
          WA_MAINTAIN-RSIGN = 'A'.
          WA_MAINTAIN-RELAT = '002'.
        ENDIF.
        WA_MAINTAIN-ENDDA = '99991231'.
    *FM to create relationship
        CALL FUNCTION 'RH_RELATION_MAINTAIN'
          EXPORTING
            ACT_FCODE           = WA_MAINTAIN-FCODE
            ACT_PLVAR           = WA_MAINTAIN-PLVAR
            ACT_OTYPE           = WA_MAINTAIN-OTYPE
            ACT_OBJID           = WA_MAINTAIN-OBJID
            ACT_ISTAT           = WA_MAINTAIN-ISTAT
            ACT_RSIGN           = WA_MAINTAIN-RSIGN
            ACT_RELAT           = WA_MAINTAIN-RELAT
            ACT_SCLAS           = WA_MAINTAIN-SCLAS
            ACT_SOBID           = WA_MAINTAIN-SOBID
            ACT_BEGDA           = WA_MAINTAIN-BEGDA
            ACT_ENDDA           = WA_MAINTAIN-ENDDA
            ACT_PROZT           = WA_MAINTAIN-PROZT
          EXCEPTIONS
            MAINTAINANCE_FAILED = 1
            OTHERS              = 2.
        IF SY-SUBRC <> 0.
         WRITE : WA_INPUT-OBJID.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    ENDLOOP.

  • Create AlE Relationship between two company code F210 to FN21 (UHP To UPI)

    Hi,
    I want to know how to create ALE realtion ship between two company code ( F210 to FN21(Server name UHP to UPI )  and how to process it?
    Please reply ASAP.
    Regards,
    Achin

    Hi Sathish,
    Thanks for reply!..
    But My question I want to Add ALE relationship between two company code F210 to FN21 (UHP(Production server) To UPI(Third Party System)).
    Regards!
    Achin

  • How to create an relation between two block

    Oracle forms 6i
    Hai All
    I have created a form in that i have four button ADD, QUERY, SAVE ,EXIT.
    I have two block named Leader and members.
    Four fields in leader block namely name , codeno, deptcode, unitid.
    When i pressed query button and the cursor goes to name field in leader when i enter the name of leader and click
    enter i gives the codeno, deptcode and unitid of the leader_name.
    so now i have created another block in tabular structure to bring the members in the same deptcode that belongs to Leader_name.
    So pls tell me the steps how to create the relation between these two blocks.
    when i enter the leader_name and gives enter it needs to bring the codeno, deptcode, unitid and
    I also need to gives the members in that deptcode..
    Thanks In Advance
    Srikkanth.M

    If it is possible to create relationship with one table No.
    Or
    I have created a pre-Query in the detali block and my code is
    set_block_property ('block_name', default_where, 'deptcode = (select deptcode from emplmaster where name like :block_in_which_leader_name.leader_name_field');BTW no need of joining here it can be solve by set the block's where clause as u said in ur earlier post above. Just changing the little bit this statement and then try.
    If numeric
    set_block_property ('block_name', default_where, 'deptcode = '||:block_in_which_leader_name.leader_name_field);
    Otherwire
    set_block_property ('block_name', default_where, 'deptcode = '''||:block_in_which_leader_name.leader_name_field||'''');-Ammad

  • How to Increase Line space between two lines in ALV Grid

    hi,
    I want to increase the line space between any two lines in ALV GRID. Can anybody has solution for this issue.
    Regards,
    Madan

    Hi Madan
    It's not possible
    Regards
    Gregory

  • How to create a View between two Ztables?

    Hi experts,
    I have two ztables TableA and TableB both has one common field.
    Now Which type of view (Database,Maintanance,Projection or Help) I should create? If so what are the steps I should follow.
    What I suppose to do in Table/Join Condition tab ,View Flds ,Selection Conditions and Maint stsus tab.
    Reply with the detailed steps.
    Thanks in Advance,
    Dharani

    Hi,
    selection of view is depends on the type of requirement you have.
    1. To create the view go to Se11
    2. select the type of the view you required.
    3.Enter the name of the two z table in the tables and click on the relation button  so that it will automatically create the relationship between 2 table.
    4. add the addition condition if required in the join condition.
    5. In view field select the number of the field required to display in the view from both the table.
    6. specify the selection criteria in the to select the values.
    7. In maintenance tab select the appropriate option as per you requirement.
    8. save and activate the view.

  • I want to create serial communicatios between two notebooks via Bluetooth

    Hi,
    I'm trying to accomplish serial communications between two laptops via a Bluetooth connection.
    The two laptops are NOT Toshiba notebook, but they are both running the Toshiba Bluetooth Stack For Windows. They are also both using the default Bluetooth Manager program that is supplied by Toshiba and Dell (just rebadged?).
    Basically I can set up a connection no problems, but then I send serial data from one computer and watch the receiving serial port on the other computer but nothing ever arrives.
    Are there any good tutorials for this? It would be nice to have something for the Toshiba Bluetooth Manager in particular as the windows and buttons will have the names as explained in the tutorial.
    Thanks in advance.
    Adam

    I tried it for tests purpose via a hyperterminal connection and it worked.
    Maybe the description contains also some helpful information for you.
    Here is it:
    PC1:
    Start "Bluetooth Settings->Custom Mode->Select Remote PC->Select 'Serial Port'->Accept proposed COM port (in my case COM40)->Confirm wizard windows
    until setup is finished".
    PC2:
    Start "HyperTerminal->Select COM7"
    PC1:
    Start "HyperTerminal->Select COM40 (in my case. See step 1 above)"
    PC1, PC2:
    Enter the same Passkey if security is turned on e.g. "0000"
    PC1:
    Everything what you type into HyperTerminal should be visible in HyperTerminal of PC2 and vice versa.

  • Creating a Relation between two Blocks - the Join Condition [SOLVED]

    Hi. I'm trying to create a Relation between my TTMS_Audit table and my Bundle_Exceptions table. This is the join condition:
    ttms_audit.primary_key_values = bundle_exceptions.project_cd||','||bundle_exceptions.bundle||','||bundle_exceptions.exception_cd
    And I get the following error:
    FRM-15004: Error while parsing join condition
    Does anyone know if my concatenated values in the Join Condition are allowed? Can I even do this? Is there a logical work around?

    Got it.
    I first created the concatenated values as a non-base table item on my form:
    :NBT_PRIMARY_KEY_VALUES := :bundle_exceptions.project_cd||','||:bundle_exceptions.bundle||','||:bundle_exceptions.exception_cd;
    Then my join condition simply became:
    ttms_audit.primary_key_values = bundle_exceptions.nbt_primary_key_values

  • How to create the reation between two tables without creating relation

    Hi,
    I have three tables.( A,B and C)
    I created relation between A,B and A,C.
    I want to create the relation between B,C without using realtion in oracle forms.
    Please do the needful.

    ok, now i understand your problem. It is a case of one-many-many relation between three blocks.
    In this situation what i personally follow that - save records in between when it ask for a commit. And i shall advice you to follow that only. This is the safe and easy method.
    Otherwise,
    1> make your third block a non-database block.
    2> When finish entering/modifying each data set related to 2nd block - insert/update/delete the data grammatically into a temporary table. and after that clear the 3rd block.
    3> you need to reload the record in 3rd block from the temporary table when you move to a record of 2nd block that has already been entered.
    4> now when you finally commit your form the insert/update/delete record from the temporary table into the final 3rd table.
    Now follow which ever steps is suitable for you.
    Regards,
    Tarun

  • Using Airport Express to create a connection between two Macs

    We have two G5s in the office, one of them has built-in Airport and the PowerMac doesn't. We have Airport Express but we aren't sure whether it can be used as hardware to allow the non-built-in-Airport G5 to HAVE wireless access to the other Mac's files and so forth...
    In other words functioning as a server connection or a network between the two.
    The Airport Express didn't come with a USB cable, thus my suspicions.. Is this meant to be used solely with Macs with built-in Airport?
    Many thanks,
    Anne

    The USB port on the AirPort Express (AX) is ONLY for a single compatible USB printer.
    The AX can be used to allow a non-wireless computer connect to a wireless network (via it's Ethernet port) ONLY if the AX is configured to use WDS to connect to the wireless network. If the wireless network is created by another AX or an AirPort Extreme base station (AEBS), using WDS is possible.
    Be aware that each WDS link cuts your available bandwidth in half.

Maybe you are looking for