HOW TO RETRIVE DATA IN FORM

IN MY PRJ I HAD TO DISPLAY DATA FROM VARIOUS TABLE.SO I CREATED A VIEW AND IN THE FORM CREATED THE DATA BLOCK AND DISPLAYED THE DATA.IN THE FORM HOWEVER I HAVE PLACED FILTER BASED ON WHICH IT DIPLAYS THE CLOSED AND PENDING DATA.
THE VIEW IS
CREATE OR REPLACE VIEW(PROM_NUMBER,..,PROM_STATUS...)
AS
SELECT PROM_NUMBER,....,
CASE WHEN 1=1 THEN
(SELECT PROS_DESCRIPTION FROM problem_status,problem_states WHERE prou_prom_number=prom_number
AND prou_pros_code=pros_code AND prou_timestamp =
(SELECT MAX(prou_timestamp) FROM problem_status WHERE prou_prom_number=prom_number) AND ROWNUM=1)
END PROMSTATUS,
AND (prom_CLEARED IS NULL AND PROM_REPORTED > TRUNC(SYSDATE)-180
OR (PROM_CLEARED IS NOT NULL AND PROM_REPORTED > TRUNC(SYSDATE)-31));
END;
SO THIS VIEW SELECT LAST 30 DAYS CLOSED DATA AND 90 DAYS PENING DATA.
IN THE FORM IT WE SELECT PENINGDATA THENE WE ADD THE CONDITION THAT PROM_CLEARED IS NULL THEN IT DISPLAYS ONLY THE PENDING DATA SIMILARY WE CAN DIPLAY THE CLOSED DATA.HOWEVER THE PROBLM IS WE HAVE TO DISPLAY PARK SATE DATA.ALL PARKSTATE ARE IN PENING STATE ,BUT ALL PENDING STATE R NOT IN PENDING STATE.WE CAN SELECT THE PARKSTATE BASED ON THE PROMSTATUS.I HAVE TRIED TO ADD THE CONDITION IN THE FROM LEVEL TO FIND THE PARKSTATE BUT ITS NOT WORKING.SO HOW CAN WE RETRIEVE THE PARKSTATE ROWS AND DISPLAY IT IN FORM?
KINDLY HELP ME.
THANKS

Tony, i don't think,
Two post are similare only because OP(user575343) used all capital letters.
And Mark is rigth,Also,I think Abdetu was just a click mistake.
Tony, had understood what you said, I spoke of the content of the thread, and of as the question was planned.
Yes, They are not the same person!
I am sorry for misunderstanding
Message was edited by:
Rosario Vigilante

Similar Messages

  • How to retrive data from selected checkboxes with fieldnames

    hi experts,
    how to retrive data from selected checkboxes with fieldnames into another alv grid report.(here the fieldnames selected from  table names is dynamically).
    thankx in advance
    rani.k.

    Hi,
    Use user_command in the alv grid and then
    do the follwoing code
    FORM user_command1 USING lv_ucomm LIKE sy-ucomm
                      rs_selfield TYPE slis_selfield.
    Declaration of local Variables
      DATA : lv_ref1 TYPE REF TO cl_gui_alv_grid.
      DATA lv_cnt TYPE i.                                    "+INS SUHESH 12.07.2008
    Check function code
      CASE lv_ucomm.
        WHEN 'ONLI'.
          CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
            IMPORTING
              e_grid = lv_ref1.
          CALL METHOD lv_ref1->check_changed_data.
    now loop ur final internal table where check = 'X'.
    now pass data to other internal table..Now the internal table will be having values that the user selcetd on the screen.
    Hope this helps.
    Regards,
    Nagaraj

  • How to upload data into form of Oracle EBS R12 using ATS ver 9.0

    Hi experts,
    Could you please guide me how to upload data into form on Oracle EBS R12 using Oracle Application Testing Suite verson 9.(The simpliest way)
    For example: I need to create user account on Oracle EBS. Normally, I use Dataloader to upload the data, however it just can upload one by one record, cannot upload multi record at same time. Moreover if the performance of server is low, so I will get the issue when using dataloader.
    Thanks in advance
    Best Regards
    Hieu

    Hi you can create Virtual users to enter data. Note than you have to name the objects accordingly.
    For Example default recording provided by Open script is ObjectNAME_(Index No of the object).
    when you record one iteration the name of any object would be ObjectNAME_(0)
    You can then create virtual users so the index will increment as the total number of Virtual users increases. Also you have to handle which row of your test data would get mapped to which Virtual user in the script run session.
    Thanks

  • HOW to retrive data from SAP Tabel

    Hi Friends,
       1)Can you please explain how to retrive data from SAP table(example AFRU).
       2) we had requriment based on the qunatity , Product name and date we need to display KPI's .KPI is based no products manfactured per day with some conditions
    Regards
    Srikanth

    Hi Udayan,
        I want to retrive SAP Table data from xMII.can you please explain elabarately how to call "RFC_READ_TABLE" from xMII.
    please do the needful
    Thanks
    Srikanth

  • How to retrive data from SAP Archive (from Cluster or Content Table)

    Hi,
    I am working on HR -ABAP where i have a scenario to retive employee photo and disaplay as output in smartforms.And these employee photo are stored in Cluster table SDOKCONT1 in SAP Archive Link (storage type - SAP System Database).
    Anybody can tell me the way how to retrive data ( employee Photo ) from this cluster and display its output in smartform dynamically.
    Regards,
    Sourabh Shrivastava

    Hello Sourabh,
    If I am not wrong, there are two parts two your query...
    a) Data or Content Retrieval
    b) Displaying Retrieved content
    Here is my feedback
    a) The Content can be Retrieved using the FM ARCHIV_GET_TABLE.
    Pass the Archive Object, SAP Object and the SAP Object ID and based on the Connection table entries (TOA*), the underlying Content Repository (T-code OAC0) is determined and a request for synchronous retrieval is made to the Content Server.
    b) Display of Retrieved content is normally done through dedicated viewers (Ex: Livelink Viewer) or front-end applications (Excel, Word) based on the Protocol (OAA3/OAA4) specified in the Content Reository Configuration. Hence, to my knowledge, you cannot display the content directly in the Smartform.
    With Regards
    Vijay Gajavalli

  • How to retrive data  from  database views or projection views

    how to retrive data  from  database views or projection views

    Hi chintam,
    1. Very simple
    2. Just like normal select statement.
    3. Select * from VIEWNAME.
    4. (Instead of the tablename, we just have to give the viewname)
    regards,
    amit m.

  • How to retrive data from this inernal table

    hi,
    could u please explain clearly how to retrive the records  from this structure
    data: begin of itab.
    include structure sflite.
    data:end of itab.
    how to retrive data from this structure could u plz give me a code with example.

    Hi,
    TYPES: BEGIN OF struc1,
                    val1 TYPE c,
                    val2 TYPE c,
                 END OF struc1,
             BEGIN OF struc2,
                   val type struc1,
                   val3 TYPE c,
                   val4 TYPE c,
                END OF struc2.
    DATA: l_f_str1 type struc1,
          l_f_str2 type struc2.
    START-OF-SELECTION.
      l_f_str2-val-val2 = 'a'.
      write : / l_f_str2-val-val2.
    END-OF-SELECTION.

  • How to Retrive data Form Third party tool & up lode  in  SAP

    HI Friends,
    My client was implementing sap & parlay  .NET for   HR module .
    my client requirement was what ever amount   he payed  for Employees  that should also uplode in sap.
    In SAP he is treating employee as Vendor .
    so please guide me how can I Retrive data from third party tool & how can i uploaded in sap .
    Regards,
    Reddy

    Hi,
    Third Party Tool must be having some features of downloading data in a format like Excel.
    In SAP Side, this File is going to be your input...Now you can try different options:
    1) Identify the IDOC that serves your purpose and populate the idoc and fire an Inbound IDOC.
    2) Run a BDC for your relevant Txn Code by uploading the Third Party generated Excel data into an internal Table.
    3) Use an Standard BAPI to upload data into SAP.
    4) If possible, Use an SAP Provided Direct Input program to pump data in SAP.
    You need to give the expected format of Excel to the Third Party user generating the Excel for you.

  • How to save data from form into database

    i nid to save data from form into the new table, @abc.
    got any idea ?
    smtg like oObj = BaseAddOn.Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseDeliveryNotes) this but it is a new object or user data source.
    Thanks

    hi
    i have created UDO i have also done registration  i want to bind item master completely to matrix and then in one column i will set check box to check unchecked and then i want to save it to database
    i have one user defined form and 4 matrix and 4 child tables
    for each matrix i have given 1 form and i have to transfer the data from temp form to main form matrix having large data in matrix on temp form to main form matrix
    to load data on matrix i have used for loop that i want to avoid so how i can bind large data to matrix without for loop
    regards
    amey

  • How to retrive data from corrupted ipod

    i was using my Apple Ipod as a storage device to keep data back up of my personal file. Unfortunately data in this device is corrupted and i dont know how to retrive it now.
    Can somebody help me to retrive these data files.

    If you previously synced to the computer then you may be able to recover use of the iPod without erasing the iPod by following the instructions here:
    Disabled Recovery-must use syncing computer.
    If you do not have a backup to restore from then yo may be able to get some info from the restored iPod by:
    How to perform iPad recovery for photos, videos
    Wondershare Dr.Fone for iOS: iPhone Data Recovery - Wondershare Official     
    http://www.amacsoft.com/ipod-data-recovery.html
    iPod recovery software to restore lost music files      

  • How to retrive data from MDM Tuple?

    Hi,
    How to retrive MDM Tuple data into a java Application? Here I have to fetch the data from MDM Tuple and populate it in a list. can anybody please help me in doing this.
    Thanks.

    Hi Sree,
    Any one of the below mentioned APIs can perform the record retrival from a Tuple.
    -   Record.getFieldValue(tupleFieldId)
    If the tuple record is part of the original table record that can be obtained using one of the Retrieve commands responsible for retrieving records.
    - TupleValue.getFieldValue(tupleFieldId)
    If the tuple record is part of another tuple record (nested tuple structure)
    Hope this helps.
    Also a good read related to this - http://help.sap.com/saphelp_nwmdm71/helpdata/en/49/03144f3fad3697e10000000a42189b/content.htm
    Regards,
    Vinay M.S

  • How to retrive list item form sub folder (sub folders) in sharepoint using CAML or Server Object Model?

    Hi All,
    I have multiple folders in document library.I want to retrive list item form folder.
    Following is snap
    I want to get all sub folder and list item in
    Sub folder 1.
    Any will be help appreciated..
    Thanks
    Balaji More

    Hi Balaji,
    If
    you want to query all folders and sub folders of a list or document library, you have to define extra query options. If you are working with the object model you have to set the
    ViewAttributes property of the SPQuery object as follows:
    qry.ViewAttributes = "Scope='Recursive'";
    you can use the client 0bject model to get this as well
    ClientContext clientContextObj =
    new ClientContext("http://Servername/");
    List yourDocLib = clientContextObj.Web.Lists.GetByTitle("Shared Documents");
    CamlQuery camlQueryObj = new CamlQuery();
    camlQueryObj.ViewXml =
    @"<View Scope='Recursive' />";
    ClientOM.ListItemCollection listItems =
    yourDocLib.GetItems(camlQuery);
    clientContextObj.Load(listItems);
    clientContextObj.ExecuteQuery();
    foreach (var item in listItems)
    Krishana Kumar http://www.mosstechnet-kk.com

  • How to retrive data from listbox of client !!

    I have a listbox from client.
    method: request.getParameter(listbox_name) only get value of selected member.
    How do i retrive all of member of this listbox from servlet.

    Hi,
    This is not possible with a normal form/listbox. Why? Because this data doesn't get submitted to the server.
    Possible solutions:
    - know at front what your sending to the client
    - add an "onclick" event handler to your submit button (client-side) which enumerates all items in the selectbox and puts them in a hidden field or in the querystring.
    Normally, if the form is sent from your site, the first solution should do. Otherwise you're creating overhead on your connection.
    Regards,
    Kurt.

  • How to retrive data from session?

    If I put something to the sessionMap in my controller
    FacesContext context = FacesContext.getCurrentInstance();
              context.getExternalContext().getSessionMap().put("info", "How are You !!!!"); how can I retrive it in the view side?
    That's my code. I was trying to do it like this but it doesn't work :
    <f:view>
         <h:form id="infa">
              <h:outputText value="#{facesContext.externalContext.sessionMap}" />          
              <h:panelGrid columns="1">
                   <h:commandButton value="Home" id="home" action="#{info.home}"></h:commandButton>
              </h:panelGrid>
         </h:form>
    </f:view>

    No, this is not the way. Just map it in the backing bean.
    A better practice is to use bundle files for text. Check f:loadBundle.

  • I need  How to retrive data from sap r/3   using weblogic server

    Hi every body .
    I need how to retrieve r/3 data  using BAPI methods
    and using weblogic server
    very critical

    Hai.
    check the links.
    http://www.bea.com/content/news_events/white_papers/BEA_WLP_SAP_Portlets_81.pdf
    http://www.info-sun.com/docs/wp_sapinter.pdf
    regards.
    sowjanya.b

Maybe you are looking for

  • Simple Transformation ST, upload xml file to internal table

    Hi. I want to upload some parts of an xml file into an sap internal table, especially the part "trackingnumber" which can occur several times. the xml looks like this: <?xml version="1.0" encoding="windows-1252"?> <OpenShipments xmlns="x-schema:OpenS

  • Are latest versions of the firefox disabled for using in poor countries?

    Is it possible to stop wasting of my money without Firefox deleting? Firefox downloads something (I suspect it's "safebrowsing" base) from Google almost continuously. I keep "browser.safebrowsing.enabled" and "browser.safebrowsing.malware.enabled" al

  • Lets get Apple to increase the audio levels again

    Hi everyone! Well, I sold my 2.16 C2D on eBay and I just bought the new 2.2 model. I broke even selling the old and buying this one. So I think its a great deal. Anyway, I'm happy with the new machine. Speed and everything else is the same to me but

  • Sorting in GridControl - Let's try to found decesion together !!

    I need arrange sorting in GridControl (oracle.dacf.control.swing) not case sensetive type. Could anybody give me advice what is best way to do it. Because I think it is very usuall problem and it will be very usefull for everybody. Let's try to found

  • PLS HELP MSI Bluetooth problem

    I have folowing problem.. everything worked some time ago, then i put today BT in USB, but WinXP didn't install it with message - There was a problem installing this HW MSI bluetooth device - The required section was not found in the INF. Can anybody