Display LOV result when user click touch icon

Hi
I have a requirement to display the result of LOV when the user click torch button. The current functionality is user click torch button then he click "Go" with empty or partial value and the result get displayed. I want to get all the result get displayed at the time of torch button bascially at the time of "processRequest"
Thanks

Hi,
You can use below code in your PR method:
import oracle.apps.fnd.framework.OAViewObject;
public void processRequest(OAPageContext pageContext,OAWebBean webBean) {
      super.processRequest(pageContext,webBean);
      OAApplicationModule am = (OAApplicationModule)pageContext.getApplicationModule(webBean);
      OAViewObject vo = (OAViewObject)am.findViewObject("LovVO1");
      vo.setWhereClauseParams(null);
      vo.executeQuery();
}--Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Is it possible to display an Alert when user clicks on the X on the browser

    Hi
    Is it possible to display an Alert when user clicks on the X on the browser.I saw some threads regarding this mentioning about js.I want to do this ins the iProcurement module and dont wnat to make changes to each and every page.
    isn't there any global setup which would help to achive this?

    Are you talking about Windows close X. If yes, then to my knowledge there is nothing in OA Framework to handle it. You can check if it can be handled using javascripts.

  • Display not working when i click "edit icon"

    This error is really weird. I used the default template and it comes with the edit,create and delete icons. I have 2 tables and when i click on the "edit icon" i have a list of information about that row and I can edit/delete. But the weird thing is on my other table when i try to edit no information appears. I checked the item info and compared them but I dont see anything different, can someone help please?
    Ex:
    Table 1's rows when clicked on edit icon:
    ID: 1244
    Name: joe
    Table 2's rows when clicked on edit icon:
    ID:
    Name:
    Email:
    al blank when there is definitely info...

    someone help or give me a yeller if its confusing?

  • Color a specific row in ALV GRID display when user clicks on that row

    hi
    i have the entire code ready of how to check the line selected by the user and also to color that line but after settings those parameters
    for to refresh the GRID so that the row apppears coloured .plz reply soon.... points will be awarded.....
    wat i have done is
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
       i_callback_program                 = i_repid
       i_callback_user_command           = 'USER_COMMAND'
       is_layout                         = it_layout
       it_fieldcat                       = int_fieldcat
      TABLES
           t_outtab                          = int
      EXCEPTIONS
       program_error                     = 1
       OTHERS                            = 2.
    to display the GRID then when user clicks on any row this module gets called
       FORM user_command USING r_ucomm TYPE sy-ucomm
                               rs_selfield TYPE slis_selfield.
         READ TABLE int INDEX rs_selfield-tabindex.
         int-rowcolor = 'C410'.
         MODIFY  int INDEX rs_selfield-tabindex TRANSPORTING rowcolor.
         it_layout-info_fieldname = 'ROWCOLOR'.
    then  again i call 'REUSE_ALV_GRID_DISPLAY'
    to display the GRID with the user selected line colored . the problem with this is when u go back from this screen u go to the previously displayed grid ....... whihc i dont want .....
       ENDFORM.                    "user_command

    Hi,
    By using following code,you can set the colors for each row,
    Change this based on your requirement.
    TABLES VBAK.
    TYPE-POOLS SLIS.
    Data Declaration
    TYPES: BEGIN OF T_VBAK,
          VBELN TYPE VBAK-VBELN,
          ERDAT TYPE VBAK-ERDAT,
          ERNAM TYPE VBAK-ERNAM,
          AUDAT TYPE VBAK-AUDAT,
          VBTYP TYPE VBAK-VBTYP,
          NETWR TYPE VBAK-NETWR,
          VKORG TYPE VBAK-VKORG,
          VKGRP TYPE VBAK-VKGRP,
          LINE_COLOR(4) TYPE C,
          END OF T_VBAK.
    DATA: IT_VBAK TYPE STANDARD TABLE OF T_VBAK INITIAL SIZE 0,
          WA_VBAK TYPE T_VBAK.
    ALV Data Declaration
    DATA: FLDCAT TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
          GD_LAYOUT TYPE SLIS_LAYOUT_ALV,
          GD_REPID TYPE SY-REPID.
    START-OF-SELECTION.
    PERFORM DATA_RETRIEVAL.
    PERFORM BLD_FLDCAT.
    PERFORM BLD_LAYOUT.
    PERFORM DISPLAY_ALV_REPORT.
    Build Field Catalog for ALV Report
    FORM BLD_FLDCAT.
    FLDCAT-FIELDNAME = 'VBELN'.
    FLDCAT-SELTEXT_M = 'Sales Document'.
    FLDCAT-COL_POS = 0.
    *FLDCAT-EMPHASIZE = 'C411'.
    FLDCAT-OUTPUTLEN = 20.
    FLDCAT-KEY = 'X'.
    APPEND FLDCAT TO FLDCAT.
    CLEAR FLDCAT.
    FLDCAT-FIELDNAME = 'ERDAT'.
    FLDCAT-SELTEXT_L = 'Record Date created'.
    FLDCAT-COL_POS = 1.
    FLDCAT-KEY = 'X'.
    APPEND FLDCAT TO FLDCAT.
    CLEAR FLDCAT.
    FLDCAT-FIELDNAME = 'ERNAM'.
    FLDCAT-SELTEXT_L = 'Cteated Object Person Name'.
    APPEND FLDCAT TO FLDCAT.
    CLEAR FLDCAT.
    FLDCAT-FIELDNAME = 'AUDAT'.
    FLDCAT-SELTEXT_M = 'Document Date'.
    FLDCAT-COL_POS = 3.
    FLDCAT-EMPHASIZE = 'C110'.
    APPEND FLDCAT TO FLDCAT.
    CLEAR FLDCAT.
    FLDCAT-FIELDNAME = 'VBTYP'.
    FLDCAT-SELTEXT_L = 'SD Document category'.
    FLDCAT-COL_POS = 4.
    APPEND FLDCAT TO FLDCAT.
    CLEAR FLDCAT.
    FLDCAT-FIELDNAME = 'NETWR'.
    FLDCAT-SELTEXT_L = 'Net Value of the SO in Document Currency'.
    FLDCAT-COL_POS = 5.
    FLDCAT-OUTPUTLEN = 60.
    FLDCAT-DO_SUM = 'X'.
    FLDCAT-DATATYPE = 'CURR'.
    APPEND FLDCAT TO FLDCAT.
    CLEAR FLDCAT.
    FLDCAT-FIELDNAME = 'VKORG'.
    FLDCAT-SELTEXT_L = 'Sales Organization'.
    FLDCAT-COL_POS = 6.
    APPEND FLDCAT TO FLDCAT.
    CLEAR FLDCAT.
    FLDCAT-FIELDNAME = 'VKGRP'.
    FLDCAT-SELTEXT_M = 'Sales Group'.
    FLDCAT-COL_POS = 7.
    FLDCAT-EMPHASIZE = 'C801'.
    APPEND FLDCAT TO FLDCAT.
    CLEAR FLDCAT.
    ENDFORM.
    Build Layout for ALV Grid Report
    FORM BLD_LAYOUT.
    GD_LAYOUT-NO_INPUT = 'X'.
    GD_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
    GD_LAYOUT-INFO_FIELDNAME = 'LINE_COLOR'.
    GD_LAYOUT-WINDOW_TITLEBAR = 'GRID DISPLAY'.
    GD_LAYOUT-CONFIRMATION_PROMPT = 'X'.  “ This asks the confirmation before leaving the screen.
    ENDFORM.
    Display report using ALV grid
    FORM DISPLAY_ALV_REPORT.
    GD_REPID = SY-REPID.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
       I_CALLBACK_PROGRAM                = GD_REPID
       IS_LAYOUT                         = GD_LAYOUT
       I_CALLBACK_TOP_OF_PAGE            = 'TOP_OF_PAGE'
       I_GRID_TITLE                      = 'SALES DOCUMENT HEADER'
       IT_FIELDCAT                       = FLDCAT[]
       I_SAVE                            = 'X'
      TABLES
        T_OUTTAB                          = IT_VBAK
    EXCEPTIONS
       PROGRAM_ERROR                     = 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.
    ENDFORM.
    Retrieve data from VBAK table and populate itab IT_VBAK
    FORM DATA_RETRIEVAL.
    DATA LD_COLOR(1) TYPE C.
    SELECT VBELN ERDAT ERNAM AUDAT VBTYP NETWR VKORG
    UP TO 20 ROWS
    FROM VBAK
    INTO TABLE IT_VBAK.
    LOOP AT IT_VBAK INTO WA_VBAK.
    LD_COLOR = LD_COLOR + 1.
    IF LD_COLOR = 8.
      LD_COLOR = 1.
    ENDIF.
    CONCATENATE 'C' LD_COLOR '10' INTO WA_VBAK-LINE_COLOR.
    MODIFY IT_VBAK FROM WA_VBAK.
    ENDLOOP.
    ENDFORM.
    FORM TOP_OF_PAGE.
    DATA: T_HEADER TYPE SLIS_T_LISTHEADER,
          W_HEADER TYPE SLIS_LISTHEADER.
    W_HEADER-TYP = 'H'.
    W_HEADER-INFO = 'WELCOME HEADER LIST'.
    APPEND W_HEADER TO T_HEADER.
    W_HEADER-TYP = 'S'.
    W_HEADER-KEY = 'REPORT:'.
    W_HEADER-INFO = SY-REPID.
    APPEND W_HEADER TO T_HEADER.
    W_HEADER-TYP = 'S'.
    W_HEADER-KEY = 'DATE:'.
    CONCATENATE SY-DATUM6(2) ' / ' SY-DATUM4(2) ' / ' SY-DATUM(4) INTO W_HEADER-INFO.
    APPEND W_HEADER TO T_HEADER.
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
      EXPORTING
        IT_LIST_COMMENTARY       = T_HEADER
    ENDFORM.
    Reward points,if it is useful.
    Thanks,
    chandu.

  • How can we enable tick icon when user click any button

    how can we enable tick icon when user click any button in captivate 6@

    hi first of all thanks for imitate action.
    actually i want to make a menu (TOC) with tick icons, on starting all ticks are disabled but when i click on any button from my menu i want to enable tick for that particular button so that user can know easily the visited button.

  • When user clicks on the link ,it will display some record based on value

    Hi
    i want to create such a query/request in the Dashbord,when user click on it, it will open the other request in the same place based on the value it clicks.
    More detail idea about the question:
    for ex. i have created one query, which gives the following output.
    current_loan_amount Current_status
    now when user click the current_loan_amout ..........the detail page will be displayed.
    wchich will give the dettail about the Current_loan_amount.....like to whom the loan has been given,region,address,broker name etc..
    So if anybody knows anything about this.
    Guide me

    Yes you can create a navigate report where it displays the details for the amount user selected.
    You can enable navigation on the metric(column format-interation-navigate) and give the path of the other qyery.
    You just need to pass all the values that you need using "Is prompted" Filters.
    Hope it helps
    Prash

  • When user clicks on button the document linked to this path must be display

    hi sap masters,
    i am developing a screen prog in which i have a requirment which is i have pushbutton called WEB.
    When user clicks on button the document linked to this path must be displayed
    ex :  www.google.com
    how can i display can i have some info please.
    thank you,
    pasala.

    Hi,
    Kindly go through the below programs....
    RSHTML01                       Demo for HTML Control: Use as general WWW browser
    SAPHTML_R3HTTP_DEMO            Demo for HTML Control: Use as general WWW browser
    SAPHTML_UI_DEMO                Demo for HTML Control: Use as general WWW browser
    UPWB_HTML_DEBUG                Demo for HTML Control: Use as general WWW browser
    Hope it helps.
    Regards
    Arbind

  • How do I change the Latest Headlines bookmark from BBC to RTE so that similar options are displayed when I click the icon?

    I want to change the Latest Headlines bookmark to RTE and have similar options re. articles pop up when I click the icon. I've tried right clicking and changing the site location but nothing changes.

    You can visit the RSS Feed site of RTE and subscribe to that feed to create a bookmark:
    http://www.rte.ie/rss/news.xml

  • Removed working Firefox 7, Installed Firefox 10.0, Firefox will not load. When I click on icon, firefox.exe process shows briefly in task manager, then goes away....no errors, nothing

    Removed working Firefox 7, Installed Firefox 10.0, Firefox will not load. When I click on icon, firefox.exe process shows briefly in task manager, then goes away....no errors, nothing. Never see browser panel at all. Also tried to install Firefox 9.0, but the same result was observed.

    Rather difficult to say what the problem may be at present but for general info please have a look at
    * [[safe mode]]
    *[[firefox will not start]]
    *[[firefox hangs]]
    Note sometimes you may have to wait a while for firefox to shutdown completly, and if it has hung then as explained in the above articles you may need to kill any firefox.exe process that is still running (and maybe plugincontainer.exe)
    Try starting firefox in [[safe mode]] e.g. by holding down shift key
    * do not make any changes in the first window, just click on continue<br/> ? Do you get as far as seeing the options window for safe mode ?
    If firefox is crashing see [[firefox crashes]], this is easier to work through if you can get firefox to start without crashing on startup. Currently some firefox users are finding Firefox 10 crashes on startup, and a new version Firefox 10.0.1 is being released very soon to deal with this and another cause of hangs.
    Not saying any of this applies to your case but recent issues include
    * ask tool bar causing hangs if video is used none English versions [/forums/contributors/708073]
    * possibly some crashes do not start the crash reporter and other issues [/forums/contributors/708122?page=2#post-45059]
    * some general info about current crashes [/questions/917748#answer-308124]

  • When user clicks on "Like Button," the counter increases but nothing shows up showing the user recommends my site to their friends. What did I do wrong?

    When user clicks on "Like Button," the counter increases but nothing shows up showing the user recommends my site to their friends. What did I do wrong?
    I used the iframe code from Facebook's "Like Button" site; and inserted the code in the html widget popup box, then positioned it where I wanted it on my page and published. It looks fine (though I had to add "http" before my url to get it to show up).
    So, when a user clicks on button, a pop-up opens asking for Facebook password. When I (the user) enter a password, nothing happens after that. I thought the idea was that a user would be able to show their friends that they like my website. After I entered my password in pop-up after clicking on "Like" I went to my facebook page (a company page) to see if it showed that I (the user that clicked on "Like" on iweb) recommended the website. But nothing showed up. I thought maybe it was because Facebook associated my password as the admin for the Facebook page so didn't count it. But a friend tried it and same thing happened. I went back and on one page I put in another facebook code for a combo Like/Send button. It shows up but acted the same as the regular Like button.
    Questions:
    1. Is this the way the Like Button is suppose to work? Only benefit of Like button being that it just counts the clicks on the Like button and does NOT let users share their recommendation with their friends?
    2. If it's suppose to let users share their "Likes" with their friends, what did I do wrong? There were three types of code but in reading discussions, they all say to use iframe. (I used the first choice which I think was html for Javascript SDK and put that in my HTML Snippit box and the Like/Share button showed up on my iweb page next to the facebook icon and the words "likes this" but when I click it, I don't see instructions that it's sending my recommendation to my friends.)
    I must have done something wrong, but can't figure out what. Does anyone know? If the only benefit of the Like Button is the counter, it doesn't seem worthwhile.
    Thanks to anyone who can figure this out!  My website is couponsforfun.com

    You want something like this?
    http://home.wyodor.net/demoos/facebook/
    The send button sends the link to their friends in the address field with a message.
    They recieve a message in the inbox.
    There's no post on a page.
    If they want that, then they should share the link themselves.
    Perhaps it's best to study what facebook has to offer and how it works instead of guessing what it is supposed to do and be disappointed.

  • How to prevent error message for material description in MDG material detail screen, when user click on check action

    Dear Experts,
    I have a requirement for making material description as non mandetory in change request view of mdg material screen.
    I have done that using field usage in get data method of feeder classes, but still message is displaying.
    This message 'Material description is mandatory is displaying with check action only, but not with save or submit after i anhance field property as not mandetory.
    How to prevent error message for material description in MDG material detail screen, when user click on check action.
    Thanks
    Sukumar

    Hello Sukumar
    In IMG activity "Configure Properties of Change Request Step", you can completely deactivate the reuse area checks (but will then loose all other checks of the backend business logic as well).
    You can also set the error severity of the checks from Error to Warning (per CR type, not per check).
    Or you provide a default value for the material description, e.g. by implementing the BAdI USMD_RULE_SERVICE.
    Regards, Ingo Bruß

  • How to catch data from Purchase Order form, when user click CLOSE menu?

    Hi,
    I need do my own biz process when user click CLOSE in the Data menu to close a purchase order.
    But I don't know how to get data from PO form which opened by user.
    Can anybody give me some suggestions? thanks.

    Clicking "Close" is menuUID 1286. (Check this by going to View->System Information, and then hovering your mouse over "Close" in the menu. The menuUID is displayed in the bottom left of the screen)
    So catch the menu event, when menuUID and pVal.BeforeAction = True.
    The slightly tricky thing here is that pVal for a menu event doesn't give you the form, but it will be the active form, so you can do this:
    Private Sub SBO_Application_MenuEvent(pVal As SAPbouiCOM.IMenuEvent, BubbleEvent As Boolean)
         If(pVal.BeforeAction And pVal.menuUID = "1286")
             SAPbouiCOM.Form oForm = SBO_Applcation.Forms.ActiveForm
             //Now you have the form, when the user has clicked close, so process the data
             //from the form as normal
         End If
    End Sub
    Syntax might be wrong, I typed it up from memory and have no error checker!
    Edited by: njmog1 on Feb 28, 2011 10:35 AM

  • Showing universal work list when user clicks a button in webdynpro java

    Hi,
    I am developing webdynpro java application, when user clicks a button i want to display Universal worklist in the portal, if user is logged in then it directly shows in portal otherwise it should asks for username and password.
    Thanks,
    Madhu

    Hi Pithre,
    For this you have to use portal navigation classes, Same scenario occurred in previous forums, search thoroughly before you post the question.
    Go to the below link, May u r problem will be solved.
    Universal Work List & Web Dynpro
    Regards,
    Pradeep

  • TS3212 Installed itune on my pc,when I click on icon it will not open

    Installed itunes on my pc,when I click on icon it will not open.

    First try updating to iTunes 11.1.5.5, using an installer downloaded from the Apple website:
    http://www.apple.com/itunes/download/
    If you still get the errors after that, try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • IPhoto is not showing up when I click the icon

    IPhoto is not responding when I click the icon.  It loads and shows at the top of my header, but nothing shows up on the screen.  I am able to see my photos in FINDER under iPhoto library, but not within the iPhoto program.   I have already attempted to "repair my iPhoto library" and attempted to put my start up disc of iLife '11 in the drive, but it will not let me install.  Any suggestions? 

    If the Menu bar up top is showing iPhoto then the usual reason is that the window had disappeared from sight behind the dock or similar.
    Try going to SystemPreferences/Displays and choosing another resolution for your display. This will force the Mac to redraw the screen and the various windows should then show up in the centre. You can then change it back.

Maybe you are looking for

  • How do I set up my time capsule to multiple computer?

    There are two macs in my household and one time capsule which is right now set up only to my computer. How can I set it up for the other computer keeping the privacy for both? Thanks

  • How to create JAXB bindings in jdeveloper 11g for the portlet event payload

    I have three projects in JDeveloper 11.1.1.6: - PortletProducer - provides some portlets - PortletUser - makes use of these portlets - SomeData - provides serializable classes for portlets event payload I configured SomePortlet in PortletProducer to

  • Failure : "load.cpp"​, line 4081

    My main front panel VI will no longer open and I just get the error, Failure : "load.cpp", line 4081. I am running an Eval version of 6.0.1 and was deciding whether to buy this product for a new project. Given that I see from this forum that this err

  • ERROR IN DISPLAYING WEB AGENT SAMPLES

    I am running olap web agent 9.2.1 on Application server 10g (101202) , at first using olap web agent 9.2.1 patch 2 and database 10g 10.2.0.1 I had no problems accessing the web agent samples, then after upgrades to olap web agent 9.2.1 patch 4 and Pa

  • Lack of practical practice in BC-ABA

    Hi I am following BC-ABA on SAP LIBRARY. Theoretical part is all fine, but I am facing lack of practical programming practice. Are there some resources from where I can practice all what I have learned. Thanks.