Problem in displaying data  in table

Hi all,
Below is the select statement.Here i am getting values for ls_class_overview-CLASS
but for ls_class_overview-CLINT.....i am getting 0000000.
Scenerio : when i select class....i will enter then description(KSCHL) will come and at the same time another table will get display with all characterstics(ATBEZ) and value (AWRT)
read table lt_class_overview into ls_class_overview index 1.
       select single s~KSCHL
                into corresponding fields of ls_class_overview
                from ( SWOR AS s INNER JOIN KLAH AS k
                   ON sCLINT = kCLINT
                  AND k~CLASS = ls_class_overview-CLASS ).
        select single ATBEZ  from CABNT
                into corresponding fields of ls_class_overview
                where ATINN = ls_class_overview-CLINT.
         select single ATWRT  from CAWN
                into corresponding fields of ls_class_overview
                where ATINN = ls_class_overview-CLINT.
      APPEND  ls_class_overview to lt_class_overview.
lo_nd_class_overview->bind_table( lt_class_overview )
Thanks
Kiran

I assume when reading table lt_class_overview into the ls you are already getting this as 00000 as in the select you are not populating it. How are you populating the table lt_class_overview?

Similar Messages

  • Problem idn displaying data in table control

    hi
    i have searched almost every forum and tried to execute my program but still it is giving problem.
    means it does not display the data when i execute the trasanction. it keeps tablecontrol blank.
    pls see my code below and give me soloution. plz
    In SE51
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    loop at itab with control tcb.
    module mapdata.
    endloop.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0100.
    loop at itab.
    endloop.
    In SE38
    MODULE STATUS_0100 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
    select * from zpvcust into table itab.
    *read table itab into tcb.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  mapdata  OUTPUT
          text
    MODULE mapdata OUTPUT.
    zpvcust-custno = itab-custno.
    zpvcust-custname = itab-custname.
    ENDMODULE.                 " mapdata  OUTPUT

    Hi Vikas
    This code you follow the i am sure tou will get the values
    process before output.
      module status_0103.
      module get_data.
      loop at   it_bapi3008_2
           into lw_bapi3008_2
           with control tc_data
           cursor tc_data-current_line.
        module tc_data_get_lines.
      endloop.
    module getdata output.
      call function 'BAPI_AP_ACC_GETOPENITEMS'
        exporting
          companycode       = 'RS01'
          vendor            = name
          keydate           = ket_data
       noteditems           = 'X'
    * IMPORTING
    *   RETURN            =
        tables
          lineitems         =  it_bapi3008_2.
      call function 'BAPI_AR_ACC_GETOPENITEMS'
        exporting
          companycode       = 'RS01'
          customer          = lfa1-kunnr
          keydate           = ket_data
    *      NOTEDITEMS        = ' '
    *      SECINDEX          = ' '
    *    IMPORTING
    *      RETURN            =
        tables
          lineitems         = it_bapi3007_2.
      loop at it_bapi3007_2 into lw_bapi3007_2.
        lw_bapi3008_2-doc_no = lw_bapi3007_2-doc_no.
        lw_bapi3008_2-doc_date = lw_bapi3007_2-doc_date.
        lw_bapi3008_2-lc_amount = lw_bapi3007_2-lc_amount.
        lw_bapi3008_2-db_cr_ind = lw_bapi3007_2-db_cr_ind.
        lw_bapi3008_2-doc_type  =  lw_bapi3007_2-doc_type.
        lw_bapi3008_2-amt_doccur = lw_bapi3007_2-amt_doccur.
        append lw_bapi3008_2 to it_bapi3008_2.
        clear lw_bapi3008_2.
      endloop.
    endmodule.                 " GETDATA  OUTPUT
    module tc_data_get_lines output.
      data g_tc_data_lines type sy-loopc.
      g_tc_data_lines = sy-loopc.
    endmodule.                    "
    try it you will get the values
    Regards Nilesh

  • Problems with retrieving data from tables with 240 and more records

    Hi,
    I've been connecting to Oracle 11g Server (not sure exact version) using Oracle 10.1.0 Client and O10 Oracle 10g driver. Everything was ok.
    I installed Oracle 11.2.0 Client and I started to have problems with retrieving data from tables.
    First I used the same connection string, driver and so on (O10 Oracle 10g) then I tried ORA Oracle but with no luck. The result is like this:
    I'm able to connect to database. I'm able to retrieve data but from small tables (e.g. with 110 records it works perfectly using both O10 and ORA drivers). When I try to retrieve data from tables with like 240 and more records retrieval simply hangs (nothing happens at all - no error, no timeout). Application seems to hang forever.
    I'm using Powerbuilder to connect to Database (either PB10.5 using O10 driver or PB12 using ORA driver). I used DBTrace, so I see that query hangs on the first FETCH.
    So for the retrievals that hang I have something like:
    (3260008): BIND SELECT OUTPUT BUFFER (DataWindow):(DBI_SELBIND) (0.186 MS / 18978.709 MS)
    (3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=0
    (3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=1
    (3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=0
    (3260008): EXECUTE:(DBI_DW_EXECUTE) (192.982 MS / 19171.691 MS)
    (3260008): FETCH NEXT:(DBI_FETCHNEXT)
    and this is the last line,
    while for retrievals that end, I have FETCH producing time, data in buffer and moving to the next Fetch until all data is retrieved
    On the side note, I have no problems with retrieving data either by SQL Developer or DbVisualizer.
    Problems started when I installed 11.2.0 Client. Even if I want to use 10.0.1 Client, the same problem occurs. So I guess something from 11.2.0 overrides 10.0.1 settings.
    I will appreciate any comments/hints/help.
    Thank you very much.

    pgoel wrote:
    I've been connecting to Oracle 11g Server (not sure exact version) using Oracle 10.1.0 Client and O10 Oracle 10g driver. Everything was ok.Earlier (before installing new stuff) did you ever try retrieving data from big tables (like 240 and more records), if yes, was it working?Yes, with Oracle 10g client (before installing 11g) I was able to retrieve any data, either it was 10k+ records or 100 records. Installing 11g client changed something that even using old 10g client (which I still have installed) fails to work. The same problem occur no matter I'm using 10g or 11g client now. Powerbuilder hangs on retrieving tables with more than like 240 records.
    Thanks.

  • Problem with displaying Date field in the table.

    Hi All,
    I am trying to display data into a table UI Element. 
    In that data, i have one DATE type field. While displaying data in DATE field, it will display like this "01.02.2009".
    Now my requirement is if i want to modify that DATE field, it will allow to modify "01.02.2009"  to "26.02.2009".
    But while modifying DATE field , I want to show the Calender of that month, in that i  have to select the another date.
    (Like normal Date UI Element will show that calender).
    Can anyone please help me.
    Thanks in Advance!
    Regards,
    Sreelakshmi.

    Hi,
          Go to the context attribute that was mapped to the DATE field of the table and change the perperty INPUT HELP MODE to  AUTOMATIC and it works.
    Regards,
    Manne.

  • Problem while displaying all the table names from a MS Access Data Source.

    I started preparing a small Database application. I want to display all the Table Names which are in the 'MS Access' Data Source.
    I started to executing by "Select * from Tab" as if in SQL.
    But i got an error saying that "Not able to resolve Symbol 'Tab' in the query".
    Please let me know how can i display all the table Names in the MS Access Dats Source.

    Here i am developing the application in Swing using JDBC for accessing the database.
    I want to display all the Table names from the data source in a ListBox for easy selection of tables to view their details.

  • How to display data in table region

    HI All,
    I have a requirement to display data from a VO to a table region after clicking the GO button please help me on this.
    Thanks
    Deb

    Hi Deb,
    In the controller's processFormRequest(), check for the GO button click, then execute the VO's query via vo.executeQuery().
    Something like:
    if(oapagecontext.getParameter("Go") != null)
    am.invokeMethod("initTableQuery");
    Regards,
    LC

  • How to display data in table with dynamic rows, section wise in a page.

    Hello all,
    I work on report creation in BI Publisher where I need to display data from xml in a table in pdf format.The output page is divided into two vertical sections , containing tables, with exactly same columns on left and right sections. The number of rows in table depends on the output of the fetching query. The page is to be populated in such a way that, at first, the left table is populated, then the next rows fill up the table on the right section of the page, if more rows are left, they fill up the tables on next page[first the left table, and then the right one, in a similar fashion as in page 1]
    On a bird's eye view, the data needs to be simply mapped to a table, with dynamic number of rows, and so can span number of pages depending on size of data. On a implementation level, I am stuck in getting the left section of the page populated first, then the right section[in place of the right page], and then the next page.
    Please guide me if someone has any idea in getting this achieved.
    Thanks in advance.

    Thanks for the response...
    I am able to get the desired functionality. I just need the tables to be inside a bigger table, that also has a dividing line between the two columns. This is was is intended in the req. provided to me. The column formatting option provides me a line ,but that is not further modifiable .Please help me in getting a perpendicular line between the two columns, which I need to be of a specified width and color.

  • How to display data in table with specified format?

    Hi,
    Jdev 11.1.1.4, ADF BC and ADF Faces
    In my application I have created a EO based view object which will return data as below.
    Deptid       Loc          seq
       1            Loc1         1
       1            Loc2         2
       2            Loc1         3
       2            Loc2         4
       3            Loc1         5
       3            Loc2         6Now I have to display the data in table like below
                     Loc1
       1                              1st row
                     Loc2                  Loc1
       2                              2nd row
                     Loc2                  Loc1
       3                             3rdrow
                     Loc2 How can I do that? Any help will be appreciated.
    ~Abhijit
    Edited by: Abhijit Dutta on Nov 5, 2011 6:18 PM

    check this thread...
    display the data in chart format

  • How to display data in table

    Hi all,
    can any one tell me how to display data in a table when user click on a button. i have created a node with a set of fields from different tables now how to write the logic to display data in that table.
    Thanks & Regards,
    Naveen

    DATA lo_nd_professionaltable TYPE REF TO if_wd_context_node.
      DATA lo_el_professionaltable TYPE REF TO if_wd_context_element.
      DATA ls_professionaltable TYPE wd_this->ElementS_professionaltable. "internaltable
    TYPES: BEGIN OF TY_PFTAB,
           RATEGROUP TYPE /BIC/OIWRATEGRP,
           LEVEL TYPE /BIC/OIWPCSLEVEL,
           FROMDATE TYPE /BI0/OIDATEFROM,
           FROMTO TYPE /BI0/OIDATETO,
           STANDARD TYPE /BIC/OIWSTRATE,
           OVERHEAD1 TYPE /BIC/OIWOHRTE1,
           OVERHEAD2 TYPE /BIC/OIWOHRTE2,
           OVERHEAD3 TYPE /BIC/OIWOHRTE3,
           EXCEPTIONFLAG TYPE /BIC/OIMSECFILER,
           END OF TY_PFTAB.
    DATA : IT_PFTABLE TYPE STANDARD TABLE OF TY_PFTAB,
           WA_PFTAB TYPE TY_PFTAB.
    SELECT /BIC/WRATEGRP /BIC/WPCSLEVEL DATEFROM DATETO /BIC/WSTRATE /BIC/WOHRTE1 /BIC/WOHRTE2 /BIC/WOHRTE3
    FROM /BIC/AGLDCPRTS00 INTO TABLE IT_PFTABLE.
    *TYPES : BEGIN OF TY_EXCEPTION,
           EXCEPTIONFLAG TYPE /BIC/OIMSECFILER,
           END OF TY_EXCEPTION.
    *DATA : IT_EXTABLE TYPE STANDARD TABLE OF TY_EXCEPTION,
          WA_EXTABLE TYPE IT_EXTABLE.
    *SELECT /BIC/MSECFILER FROM /BIC/AGLDCLMLT00 INTO TABLE IT_EXTABLE.
    navigate from <CONTEXT> to <PROFESSIONALTABLE> via lead selection
      lo_nd_professionaltable = wd_context->get_child_node( name = wd_this->wdctx_professionaltable ).
    get element via lead selection
      lo_el_professionaltable = lo_nd_professionaltable->get_element( ).
    @TODO handle not set lead selection
    IF lo_el_professionaltable IS INITIAL.
    ENDIF.
    get all declared attributes
    lo_el_professionaltable->get_static_attributes(
       IMPORTING
         static_attributes = ls_professionaltable ).
    lo_nd_professionaltable->bind_table( new_items = IT_PFTABLE set_initial_elements = abap_false ).

  • Problem in displaying data.

    Hi,
    I am facing a problem in display of data for a particular employee. This is a HR report with 5 selection variables out of which 3 are mandatory and rest 3 like company code, Cost centre and Employee are optional.
    when i run the report with company code and cost centre variable it shows me list of employees whose timesheet are missing in a particular time frame which misses out 1 employee and when i run the report with same variables but put in the employee it shows me the data of that employee which is assigned to same cost centre and company code. Its just that in first case i am using 2 diff optional variables and in 2nd i am using only 1 with rest of the variables same. This is so weired. For the first time i have encountered such issue. and if i run the report with company code and cost center and after getting the necessary output i select the filter value as that emplyees name i get the data for that employee.... I am unable to understand as to how where exactly is the problem?
    i checked the master data of employees, cost centre and company code. Everything is working fine.
    Kindly help to figure out the issue.
    Kind regards,
    Shailja kaul.

    Please perform the consistency check for the cube in RSRV and confirm that all the dimensions in the cube are consistent. Sometimes, this happens, which generates such situation that some of records disappear in the result set if not mentioned in the selection screen.
    Here as per your msg, if you mention the employee number, the record appears, that means you should also perform the consistency check for 0EMPLOYEE (if that is the infoobject for employee) master data.
    Thanks
    Danny.

  • Problems with displaying data in Chart

    Hi, everyone
    I am stuck with displaying data in Chart. I set the minimum
    and maximum for LinearAxis of a LineChart, so the chart only
    display the data within this range. But sometimes I still need to
    keep the trend of all data even the data is out of range.
    eg, the range of verticalAxis is 0 -100 and I got data 70,
    120, 90. Neither I want to set the data 120 to 100 in order to keep
    the data point nor make the data 70 connected directly to data 90.
    All I want is to keep the shape, from 70 to 120, from 120 to 90,
    but 120 doesn't display in the chart.
    My another question is when I try to select an area of a
    chart to zoom in, how can I the get the exact area that I select to
    zoom,
    for example: I want to use exactly the result of the
    following line:
    ((firstMouseX - this.mouseX)/ this.dataRegion.width) *
    chart.dataProvider.length
    that is I don't want to use methods ceil or floor to get the
    approximate area.
    Excuse me, I got one question more. The weird things is my
    chart won't resize itself when I resize the VDividedBox or other
    containers. I set the width equals 100% wherever it needs to be.
    Just like the Flex sample - dashboard. If I open a small window at
    the very begining and then maximize the window, the chart still
    keep the small part of its container. I don't understand why.
    Sorry for too many questions.
    Hope someone can help me.
    Thanks in advance.

    Can I use the Interpolate to solve the first problem?
    But I have no idea about interpolate at all.
    Please help!

  • Problem with displaying data's in a chart

    I have a main VI (Hovedprogram) and 5 VI's (Ferdigprogram temp tur , Ferdigprogram temp retur, Ferdigprogram nivå, Ferdigprogram temp i fyr and Ferdigprogram trykk)who starts when I start the main VI.
    I want to display data for last 15 seconds, last 24 hours, last week, last month and last year.
    The problem is that the graphs for last week, last month and last year do not display all the data's. I just got a dot where I started the program 28.April. The graphs shows the data's from 2.May
    Any suggestion how I can change my program to appear as described?
    Attachments:
    Hovedprogram.vi ‏748 KB

    And here is one of the 5 VI's
    Attachments:
    Ferdigprogram temp retur.vi ‏125 KB

  • Problem in displaying dates for replacement path with text variable

    Hi all,
    I have to display dates in sequence as descriptions for 15 columns based on the the date entered by the user in Bex Report.I managed to display date as description using text variable with replacement path for single column.I could not able to increment date for other descriptions.Could you please help me to solve this issue.Its urgent.
    Ex: User enters 03/09/2007 then in the out put desciptions for the columns should be  03/09   04/09  05/09 ............ 17/09.
    Thanks in advance.
    Regards,
    Mandadi.

    Hi,
       goto the properties of your KF and click on the variable button side to that of the description field and click on new/Create option.Enter the technical name description for the text variable and select Replacement path as the Processing type and in the nxt screen select Fiscal year as the replacement variable and in nxt screen  specify as Key and provide offset values if necessary and click on finish.now select the variable by clickin on the variable button next to the description field.it comes after the description of the KF.Now run the query.
    Thanks,
    Sandeep

  • Problem in displaying data onto Form after selecting from table.

    Hi there,
    I keep hitting this error when I tried to display the data after the selection from table. Using backing beans w data control to do it
    Err: java.lang.ClassCastException: java.util.Collections$SingletonList cannot be cast to java.lang.Integer
    Table used ArrayList to retrieve out the wanted data. E.g uses A object
    To display: selected data to retrieve the selected row to display as a read-only form layout below the table. E.g. need to get A.getName() to match with B object B.getName() then uses the B object to retrieve out the data.
    Anyone know how to do it?

    Hi
    use the follwing code
    int rowcount = wdContext.node<Name>().size();
    while(rs.next())
    IPrivate<ViewName>.I<Name>Element tabnode =wdContext.node<Name>().get<Name>ElementAt(i);
    tabnode.nodeAuthoriseNode().invalidate();
    tabnode.nodeAuthoriseNode().addElement(0,authele);
    tabnode.nodeAuthoriseNode().setLeadSelection(0);
    wend
    Regards
    Dhinakar

  • Problem in displaying data in the smartform output.

    Dear Freinds,
                    I have a requirement as per my requirement i have to display the employee dependents details in the smartform output.
    I have taken a table in smartform and collected all teh employee dependents details . Each dependents his own  details around 8 fields. so iam displaying in the smartform it is working till now no problem ........iam getting data as below
    Dependentrelation | dependentname|passportno|expirydate|visano|visadate|visa expire date| ResidenceNo|Residence issuedate|
    spouse                 | Raja                   |123456       |10/09/2009|122233|10/01/2009|10/01/2010 | 1001             |10/01/2009
    These are the one of the dependentds details iam having till now , like this i have another dependts details. Now the problem i have
    to add some fields to this list ( to this internal table) ...........if iam adding one more feild data is getting truncated as i dont have any more fields to add to right in the horizontal line........how can i solve this issue and how can i add further fields to this list
    like date of birth of the dependents and gender
    please could any one tell how i can solve this issue.
    regards
    divya.

    If this is a Tablethen only thing you can do is re-size the grid and font size to adjust your data. Like, displaying HEADINGS & DATAs in 2 rows instead of 1, etc.
    Nothing else can be done. Otherwise you have to trim down the data to adjust in one page.

Maybe you are looking for

  • Display picture in blob on report with GET_BLOB_FILE_SRC

    Hi Guys ! I want to display picture contains in blob on my report. The function GET_BLOB_FILE_SRC can do that but I must have an File browse item to use them. The only other way I know is to create my own function that return my image. Like that : cr

  • NACE O/P TYPE IN TR

    Dear All, I have create a o/p type in my DEV system through NACE Tcode and i want to move it to  my quality and production. Problem is i am not able to generate a request for the same. I will already tried steps given in below thread transport reques

  • Com.sun.j3d -  not in API Specification

    Where can i find the classes of this package?

  • Compile Error for Import com.sun.javadoc.*;

    I need to write some simple doclets and found some beginner code on the Sun website. The first line of the sample app is: import com.sun.javadoc.*;However, I get a compile error: C:\JavaDoc\Doclet\ListClass.java:1: package com.sun.javadoc does not ex

  • Quiero eliminar mi cuenta

    Acabo de adquirir una cuenta premium y me gustaría sincronizarla con mi Facebook pero no puedo ya que mi cuenta Facebook tengo spotify Free como puedo dar de baja la libre para poder sincronizarla con la de pago, espero me puedan ayudar.