Expand Line Width in Lines Table

Hi,
In a seeded OAF page (Oracle Sourcing), I have a requirement for expanding the line description for a Lines Table.
Currently, its showing the first 24 characters of the line's description followed by ...
Any ideas of showing the entire line's description ?
Thanks

Well, one way I achieved this, was to create a new attribute in the VO of the same type, and show it next to the cutted line's description.
That works fine.

Similar Messages

  • Fixed width row for lines table

    Hi,
    I have a header and details tables in my template. The problem is that if there is more data for any of the column in lines, the row expands and hence the gap between footer and lines table is disturbed. Because of this reason I am unable to fix number of rows per page for lines. Any guidelines on this will help.
    Thanks in advance,
    Suresh
    P.S. I am a newbie in XML

    Hi,
    Just to confirm this, you are having problems with the height of your table, ie it is expanding vertically down the page, as opposed to the width, expanding horizontally across the page.
    You can fix the height of the table, by selecting the repeating row of the table and going to Table Properties, on the Row tab check the Specify Height box. You can then enter a height for this row. The drop down menu to the right means you specify whether the row should be At Least the specified height, or exactly the specified height.
    You may need to look at nested tables here, but specifying the height of the rows should give you a reasonable starting point.
    Regards,
    Cj

  • Width of type of line "LINE" doesnu00B4t fit the width of the table - Smartform

    Hi;
    I´m working with the Z smartform of "YBAA_SDINV", my problem is the next:
    a) The width of the "TABLEITEM" node had a 31.09cm,
    b) then i reduced the size of the "TABLEITEM" window and activate the smartform, not warning about problem size was displayed
    c) i go to  tcode VF03 to preview the invoice but it does´nt display it
    d) i return to the Z smartform a modify to original size and activate, go to VF03 to preview and it doesn´t display it
    c) i change manually the size of the width of th table  to 28cm, activate and get error size message
    d) i close the smartform with out saving
    e) i return the width of th table  to 31.09cm an now when i see the DETAILS of the TABLEITEM all the sizes are gone for all the defined lines
    IT_GEN3 => this is the line i´ve defined to display data in the invoice, and is the only one with numbers in the columns
    HD_GEN
    IT_GEN
    IT_DESC
    IT_GEN2
    IT_CUSTMAT
    How can i make to display again the content of the line...?
    Thanlas on advance

    If you use a baseline grid and space before/after your spaces must by necessity equal the leading (using the align to grid option will force them to the grid, regardless of the chosen size). The grid should match the leading of your body copy.
    If you have headings that you want space before and after, don't align them to the grid, but make sure that the total of the space before, after, and leading for the style add up to a multiple of the body text leading. That will work smoothly everywhere except at the top of a column, where the space before is ignored, and will be added to the space below by virtue of the align to grid on the body copy.
    If instead of having all the copy lign to the grid you just want the top and bottom lines flush, and you want the leading within the paragraphs constant, but a variable space between paragraphs, set the text frame to vertically justified, then set the maximum spacing between paragraphs to a ridiculously large number and all of the extra space required to fill the column will be split between the paragraphs.
    Peter.

  • Interactive report - Is there an easy way to expand the width of a column to allow for more data on a line.

    Example.
    One of the columns in my interactive report is labelled Notes.
    The data in the column looks like
    I really
    enjoy
    typing up
    notes,
    please
    disregard
    Is there any way to get this note all on one line - or atleast expand the width to increase or decrease the number of characters per line.
    So either
    I really enjoy typing up notes, please disregard
    Or
    I really enjoy typing up notes,
    please disregard
    Thanks in advance.

    Hi Mikez,
    You can also consider to render your "Notes"-column as a textarea, eg:
    http://apex.oracle.com/pls/apex/f?p=vincentdeelen:23:
    For the text area you can define the default number of rows and column width you want. You render a column as text area with an apex_item function:
    select apex_item.textarea(3,NOTES,1,80) from MY_TABLE
    Where 3 is the index number that you want your NOTES colum to have and 1 and 80 stand for row and column width respectively. When you use apex_item for a column, make sure to set that column as "Standard Report Column" under "Report Attributes".
    More info on apex_item:
    Oracle Application Express APIs
    Regards,
    Vincent Deelen

  • IBooks Author in-line tables are being cut off

    iBooks Author in-line tables are being cut off at the bottom of a column, instead of flowing to the next column, or moving the entire table. 
    The entire point of marking a table as in-line, is to get it to move as text is inteserted before it.  But when that happens, nothing makes sure the table remains visible.  When the top of the table gets pushed to a new column, it reappears intact, but when half the table won't fit, it just disappears below the bottom margin.
    How can I prevent that?

    Actually I just did.  I gave up on this long ago, but with your reply I found a way to make it work.  It seems strange, but it works half way.
    First draw a text box, then inside of the text box, put your table.  Make the text box In-line.  If you add rows to your table, you need to make the text box bigger yourself, as it won't grow automatically.  When you type in front of the text box, when it won't fit on the column or page, the entire box is moved to the next column or page.  That is the half that works.
    The half that doesn't work, is that when part of the table won't fit, it would have been nice if the non-fitting portion was moved to the next column or page, with a new header row.  Maybe with time, Apple will fix that. 
    But at least it won't cut off half the table this way.

  • Creating UDO through code  with 1 Docment table & 4 Document Line Tables

    Hi,
    I need to create one Document table and four Document Line tables(child tables) and make them UDO through code. This process is working When I am creating UDO with one Document table and one Document Line table but if I add more than one Child table it is taking only one child.... Can anyone give me some solution or code example related to this problem this problem?
    Regards,
    Sudeshna.

    Hi,
    Firstly Trinidad, unfortunately I could not open that link.
    And secondly, the following is my code... Through this code I am trying to create an UDO with one document table and two document line tables.... here the UDO is being created but it is not taking two line table, its taking only one Document line table.... how can I create udo with more than one Document line tables?
    Dim oUserObjectMD As SAPbobsCOM.UserObjectsMD
    oUserObjectMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserObjectsMD)
    oUserObjectMD.CanCancel = SAPbobsCOM.BoYesNoEnum.tYES
    oUserObjectMD.CanClose = SAPbobsCOM.BoYesNoEnum.tYES
    oUserObjectMD.CanCreateDefaultForm = SAPbobsCOM.BoYesNoEnum.tYES
    oUserObjectMD.CanDelete = SAPbobsCOM.BoYesNoEnum.tYES
    oUserObjectMD.CanFind = SAPbobsCOM.BoYesNoEnum.tYES
    oUserObjectMD.CanLog = SAPbobsCOM.BoYesNoEnum.tNO
    oUserObjectMD.CanYearTransfer = SAPbobsCOM.BoYesNoEnum.tYES
    oUserObjectMD.ManageSeries = SAPbobsCOM.BoYesNoEnum.tYES
    oUserObjectMD.ChildTables.TableName = "childSplitNew1"
    oUserObjectMD.ChildTables.TableName = "childSplitNew2"
    oUserObjectMD.Code = "udoSplitNew"
    oUserObjectMD.ManageSeries = SAPbobsCOM.BoYesNoEnum.tNO
    oUserObjectMD.Name = "udoSplitNew"
    oUserObjectMD.ObjectType = SAPbobsCOM.BoUDOObjType.boud_Document
    oUserObjectMD.TableName = "masterSplitNew"
    lRetCode = oUserObjectMD.Add()
    Regards,
    Sudeshna.

  • Can't delete from parent table if FK constraint on the out-of-line table

    Using Oracle XML DB 11g
    I am using out-of-line storage table to store a collection of XML elements in conjuction with storeVarrayAsTable="true". So what I have is a parent table containing a nested table of VARRAY of REFs to rows in the out-of-line table.
    In addition, I have a foreign key constraint placed on a column in the out-of-line table.
    My problem is that I am not able to delete rows from the parent table when the FK constraint is placed on the out-of-line table. Only when I drop the FK constraint does the deletion work - all associated rows in the nested table and out-of-line table
    gets deleted correctly.
    With the FK constraint, deleting the child document like this
    dbms_xdb.deleteResource('/project-1.xml')
    gives me this error:
    ORA-31018: Error deleting XML document
    ORA-03001: unimplemented feature
    *Cause:  The XMLType object pointed to by the given REF could not
    be deleted because either the REF was invalid or it pointed to a non-existent table.
         *Action:  Either use FORCE deletion or supply a valid REF.
    I have tried deleting with the FORCE options as well with no success.
    Using DBMS_XDB.DELETE_RECURSIVE_FORCE option doesn't produce an error, but doesn't perform the deletion either.
    Here is the XML Schema:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" xmlns:xlink="http://www.w3.org/1999/xlink"
    elementFormDefault="qualified" attributeFormDefault="unqualified" xdb:storeVarrayAsTable="true">
    <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="http://www.w3.org/1999/xlink.xsd"/>
    <xs:element name="project" xdb:defaultTable="PROJECT_TAB">
    <xs:complexType xdb:SQLType="PROJECT_TYP">
    <xs:sequence>
    <xs:element name="resourceList" minOccurs="0" xdb:SQLName="RESOURCE_LIST">
    <xs:complexType xdb:SQLType="RESOURCE_LIST_TYP">
    <xs:sequence>
    <xs:element name="aResource" type="refType" minOccurs="0" maxOccurs="unbounded" xdb:SQLInline="false"
    xdb:SQLName="A_RESOURCE_REF" xdb:defaultTable="RESOURCE_REF_TAB"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    <xs:attribute name="aguid" type="xs:string" use="required" xdb:SQLName="AGUID"/>
    </xs:complexType>
    </xs:element>
    <xs:element name="aResource" xdb:defaultTable="A_RESOURCE_TAB">
    <xs:complexType xdb:SQLType="A_RESOURCE_TYP">
    <xs:complexContent>
    <xs:extension base="contactType">
    <xs:attribute name="aguid" type="xs:string" use="required" xdb:SQLName="AGUID"/>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>
    </xs:element>
    <xs:complexType name="contactType" xdb:SQLType="CONTACT_TYP">
    <xs:sequence>
    <xs:element name="name" type="xs:string" xdb:SQLName="NAME"/>
    <xs:element name="email" type="xs:string" minOccurs="0" xdb:SQLName="EMAIL"/>
    <xs:element name="phone" type="xs:string" xdb:SQLName="PHONE"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="refType" xdb:SQLType="REF_TYP">
    <xs:attribute ref="xlink:href" use="required"/>
    <xs:attribute name="oref" type="xs:string" use="optional" xdb:SQLName="OREF"/>
    </xs:complexType>
    </xs:schema>
    I registered the schema using structured storage with these options:
    BEGIN
    DBMS_XMLSCHEMA.registerschema(
    SCHEMAURL => 'LSDProjects.xsd',
    SCHEMADOC => xdbURIType('/home/LSDProject2/LSDProjects.xsd').getClob(),
    LOCAL => TRUE, -- local
    GENTYPES => TRUE, -- generate object types
    GENBEAN => FALSE, -- no java beans
    GENTABLES => TRUE -- generate object tables
    END;
    The PK and FK constraints were added like this:
    -- Add PK constraints on aResource/@aguid attributes
    ALTER TABLE A_RESOURCE_TAB ADD CONSTRAINT A_RESOURCE_AGUID_IS_UNIQUE UNIQUE (XMLDATA."AGUID");
    -- Add FK constraint on out-of-line table
    ALTER TABLE RESOURCE_REF_TAB
    ADD (CONSTRAINT ref_resource_aguid_is_valid FOREIGN KEY (XMLDATA."OREF")
    REFERENCES A_RESOURCE_TAB(XMLDATA."AGUID"));
    Here are the XML instance documents:
         where resource-1.xml looks like this :
    <aResource aguid="resource-1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="LSDProjects.xsd">
         <name>Jane Doe</name>
         <email>[email protected]</email>
    <phone/>
    </aResource>
         and project-1.xml looks like this :
         <project aguid="project-1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="LSDProjects.xsd"
                   xmlns:xlink="http://www.w3.org/1999/xlink">               
              <resourceList>
                   <aResource xlink:href="/resource-1.xml" oref="resource-1"/>                         
              </resourceList>     
         </project>
    where <project> document contains a collection of <aResource> elements stored in the out-of-line table and
    project/@oref attribute is a foreign key to the primary aResource/@aguid attribute.
    Can someone shed some light on why I am unable to delete "project-1.xml" from the repository when the FK constraint is applied onto the out-of-line table.
    Any advice/suggestions would be appreciated. Thanks!

    Thank you for the quick reply, mdrake.
    I am currently prototyping and testing out (best) ways to achieve data integrity with XML data in XML DB.
    I have instance documents that makes cross references to values in other instance documents
    (not of the same root nodes). What I'm trying to enforce is a referential constraint between the documents
    so that a document cannot be inserted if the referenced document doesn't exists.
    In this situation, a <project> document contains a collection of elements with @oref attributes.
    The collection is stored in an out-of-line table.
    For example:
    <project>
    <resourceList>
    <aResource ... oref="resource-1"/>
    <aResource ... oref="resource-2"/>
    </resourceList>
    </project>
    The @oref (FK) attribute above references a @aguid (PK) attribute in <aResource> document (below):
    <aResource aguid="resource-1"> .... </aResource>
    Basically, I want to ensure that the value of
    /project/resourceList/aResource/@oref
    correspond to a valid
    /aResource/@aguid
    Note that I was able to add the FK constraint on the OOL table without any issues.
    And the constraint did work as expected as I was not allowed to insert a <project> document
    that referenced a non-existent /aResource/@aguid.
    The problem was that I could not delete the <project> document from the XML DB repository
    once the FK contraint was added. Deleting with the DELETE_RECURSIVE_FORCE option did not give
    me any errors - is just didn't do anything.
    I guess there are certain limitations with using out-of-line tables.
    BTW, sorry the examples are hard to read as the indentations are removed when posting.

  • Error : Transaction header and line tables cannot be empty

    please can some one help me.
    when i want to create an invoice without anuy line, i have the error : Transaction header and line tables cannot be empty .
    can some one tell me how can i solve this
    regards.

    Hi,
    I really don't know if it is possible to create an invoice in AR with no transaction lines. When I interface invoices from another system to AR (and there is no need to detail inventory items), I use a single line with a dummy inventory item or with no inventory item (inventory_item_id and warehouse_id set to null) in transaction lines, and I use the description field to describe the link to the other software in a user-friendly way.
    Regards,
    Ketter Ohnes
    Message was edited by:
    Ketter Ohnes

  • How to create a multi-line table/column comment

    Can someone tell me how to create a multi-line table or column comment?
    Apparently, the concatenate operator (||) does not work with the COMMENT statement.
    I've searched the Oracle manuals and couldn't find an answer.
    COMMENT ON TABLE sometbl IS 'i would like to break up this comment into several lines in order to improve readability'; Effectively, this is what I'd like to do (but it doesn't work):
    COMMENT ON TABLE sometbl IS
      'i would like to break up ' || CHAR(10) ||
      'this comment into several lines ' || CHAR(10) ||
      'in order to improve readability' || CHAR(10); Oracle version is 10.2.0.4

    Why not just
    SQL> create table t (a int)
    Createtable successfully completed.
    SQL> comment on table t is 'i would like to break up 
    this comment into several lines 
    in order to improve readability'
    Commenton successfully completed.
    SQL> select * from user_tab_comments where table_name = 'T'
    TABLE_NAME           TABLE_TYPE  COMMENTS                               
    T                    TABLE       i would like to break up               
                                     this comment into several lines        
                                     in order to improve readability        
    1 row selected.?

  • Where is my EXPORT dump file ? How to do BRTools off line table reorgan ?

    Hello,
    Here was my BRTools Export output message :
    About to export specified tables via Direct Path ...
    Current user changed to SAPPRD
    . . exporting table                          CDHDR   60357362 rows exported
    Export terminated successfully without warnings.
    BR0280I BRSPACE time stamp: 2011-08-09 16.53.04
    BR1160I 1 table exported by EXP utility
    BR0280I BRSPACE time stamp: 2011-08-09 16.53.04
    BR0670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to abort:
    But where is my Export dump file ?
    Besides, could you tell me the procedures of using BRTools Export & Import to do off-line table reorgan ?
    Due to some reasons, I can't do online table reorgan.

    Hi Ming,
    I noted the OSS note 646681 - Reorganizing tables with BRSPACE in my previous message, already. You don't need any additional effort such as creating script, if you use brspace as I noted in my last message.
    Stop the SAP system, but not database then execute the command, below;
    1) brspace -u / -f tbreorg -t "CDHDR"
    2) At the incoming menu steps, select --> (8 - Table reorganization mode (mode)) .. offline
    3) Then continue with "c"
    At the end of this steps, table and related indexes will be reorganized.
    You can update statistics by using the command, below after you complete the steps, above respectfully;
    brconnect -u / -c -f stats -t all -f collect -p 4
    Best regards,
    Orkun Gedik

  • 'Expand Line Details' in Quick Sales Order

    Hi,
    How can we hide the '++' (Expand line Details) icon from the Quick Sales Order Screen. I do not want to give that access to the users.
    regards,
    imran

    You will need to disable the 'collapse' button as well as the 'expand' button
    Set up the following forms personalization at FORM level under WHEN-NEW-RECORD-INSTANCE / ORDER (if you use WHEN-NEW-FORM-INSTANCE this doesn't trigger the action when opening an order from the Organizer):
    Type = Property
    Object Type = Item
    Target Object = ORDER_CONTROL.EXPAND
    Property Name = DISPLAYED (APPLICATIONS COVER)
    Value = FALSE
    ... and repeat for target object = ORDER_CONTROL.COLLAPSE

  • Help With Ora-19046:Out-of-line table cannot be shared by two top-level tab

    Hi!
    My tutor asked me to store and query the xml files in a "native" way in xml db. First I tried to register the schemas on which those xml files are based. There are about 30 of schemas asscociated with each other, and I have to use "FORCE" to register them , like this:
    BEGIN
    DBMS_XMLSCHEMA.registerSchema(
    'http://www.isotc211.org/gmd/metadataEntity.xsd',
    bfilename('ISOGMD', 'metadataEntity.xsd'),
    TRUE,
    TRUE,
    FALSE,
    TRUE,
    TRUE);
    END;
    Then no tables are created automaticly. And when I wanted to create a XML table based on thses schemas manually, it proped the error: ORA-19046:Out-of-line table cannot be shared by two top-level tab. This has confused me for about a week. Does anyone know what's wrong with the registration? Waiting eagerly on line! Thanks!

    First of all, i create a "filename.txt" that contains all my schemas' names. the names are:
    acquisitionInformation.xsd
    applicationSchema.xsd
    basicTypes.xsd
    catalogues.xsd
    citation.xsd
    codelistItem.xsd
    constraints.xsd
    temporalTopology.xsd
    topology.xsd
    units.xsd
    uomItem.xsd
    valueObjects.xsd
    xlinks.xsd
    there are 72 schemas. Then I register them using "force":
    GRANT EXECUTE ON utl_file to fld;
    create table test (
    fld1 VARCHAR2(50));
    declare
    isto_file utl_file.file_type;
    fp_buffer varchar2(4000);
    begin
    isto_file := utl_file.fopen('MYXMLDIR', 'filename.txt', 'R');
    loop
    begin
    utl_file.get_line (isto_file , fp_buffer );
    insert into test values(fp_buffer);
    Exception
    when no_data_found then
    exit;
    end;
    end loop;
    utl_file.fclose(isto_file);
    end;
    declare
    cursor my_cursor is select fld1 from test;
    v_name varchar2(50);
    begin
    open my_cursor;
    loop
    fetch my_cursor into v_name;
    dbms_xmlschema.registerSchema(
    schemaurl=>v_name,
    schemadoc=>bfilename('MYXMLDIR',v_name),
    local=>TRUE,
    gentables=>true,
    force=>true,
    csid=>nls_charset_id('AL32UTF8')
    exit when my_cursor%NOTFOUND;
    end loop;
    close my_cursor;
    end;
    at last, when I check the types generated during registration, I found that only a small number of types are automatically generated. When I try to create table manually ( based on certain element of one schema), it props errors, sometimes "31079. 00000 - "unable to resolve reference to %s \"%s\"" ", sometimes other errors.
    If I manually register them one by one from the base schema, then the registeration fail at some point. this is the script:
    BEGIN
    DBMS_XMLSCHEMA.registerSchema(
    'geometryAggregates.xsd',
    bfilename('XSD', 'geometryAggregates.xsd'),
    TRUE,
    TRUE,
    FALSE,
    TRUE);
    END;
    ERRORS
    22881. 00000 - "dangling REF"
    Is that something wrong with my schemas? I wonder how can i paste them here. there are 72 files.......

  • How to create a three line table by pages?

    I need to write my paper which need the three line table to describe.i used to use the word to do this,but i want to know how to create it by pages?

    Why not just
    SQL> create table t (a int)
    Createtable successfully completed.
    SQL> comment on table t is 'i would like to break up 
    this comment into several lines 
    in order to improve readability'
    Commenton successfully completed.
    SQL> select * from user_tab_comments where table_name = 'T'
    TABLE_NAME           TABLE_TYPE  COMMENTS                               
    T                    TABLE       i would like to break up               
                                     this comment into several lines        
                                     in order to improve readability        
    1 row selected.?

  • Forms on web Hierarchical Tree control does not expand lines

    running forms 6i on windows client-server mode HTree control works OK,
    but with developer server on Unix
    HTree sometimes does not expand lines properly (usually at the bottom of htree control) and after such situation form is stacked
    Icon usage does not make a difference.
    If I will expand the whole tree at startup it seems to be working fine, but I want to show it collapsed.
    Please help.

    It doesn't sound like this is the answer in your case, but here is a problem I had with tree icons in 6i which took me a while to figure out.
    For some unknown and probably pointless reason, forms converts the tree query to uppercase before executing it. This can cause problems if the sql contains any hardcoded strings. In my case I was doing something like
    decode(status,1,'red',2,'green')||icon_name
    this resulted in REDicon when my icon was actually redicon.gif

  • Generate/Reconcile problem: two types of Off-line Tables?

    Hi,
    I have problem with Generate/Reconcile objects from Off-line Tables.
    I have DB tables primarily defined as Off-line DB tables (creation and all changes I do with Off-line DB Tables). Sequentially I force changes to DB with option "Generate/Reconcile". So long as I created Off-line tables directly in JDeveloper, all was great.
    Now, I want to simplify proces of creation off-line tables: I generate myself sql simple sql script (on the basis java-beans), apply to DB and after it import DB tables from DB to Off-line tables. Next I want to work as sooner, i.e. make fine changes on Off-line tables and "Generate/Reconcile" to DB.
    But this second approach dosn't work. Off-line tables imported from DB shows in Table Information warning "This table has been imported from/or generated to a database. Changigng the Temporary Table property will affect your ability to reconcile it with that database". But what is important: Generate/Reconcile such Off-line table to DB faces alltimes to DROP table and CREATE table!!!!! So this is fully useless.
    When I opex Off-line tables xml, other structure is for Off-line tables created in JDeveloper and imported from DB.
    So how resolve this problem? How can I "transform" Off-line table imported from DB to Off-lina table created directly in JDeveloper?
    Notice 1: I have JDeveloper 10.1.3.2.0
    Notice 2: When imported from DB, I imported table to another schema and another table-name, eg. SCHEMA1.NEW_TABLENAME to SCHEMA2.TABLENAME.

    Hello,
    Discuss with your finance team
    Thanks
    RK

Maybe you are looking for