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

Similar Messages

  • Display a database item on display item

    please i have a varchar database item and i want to display the last item in this field on a display item what should i do and i used the row id to get the last value but it didn't work

    Still not clear what you are trying to achieve...
    it is just a non database item that i want to view the data in the database item in itIf it a "non database item", how can it have a relationship with a database value?

  • ALV report i want to display in each P.O , i want to display item details

    Hi all,
    in alv report i want to display in each P.O , i want to display item details. is it possible without hierarchical display.

    hi,
    once you retrive po number from ekko then retrive data from ekpo and loop at ekpo and append all the item details to your internal table.

  • Portlet Item Attr: "Link That Displays Item in New Browser Window"

    I have been searching the forums for a similar experience, but haven't found anything quite like this:
    I have a couple of portlets. One is a Discoverer Portlet, the other is something more basic: The "Developer News" portlet from the 9iAS Community portlet provider.
    After defining the portlets and looking at them, I edit the page and click the Edit button (little pencil) to edit the attributes.
    There are radio buttons for Display Options.
    One option is: "Link that Displays Item in New Browser Window."
    When I select this, OK, and then go back to the page, **the portlet doesn't show at all any more! There is no link, no nothing. Note that I have defined a Display Name, which should be the text for the link.
    It would seem that this feature flat out doesn't work.
    This technique for a popup works fine for an "Item" defined in an item region.
    Anyone?

    Yes -- I did do that after reading an article on metalink about such issues.
    This actually changes the problem.
    When I add the "Display name and image link" attribute to the region, I now do get a link.
    However, clicking it brings up an undefined Discoverer portlet.
    It works great for non-Disco portlets. For instance, I was able to pop up the "Developer News" portlet from the Oracle 9iAS Community portlet provider.
    I think the problem is that the link that Disco produces does not provide enough information to bring up the particular portlet. For instance, the URL does not have the workbook name, the worksheet name, the parameter values, etc.
    If anyone uses Disco w/ the portal, I would be curious to hear if anyone can reproduce this apparent bug / limitation.

  • 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 .

  • 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

  • Display item visual attribute

    Hello.
    Is there a way to use set_item_instance_property on display item?
    Or change font color of disabled text item?
    Thanks.

    Set_item_instance_property is the new built-in. Don't use the old display_item. Help says: "Maintained for backward compatibility only."
    Use the new one. There are all properties in the built-in you need for changing the visual attributes.
    try it
    Gerd

  • Sorting on non-displayed items - can it be done ?

    Hi,
    I'm very new to Discoverer (and this forum), so apologies if I'm covering old ground.
    I've created a simple discoverer table report and the folder I've based the data on has a number of columns that determine the sort order i.e. called 'activity_type_sort_order', 'activity_sort_order', 'enclosure_order_order' - this is because the related columns activity_type, activity and enclosure are VARCHAR but contain numeric values.
    Hence, the existing application displays the data in the correct order in the Forms and Reports without showing the user the underlying columns that are determining the order.
    I want to do something similar in Discover i.e. produce a report that displays the columns activity_type, activity, enclosure but sorts the data based on 'hidden' columns activity_type_sort_order, activity_sort_order and enclosure_sort_order.
    I tried creating my first Discoverer report and it seems to need the activity_type_sort_order, activity_sort_order and enclosure_sort_order as displayed items in the workbook in order to all the rest of the data to be sorted.
    Is there any way I can sort using these fields but not actually display them ?
    I've read that I can create an alternate sort in the EUL but I've got 1000's of values.
    Can anybody help ?
    Many thanks
    mknipe

    Hi,
    You should be able to use the hidden sort option. In the sort tab add the sort columns and then change the sort type to be hidden.
    Rod West

  • Populate multi record display item

    Hellou gurus!
    I have forms 10g and i need to populate display item in enter query mode. My problem is that I have table T1 with some static values. Table T2 is through ID connected (reference) to table T1 1:1 cardinality and T2 table also have reference to T3 table.
    I have block B2 based on table T2 and in this block I have multirecord item for inserting and updating new values for T2, but in this block ii also have no DB, multi record display item (because i don't want to allow editting in T1 table records) for diplaying static values for table T1. I want to display all static values from T1 next to the editable values in T2 (T2 multi record field is not insert yet). I tried for loop, select into but it not work. T1 values need to be selected before I started to inserting values into T2 items, but off course they need to be referenced It is hard to explain but i belive you understand.
    Can you help me how I can populate multi record item??

    You have to write the code again for your second list item....
    group_id RecordGroup;
    list_id Item  := Find_Item('button.tyear');
    list_id1 Item  := Find_Item('button.tperiod');
    status NUMBER;
    rg_name varchar2(40) := 'recgroup';
    BEGIN
    ----------------------------- LIST
    clear_list(list_id);
    group_id := Find_Group(rg_name);
    IF NOT id_null(group_id) then
        Delete_Group(group_id);
    End if;
    group_id := Create_Group_From_Query(rg_name,
    'select vm_year, vm_year from fwqgl.vouchermaster
    group by vm_year');
    status := Populate_Group(rg_name);
    Populate_List(list_id, group_id);
    /* --------------------SECOND LIST ITEM...BUT REC. GRP NAME CAN BE SAME,better to use another name if you need to retrieve list and store qry..other wise the fol. code is enuf-----------------------*/
    clear_list(list_id1);
    group_id := Find_Group(rg_name);
    IF NOT id_null(group_id) then
        Delete_Group(group_id);
    End if;
    group_id := Create_Group_From_Query(rg_name,
    'select vm_period, vm_period from fwqgl.vouchermaster
    group by vm_period');
    status := Populate_Group(rg_name);
    Populate_List(list_id1, group_id);
    END;Edited by: Dora on Dec 5, 2009 10:41 AM

  • Problem with building conditional display items

    Dear All,
    Please help as I am using APEX for the first time.
    This my requirement during form dispaly in tabular format. There is one display item QA_TIER(not a database item). This item value is computed based on the condition below.
    I created a display item with :
    Source Used : Always, replacing any existing value in the session state
    Source Type: PL/SQL Expression or Function
    Source value or expression:
    begin
    if 2<=(select decode(&Leg_Req,'Y',1,0)+decode(&maj_funct_chg,'Y',1,0)+
    decode(&maj_tech_chg,'Y',1,0)+decode(&maj_ui_chg,'Y',1,0)+
    decode(&maj_def_met,'Y',1,0) from dual) then
    if &Customer_Priority = 1 then
    return 1;
    else
    return &Customer_Priority-1;
    end if;
    ELSE return &Customer_Priority; end if;
    end;
    Note : All reference with '&' are the actual field name.
    When running the page i get the following error message:
    ORA-06550: line 2, column 23: PLS-00103: Encountered the symbol "&" when expecting one of the following: ( ) - + case mod new not null others select table avg count current exists max m ORA-06550: line 2, column 48: PLS-00103: Encountered the symbol "&" when expecting one of the following: ( ) - + case mod new not null others table avg count
         Error      ERR-1020 Error in PLSQL item processing (function).
    Can anybody help me with building the display item with conditions as show above.
    Thanks in advance

    hi thanks for the help.
    I tried this time source type SQL Query:
    with both suggestions
    1.
    select (case when
    2<=to_number((select decode(v(Leg_Req),'Y',1,0)+decode(v(maj_funct_chg),'Y',1,0)+
    decode(v(maj_tech_chg),'Y',1,0)+decode(v(maj_ui_chg),'Y',1,0)+
    decode(v(maj_def_met),'Y',1,0) from dual)) then
    (select decode(v(Customer_Priority),1,1,v(Customer_Priority)-1) from dual)
    ELSE v(Customer_Priority) end) from dual
    Result:
    ORA-00904: "CUSTOMER_PRIORITY": invalid identifier
         Error      ERR-1019 Error computing item default value: page=2 name=QA_TIER.
    2.
    select (case when
    2<=to_number((select decode(:Leg_Req,'Y',1,0)+decode(:maj_funct_chg,'Y',1,0)+
    decode(:maj_tech_chg,'Y',1,0)+decode(:maj_ui_chg,'Y',1,0)+
    decode(:maj_def_met,'Y',1,0) from dual)) then
    (select decode(:Customer_Priority,1,1,:Customer_Priority-1) from dual)
    ELSE :Customer_Priority end) from dual
    Result:
    ORA-00932: inconsistent datatypes: expected NUMBER got CHAR
         Error      ERR-1019 Error computing item default value: page=2 name=QA_TIER.
    Both didn't work.

  • Display item number in US certificate of origin

    Hi,
    Currently in US certificate of origin, it doesnt display item number in item details.
    Sapscript: SD_EXPORT_FUCO
    FunctionPool: SAPLV55E
    Include Name: LV55EF24
    I had copied SD_EXPORT_FUCO into ZSD_EXPORT_FUCO and added V55ENAFT-POSNR to display item number but there is no value in that field.
    In the standard sap Function Pool(SAPLV55E) and Include(LV55EF24),
    this
    *   PERFORM GET_ITEM_NUMBER_NAFT.      "Item number
    *   PERFORM FILL_ITEM_NUMBER_NAFT.     "Item number
    were commented. I guess this is the reason why V55ENAFT-POSNR is empty.
    Is there any other field that i can used to display item number in that sapscript?
    Appreciate advice.
    Cheers!

    Hi,
    Just a suggestion, you can write a perform in the SAP script since you made a Z copy of it. Write the code for fetching the POSNR in the subroutine program. You could take help of the select query from where to fetch the data from that perform that is commented in the SAP programs.
    In the script:
    /: PERFORM GET_POSNR IN PROGRAM Z_GET_POSNR
    /: USING                                                     // parameters to pass
    /: CHANGING                                              // parameters to return back
    In the program Z_GET_POSNR
    FORM GET_POSNR TABLES IT_INTAB STRUCTURE ITCSY IT_OUTTAB STRUCTURE ITCSY
    Write code to fetch POSNR
    Pass the value back to the script
    ENDFORM
    IT_INTAB and IT_OUTTAB have fields NAME and VALUE.
    Thanks and Regards,
    Vanessa

  • Display number 1 to 10 in a text item or display item

    I want to know how do i display the number of 1 to 10 in a text item or a display item.
    What triggers should I use? What are the differences for each smarttriggers?
    What are the differences between a text item and a display item?
    Thank you in advance.

    Trigger
    PRE-TEXT-ITEM
    ============
    BEGIN
         FOR i IN 1..10
         LOOP
              dbms_output.put_line(i);
              END LOOP;
    END;
    I have a text item on my form. How can I display the output on to them when I have compiled and run the form?

  • "Link That Displays Item In Folder Area " option for a Text Item not there in 9.0.2

    Hi,
    In the previous version of Portal when you created a content area item of type text. there were four display options
    1) Item Displayed Directly In Folder Area
    2) Link That Displays Item In Folder Area (i.e on a page for a folder)
    3) Link That Displays Item In Full Browser Window
    4) Link That Displays Item In New Browser Window.
    In release2 of protal the option number 2) is removed.
    We were using option 2 as we added different portlets and style sheets on content area page because of which we were able to get the desired page.
    Now in the new release this option is not there.
    Any pointers to the issue.
    or Is there a default style and page design which is used while opening the details of the text and whether that default can be modified or not?
    Regards
    Kapil

    Hi,
    Please post this question in the content areas discussion folder.
    Thanks,
    Sharmila

  • Question about Display Item,pleas help

    My problem is that i cannot make my display item to be a display item.
    In properties i selected display item but it still looks like text item.
    I just wanted to display content of a table
    TiA

    It`s exaclty what i wanted to do God bless You my saviour.
    But one more problem ,one more question .
    I wanted to display for example 6 rows in form style(in block properties is- record orientation vertical), is it possible to put 2 rows on the same level, to make record orientation vertical with 3 levels on each 2 rows.

  • Master/Detail problem: Infinite loop with display items

    Hi,
    I have a strange problem in Oracle Forms 6.0.5.35.3. I create a master block and a detail block with correct relationship between them.
    -> When the detail block contains at least one 'Text Item' everything works well.
    -> When the detail block only contains 'Display Items', the form is looping
    indefinitely calling ON-POPULATE_DETAILS and QUERY-MASTER-DETAILS...
    Is it a known bug ?
    Do you know a trick to avoid this behaviour ?
    Is it corrected with latest versions of forms, I mean 6i ?
    Thanks for answer
    Laurent Ricci

    I think a block should have at least one navigable item. Just disable the insert/update property, but enable the navigable property for an item in the detail block.
    Hope that help

Maybe you are looking for

  • Error "Job already started" when calling a adobe form in Z function module

    Hi All, I have a error when calling a adobe form in a custom function module. I am using FP_FUNCTION_MODULE_NAME to get the adobe form function module and then i am using FP_JOB_OPEN function module to control the printing parameters such as no print

  • Query created in production system and object changeability

    Hi, The production BW has the object changeability for query elements set to 'Changeable original'. Some queries which have been created in this system can be changed, others, which have also been created in the system, can not. All queries are assig

  • My apps keep closing suddenly. How do I make this stop?

    If I'm using an app, I can use it for a bit but then it suddenly closes. I was in the app store and it was doing the same thing. How do I make this stop?

  • User preferences reverted back to default - mail gone

    Preferences seem to have gone back to default. I have only 1 user account on my mac. All bookmarks, mail account details, appearence etc have all reverted. The only thing that I have done today that was out of the ordinary was 'organising my fonts' a

  • Validation on Investment program position

    Dear All, In current configuration, a  WBS element of a project is linked to an Investment program position.      When saving reservations for materials, Can we do a validation for WBS element specified in the Proc. Param of a material and the Invest