RH11: Problem insert linked FM data (FM10 or FM12) in a Robohelp project

Hi all!
We have 2 very newTCS 5 installations (3.5 updates):
All existing RH projects include linked FM data.
On one of the workstations we have severe problems.
The old RH9 projects are working.
BUT The new RH11 projects are looping in endless calculation, when I try to update
existing projects or when I insert a linked FM in a new project.
The error message (after 10 minutes) tells, that the FM file is not a propper FM file or Framemaker should be installed.
FM 10 and 12 are installed and the files can be loaded without error. FM works without problems.
As this problem occurs only on one station, we looked for
the differences, but without a result.
We have re-installed the RH11, but without a change.
What else can we do?
Please help!!

I have a machine set up with multiple versions of TCS and they run fine. That said, I would be linking with Word rather than Fm.
I notice you start by saying TCS and then mention reinstalling Rh. I am wondering if the problem is with Rh seeing Fm as part of TCS rather than as a separate app. You can only link with Fm if it has been installed as part of TCS rather than as a separate app.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge

Similar Messages

  • Problem inserting and querying XML data with a recursive XML schema

    Hello,
    I'm facing a problem with querying XML data that is valid against a recursive XML Schema. I have got a table category that stores data as binary XML using Oracle 11g Rel 2 on Windows XP. The XML Schema is the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:complexType name="bold_type" mixed="true">
              <xs:choice minOccurs="0" maxOccurs="unbounded">
                   <xs:element name="bold" type="bold_type"/>
                   <xs:element name="keyword" type="keyword_type"/>
                   <xs:element name="emph" type="emph_type"/>
              </xs:choice>
         </xs:complexType>
         <xs:complexType name="keyword_type" mixed="true">
              <xs:choice minOccurs="0" maxOccurs="unbounded">
                   <xs:element name="bold" type="bold_type"/>
                   <xs:element name="keyword" type="keyword_type"/>
                   <xs:element name="emph" type="emph_type"/>
                   <xs:element name="plain_text" type="xs:string"/>
              </xs:choice>
         </xs:complexType>
         <xs:complexType name="emph_type" mixed="true">
              <xs:choice minOccurs="0" maxOccurs="unbounded">
                   <xs:element name="bold" type="bold_type"/>
                   <xs:element name="keyword" type="keyword_type"/>
                   <xs:element name="emph" type="emph_type"/>
              </xs:choice>
         </xs:complexType>
         <xs:complexType name="text_type" mixed="true">
              <xs:choice minOccurs="0" maxOccurs="unbounded">
                   <xs:element name="bold" type="bold_type"/>
                   <xs:element name="keyword" type="keyword_type"/>
                   <xs:element name="emph" type="emph_type"/>
              </xs:choice>
         </xs:complexType>
         <xs:complexType name="parlist_type">
              <xs:sequence>
                   <xs:element name="listitem" minOccurs="0" maxOccurs="unbounded" type="listitem_type"/>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="listitem_type">
              <xs:choice minOccurs="0" maxOccurs="unbounded">
                   <xs:element name="parlist" type="parlist_type"/>
                   <xs:element name="text" type="text_type"/>
              </xs:choice>
         </xs:complexType>
         <xs:element name="category">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="name"/>
                        <xs:element name="description">
                                  <xs:complexType>
                                            <xs:choice>
                                                           <xs:element name="text" type="text_type"/>
                                                           <xs:element name="parlist" type="parlist_type"/>
                                            </xs:choice>
                                  </xs:complexType>
                        </xs:element>
                                                                </xs:sequence>
                                                                <xs:attribute name="id"/>
                                            </xs:complexType>
                        </xs:element>
    </xs:schema>I registered this schema and created the category table. Then I inserted a new row using the code below:
    insert into category_a values
    (XMlElement("category",
          xmlattributes('categoryAAA' as "id"),
          xmlforest ('ma categ' as "name"),
          (xmlelement("description", (xmlelement("text", 'find doors blest now whiles favours carriage tailor spacious senses defect threat ope willow please exeunt truest assembly <keyword> staring travels <bold> balthasar parts attach </bold> enshelter two <emph> inconsiderate ways preventions </emph> preventions clasps better affections comes perish </keyword> lucretia permit street full meddle yond general nature whipp <emph> lowness </emph> grievous pedro')))    
    The row is successfully inserted as witnessed by the results of row counting. However, I cannot extract data from the table. First, I tried using SqlPlus* which hangs up and quits after a while. I then tried to use SQL Developer, but haven't got any result. Here follow some examples of queries and their results in SQL Developer:
    Query 1
    select * from category
    Result : the whole row is returned
    Query 2
    select xmlquery('$p/category/description' passing object_value as "p" returning content) from category
    Result: "SYS.XMLTYPE"
    now I tried to fully respect the nested structure of description element in order to extract the text portion of <bold> using this query
    Query 3
    select  xmlquery('$p/category/description/text/keyword/bold/text()' passing object_value as "p" returning content) from  category_a
    Result: null
    and also tried to extract the text portion of element <text> using this query
    Query 4
    select  xmlquery('$p/category/description/text/text()' passing object_value as "p" returning content) from  category_a
    Result: "SYS.XMLTYPE".
    On the other hand, I noticed, from the result of query 1, that the opening tags of elements keyword and bold are encoded as the less than operator "&lt;". This explains why query 3 returns NULL. However, query 4 should display the text content of <text>, which is not the case.
    My questions are about
    1. How to properly insert the XML data while preserving the tags (especially the opening tag).
    2. How to display the data (the text portion of the main Element or of the nested elements).
    The problem about question 1 is that it is quite unfeasible to write a unique insert statement because the structure of <description> is recursive. In other words, if the structure of <description> was not recursive, it would be possible to embed the elements using the xmlelement function during the insertion.
    In fact, I need to insert the content of <description> from a source table (called category_a) into a target table (+category_b+) automatically .
    I filled category_a using the Saxloader utility from an flat XML file that I have generated from a benchmark. The content of <description> is different from one row to another but it is always valid with regards to the XML Schema. The data is properly inserted as witnessed by the "select * from category_a" instruction (500 row inserted). Besides, the opening tags of the nested elements under <description> are preserved (no "&lt;"). Then I wrote a PL/SQL procedure in which a cursor extracts the category id and category name into varchar2 variables and description into an XMLtype variable from category_a. When I try to insert the values into a category_b, I get the follwing error:
    LSX-00213: only 0 occurrences of particle "text", minimum is 1which tells that the <text> element is absent (actually it is present in the source table).
    So, my third question is why are not the tags recognized during the insertion?
    Can anyone help please?

    Hello,
    indded, I was using an old version of Sqlplus* (8.0.60.0.0) because I had a previous installation (oracle 10g XE). Instead, I used the Sqlplus* shipped with the 11g2database (version 11.2.0.1.0). All the queries that I wrote work fine and display the data correctly.
    I also used the XMLSERIALIZE function and can now display the description content in SQL Developer.
    Thank you very much.
    To answer your question Marco, I registered the XML Schema using the following code
    declare
      doc varchar2(4000) := '<?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:complexType name="bold_type" mixed="true">
              <xs:choice minOccurs="0" maxOccurs="unbounded">
                   <xs:element name="bold" type="bold_type"/>
                   <xs:element name="keyword" type="keyword_type"/>
                   <xs:element name="emph" type="emph_type"/>
              </xs:choice>
         </xs:complexType>
         <xs:complexType name="keyword_type" mixed="true">
              <xs:choice minOccurs="0" maxOccurs="unbounded">
                   <xs:element name="bold" type="bold_type"/>
                   <xs:element name="keyword" type="keyword_type"/>
                   <xs:element name="emph" type="emph_type"/>
                   <xs:element name="plain_text" type="xs:string"/>
              </xs:choice>
         </xs:complexType>
         <xs:complexType name="emph_type" mixed="true">
              <xs:choice minOccurs="0" maxOccurs="unbounded">
                   <xs:element name="bold" type="bold_type"/>
                   <xs:element name="keyword" type="keyword_type"/>
                   <xs:element name="emph" type="emph_type"/>
              </xs:choice>
         </xs:complexType>
         <xs:complexType name="text_type" mixed="true">
              <xs:choice minOccurs="0" maxOccurs="unbounded">
                   <xs:element name="bold" type="bold_type"/>
                   <xs:element name="keyword" type="keyword_type"/>
                   <xs:element name="emph" type="emph_type"/>
              </xs:choice>
         </xs:complexType>
         <xs:complexType name="parlist_type">
              <xs:sequence>
                   <xs:element name="listitem" minOccurs="0" maxOccurs="unbounded" type="listitem_type"/>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="listitem_type">
              <xs:choice minOccurs="0" maxOccurs="unbounded">
                   <xs:element name="parlist" type="parlist_type"/>
                   <xs:element name="text" type="text_type"/>
              </xs:choice>
         </xs:complexType>
         <xs:element name="category">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="name"/>
                        <xs:element name="description">
                                  <xs:complexType>
                                            <xs:choice>
                                                           <xs:element name="text" type="text_type"/>
                                                           <xs:element name="parlist" type="parlist_type"/>
                                            </xs:choice>
                                  </xs:complexType>
                        </xs:element>
                                                                </xs:sequence>
                                                                <xs:attribute name="id"/>
                                            </xs:complexType>
                        </xs:element>
    </xs:schema>';
    begin
      dbms_xmlschema.registerSchema('/xmldb/category_auction.xsd', doc,     LOCAL      => FALSE, 
            GENTYPES   => FALSE,  GENBEAN    => FALSE,   GENTABLES  => FALSE,
             FORCE      => FALSE,
             OPTIONS    => DBMS_XMLSCHEMA.REGISTER_BINARYXML,
             OWNER      => USER);
    end;then, I created the Category table as follows:
    CREATE TABLE category_a of XMLType XMLTYPE store AS BINARY XML
        XMLSCHEMA "xmldb/category_auction.xsd" ELEMENT "category";Now, there still remains a problem of how to insert the "description" content which I serialized as a CLOB data into another table as XML. To this purpose, I wrote a view over the Category_a table as follows:
    CREATE OR REPLACE FORCE VIEW "AUCTION_XWH"."CATEGORY_V" ("CATEGORY_ID", "CNAME", "DESCRIPTION") AS
      select category_v."CATEGORY_ID",category_v."CNAME",
      XMLSerialize(content ( xmlquery('$p/category/description/*' passing object_value as "p" returning content)) as clob) as "DESCRIPTION"
      from  auction.category_a p, 
    xmltable ('$a/category' passing p.Object_Value as "a"
    columns  category_id varchar2(15) path '@id',
              cname varchar2(20) path 'name') category_v;Then, I wrote a procedure to insert data into the Category_xwh table (the source and target tables are slightly different: the common elements are just copied wereas new elements are created in the target table). The code of the procedure is the following:
    create or replace PROCEDURE I_CATEGORY AS
    v_cname VARCHAR2(30);
    v_description clob ;
    v_category_id VARCHAR2(15);
    cursor mycursor is select category_id, cname, description from category_v;
    BEGIN
    open mycursor;
      loop
      /*retrieving the columns*/
      fetch mycursor into v_category_id, v_cname, v_description ;
      exit when mycursor%notfound;
      insert into category_xwh values
      (XMlElement("category",
          xmlattributes(v_category_id as "category_id"),
          xmlelement("Hierarchies", xmlelement("ObjHierarchy", xmlelement ("H_Cat"),
                                                               xmlelement ("Rollsup",
                                                                                  (xmlelement("all_categories",
                                                                                   xmlattributes('allcategories' as "all_category_id")))
        xmlforest (
                  v_cname as "cat_name",
                  v_description as "description")    
    end loop;
      commit;
      close mycursor;
    END I_CATEGORY;When I execute the procedure, I get the following error:
    LSX-00201: contents of "description" should be elements onlyso, I just wonder if this is because v_description is considered as plain text and not as XML text, even if its content is XML. Do I need to use a special function to cast the CLOB as XML?
    Thanks for your help.
    Doulkifli

  • Problems inserting date values in Oracle 10g

    Hi All,
    I'm having SERIOUS problems trying to insert a simple date value in my oracle.
    I did this one million times before in xMII 11.5, but now it appears that doesn't work anymore!
    Here are some info:
    Data Server Config:
    Date Prefix: TO_DATE('
    Date_Sufix: ', 'MM/DD/YYYY HH24:MI:SS')
    Internal Date Format: yyyy-MM-dd HH:mm:ss
    In my Query Template:
    Date and Time Format: MM/dd/yyyy HH:mm:ss
    In my Transaction
    Parameter: datefromxmlformat(datenow, "MM/dd/yyyy HH:mm:ss")
    I also tried change the parameter to datenow, no success.
    I tried to change the Query Template format, no success.
    Finally, I tried to change my Date prefix & sufix, no success too.
    I really don't know what else I can do. I would appreciate some help.
    PS: I'm using xMII 12.0.1 with ojdbc14.jar
    Thanks in advance.
    Pedro Sena

    Pedro,
    The Data Server config for InternalDateFormat should be:  MM/dd/yyyy HH:mm:ss
    This is because it is used in conjunction with the DatePrefix and DateSuffix whenever you use the DateColumn or  the [SD] and [ED] tokens in a query template.
    If you are inserting a date field with an arbitrary parameter (not a date token like above) then you need to use the TO_DATE wrapper pieces around your date field string.
    The DateFormat in the query template controls the format of the StartDate and EndDate buttons in the applet toolbar if using an iChart/iSPCChart/iGrid and a time sensitive query, but when you build the string for an insert parameter you must manage the whole format yourself.
    If you really just want datenow and the xMII server time is sufficient for your insert query then you can leverage the Data Server config settings like: INSERT INTO TABLE VALUES([ED)
    This way the default query template time settings will use 'now' for the end date of the query and when the string is sent to Oracle it will actually look like:
    INSERT INTO TABLE VALUES(TO_DATE('10/19/2007 08:41:00', 'MM/DD/YYYY HH24:MI:SS'))
    Regards,
    Jeremy

  • I´m having some problems with dates intervals. It´s not working well. I inserted the correct date between the right interval but the system refers to incorrect date? What shoul I do?

    Mensagem editada por: Mauricio Galletti
    It seens that there´s some problem with the specific date of 19/10/2014? Don´t know why? I just remove this date from the interval and the problem gone.
    What´s wrong with 19/10/2014?

    Hello Galdr,
    Welcome to the HP Forums.
    I see that after doing some updates, you've lost the use of switchable graphics in your Notebook. I will do my best to help you with this.
    You can try is to use the HP Recovery Manager. This will allow you to "recover" the Notebook and reinstall the original drivers. This document: Using Recovery Manager to Restore Software and Drivers (Windows 7), can assist you with that.
    Once the drivers are "reverted", then if you wish you can attempt updating.
    This first thing I will provide you in regards to updating is this document: Switchable Graphics on Notebooks Configured with Dual AMD GPUs. There is more general information than anything, but you may find it useful.
    When going to update you will want to use the website or the HP Support Assistant. These are the recommend ways to update. When using AMD's (or other OEM utilities) they will look for compatible drivers for the component, but not necessarily ones that work with your Notebook. What most likely happened, only one of the two drivers were actually updated.
    Here is a link to the newest driver provided by HP: AMD High-Definition (HD) Graphics Driver. Also, here's a link to using the HP Support Assistant: Using HP Support Assistant (Windows 7). (in case you wanted to learn more/use this method).
    I hope this is able to help you get back to "state 1", so that you may be able to update correctly and have full functionality of your switchable graphics again. Please let me know how this goes for you. Thank you for posting on the HP Forums.
    I worked on behalf of HP.

  • Help: Problem Inserting CLOB-data with ODBC

    Hello,
    I have searched this forum for my problem and found only one similar message, unfortunately without reply. I hope there are some wizards present here today who can help me.
    I use Perl and the ODBC driver for 8i (v8.1.5., WinNT) to insert and query data from a tabel with a CLOB. Queries go fine (although you have to increase the buffer size within Perl, but I have a problem to insert values into CLOBS.
    I get the message ORA-1704 shown below. Oracle/ODBC seems to think that i want to insert into a VARCHAR2(4000) instead of
    a CLOB.
    I have included my Perl test-script as well.
    Any suggestions are very welcome,
    Bart
    Error-message:
    ORA-01704 string literal too long
    Cause: The string literal is longer than 4000 characters.
    Action: Use a string literal of at most 4000 characters. Longer values
    may only be entered using bind variables.
    PERL test-script:
    #!perl
    # USAGE
    # perl clobtest size [bufsize]
    # Creates a string of approximately size*1000 bytes, consisting of a line with 'A',
    # followed by lines of at most 100 'o's, followed by a line with 'Z'.
    # bufsize is optional, if given, specifies the size of the ODBC buffer.
    # Default value is 10240
    # The string is loaded into a table field, then read from that field, and saved in
    # a file. The entire table is deleted on beforehand! so that there is only one
    # record in that table. If there are errors, error number and text are displayed on
    # the console.
    # See the globals below for username, password, host, table end column.
    use strict;
    use FileHandle;
    use Win32::ODBC;
    # GLOBALS
    # DATABASE
    my $ADMIN ='xpa';
    my $PWD ='manager';
    my $DBMC ='PO8i';
    my $table = 'TEST';
    my $column = 'OMSCHRIJVING';
    my $amount = $ARGV[0];
    my $newbufsize = $ARGV[1];
    my $bulk;
    sub connect_db {
    if (!$newbufsize) {
    $newbufsize = 10240;
    print "Connecting as... $ADMIN to $DBMC\n";
    my $dbh = new Win32::ODBC("dsn=$DBMC;UID=$ADMIN;PWD=$PWD");
    if (!$dbh) {
    print "Hm\n";
    die qq(Cannot open ODBC\n);
    $dbh->SetMaxBufSize($newbufsize);
    my $bufsize = $dbh->GetMaxBufSize();
    print "Bufsize = $bufsize\n";
    return $dbh;
    sub createbulk {
    $bulk = "A";
    my $bytes = 1000 * $amount;
    my $i;
    for ($i=0; $i<$bytes-4; $i++) {
    if ($i % 100 == 0) {
    $bulk .= "\n";
    else {
    $bulk .= "o";
    $bulk .= "\nZ\n";
    my $dbh = connect_db();
    createbulk();
    print "Deleting $table\n";
    $dbh->Sql("delete from $table");
    print "Inserting into $table -> $column\n";
    my $fail = $dbh->Sql("insert into $table ($column) VALUES (\'$bulk\')");
    if ($fail) {
    print "$dbh->{ErrNum}: $dbh->{ErrText}\n";
    exit;
    print "Querying from $table -> $column\n";
    $fail = $dbh->Sql("select OMSCHRIJVING from TEST");
    if ($fail) {
    print "$dbh->{ErrNum}: $dbh->{ErrText}\n";
    exit;
    my @result = ();
    while (defined $dbh->FetchRow()) {
    my $result = $dbh->Data();
    push @result, $result;
    print "Writing query result to file \"cltst$amount\"\n";
    open TST, ">cltst$amount";
    for my $line (@result) {
    print TST $line;
    close TST;

    Hi,
    We can't directly insert into a column
    which is a clob datatype.To insert data into
    the CLOB datatype column we have to write
    some PL/SQL progam using the package DBMS_LOB
    in oracle.
    Read Oracle documentation for more information on DBMS_LOB package.
    Hope this will help u.
    NEDU.
    null

  • URL link in data element documentation

    Is it possible to create a url link within the documentation of a data element to allow the user to launch the web browser and navigate directly to a specified webpage?
    Regards
    Mark Briggs

    Hello,
    I am not sure but you can try this out. Go to se38 and documentation for a test program. Click on Goto and then Change editor. write a text that you want to give a link to. Make its paragraph format as SAPfind Reference. Select the text goto insert link. It will pop you up with a box. give the name of your program but how to link it is another mystery.
    Try these function modules.
    IWB_HTML_HELP_OBJECT_SHOW
    IWB_HTML_HELP_EXTENDED_HELP
    and see this program BCALV_GRID_F4_HELP may be of some help.
    REgards,
    SHekhar Kulkarni

  • Problem in Upload of data using FBZ5 which is for cheque form printing

    hi Gurus,
         I have done recording for uploading of the documents for printing of the cheques, using FBZ5 to code. now the problem is it is not picking up the items continuously one after the other and at the same time the cheques are not printing. what could be the problem and the code is given below. Please check out and let me know how to do. Like one by one document has to be generated and at the same time the cheque has to be printed.
    perform bdc_dynpro      using 'SAPMFCHK'         '0750'.
    perform bdc_field       using 'BDC_CURSOR'       'OPAYF-PPRIZ'.
    perform bdc_field       using 'BDC_OKCODE'       '/00'.
    perform bdc_field       using 'BKPF-BELNR'     CHK_TAB-BELNR.    "  '2807000006'.
    perform bdc_field       using 'OPAYF-BUKRS'    CHK_TAB-BUKRS.    "  '1000'.
    perform bdc_field       using 'BKPF-GJAHR'     CHK_TAB-GJAHR.    "  '2007'.
    perform bdc_field       using 'OPAYF-RZAWE'      'C'.
    perform bdc_field       using 'OPAYF-PSTAP'    CHK_TAB-PSTAP.    "  '1'.
    perform bdc_field       using 'OPAYF-PZFOR'      'ZF110_D_SCHECK13'.
    perform bdc_field       using 'OPAYF-PPRIZ'    CHK_TAB-PPRIZ.    "  'LOCL'.
    perform bdc_field       using 'OPAYF-PSOFO'      'X'.
    perform bdc_field       using 'OPAYF-PPRIA'      'locl'.
    perform bdc_dynpro      using 'SAPMFCHK'         '0750'.
    perform bdc_field       using 'BDC_CURSOR'       'BKPF-BELNR'.
    perform bdc_field       using 'BDC_OKCODE'       '=DRUK'.
    perform bdc_dynpro      using 'SAPMFCHK'         '0750'.
    *perform bdc_field       using 'BDC_CURSOR'       'BKPF-BELNR'.
    perform bdc_field       using 'BDC_OKCODE'       '=NEW'.    "'/EEND'.
    **perform bdc_dynpro      using 'SAPMFCHK'         '0750'.
    **perform bdc_field       using 'BDC_OKCODE'       '=DRUK'.      "'/EEND'.
    **perform bdc_field       using 'BDC_CURSOR'       'BKPF-BELNR'.
    Thanks
    Syama

    HI
    I am sending the full code. now it is printing continuously, but it is not printing the check from the cheque printer, but the invoice is printed on the A4 sheet. What wuold be the problem.
    report ZCHECK
           no standard page heading line-size 255.
    DATA : BEGIN OF CHK_TAB OCCURS 100,
              BELNR LIKE BKPF-BELNR,
              BUKRS LIKE OPAYF-BUKRS,
              GJAHR LIKE BKPF-GJAHR,
              PSTAP LIKE OPAYF-PSTAP,
              PPRIZ LIKE OPAYF-PPRIZ,
           END OF CHK_TAB.
    DATA: v_opt LIKE ctu_params,
          v_ltext1(70) TYPE c,
          v_ltext2(70) TYPE c,
          v_tabix LIKE sy-tabix.
    *-- Internal Table for including the structure alsmex_tabline
    DATA: BEGIN OF i_excel OCCURS 0.
            INCLUDE STRUCTURE alsmex_tabline.
    DATA: END OF i_excel.
          Batch input data
    DATA:   bdcdata LIKE bdcdata   OCCURS 0 WITH HEADER LINE.
          messages of call transaction
    DATA:   messtab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE.
    PARAMETERS: p_file TYPE rlgrap-filename OBLIGATORY,
                start TYPE i OBLIGATORY, end TYPE i OBLIGATORY,
                dismode TYPE ctu_params-dismode DEFAULT 'A' OBLIGATORY.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
       EXPORTING
         program_name        = syst-repid
        DYNPRO_NUMBER       = SYST-DYNNR
        FIELD_NAME          = ' '
        STATIC              = ' '
        MASK                = ' '
        CHANGING
          file_name           =  p_file
       EXCEPTIONS
         mask_too_long       = 1
         OTHERS              = 2
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    START-OF-SELECTION.
      DATA l_file TYPE string.
      CLEAR l_file.
      l_file = p_file.
    *-- Calling the function ALSM_EXCEL_TO_INTERNAL_TABLE
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          filename                = p_file
          i_begin_col             = 1
          i_begin_row             = start
          i_end_col               = 50
          i_end_row               = end
        TABLES
          intern                  = i_excel
        EXCEPTIONS
          inconsistent_parameters = 1
          upload_ole              = 2
          OTHERS                  = 3.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    END-OF-SELECTION.
      DATA: v_opltext(600) TYPE c,
            v_ipltext(600) TYPE c,
            v_len TYPE i,
            r_count(2) TYPE c,
            v_rowcount(2) TYPE c,
            v_screenfld(132) TYPE c,
            msg_txt(150) TYPE c.
    LOOP AT i_excel.
        CASE i_excel-col.
          WHEN '0001'.
            CHK_TAB-BELNR = i_excel-value.
          WHEN '0002'.
            CHK_TAB-BUKRS = i_excel-value.
          WHEN '0003'.
            CHK_TAB-GJAHR = i_excel-value.
          WHEN '0004'.
            CHK_TAB-PSTAP = i_excel-value.
          WHEN '0005'.
            CHK_TAB-PPRIZ = i_excel-value.
    ENDCASE.
        AT END OF row.
          APPEND CHK_TAB.
          CLEAR CHK_TAB.
        ENDAT.
      ENDLOOP.
      v_opt-dismode = dismode.
      v_opt-updmode = 'S'.
    LOOP AT CHK_TAB.
        CLEAR: v_tabix.
        v_tabix = sy-tabix.
    perform bdc_dynpro      using 'SAPMFCHK'       '0750'.
    perform bdc_field       using 'BDC_CURSOR'     'BKPF-GJAHR'.
    perform bdc_field       using 'BDC_OKCODE'     '/00'.
    perform bdc_field       using 'BKPF-BELNR'      CHK_TAB-BELNR.   "'2807000008'.
    perform bdc_field       using 'OPAYF-BUKRS'    CHK_TAB-BUKRS.    "'1000'.
    perform bdc_field       using 'BKPF-GJAHR'     CHK_TAB-GJAHR.    "'2007'.
    perform bdc_field       using 'OPAYF-RZAWE'    'C'.
    perform bdc_field       using 'OPAYF-PSTAP'    CHK_TAB-PSTAP.    "'1'.
    perform bdc_field       using 'OPAYF-PZFOR'    'ZF110_D_SCHECK13'.
    perform bdc_field       using 'OPAYF-PPRIZ'    CHK_TAB-PPRIZ.    "'locl'.
    perform bdc_field       using 'OPAYF-PSOFO'    'X'.
    perform bdc_field       using 'OPAYF-PPRIA'    'locl'.
    perform bdc_dynpro      using 'SAPMFCHK'       '0750'.
    perform bdc_field       using 'BDC_CURSOR'     'BKPF-BELNR'.
    perform bdc_field       using 'BDC_OKCODE'     '=DRUK'.
    **perform bdc_field       using 'BKPF-BELNR'     '2807000008'.
    **perform bdc_field       using 'OPAYF-BUKRS'    '1000'.
    **perform bdc_field       using 'BKPF-GJAHR'     '2007'.
    **perform bdc_field       using 'OPAYF-RZAWE'    'C'.
    **perform bdc_field       using 'OPAYF-PSTAP'    '1'.
    **perform bdc_field       using 'OPAYF-PZFOR'    'ZF110_D_SCHECK13'.
    **perform bdc_field       using 'OPAYF-PPRIZ'    'locl'.
    **perform bdc_field       using 'OPAYF-PSOFO'    'X'.
    **perform bdc_field       using 'OPAYF-PPRIA'    'locl'.
    perform bdc_dynpro      using 'SAPMFCHK'       '0750'.
    perform bdc_field       using 'BDC_OKCODE'     '/EEND'.
    perform bdc_field       using 'BDC_CURSOR'     'BKPF-BELNR'.
    **perform bdc_dynpro      using 'SAPMFCHK'         '0750'.
    **perform bdc_field       using 'BDC_CURSOR'       'OPAYF-PPRIZ'.
    **perform bdc_field       using 'BDC_OKCODE'       '/00'.
    **perform bdc_field       using 'BKPF-BELNR'     CHK_TAB-BELNR.    "  '2807000006'.
    **perform bdc_field       using 'OPAYF-BUKRS'    CHK_TAB-BUKRS.    "  '1000'.
    **perform bdc_field       using 'BKPF-GJAHR'     CHK_TAB-GJAHR.    "  '2007'.
    **perform bdc_field       using 'OPAYF-RZAWE'      'C'.
    **perform bdc_field       using 'OPAYF-PSTAP'    CHK_TAB-PSTAP.    "  '1'.
    **perform bdc_field       using 'OPAYF-PZFOR'      'ZF110_D_SCHECK13'.
    **perform bdc_field       using 'OPAYF-PPRIZ'    CHK_TAB-PPRIZ.    "  'LOCL'.
    **perform bdc_field       using 'OPAYF-PSOFO'      'X'.
    **perform bdc_field       using 'OPAYF-PPRIA'      'locl'.
    **perform bdc_dynpro      using 'SAPMFCHK'         '0750'.
    **perform bdc_field       using 'BDC_CURSOR'       'BKPF-BELNR'.
    **perform bdc_field       using 'BDC_OKCODE'       '=DRUK'.
    **perform bdc_dynpro      using 'SAPMFCHK'         '0750'.
    **perform bdc_field       using 'BDC_CURSOR'       'BKPF-BELNR'.
    **perform bdc_field       using 'BDC_OKCODE'       '=NEW'.    "'/EEND'.
    **perform bdc_dynpro      using 'SAPMFCHK'         '0750'.
    **perform bdc_field       using 'BDC_OKCODE'       '=DRUK'.      "'/EEND'.
    **perform bdc_field       using 'BDC_CURSOR'       'BKPF-BELNR'.
    '=ENTE'. '=BU'.
    CALL TRANSACTION 'FBZ5' USING bdcdata
          OPTIONS FROM v_opt MESSAGES INTO messtab.
          WRITE:/10 'ROW:' COLOR 4,v_tabix.
          LOOP AT messtab.
            CALL FUNCTION 'FORMAT_MESSAGE'
              EXPORTING
                id        = messtab-msgid
                lang      = sy-langu
                no        = messtab-msgnr
                v1        = messtab-msgv1
                v2        = messtab-msgv2
                v3        = messtab-msgv3
                v4        = messtab-msgv4
              IMPORTING
                msg       = msg_txt
              EXCEPTIONS
                not_found = 1
                OTHERS    = 2.
            IF sy-subrc <> 0.
           MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
            ENDIF.
            IF messtab-msgtyp EQ 'E'.
              WRITE:/10 messtab-msgtyp,msg_txt COLOR 6.
            ELSEIF messtab-msgtyp EQ 'S'.
              WRITE:/10 messtab-msgtyp,msg_txt COLOR 5.
            ELSEIF messtab-msgtyp EQ 'W'.
              WRITE:/10 messtab-msgtyp,msg_txt COLOR 3.
            ELSE.
              WRITE:/10 messtab-msgtyp,msg_txt COLOR 4.
            ENDIF.
            CLEAR msg_txt.
          ENDLOOP.
          ULINE.
          REFRESH:bdcdata,messtab.
      ENDLOOP.
    *&      Form  BDC_DYNPRO
          text
         -->PROGRAM    Program name
         -->DYNPRO     Screen number
    FORM bdc_dynpro USING program dynpro.
      CLEAR bdcdata.
      bdcdata-program  = program.
      bdcdata-dynpro   = dynpro.
      bdcdata-dynbegin = 'X'.
      APPEND bdcdata.
    ENDFORM.                    "bdc_dynpro
    *&      Form  BDC_FIELD
          Insert batch input data
         -->FNAM       Screen Field Name
         -->FVAL       Field Value
    FORM bdc_field USING fnam fval.
      CLEAR bdcdata.
      bdcdata-fnam = fnam.
      bdcdata-fval = fval.
      APPEND bdcdata.
    ENDFORM.                    "BDC_FIELD
    **perform bdc_transaction using 'FBZ5'.
    **perform close_group.

  • A question about piecewise insert(OCI), only data in the first piece ..

    When i do a piecewise insert operation, only data in the first piece was inserted into the column, There is no error occured. a OCI_SUCCESS returned when the last piece operation completed.
    I am really puzzled now:(.
    Who can get me out of this?
    The data to be insert are stored in many structs:
    typedef struct test_st{
         char * buffer;
         struct test_st * next;
    } TEST_ST;
    I use malloc(size) to allocate the buffer of each struct, and I use strcpy() to copy some strings to these buffers.
    table mc_test is like this:
    id number;
    message varchar(64);
    The full source_code goes there:
    #include <stdio.h>
    #include <unistd.h>
    #include <stdlib.h>
    #include <oci.h>
    static OCIEnv *p_env;
    static OCIError *p_err;
    static OCISvcCtx *p_svc;
    static OCIStmt *p_sql;
    static OCIDefine p_dfn    = (OCIDefine ) 0;
    static OCIBind p_bnd    = (OCIBind ) 0;
    const char * orausername="out_user";
    const char * orapassword="user_out";
    const char * oraserver="bigfish";
    int oraOK=0;
    int rc;
    char errbuf[100];
    int errcode;
    int checkerr(OCIError *errhp, sword status);
    int db_init(void);
    int db_open(void);
    int db_close(void);
    typedef struct test_st{
         char * buffer;
         struct test_st * next;
    } TEST_ST;
    int db_save_to_test(){
         char               sql_str[512];
         ub4                    typep;
         ub4                    piec_status;
         ub1                    in_outp;
         ub4                    rownum;
         ub4                    arr;
         sb2                    indp;
         ub2                    r_code;
         int                    t_buff_len;
         int                    total_len=15;
         int                    buffer_pos=0;
         TEST_ST * content, * t;
         content=(TEST_ST *) malloc(sizeof(TEST_ST));
         content->buffer= (char *) malloc(5);
         strcpy(content->buffer,"1234");
         content->next=(TEST_ST *) malloc(sizeof(TEST_ST));
         content->next->buffer= (char *) malloc(5);
         strcpy(content->next->buffer,"5678");
         content->next->next=(TEST_ST *) malloc(sizeof(TEST_ST));
         content->next->next->buffer= (char *) malloc(5);
         strcpy(content->next->next->buffer,"9012");
         content->next->next->next=NULL;
         if(!_ora_OK){
              return 0;
         printf("-------------------------\n");
         printf("[db]save to mc_test..\n");
         printf("total: %d bytes\n",total_len);
         /* create sql */
         sprintf(sql_str,"insert into mc_test(id,message)values(1,:x)");
         //printf("%s\n",sql_str);
         rc = OCIStmtPrepare(p_sql, p_err, sql_str,
              (ub4) strlen(sql_str), (ub4) OCI_NTV_SYNTAX, (ub4) OCI_DEFAULT);
         checkerr(p_err,rc);
         rc = OCIBindByPos(p_sql, &p_bnd, p_err, (ub4) 1,
                   (dvoid *) content->buffer, total_len, SQLT_CHR, (dvoid *) 0,
                   (ub2 *) 0, (ub2 *) 0, (ub4) 0, (ub4 *) 0, OCI_DATA_AT_EXEC);
         checkerr(p_err,rc);
         rc = OCIStmtExecute(p_svc, p_sql, p_err, (ub4) 1, (ub4) 0,
              (CONST OCISnapshot *) NULL, (OCISnapshot *) NULL, OCI_DEFAULT);
         checkerr(p_err,rc);
         if(rc == OCI_NEED_DATA){
              printf("[pw] start........\n");
              // insert next pieces
              t=content;
              printf("%d bytes total.\n",total_len);
              while(t!=NULL){
                   if(t==content){
                        piec_status=OCI_FIRST_PIECE;
                        t_buff_len=strlen(t->buffer);
                        buffer_pos=t_buff_len+1;
                        printf("ready for first piece: %d bytes\n",t_buff_len+1);
                        printf("__________________\n%s\n__________________\n",t->buffer);
                   }else if(t->next==NULL){
                        piec_status=OCI_LAST_PIECE;
                        t_buff_len=strlen(t->buffer);
                        buffer_pos+=t_buff_len+1;
                        printf("ready for last piece: %d bytes\n",t_buff_len+1);
                        printf("__________________\n%s\n__________________\n",t->buffer);
                   }else{
                        piec_status=OCI_NEXT_PIECE;
                        t_buff_len=strlen(t->buffer);
                        buffer_pos+=t_buff_len+1;
                        printf("ready for next piece: %d bytes\n",t_buff_len+1);
                        printf("__________________\n%s\n__________________\n",t->buffer);
                   t_buff_len++;
                   rc = OCIStmtSetPieceInfo((dvoid *)p_bnd,
    (ub4)OCI_HTYPE_BIND, p_err, (dvoid *)t->buffer,
    & t_buff_len, piec_status, (dvoid *) 0, &r_code);
                   checkerr(p_err,rc);
                   rc = OCIStmtExecute(p_svc, p_sql, p_err, (ub4) 1, (ub4) 0,
                        (CONST OCISnapshot *) NULL, (OCISnapshot *) NULL, OCI_DEFAULT);
                   checkerr(p_err,rc);
                   t=t->next;
              if(rc==OCI_SUCCESS){
                   printf("All insert OK\n");
              printf("-------------------------\n");
              return 0;
         }else if(rc==OCI_SUCCESS){
              printf("Simple inserted.\n");
              printf("-------------------------\n");
              return 1;
         }else{
              checkerr(p_err,rc);
              printf("-------------------------\n");
              return 0;
    int main(){
         db_init();
         db_open();
         db_save_to_test();
         db_close();
    int db_close(){
         rc = OCILogoff(p_svc, p_err); /* Disconnect */
         rc = OCIHandleFree((dvoid *) p_sql, OCI_HTYPE_STMT); /* Free handles */
         rc = OCIHandleFree((dvoid *) p_svc, OCI_HTYPE_SVCCTX);
         rc = OCIHandleFree((dvoid *) p_err, OCI_HTYPE_ERROR);
         oraOK=0;
         return rc;
    int db_open(){
         /* Connect to database server */
         rc = OCILogon(p_env, p_err, &p_svc, orausername, strlen(_ora_username), orapassword, strlen(_ora_password), oraserver, strlen(_ora_server));
         if (rc != 0) {
         OCIErrorGet((dvoid *)p_err, (ub4) 1, (text *) NULL, &errcode, errbuf, (ub4) sizeof(errbuf), OCI_HTYPE_ERROR);
         printf("Error - %.*s\n", 512, errbuf);
         return(8);
         /* Allocate SQL */
         rc = OCIHandleAlloc( (dvoid *) p_env, (dvoid **) &p_sql,
              OCI_HTYPE_STMT, (size_t) 0, (dvoid **) 0);
         checkerr(p_err,rc);
         oraOK=1;
         return rc;
    int db_init(){
         rc = OCIInitialize((ub4) OCI_DEFAULT, (dvoid *)0, /* Initialize OCI */
              (dvoid * (*)(dvoid *, size_t)) 0,
              (dvoid * (*)(dvoid *, dvoid *, size_t))0,
              (void (*)(dvoid *, dvoid *)) 0 );
         /* Initialize evironment */
         rc = OCIEnvInit( (OCIEnv **) &p_env, OCI_DEFAULT, (size_t) 0, (dvoid **) 0 );
         /* Initialize handles */
         rc = OCIHandleAlloc( (dvoid *) p_env, (dvoid **) &p_err, OCI_HTYPE_ERROR,
              (size_t) 0, (dvoid **) 0);
         rc = OCIHandleAlloc( (dvoid *) p_env, (dvoid **) &p_svc, OCI_HTYPE_SVCCTX,
              (size_t) 0, (dvoid **) 0);
         checkerr(p_err,rc);
         return rc;
    int checkerr(OCIError *errhp, sword status){
         text errbuf[512];
         sb4 errcode = 0;
         switch(status){
              case     OCI_SUCCESS:
                        return 0; break;
              case     OCI_SUCCESS_WITH_INFO:
                        (void) printf("Error - OCI_SUCCESS_WITH_INFO\n");
                        break;
              case     OCI_NEED_DATA:
                        (void) printf("Error - OCI_NEED_DATA\n");
                        break;
              case     OCI_NO_DATA:
                        (void) printf("Error - OCI_NODATA\n");
                        break;
              case     OCI_ERROR:
                        (void) OCIErrorGet((dvoid *)errhp, (ub4) 1, (text *) NULL, &errcode,
                                       errbuf, (ub4) sizeof(errbuf), OCI_HTYPE_ERROR);
                        (void) printf("Error - %.*s\n", 512, errbuf);
                        break;
              case     OCI_INVALID_HANDLE:
                        (void) printf("Error - OCI_INVALID_HANDLE\n");
                        break;
              case     OCI_STILL_EXECUTING:
                        (void) printf("Error - OCI_STILL_EXECUTE\n");
                        break;
              case     OCI_CONTINUE:
                        (void) printf("Error - OCI_CONTINUE\n");
                        break;
              default:
                        break;
         return 1;
    ref: http://www.oracle.com.cn/onlinedoc/appdev.920/a96584/oci05bnd.htm#427755

    On Windows, the Flash player plugin DLL is under C:\Windows. When everything is working correctly, Firefox finds the Flash player by checking entries under a registry key. I don't know whether this check takes place every time Firefox restarts, or at other intervals.
    Other plugins may install differently, e.g., copying a DLL into a folder under c:\Program Files (x86). It's rare for a plugin to be profile-specific.
    If your plugin list is not updating, the pluginreg.dat file that stores plugin information might be corrupted. This article has a section on how to delete that file so Firefox will regenerate it: [https://support.mozilla.org/en-US/kb/troubleshoot-issues-with-plugins-fix-problems#w_re-initializing-the-plugins-database]. Does that help?

  • Insert document expiration date in a Word template

    Hello all,
    I have a problem I hope anyone can help me with. I need to include a column in Document Library with the Document expiration date and after that, include that expiration date into the Word templates I have in that library.
    In order to do that, I created a date column (not a calculated one) called "ExpDate" with a default value of Today + 365 as I want the document to expire one year after its creation. After that, I edit the word templates I have associated to the
    document library so as to include the new "ExpDate" column as a Quick part.
    The problem I find is the following: When I create a new document based in the document templates (through content types), the user has the chance to insert an expiration date (as it is metadata) or leave it empty (the column is not defined as mandatory). If
    the user leaves the expiration date empty, the new column is filled with the default value (today + 365 days) but when I open the word document I see the name of the column [ExpDate] instead of the default value.
    Is there a way of forcing the document information panel to be filled with the default value?
    Do you imagine an alternative solution to the requirement of including the expiration date inside the document without having to be defined by the user?
    Thanks a lot.
    Regards.

    Wordsub.llb should be somewhere in your Labview folder on your local drive. The path to it in my install is: C:\Program Files\National Instruments\LabVIEW 8.6\vi.lib\addons\_office\_wordsub.llb
    Also what specific problem are you referring to about 17 bookmarks? Is that the limit on the express style VI for filling them in from LV? If so what you will need to do is to use the lower level function 'Word Insert Field' under Word Advanced VIs. You will need to supply the VI the name of the bookmark and the text you want to insert.

  • Indesign CS6 on MACs with OS 10.8 are having problems with links

    Hi
    Indesign CS6 on MACs with 10.8 are having problems with links. All links to other files have to be updated when opening a file although definitely nothing has changed to the linked files.
    We can rule out our company's networking and the system hosting the files (HELIOS software on RedHat Linux VM). This happens with newly created Indesign files and with old ones. E.g. we create a file on Tuesday, save it and open it again on the exact same MAC on Wednesday and all links to other fiels (.indd, .png, .bmp, etc. nothing uncommon) have to be updated as they all show the yellow triangle + black exclamation mark symbol next to them. Has anybody else experienced this, What can we do? We have tried absolutley everything and updated all software from MAC OS to CS6 itself but nothing seems to help on the long run.
    Any further information required?
    M. Miller

    Thanks for your quick reply.
    We actually noticed that there also seems to be something wrong with the timestamps:
    If we open the infos via the MAC finder to a file (.psd e.g.) which is linked in one of our indesign files, it states a certain date of creation.
    If we then switch to the Indesign file we just opened in which we had to update all links and open the infos to exactly the same file we looked at in the finder, a different date of creation is stated. So there also seems to be a mistake here (hope it's clear what I mean).
    We are ruling out our network as the error cannot be "re-enacted". We have created numerous test files in Indesign (simple white page containing one link to a .psd file which is also used in one of the supposedly defective files) and have opened them on various MACs with various OS versions over the past days/weeks but unfortunately the files open without any notifications or errors.
    Just as a background: a few months ago, the problem seemed to occur between MACs with differing OS, 10.6 - 10.8 at first. A file which was created on a 10.6 MAC could not be opened without updating all links on a 10.8 MAC. That is why we updated everything to 10.8. The error did not occur for about 2-3 weeks but then reoccured again.?
    Have you heard anything similar?

  • How to I activate the "insert link" function which accepts a saved/pasted address for highlighted text in V31.0?

    It worked perfectly in prior versions, but now in this version 31.0, when I try to paste a saved URL as a link into highlighted text, it returns this error message: "(No named anchors or headings in this page)", and refuses to accept a paste. Note that this is broken both when clicking on the little blue screen icon as well as when selecting "insert/link" from the function bar. I've looked everywhere for some sort of new configuration option to correct this, but to no avail. What am I missing?

    No, that's not the issue. I am writing simple text in an outgoing message, then highlighting a few words (such as "click here to visit the site"), then when I use any of the three methods to assign a link to those highlighted words (Ctrl L, insert/link, or clicking on the little blue screen icon), the normal window opens with a box to insert the URL, but when I try to PASTE such a saved URL into that box, the aforementioned error message appears. Note that I can manually TYPE a URL into that box with no problem, but version 31 will not allow me to PASTE one. I've always successfully used exactly that procedure with prior versions.
    Note also that when I insert an image into an outgoing message and try to paste a link to it in the same way, the same error message pops up. That also always worked in prior versions.
    Because e-mail is crucial to me, I have now re-installed a prior version (24.6.0) of Thunderbird in which this function works perfectly, so for now, problem solved. But I hope you can fix this so I can use future versions.
    BTW ... I'm using Windows 7 Professional on a PC running an Intel 64-bit 7 core processor.

  • Sql Devloper 4.0.0.13 - problems with displaying user data types

    Hi,
    I have installed new version of sqldeveloper and have discovered some problems with displaying user data types. The data that is described as VARCHAR2 are displayed with ‘???’.
    The problem persist in table view, script output and exported files.
    My type is described as follows:
    create or replace TYPE "DPTY_ADRESA" AS OBJECT
      ID_DPSF_OPCINE                                         NUMBER,
      ID_DPSF_MJESTA                                        NUMBER,
      OPCINA                                            VARCHAR2(100),
      MJESTO                                            VARCHAR2(100),
      ULICA                                 VARCHAR2(200),
      BROJ                                   VARCHAR2(20),
      SPRAT                VARCHAR2(20),
      OSTALO                             VARCHAR2(100),
      CONSTRUCTOR FUNCTION dpty_adresa RETURN SELF AS RESULT
    add MEMBER FUNCTION dajAdresu RETURN VARCHAR2 cascade;
    when make select column from table that contains this type I get next results:
    CASE 1:
    SQLDeveloper Version 3.2.20.09; Build MAIN-09.87; JDK 1.6.0_43; Windows 7 64 bit
    Select:
    select id, adresalokacija
    from dptr_saglasnosti
    where id = 1;
    Result:
            ID ADRESALOKACIJA
             1 COMP.DPTY_ADRESA(124,4913,'TRAIK','TURBE','BABANA','3452','0',NULL)
    END CASE 1;
    CASE 2:
    SQLDeveloper Version 4.0.0.13; Build MAIN-13.80; JDK 1.7.0_40; Windows 7 64 bit
    Select1:
    select id, adresalokacija
    from dptr_saglasnosti
    where id = 1;
    Result1:
    ID ADRESALOKACIJA
             1 COMP.DPTY_ADRESA(124,4913,'???','???','???','???','???',NULL)    
    But if I select one element it is displayed normal.
    Select2:
    select id, a.adresalokacija.opcina
    from dptr_saglasnosti a
    where id = 1;
    Result2:
    ID ADRESALOKACIJA.OPCINA
             1 TRAVNIK                  
    END CASE 2;
    I have tried this scenario on three different pc with same output.
    Pleas help me to get rid of the '???' in result.
    Best Regards,
    Omer

      I tried on SQLDeveloper Version 4.0.0.13; Build MAIN-13.80; JDK 1.7.0_45; Windows 7 64 bit; NLS setting is default
    all data can show,No ??? in result
    Test step as following:
    create or replace TYPE "DPTY_ADRESA" AS OBJECT
      ID_DPSF_OPCINE                                         NUMBER,
      ID_DPSF_MJESTA                                        NUMBER,
      OPCINA                                            VARCHAR2(100),
      MJESTO                                            VARCHAR2(100),
      ULICA                                 VARCHAR2(200),
      BROJ                                   VARCHAR2(20),
      SPRAT                VARCHAR2(20),
      OSTALO                             VARCHAR2(100),
      CONSTRUCTOR FUNCTION dpty_adresa RETURN SELF AS RESULT
    alter TYPE "DPTY_ADRESA" add MEMBER FUNCTION dajAdresu RETURN VARCHAR2 cascade;
    CREATE TABLE dptr_saglasnosti (
    adresalokacija        DPTY_ADRESA,
      id    number);
      INSERT INTO dptr_saglasnosti VALUES (
      DPTY_ADRESA (65,225,'Vrinda Mills', '1-800-555-4412','sss','aaaa','eeeee','attta'),1 );
    select id, adresalokacija from dptr_saglasnosti where id = 1;
    ID ADRESALOKACIJA
    1    HRCP.DPTY_ADRESA(65,225,'Vrinda Mills','1-800-555-4412','sss','aaaa','eeeee','attta')

  • Connecting to datasource and retrieve, insert and update data in SQL Server

    hi,
    i am trying to retrieve, insert and update data from SQL Server 2000 and display in JSPDynPage and is for Portal Application. I have already created datasource in visual composer. Is there any sample codes for mi to use it as reference???
    Thanks
    Regards,
    shixuan

    Hi,
    See this link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6209b52e-0401-0010-6a9f-d40ec3a09424
    Regards,
    Senthil kumar K.

  • OWB 10g -- Can't Create Database Links for Data Source and Target

    We installed OWB 10g server components on a Unix box running Oracle 10g (R2) database. The Designer Repository is in one instance. The Runtime Repository and the Target are in another instance. The OWB client component was installed on Windows XP. We create a data source module and a target module in OWB. The data source is on another Unix box running Oracle 9i (R2) database. We try to create database links for data source module and target module, respective. But when we created and tested the DB links, the DB links were failed.
    For the database link of data source, we got the following error message:
    Testing...
    Failed.
    SQL Exception
    Repository Error:SQL Exception..
    Class Name: CacheMediator.
    Method Name: getDDEntryFromDB.
    Repository Error Message: ORA-12170: TNS:Connect timeout occurred
    For the database link of target , we got the following error message:
    Testing...
    Failed.
    API2215: Cannot create database link. Please contact Oracle Support with the stack trace and the details on how to reproduce it.
    Repository Error:SQL Exception..
    Class Name: oracle.wh.ui.integrator.common.RepositoryUtils.
    Method Name: createDBLink(String, String, String, String).
    Method Name: -1.
    Repository Error Message: java.sql.SQLException: ORA-00933: SQL command not properly ended.
    However, we could connect to the two databases (data source and target) using the OWB’s utility SQL Plus.
    Please help us to solve this problem. Thank you.

    As I said prior the database link creation should work from within the OWB client (also in 10).
    Regarding your issue when deploying, have you registered your target locations in the deployment manager and did you first deployed your target location's connector which points out to your source?
    I myself had some problems with database link creations in the past and I can't remember exactly what they were but it had something to do with
    - the use of abnormal characters in the database link name
    - long domain name used in as names.default_domain in my sqlnet.ora file
    What you can do is check the actual script created when deploying the database link so see if there's something strange and check if executing the created script manually works or not.

  • How to insert one table data into multiple tables by using procedure?

    How to insert one table data into multiple tables by using procedure?

    Below is the simple procedure. Try the below
    CREATE OR REPLACE PROCEDURE test_proc
    AS
    BEGIN
    INSERT ALL
      INTO emp_test1
      INTO emp_test2
      SELECT * FROM emp;
    END;
    If you want more examples you can refer below link
    multi-table inserts in oracle 9i
    Message was edited by: 000000

Maybe you are looking for

  • Seeburger As2 Receiver channel exception for large files

    Hello Folks, We have JMS to seeburger AS2 interface we are facing follwing issue in As2 reciver channel for files larger than 20 MB.But In Production it is wokring fine for even 40 MB also. Delivering the message to the application usingconnection AS

  • Printing From iBook To Printer on Vista Desktop, Can't see shared printers

    Printing From iBook To Printer on Windows Vista Desktop, Can't see shared printer on a Vista machine from a Mac, although Windows notebooks find it immediately. I have previously always had success sharing printers on Windows XP machines with my iBoo

  • [svn:osmf:] 15899: Attempted fix for unit tests failure.

    Revision: 15899 Revision: 15899 Author:   [email protected] Date:     2010-05-04 17:21:06 -0700 (Tue, 04 May 2010) Log Message: Attempted fix for unit tests failure. Modified Paths:     osmf/trunk/framework/OSMFTest/org/osmf/OSMFTests.as

  • TS1424 how do I clear error download. tap to retry?

    How do I clear error download in Itunes downloads on my iphone? My phone will download other music but keeps leaving 2 particular albums in my down load que. Yet the music is shown in my libary as purchased and downloaded.

  • New CS6 Install

    Okay, my BETA trial of CS6 expired yesterday, so I bought the upgrade from CS5 Photoshop (not the Extended Version).  I uninstalled the Beta software including the preferences, installed the download from the Adobe Store, but when I open it, it still