Display items on a form

Dear composite experts,
Within GP I have three blocks:
1) Enter Purchase Order ID
2) Get Purchase Order details
3) Display Purchase Order details
For the third step I created a Web Dynpro Form as CO. On this form I have placed some header fields and a table to display the items. The header fields are OK, but I only get the first item displayed in my item table.
Who can help me out with getting the other items in my table as well?
I have tried looking into the tutorials and this forum - but no luck so far
Kind regards
Twan van den Broek
PS. When I test the CO from block 2, I get the complete purchase order back, both header details and items.

Hi Dipankar
I think I did not make my problem / situation clear.
With the aid of this tutorial <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5e9ca25b-0e01-0010-bbaa-f3b963e89edd">87 How to Consume an SAP Enterprise Service using Visual Composer and the Composite Application Framework</a> I imported an enterprise service (ECC_PURCHASEORDER002QR) in the NetWeaver Developer Studio to create an Composite Application Service, I added some logic to check the amount and deployed it to the portal.
Now I want to model the process in the GP design time as described in my first post. Doing this I hoped that I could reuse GP building blocks to generate the UI for me. Except for the multiple item lines, this works.
I realize that this is different than described in the tutorial, there the VC is used as a tool to generate the UI.
Issues remains that with - as far as I see right now - the existing GP templates it is not possible to have a table in your UI.
Kind regards
Twan

Similar Messages

  • How to validate a text item/display item in Oracle forms 9i?

    Hello Everyone,
    I have a form in which we have to type in a product_id as shown below in the screenshot. And when we type in, it has to get validated.
    If it is valid then ok, else display a message saying not valid.
    How do we achieve it on a text box/diaply item in the form shown below.
    Any kind of help would be really appreciated.
    Thanks in advance,
    Vishal

    Just create a when-validate-item trigger for that text item and write the code inside to validate it.
    Hope it helps.
    Navnit

  • Displaying items in adobe form

    Hello All,
      I am new to adobe forms.
      i need to display billing items, in the adobe form .
      i have created interface, and imported this table. till here i am clear. but i dont klnow how to display
    this information in layout.
    i need to diaply heading and under that relevant data. i ahve total 100 row in billing items table.
    please guide me how to acheive this.
    P.S.: i ahve gone through forum, all of them are takling about, some dynamic display, and table inside table.....this kind of advanced stuff.
    thanks a lot inadvance
    Best Regards
    Amarender Reddy B

    Hi Amarender,
    Try using a Two subform layout for displaying the tabular format. The design should be this way.
    >Parent Subform (Flow Layout and Flow direction is Table and Allow Page break within contents checked)
    >Column Header(use static Text)
    >Child Subform(Flow Layout and Flow Direction is Table Row)
    >Columns binding(user text field and bind it to the Value node attribute and Repeat subfom item checked)
    This is how u display the data in Table format in PDF.
    Hope this helps u
    Regards,
    Poojith M V

  • How can I change TEXT ITEM to DISPLAY ITEM in my form.....

    Hello;
    There are 2 users in my form,when fırst one is connect to my form,I want to change "the Text item" to Display ıtem..

    Better try the Forms forum:
    Forms

  • Get server date and user account to display them in two display items.

    Hello,
    I would like to get the server date and the curent Oracle user account to display them in two "display items" in my form. So, If someone can help me, I will appreciate it.
    Thanks!

    There's nothing to fetch. You assign the value from the function GET_APPLICATION_PROPERTY(USERNAME); as you would any value returned from a function.
    DECLARE
       myVar    VARCHAR2(50);
    BEGIN
       myVar := GET_APPLICATION_PROPERTY(USERNAME);
    END;Hope this helps.
    Craig...
    -- If my response or the response of another is helpful or answers your question please mark the response accordingly. Thanks!

  • Display item

    if we have a item on item_code i want item code with name what to do
    name is in another form

    user628902 wrote:
    i have two forms
    1.goods receive note containg id,date,supllier_code,toatal_val
    2. supplier_deatil containing supplier_name, id,address, phone.
    when i run the 1 form i want display the supplier_code as well as supplier_name what should i do
    thankxIf you wantto show the supplier name in your form where the block/table only contains the supplier code, then you should do something like this
    Create a display item in your forms, and in your POST-QUERY trigger on block level select the supplier_name into the display item.
    Here's an example on the EMP, DEPT table displaying the department name in POST-QUERY trigger of the EMP block and the DEPT_NAME display item in the EMP block.
    BEGIN
      SELECT DNAME INTO :EMP.DEPT_NAME    /* Select the name into the display item */
      FROM DEPT
      WHERE DEPTNO = :EMP.DEPTNO
    EXCEPTION
      WHEN NO_DATA_FOUND THEN
      :EMP.DEPT_NAME := NULL;
    END;Tony

  • Bom item in adobe form will display inside the main item

    hi gurus,
    Currently i am displaying a print adobe form of order confirmation (va02) . but requirement is like i need to display Bills of Material item  bit inside the main item level . for ex : there are total 50 line items in a sales order and for item no 20 , 30 and 40 are the Bom item in that sales order only.now rather to print all the items in a same level i  need 30 and 40 will display bit inside in the form.....currently i am using table row in form......
    Edited by: Manoj Kumar on Jan 8, 2008 1:21 PM

    hi gurus,
    Currently i am displaying a print adobe form of order confirmation (va02) . but requirement is like i need to display Bills of Material item  bit inside the main item level . for ex : there are total 50 line items in a sales order and for item no 20 , 30 and 40 are the Bom item in that sales order only.now rather to print all the items in a same level i  need 30 and 40 will display bit inside in the form.....currently i am using table row in form......
    Edited by: Manoj Kumar on Jan 8, 2008 1:21 PM

  • Forms Developer 4.5 - Bring display item to front at runtime

    I have 10 square display items lined 2x5 to represent a rectangle shape on my form. The individual display items represent 10 positions on a pallet. Other display items are then used to represent an item that needs to placed onto a position on a pallet so affectivly your dragging a display item ontop of another display item.
    My problem: It lets you drag the item onto it however it will not allow you to drag it back off. Even though it looks like your selecting the top item that is in focus, forms thinks your draggin the square behind it? How can I change the focus of display items at runtime?

    Hi, unforunately the company I work for do not upgrade systems it would seem. The system is an old VAX running Oracle 7, the users interface to this is that old version of forms. I have successfully create one drag and drop interface for our users to make changes to the database however this one has different specification and in order for it to work I need to be able to place one display item on top of another. I have worked out how to do this and it works in a fashion however when dragged on top of the other display item it then disappears behind it. I need to bring it to the front at runtime... Any ideas?

  • Form with report, where some items in the form have been given values.

    Hi, greetings:
    I have a question that maybe silly but annoying to me. I need to provide a form with report, where some items in the form have been given values automatically, and these items (display only) are supposed to show given values in the form automatically.
    I used the APEX form with report. The update and delete worked well. But I cannot show automatic values when insert. By default APEX insert form makes every item null; I tried to give value for two items: P5212_USERKEY, P5212_DAILY_VER_DATE with process before header, after header, after regions and before footer, and computation, or set values of these two items in the branch when user hit create button (submit). It never worked out, the two items always displayed null value, and when I insert, I got "ORA-01400: cannot insert NULL into ("TBSBI"."DAILYVERPRODNOTE"."USERKEY")", since I have set up constraint in database that these two columns should not be null.
    Could anyone help on this? any suggestion would be appreciated.
    Sam

    If you have made these values 'Display Only' they would by default not save the session state. Accessing the page items will always return NULL. Did you change the 'Save Session State' option to 'Yes'?

  • Displaying items in a single line in ALV grid using  ALV_TOP_OF_PAGE.

    Hello Guys,
    I am having a problem in displaying items in a single line in the ALV Grid using event ALV_TOP_OF_PAGE.
    My requirement is to group items on a single line i.e. in the example below, Vendor code and posting date are on the same line. The next line the prints Vendor Name and Document no.
    Vendor Code: 123123                               Posting Date : 01.01.2011
    Vendor Name: ABCD                                 Document No: 152246598.
    Here is my code in subroutine 'ALV_TOP_OF_PAGE', 
      wa_list_comments-typ = 'S'. 
      wa_list_comments-key = ''.
      wa_list_comments-info = 'Vendor Code'.
      APPEND wa_list_comments TO it_list_comments.
      wa_list_comments-typ = 'S'. 
      wa_list_comments-key = ''.
      wa_list_comments-info = 'Posting Date'.
      APPEND wa_list_comments TO it_list_comments.
    The above code prints in the following format i.e one below the other,
    Vendor Code: 123123                              
    Posting Date : 01.01.2011.
    I also tried using HTML_TOP_OF_PAGE, but it didn't work.
    Can anybody please help me out with this.
    Regards,
    Danish.

    Hi Danish,
    Your problem is with the alignment and you need some fix positions .
    The solution i feel is u can use as below :
    In CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    use 
    i_callback_html_top_of_page       = 'HTML_TOP_OF_PAGE'.
    Now on calling routine call use cl_dd_document class :
    FORM html_top_of_page USING document TYPE REF TO cl_dd_document .
    data : doctable TYPE REF TO cl_dd_table_element,
              col1_t1 TYPE REF TO cl_dd_area,
              col2_t1 TYPE REF TO cl_dd_area,
              col1_t2 TYPE REF TO cl_dd_area,
              col2_t2 TYPE REF TO cl_dd_area.
    add quick table with five columns
        CALL METHOD lw_document->add_table
          EXPORTING
            no_of_columns               = 2
            border                      = '0'
         cell_background_transparent = ' '
            width                       = '100%'
          IMPORTING
            table                       = doctable.
    Filling columns in row
        CALL METHOD doctable->add_column
          EXPORTING
            width  = '40%'
          IMPORTING
            column = col1_t1.
    Filling columns in row
        CALL METHOD doctable->add_column
          EXPORTING
            width  = '60%'
          IMPORTING
            column = col2_t1.* Filling columns in row
    Call method doctable->new_row.
        CALL METHOD doctable->add_column
          EXPORTING
            width  = '40%'
          IMPORTING
            column = col1_t2.
    Filling columns in row
        CALL METHOD doctable->add_column
          EXPORTING
            width  = '60%'
          IMPORTING
            column = col2_t2.
    *Now adding the texts
    lw_text1 = 'your first text'
    CALL METHOD col1_t1->add_text
          EXPORTING
            text = lw_text.
    *Similarly add text for other columns
    *Adujust % in width to adjust the column as required
    Endform.
    Hope this will solve your problem .

  • Newly added column in a table not displayed in a related form

    I added a new column (DNAMECONT as varchar2) in a table I created a Form on. I added this new field in my Form as a text field, and on the customized tab of the form wizard, this following code is displayed as expected :
    <TR><TD><#DCONTRACTOR.LABEL#></TD><TD><#DCONTRACTOR.ITEM#></TD></TR>
    But I cannot view it once I run my form.
    did I forget to do something or is there something I did wrong?
    Thank you for your help.
    Bertrand

    Sorry to interupt, as far as I understand, if you add extra column to a table after the form is built and you want to add this new column in your form. When you add new item in your form, the name you give to the item should exactly match the column name of your new column of the table. Now, you said you added a new column called DNAMECONT, but the
    html shown in form wizard is <#DCONTRACTOR.LABEL#>, <#DCONTRACTOR.ITEM#>, two names do seem to match. Is that the problem?
    null

  • How to make list item as text item  in oracle forms 6i

    Hello all,
    I created one form with one list item named "Country".. This list item shows country name for the particular employee in the employee table.I created this list item as database field. In the enter query mode i search an employee , This should act as item text.. Suppose i want to add an employee in enter query mode then i fill all the necessary fields,and
    when i click "country" list item it should display all the country names from "country_tab" table..So based on the situation
    this should act as list item and item text.. Can i Do this ?.. Pls help me.

    hai Andreas Weiden,
    I simply explain my requirement:
    I want to insert data and quering data by using single form...So, I created one form with data block. This form created from employee table.I have one text item in this form named country.This is database item.
    Ok ,Now the actual problem comes.I press "Enter query" in tools menu,Then enter one employee number in employee_no field.after i press
    Execute query In tools menu. It shows all the details corresponding to that employee..
    Note: here "country" text item also shows employees country.
    Right, Now i have another requirement. In the same form I want to insert a new employee. For that
    I planed to changes country text to list item [ because when  insert i can easily pick up one country .it
    reduces typing work ] . I have another table "COUNTRY". Using this table, i should populate country list item..
    So, the country item should act as both text item [When quering] as well as list item [ When inserting ]
    Is there any idea ti do this ?
    If this not possible then what is the alternative ?
    Pls suggest me..

  • How to add a display item like the one in 'Invoices screen' please ?

    The label operating unit is in a folder like feature . Is this a display item/ a folder ? I need to add the same thing as label . Thanks .

    twinklin_girl wrote:
    I figured out it's a folder. How to add folder functionality to a customized form please ?Please see the following docs/links -- Search for "APPFLDR"
    Customization in Oracle Applications [ID 743490.1]
    http://docs.oracle.com/cd/E18727_01/doc.121/e12897/T302934T302936.htm#d0e750
    http://docs.oracle.com/cd/E18727_01/doc.121/e12900/T458979T458984.htm#I_bx2Dlib
    Folder Functionality in custom form
    https://forums.oracle.com/forums/search.jspa?threadID=&q=APPFLDR&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Multi-Line Display Item

    I need to populate a multi-line display item in Forms 6i.
    The problem that I am having is the actual assignment to the display item.
    For example:
    :DISPLAY_ITEM := '10';
    :DISPLAY_ITEM := '11';
    This makes the display item show the value '11' only.
    I need '10' on the first line and '11' on the second line, etc.
    Thanks in advance,
    Patrick

    well, you can write:
    go_block('BL_BLK');
    first_record;
    :display_item:=10;
    next_record;
    :display_item:=11;
    but for this- 1. block should have one navigable item. 2. display_item should not be the first item of the block.
    Otherwise you will need to create a non-databse text_item with width 0 on the canvas for that block.
    Hope this helps.
    Regards
    Mona

  • Displaying Column name in Forms

    Dear All,
    I have a list item in my form populated with diff. table names I want to display all fieldnames of a table in another list as user select any table in first list.
    In sql We can see this by desc tablename but I am not getting any clue how to do it in Forms
    Can anyone help in this regard ?
    thanks in advance

    You could write a query using user_tab_columns, all_tab_columns or dba_tab_columns depending on your needs:
    select column_name,data_type
    from all_tab_columns
    where table_name = yourtable
    Depending on how tables are set up in your database you may have to add "and owner = ownername" in the where caluse.
    Hope this helps.

Maybe you are looking for