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

Similar Messages

  • 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 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  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 extract data from XML file with JavaScript

    HI All
    I am new to this group.
    Can anybody help me regarding XML.
    I want to know How to extract data from XML file with JavaScript.
    And also how to use API for XML
    regards
    Nagaraju

    This is a Java forum.
    JavaScript is something entirely different than Java, even though the names are similar.
    Try another website with forums about JavaScript.
    For example here: http://www.webdeveloper.com/forum/forumdisplay.php?s=&forumid=3

  • 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

  • To retrive data from Al11..with modification date, time...

    hello All,
    With the FM :- ADS2KIPUPL_GET_FILE_ATTRIBUTES I am able to get dir  name, modification date, modification time .
    But the problem is that I am only able to receive a single row. Please suggest how to retrieve data from AL11 for multiple row including the   dir  name, modification date, modification time .

    Hello Brad,
    I have attached the FM below, As i applying any loop it is only retrieving the first row, Please suggest. I am not able to get the logic of do loop in al11. Please suggest with a sample...
    CALL FUNCTION 'ADS2KIPUPL_GET_FILE_ATTRIBUTES'
      EXPORTING
        i_filepath                = '/WIN/CZSKDAMBCMZD/MZD/SE2/300/PP/BESI/ARCHIV'
      IMPORTING
       E_FILE_NAME               = file_name
        E_DIR_NAME                = dir_name
      E_FILE_TYPE               =
      E_FILE_LEN                =
      E_OWNER                   =
       E_MODIFICATION_DATE       = m_date
       E_MODIFICATION_TIME       = m_time
      E_PERMISSIONS             =
      E_ERRNO                   =
      E_ERROR_MESSAGE           =
    EXCEPTIONS
       FAILED                    = 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.

  • How to retrive data from oracle dtaabase to JSP

    HI Please help me in the fallowing issue,
    I am writing 2 JSps with tomcat 5.5 while I am retiving data from database ,, I am unable to retive it.
    can any one help what is the best solution,
    Thanks IN Advance,,
    here is my code..
    <%@ page language="Java" import="java.sql.*"%>
    <%
    try
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection ("jdbc:oracle:thin:@Spandhan:1521:orcl",
    "waveset" ,"waveset");
    Statement stmt = conn.createStatement ();
    ResultSet rset = stmt.executeQuery ("select * from "+request.getParameter('tableName'));
    while (rset.next ()){
         out.println(rset.getString (1));
    //out.println("4");
    BLOB b=rset.getBLOB ("XML");
    //out.println("5");
    out.println(b.getBytes(1,b.length()));
    //out.println("6");
    out.println("<BR/>");
    out.println("<BR/>");
    }catch(Exception e){
    out.println(e);
    %>
    My error is this ,,
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 3 in the jsp file: /test.jsp
    Generated servlet error:
    Invalid character constant
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 3 in the jsp file: /test.jsp
    Generated servlet error:
    Invalid character constant
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:414)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
    Apache Tomcat/5.5.20

    Thanks all. i did modification to the code, now i am getting onother error that
    javax.servlet.ServletException: Invalid column type: getBLOB not implemented for class oracle.jdbc.driver.T4CVarcharAccessor
    i want to retrive BLOB value from database ,,
    here is my modification code ,,
    and i am using jar OJDBC14.jar . the path is correct,I dont know whether this driver will support to retrive Blob value or not ?
    <%@ page language="Java" import="java.sql.*" %>
    <%
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection ("jdbc:oracle:thin:@hostname:1521:orcl","waveset","waveset");
    Statement stmt = conn.createStatement();
    ResultSet rset = stmt.executeQuery ("select * from USEROBJ");
    while (rset.next()){
    long l=1L;
    Blob b=rset.getBlob(1);
    int len=(int)b.length();
    String s=new String(b.getBytes(l,len));
    out.println(s);
    out.flush();
    %>
    My error is like that ...
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Invalid column type: getBLOB not implemented for class oracle.jdbc.driver.T4CVarcharAccessor
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    javax.servlet.ServletException: Invalid column type: getBLOB not implemented for class oracle.jdbc.driver.T4CVarcharAccessor
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:843)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:776)
         org.apache.jsp.test4_jsp._jspService(test4_jsp.java:74)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    java.sql.SQLException: Invalid column type: getBLOB not implemented for class oracle.jdbc.driver.T4CVarcharAccessor
         oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
         oracle.jdbc.driver.Accessor.unimpl(Accessor.java:358)
         oracle.jdbc.driver.Accessor.getBLOB(Accessor.java:1300)
         oracle.jdbc.driver.OracleResultSetImpl.getBLOB(OracleResultSetImpl.java:1275)
         oracle.jdbc.driver.OracleResultSetImpl.getBlob(OracleResultSetImpl.java:1461)
         org.apache.jsp.test4_jsp._jspService(test4_jsp.java:55)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
    Apache Tomcat/5.5.20
    Please help me, Thanks,
    ----------------------------------------------------

  • How to read data from select Options in another view without using context

    I have 2 views, one for selection screen and another for displaying result.
    In selection screen view I have define a select options with the help of webdynpro component.
    Now my object is display result in result view based on entry of selection screen.
    I don't want to do binding in context node, without that how I can read data of select option
    in result view?
    Regards,
    Rasmi Ranjan Mishra

    Solve by own.
    If I define the Select options in component controller, then it will be global in nature. so i can get the value of select options
    in another view also.
    Regards,
    Rasmi Ranjan Mishra

  • How to import data from CSV file with columns separated by semicolon?

    I migrate database from MS SQL 2008 to ORACLE 11g
    I export data to CSV file from MS SQL
    then I try to import it to Oracle
    several tables goes fine using Import data option in the SQL Developer
    Standard CSV files with data separated by comma were imported.
    chars, date (with format string), and integer data are imported via import wizard without problems
    the problems were when I try to import table with noninteger numbers with modal part separated by comma not by dot
    comma is the standard separator for columns in CSV file
    so I must change the standard separator to semicolon
    then the import wizard have problem to correct recognize the columns data because it use only standard CSV comma separator :-/
    In SQL Developer 1.5.3 Tools -> Preferences -> Migration -> Data Move Options
    I change "End of Column Delimiter" to ; but it doens't work
    Is this possible to change the standard column separator for import data wizzard in SQL Developer 1.5.3?
    Or maybe someone know how to import data in SQL Developer 1.5.3 from CSV when CSV colunn separator is set to semicolon?

    A new preference has been added to customize the import delimiter in main code line. This should be available as part of future release.

  • Problem retriving data from OSA MS9710 with GPIB interface

    Hi all,
    I'm trying to read data from Anritsu OSA MS9710 using a GPIB interface and a terminal software in computer. However, I am not having sucess with it. Anyone know how can I do this? or another way to read this data without needing a floopy disk? 
    Thank a lot!

    Anritsu has a LabVIEW driver. I don't know what kind of terminal software you are talking about. Most terminal emulators are only useful for RS-232. You can use MAX (Measurement & Automation Explorer) to communicate. Nor do I understand how a floppy disk could help.

  • How to retrive data from MYSQL database beginner question

    I need to know a method, on how to retrieve values from a MYSQL database. I finally managed to insert data to a MySql database using hibernate, with the help of google. but, i couldn't find any helpful article on google, on retrieving data, will some plzz help me, by directing me to a site that has sample codes ??
    i am actually new to MYSql and Databases in java, so plzz do help me, i am lost here,,, :(

    Oh, it's Hibernate. In the future, please use the forums at their own site.
    Answers on how to use Hibernate are usually available in the excellent "Hibernate Reference Documentation" available here.

  • 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 data from db using EJB in WebDynpro

    hi...
    i m using EJB's for backend connection in WebDynpro .in which i m able to store data in sapdb .for this i followed one tutorial which i have mentioned bellow which works perfectly.Now in the same Tutorial i want to retrive the data from database and disply it in WebDynpro
    i .e i want to disply bonus when i give ssn no and also i want to disply all data in db.
    Please help me as i m totaly new to this environment and also first time i m working on EJB.its very urgent
    Thanks and Regards
    Sonal<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c</a>

    hi...
    i m using EJB's for backend connection in WebDynpro .in which i m able to store data in sapdb .for this i followed one tutorial which i have mentioned bellow which works perfectly.Now in the same Tutorial i want to retrive the data from database and disply it in WebDynpro
    i .e i want to disply bonus when i give ssn no and also i want to disply all data in db.
    Please help me as i m totaly new to this environment and also first time i m working on EJB.its very urgent
    Thanks and Regards
    Sonal<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c</a>

Maybe you are looking for

  • Handling xml message of size more than 100mb in SAP PI 7.1

    Dear Experts, Is it possible for PI to pick-up and process a XML message of size more than 100 MB in PI 7.1 EHP-1? If yes, can you please let me know how to handle it? Thank  you.

  • Some Serious Bugs in Multicam

    Why has nobody fixed these major bugs? Makes the multicam feature Complete **** and unusable. I have 3 cameras on a wedding shoot. Synced em all up using PLural Eyes, make a multicam sequence and dropped it in there. Enabled multicam. So not only doe

  • Comparative vendor analysis needed

    Hi Everyone! If anyone has a comparative study or analysis of the various MDM vendors in the markets, please forward it to me. Thanks & Regards, Taj.

  • Known backwards compatibility issues between Robohelp 9 and Robohelp 8?

    Hi Group, In addition to avoiding the tasks in the Review menu, does anyone know of any other backwards compatibility issues encountered while opening and using files generated in RoboHelp 9 from within Robohelp 8? Thanks, gail

  • Adobe Reader 7.0 crashes when setting a comment to "resolved"

    If I select Show->Show by Status->None and then select Set Status->Completed (or any other status), the reader crashes (I assume a segfault). I am using Adobe Reader 7.0 on Arch Linux. My system has a 64-bit Intel Processor, but I have a full 32-bit