ALV Tree, Expanded node do not show data in certain column

Hi all,
I need your help regard to below problem.
I have an ALV grid in which one of the columns has F4 (search help). If search help is called by pressing a F4 button a dialog box will be shown with ALV tree on it.
The ALV Tree has 2 columns which are: hierarchy column and one other column called WBS column. At the first show, all expanded node show data contained in WBS column, but if I click to expand a collapsed node, data is not shown in WBS column for the new expanded rows, only shows data in hierarchy column. How to show data in WBS column for the new expanded rows..?
Basically if at the first show I expand all node, data in WBS column are shown for all rows. It seems that the Expand Node event doesn't update all column data to be shown.
Please share if anyone of you has faced this kind of problem. Thank you.
Regards,
Ramses Hutahaean
Edited by: Ramses Hutahaean on Feb 29, 2012 1:38 PM

Hi Fenja,
as the click-events only raise the node_key (at least I couldn't detect another information), I assume the only way is maintaining an internal helper table by yourself which you build up in parallel when creating the tree and its nodes.
The (hashed) table might contain 2 columns:
1. node_key (as table key)
2. reference to an object
When a click-event is raised, you look up the corresponding object reference in your table.
Regards,
Ulrich

Similar Messages

  • PLD Report does not show data from Query

    Hello,
    SAP b1 9.0 PL08 on MSSQL 2008 and I get data on the query, but when the PLD prints, it shows nothing. Is there a way to filter the data that the PLD shows? Does PLD have its own SQL script it uses b/c its not showing data from the query.
    Thanks,
    Nick

    Hi Nicholas,
    Please check below links.
    query based print layout design
    Print Layout Designer \Custom Reports
    How to Make a Print Layout (PLD) Report from a SBO Query | SBOnotes.com
    http://www.tegrous.com/wp-content/uploads/2011/07/HowTo_QPrintLs_88.pdf
    Hope this help
    Regards::::
    Atul Chakraborty

  • Discoverer Plus 10gR2 not show data when the script of view have package

    Hi my friends.
    I have a problem with discoverer plus, I don't know is a problem or I'm doing something wrong.
    I have a four views, the views containg in the SELECT stament and WHERE clause packages, example:
    SELECT d.price,
    d.total,
    d.min,
    d.mx,
    TO_CHAR (SYSDATE, 'q') quarter,
    d.fid,
    k_xdcd_qry.f_xdc_obt_price (d.prod, d.id) --> package
    k_xpxpd_qry.f_xpeds_salary_ca_u (
    d.prod,
    d.id) xp --> package
    FROM px_prices_proc c,
    xp_sla_max d,
    xmp_sla_puc b
    WHERE a.prod = b.prod
    AND a.id = b.id
    AND a.prod = k_xps_tools.f_obt_prod --> package
    When I used the views on discoverer plus for construct the report, when execute the query not show data.
    Appreciate it if you could help or tell me I'm doing wrong or does not support Discoverer Plus package execution.

    Hi Tux,
    This appears to be a grant issue. Apparently, you have granted execute with respect to this package to the EUL owner or the view would not have compiled. If you have not given EUL owner the grant option, I would recommend doing this as well.
    This appears to be an Oracle APPS EUL (tell me if I am wrong). If this is the case, it goes without saying that APPS will need to be granted the execute privilege.
    Also, by default, a stored package executes with the privileges of its owner. If your custom package was designed this way, are the objects which it references received the appropriate grant? I assume you tested this, but I am concerned that the line, a.prod = k_xps_tools.f_obt_prod, in the where clause could be resulting in the Null set being returned.
    Patrick

  • EXCEL  out put is not showing data

    Hi All,
    My report is working fine  it is showing data in XML but it is not showing data in Excel output.   Excel output is empty.
    i have attached  excel and xml files.  please help me.
    FYI: these are migrated reports from 10g to 11g.
    Thanks in advance for your time

    Using ua.bat  we upgraded 10g to 11g., we got sucessfully message.
    after upgrade if i try to open excel it is not showing opening and showing action instead of excel name . I though  excel out put has corrupted. i downloaded excel layout from 10g and  uploaded in 11g report using upload layout.
    we did not make any changes in database.
    below one is not related to this one  but  .. after upgraded reports  multi parametrs  did not work if i select more than one column ( i opened as different topic) then i have removed
    ( (coalesce(null, :P_PPD_REGION) is null)  and kept(region.X_REGION in (:P_PPD_REGION) from following statement then i did report is working with multi  parameters.
    my doubt is is it correct thing i did ?  if not how can   my multi parameter will work .  we are using oracle as database.
    AND ( (coalesce(null, :P_PPD_REGION) is null) or (region.X_REGION in (:P_PPD_REGION)) )
    AND ( (coalesce(null, :P_COUNTRY) is null) or (region.REGION_CD in (:P_COUNTRY)) )
    AND ( (coalesce(null, :P_SITE_NUM) is null) or (ptcl_site.site_num in (:P_SITE_NUM)) )
    I really appreciate  for your support.

  • 2lis_03_bf data is not showing data in RSA3

    Hi,
    I have loaded 2lis_03_bx first for a plant using MCNB transaction,its showing data in RSA3 then I have loaded 2lis_03_bf datasource for the same plant using transaction 0LI2BW. but it is not showing data in  RSA3.
    I have done the above process in background.
    In SM37 it is showing the following message for the 2lis_03_bf datasource
    <b>Job started
    Step 001 started (program RMCBNEUB, variant &0000000000003, user ID TCS_SRM)
    Date fields for info structure S032 are not generated
    Job finished</b>
    steps:
    1.Before loading the data I have deleted data using LBWG
    2.In LBWE, 2lis_03_bf is already activated.
    Please help me out on resolving the above issue
    Thanks in Advance

    ODS Settings
    BEx reporting option --> If this indicator is not set, no SID's are generated for the new characteristics when the data in the ODS object is activated.This optimizes the performance of the activation process, but the ODS object is not available as an InfoProvider for queries. 
    Refer this link for more information...
    http://help.sap.com/saphelp_nw04/helpdata/en/a6/1205406640c442e10000000a1550b0/frameset.htm

  • CFGRID does not show data (CF9.0)

    Under development server, CFGRID show data , all is fine , correct. (CF9.0  version dev)
    Under production server , CFGRID does not show data, only a grey line (like a HR).
    How to debug this ?
    Thanks,

    Kindly check below to troubleshoot this issue:-
    Is there any difference between your CF production & developement server setting summary?
    Is there any browser script level difference between your both CF server?
    Are you getting any relevant logging error in your CF server application.log & exception.log?
    Run a very simple cfgrid running app to check, either getting issue with that too or not.

  • PMI Problem (End-to-End Monitor does not show data)

    (End-to-End Monitor does not show data)
    As I know that XML Messages Alerts T-code: SXMB_NOMI shows all alerts including errors as well I put date Range: 01-01-2008 to 01-08-2008 and filters for "Errors" system does show more then 300 errors
    But problem in RWB - End-to-End Monitoring, when I click on display and date range 01-01-2008 to 01-08-2008 its give me graphical overview in right of window
    and shows summary:
    Errors:                     0  Average
    Open                  904  Maximum
    Successfully Completed         0  Minimum
    Overall:                  904
    I thing End-to-End Monitor doesn't get data from PMI...
    why does't show any errors, which is shows in SXMB_MONI
    Please tell me how to resolve that problem
    Thanks in Advanced
    Edited by: issue2008 issue on Aug 26, 2008 12:02 PM

    Hi,
    A destination pointing to the Integration Server is created on the J2EE engine to collect the data for the end-to-end monitoring. If this destination is incorrect or if there are several clients in the system of the integration server, the data may be sent to the incorrect client.
    This might be a reason so you can  implement the correction of the destination in a manual way as follows:
    Open the J2EE visual administrator.
    Select the Destination service.
    Select the HTTP "pmistore" destination.
    Enter the URL for the ICF service spi_gate of the Integration Server in the following form "http://<host>:<port>/sap/bc/spi_gate?sap-client=<xxx>", where 'host' denotes the host of the integration server, 'port' denotes the HTTP port, and xxx is the client of the Integration Server.
    Thanks,
    Hemant

  • Please see this query, not showing data Why?

    I created a report and write following query,it was working well since last 4 months but today automaticly not showing data I can undertstand why?
    Becuase I didnt make any changes in this query.
    Please help me
    Urgent
    SELECT ALL MERCH_ORDER.ORDERNO, MERCH_ORDER.ORDERDATE, MERCH_ORDER.SHIP_DATE, MERCH_ORDER.PONO,
    MERCH_ORDER.SUBPP, MERCH_ORDER.PJNO, BUYER.B_NAME, BUYER.B_AJENT,
    MERCH_ORDER.ITEM, MERCH_ORDER.FABRIC, MERCH_ORDER.QUALITY, MERCH_ORDER.COMPOSITION,
    MERCH_ORDER.P_SIZE, MERCH_ORDER.QUANTITY, MERCH_ORDER.Q_UNIT,
    MERCH_ORDER.NETWHT, MERCH_ORDER.WT_UNIT, MERCH_ORDER.TERM, MERCH_ORDER.COMM,
    MERCH_ORDER.PRICE, MERCH_ORDER.CUR_SYMB, MERCH_ORDER.STATUS, MERCH_ORDER.REMARKS,
    MERCH_ORDER.WONO, MERCH_ORDER.PRONO, MERCH_ORDER.PES_QUANTITY,
    MERCH_ORDER.PES_Q_UNIT, MERCH_ORDER.PES_PRICE, MERCH_ORDER.PES_CUR_SYMB
    FROM BUYER, MERCH_ORDER
    WHERE MERCH_ORDER.CANCEL IS NULL
    AND (MERCH_ORDER.B_CODE = BUYER.B_CODE)
    and merch_order.orderno not in
    (select export_order1.orderno from export_order1)
    ORDER BY MERCH_ORDER.ORDERNO

    Where "first table" is merch_order and "second table" is export_order1?
    How many distinct orders are in each table?
    Are there any NULL order numbers in either table?
    I'd put money on the fact that if commenting out a clause causes a number of rows to be returned, that clause is filtering out all the rows. You'll need to go through your data to figure out why the NOT IN clause is filtering out all your rows.
    Justin

  • SSAS cube is not showing data

    Hi All,
    I have build a cube in ssas 2008. The cube processes successfully. but wheni browse the cube it does not show data.
    I check it in dsv Fact table--> Explore data --> it displays data. But i cannot see the data when i browse the cube.
    I have 3 cubes in one solution, there i also processed the complete solution. There is no problem with other cubes except for this one.
    I have only dragged the measure and not the dimension. hence i do not think there can be any relationship issue.
    Can anybody please suggest??
    Thanks & Regards, Chaitali Thaker

    Hi Chaitali,
    Check if the CALCULATE; command is present in the Scripts/Calculations tab.
    Ensure that you specify the relationship between dimensions and measure groups.
    Set any related dimension UnknownMember properties to Visible.
    thank you,
    Radhakishan

  • Top x for "show data as % of column"

    I have the below requirement: (obiee 11g)
    Attribute - Value - % of total value
    I am calculating "% of total value" by creating duplicate column and selecting "show data as % of column". This is working fine.
    Now there is an additional requirement to display "top x" values based on "value" column or "% of total value" column.
    If I add filter "top 10" on "value" - % of total value is getting calculated only based on those 10 values but not all values.
    How I can display consistent "% of total value" based on sum of total "value" but not just top x with the ability to show top 5, or top 10 etc.
    Your responses are highly appreciated.
    thanks.
    Edited by: 917421 on May 15, 2012 10:12 AM

    HI,
    Please refer the link.
    http://myobieeworld.blogspot.in/2009/02/dissecting-paint-repository.html
    Hope it help's
    Thanks,
    Satya

  • ALV tree - change node text

    hello,
    on a screen I have input fields such as year and below a container holding an ALV tree.
    When I change the year value, that starts a new selection from a table and should result in changing many of the lines in the tree.
    I was trying to use the methods "get_outtab_line" to retrieve the tree line data and then changing this data with method "change_node".
    The problem is I cannot access the correct node-key. The node-key value is kept in memory somewhere and when I refresh the alv tree at PBO, the node-key is incremented from the stored value which means I cannot use get_outtab_line properly.
    Any suggestions or example programs,
    Thanks a lot,
    Kevin

    Hi Kevin,
    Try using method update_calculations instead of directly using frontend_update.
    So the sequence should be,
      IF NOT ref_tree IS INITIAL.
        CALL METHOD ref_tree->free.
      ENDIF.
      CREATE OBJECT ref_tree...
      CALL METHOD ref_tree->set_table_for_first_display...
    ****Data fill in a loop
      CALL METHOD ref_tree->add_node..
    ****Expand if needed
      CALL METHOD ref_tree->expand_node..
    ****Toolbar Logic if needed..
    ****Events Registration
    ****Finally call to update calculations
      CALL METHOD ref_tree->update_calculations..
    Hope this helps..
    Sri

  • Editing of a  Column of ALV Tree(OOPS) node

    is it possible to edit a column of node of ALV tree.
    i am using ALV class "CL_GUI_ALV_TREE".
    After searching existing threads, for the same issue..i found the following.
    1) Editable Tree ALV
      ( displays pop up window where user can change values and then transfer these changes back to ALV tree)
    2) Editable Field in ALV TREE Display Using OOPs
         (this approach is not working for ALV Tree)
    But i want to edit directly coulmn of a node of ALV tree.
    is it possible in  OOPS ALV Tree?
    if it possible, can any one provide the sample code,

    As you already noticed, this is not possible, but you may edit your fields outside the tree and bring your changes back to tree. I struggled with the same once but eventually used described alternative. If you use saplink you may check upgrade [chain and rename|http://code.google.com/p/saplink-chain-and-rename/downloads/list] where this approach is released. The code is free so you will be able to study and copy whatever you need from it.
    Editing in a pop up is also an alternative here.
    Regards
    Marcin

  • Table not showing data after refresh

    Hi gurus ,
    A unique problem We have added a field in the custom table . once moved to quality system it is not showing up the data whwn when we do a select query on that table in se16 . say total entries are ten thousand four of them are checked and when display not checked i.e eq space we get just 100 entries on number of entries ..i asked to regenerate the table in quality system but it did not help .The Quality system was refresh 1 month ago and we see it not working after it ..please suggest the correct steps we need to perform  to recover the data . Adjust database with keep data has already been done ...

    Hi Anjaneya Bhardwaj,
    If I understand well, your issue is that you have a SELECT in your program, saying newfield is your newfield, something like:
    SELECT ... FROM ztable INTO ... WHERE newfield = space.
    and it doesn't return the records that existed in quality before newfield was added.
    It it because, by default, when you add a field to an existing database table, with records already present, they are assigned the NULL value, which is different from space.
    They can be retrieved using WHERE newfield IS NULL.
    Usually, to avoid this issue, when we add a new field, we tick the "no null value" checkbox for this new field, in SE11 transaction. That will initialize the field of existing records, to the initial value (space for characters, 0 for numeric fields, etc.) Note: maybe it can be counter performant for big tables...
    Solution for your issue, run this code once:
    UPDATE ztable SET newfield = space WHERE newfield IS NULL.
    BR
    Sandra

  • Internal table field does not show data.

    hello experts,
    I am currently modifying a code in a report where it shows PO's and it amount, downpayment, Invoice, GR, payment and balance. Now the problem is, some of the PO amount(it gets the amount from ekpo-netwr) does not show on the report output. the field is t_amount-netwr. I really need help on this one guys. Thanks and take care!
    PERFORM process_with_budat.
    FORM process_with_budat.
      DELETE t_pohistory WHERE hist_type <> 'A'
                           AND hist_type <> 'E'
                           AND hist_type <> 'Q'.
      LOOP AT t_account.
        DELETE it_dtl WHERE ebeln = t_account-ebeln
                        AND psphi IS initial.
        DELETE t_ekpo WHERE ebeln = t_account-ebeln
                        AND ebelp = t_account-po_item.
        t_proj-ebelp = t_account-po_item.
        SELECT SINGLE psphi FROM prps INTO t_proj-psphi
              WHERE posid = t_account-wbs_elem_e.
        CHECK sy-subrc = 0.
        LOOP AT t_pohistory WHERE po_item = t_account-po_item
                              AND ebeln   = t_account-ebeln.
          t_amount-ebeln = t_account-ebeln.
          t_amount-psphi = t_proj-psphi.
          ON CHANGE OF t_pohistory-po_item.
            CLEAR v_netwr.
            SELECT SINGLE netwr FROM ekpo INTO v_netwr
                  WHERE ebeln = t_account-ebeln
                    AND ebelp = t_account-po_item.
            t_amount-netwr = v_netwr.
          ENDON.
          IF v_ebeln IS INITIAL AND v_ebelp IS INITIAL.
            CLEAR v_netwr.
            SELECT SINGLE netwr FROM ekpo INTO v_netwr
                  WHERE ebeln = t_account-ebeln
                    AND ebelp = t_account-po_item.
            t_amount-netwr = v_netwr.
            v_ebeln = t_account-ebeln.
            v_ebelp = t_account-po_item.
          ELSEIF v_ebeln <> t_account-ebeln AND
                 v_ebelp <> t_account-po_item.
            CLEAR v_netwr.
            SELECT SINGLE netwr FROM ekpo INTO v_netwr
                  WHERE ebeln = t_account-ebeln
                    AND ebelp = t_account-po_item.
            t_amount-netwr = v_netwr.
            v_ebeln = t_account-ebeln.
            v_ebelp = t_account-po_item.
          ELSEIF v_ebeln = t_account-ebeln AND
                 v_ebelp <> t_account-po_item.
            CLEAR v_netwr.
            SELECT SINGLE netwr FROM ekpo INTO v_netwr
                  WHERE ebeln = t_account-ebeln
                    AND ebelp = t_account-po_item.
            t_amount-netwr = v_netwr.
            v_ebeln = t_account-ebeln.
            v_ebelp = t_account-po_item.
          ENDIF.
          CHECK NOT t_amount-psphi IS INITIAL.
          if t_pohistory-pstng_date LE pa_augdt.
         IF t_pohistory-pstng_date IN so_augdt.
            IF t_pohistory-db_cr_ind = 'H'.
              t_pohistory-val_loccur = - t_pohistory-val_loccur.
              t_pohistory-val_forcur = - t_pohistory-val_forcur.
              t_pohistory-cl_val_loc = - t_pohistory-cl_val_loc.
            ENDIF.
            IF t_pohistory-hist_type = 'A'.
              IF t_pohistory-currency <> 'PHP'.
                t_amount-dpamt = t_amount-dpamt + t_pohistory-val_forcur.
              ELSE.
                t_amount-dpamt = t_amount-dpamt + t_pohistory-val_loccur.
              ENDIF.
            ELSEIF t_pohistory-hist_type = 'E'.
              IF t_pohistory-currency <> 'PHP'.
                t_amount-gramt = t_amount-gramt + t_pohistory-val_forcur.
              ELSE.
        t_amount-gramt = t_amount-gramt + t_pohistory-val_loccur.
              ENDIF.
            ELSEIF t_pohistory-hist_type = 'Q'.
              IF t_pohistory-currency <> 'PHP'.
           t_amount-iramt = t_amount-iramt + t_pohistory-val_forcur.
              ELSE.
                t_amount-iramt = t_amount-iramt + t_pohistory-val_loccur.
              ENDIF.
            ENDIF.
            IF t_pohistory-currency <> 'PHP'.
              IF t_pohistory-val_loccur = 0 OR
                 t_pohistory-val_forcur = 0.
                t_amount-tramt = t_amount-iramt.
               t_amount-tramt = t_amount-dpamt.
              ELSE.
                t_amount-tramt = t_amount-iramt.
              ENDIF.
            ELSE.
              t_amount-tramt = t_amount-iramt.
             t_amount-tramt = t_pohistory-cl_val_loc + t_amount-dpamt.
            ENDIF.
            IF NOT t_pohistory-cl_val_loc IS INITIAL.
              CONCATENATE t_pohistory-mat_doc t_pohistory-doc_year
                    INTO bkpf-awkey.
             SELECT SINGLE * FROM bkpf
                   WHERE awkey = bkpf-awkey.
    *AVH - removed wrbtr and dmbtr from selection
              SELECT augdt augbl shkzg FROM bsak
                    INTO (bsak-augdt,bsak-augbl,bsak-shkzg)
                    WHERE bukrs = bkpf-bukrs
                      AND gjahr = bkpf-gjahr
                      AND belnr = bkpf-belnr.
    *AVH
                if not bsak-augbl is initial.
                  select belnr gjahr from bsak
                   into (bsak-belnr, bsak-gjahr)
                    where bukrs = bkpf-bukrs
                     and belnr = bkpf-belnr
                     and gjahr = bkpf-gjahr.
                    select awkey from bkpf
                     into v_bkpf_aw
                     where bukrs = 'GLOB'
                       and belnr = bsak-belnr
                       and gjahr = bsak-gjahr.
                      w_len = strlen( v_bkpf_aw ).
                      w_off = w_len - 4.
                      v_awkey_1 = v_bkpf_aw+0(10).
                      v_awkey_2 = v_bkpf_aw+w_off(4).
                      select single dmbtr wrbtr from ekbe
                        into (ekbe-dmbtr, ekbe-wrbtr)
                       where belnr = v_awkey_1
                         and gjahr = v_awkey_2.
    *AVH - Changed all bsak-wrbtr to ekbe-wrbtr and dmbtr to ekbe-dmbtr.
                      IF bsak-shkzg = 'H'.
                        ekbe-dmbtr = - ekbe-dmbtr.
                        ekbe-wrbtr = - ekbe-wrbtr.
                      ENDIF.
                      IF t_pohistory-currency <> 'PHP'.
                        IF bsak-augdt GT pa_augdt.
                 IF bsak-augdt IN so_augdt.
                          t_amount-tramt = t_amount-tramt + ekbe-wrbtr.
                        ENDIF.
                      ELSE.
                        IF bsak-augdt GT pa_augdt.
                 IF bsak-augdt IN so_augdt.
                          t_amount-tramt = t_amount-tramt + ekbe-dmbtr.
                        ENDIF.
                      ENDIF.
                    endselect.
                   endselect.
                  endselect.
                endif.
              ENDSELECT.
            ENDIF.
            IF t_account-distr_perc <> 0.
              t_amount-dpamt = ( t_account-distr_perc *
                                 t_amount-dpamt ) / 100.
              t_amount-gramt = ( t_account-distr_perc *
                                 t_amount-gramt ) / 100.
              t_amount-iramt = ( t_account-distr_perc *
                                 t_amount-iramt ) / 100.
              t_amount-tramt = ( t_account-distr_perc *
                                 t_amount-tramt ) / 100.
            ENDIF.
          ENDIF.
          IF t_amount-tramt < 0.
            t_amount-tramt = 0.
          ENDIF.
          t_amount-tramt = t_amount-iramt.
          t_amount-blamt = t_amount-netwr - t_amount-tramt.
          COLLECT t_amount. CLEAR t_amount.
          APPEND t_proj.
        ENDLOOP.
        IF sy-subrc <> 0.
          CLEAR v_netwr.
          SELECT SINGLE netwr FROM ekpo INTO v_netwr
                WHERE ebeln = t_account-ebeln
                  AND ebelp = t_account-po_item.
          t_amount-ebeln = t_account-ebeln.
          t_amount-psphi = t_proj-psphi.
          t_amount-tramt = t_amount-iramt.
          t_amount-blamt = t_amount-netwr - t_amount-tramt.
          COLLECT t_amount. CLEAR t_amount.
          APPEND t_proj.
        ENDIF.
      ENDLOOP.
    endform.
    **This is where it transfers the data**
    LOOP AT t_amount.
        it_dtl-netwr = t_amount-netwr.
        it_dtl-dpamt = t_amount-dpamt.
        it_dtl-gramt = t_amount-gramt.
        it_dtl-iramt = t_amount-iramt.
        it_dtl-tramt = t_amount-tramt.
        it_dtl-blamt = t_amount-blamt.
        MODIFY it_dtl TRANSPORTING netwr dpamt gramt
                                   iramt tramt blamt
              WHERE ebeln = t_amount-ebeln
                AND psphi = t_amount-psphi.
        CLEAR it_dtl.
      ENDLOOP.

    hi ,
    just place the code and check for a particular po if its there inthe ekpo table then it has to get it for ur select single query .
    but ur logic is build on if --- endif.check this option first of all.
    if in the debugging u see the value then as u say in the report output u r not able to see the value then the problem will be space alignment also.
    check the value in debugging and let us know first of all . okay
    vijay.
    IF v_ebeln IS INITIAL AND v_ebelp IS INITIAL.
    CLEAR v_netwr.
    SELECT SINGLE netwr FROM ekpo INTO v_netwr
    WHERE ebeln = t_account-ebeln
    AND ebelp = t_account-po_item.
    break-point.
    t_amount-netwr = v_netwr.
    v_ebeln = t_account-ebeln.
    v_ebelp = t_account-po_item.
    ELSEIF v_ebeln <> t_account-ebeln AND
    v_ebelp <> t_account-po_item.
    CLEAR v_netwr.
    SELECT SINGLE netwr FROM ekpo INTO v_netwr
    WHERE ebeln = t_account-ebeln
    AND ebelp = t_account-po_item.
    break-point.
    t_amount-netwr = v_netwr.
    v_ebeln = t_account-ebeln.
    v_ebelp = t_account-po_item.
    ELSEIF v_ebeln = t_account-ebeln AND
    v_ebelp <> t_account-po_item.
    CLEAR v_netwr.
    SELECT SINGLE netwr FROM ekpo INTO v_netwr
    WHERE ebeln = t_account-ebeln
    AND ebelp = t_account-po_item.
    break-point.
    t_amount-netwr = v_netwr.

  • View does not show data

    Hello All,
    I develop an iview which is subscribing to the employee search iview event.  so whenever manager clicks on an employee...i get some employee information from my bapi and display to the manager...the problem i am facing is that...i can not seem to get the data to display....
    i did some debugging and found that bapi is returning all the required data...and also employee pernr is getting pass to bapi as well...so all is good there...
    also i have this bapi call in the same action where i get the pernr from my dataObject parameter...which is filled by the event...when the manager clicks on an employee....
    i thought that i might have mapping issue....so i moved the same code for calling bapi to my wddoinit method of my component controller...and assign a static pernr....it seems that mapping is correct...since i was able to see the data in my view...
    i can not seem to figure out...why when i call bapi from my action...no data is visible....but when i call bapi (using the same code )from wddoinit method...my data is visible....
    any input on this...
    Thanks...
    J.

    Hi..
    At first you have to check table cardinality set to 0.n or any other else..cardinality set..0.n.then create
    nade instance which is mappint to ur table.after that ..you have to check back end node which is having data from backe end..if data is available then make it loop upto back end table size.then
    table instance.getnodeattributElementAt(i).getAny data.
    then add element into table node.
    wdcontext.nodetable.addelement(element).
    then iot will work fine.

Maybe you are looking for

  • "no disk" error - LV 8.20 bug?

    I came accross an interesting problem with LV today (LV 8.20, Professional Development system, Win XP Pro) I opened a .vi directly from CD by double clicking the file in Windows explorer while LV 8.20 was showing its start screen. [I don't think it's

  • Lost power to external HD; Now iPhoto won't show photos

    Hi all, This is a really easy one. I store all my photo from iPhoto '08 (Version 7.1.5) on an external HD. I accidentally disconnected the power to my external HD and now iPhoto won't load the photos. It created some kind of default folder where ther

  • Altering a MV

    Hi I had to alter a MV, since the base table(added 2 fields) got changed, which I did. 1) When I tried to refresh the MV, the MV is getting refreshed, but I am not able to find any values for the newly added columns. But when I tried running the quer

  • Helping me the outline and process with my lab project

    I and a graduate student and I have a simple project with the LabView. I am a beginner with the LabView. I know what are the requirements of the project. If I write down my requirements here can someone give me hints or outline on how to do that proj

  • Installing Snow Leopard over Mavericks

    I messed up my Mavericks installation by using CleanMyMac, and cannot user software update, download from the App Store, use Preview or a number of different apps. System Restore does not work for some reason, maybe CMM messed that up too. I am going