<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: internal table field does not show data. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-field-does-not-show-data/m-p/1160956#M120435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but ur logic is build on if --- endif.check this option first of all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the value in debugging and let us know first of all . okay &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vijay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;___________________________________________________&lt;/P&gt;&lt;P&gt;IF v_ebeln IS INITIAL AND v_ebelp IS INITIAL.&lt;/P&gt;&lt;P&gt;CLEAR v_netwr.&lt;/P&gt;&lt;P&gt;SELECT SINGLE netwr FROM ekpo INTO v_netwr&lt;/P&gt;&lt;P&gt;WHERE ebeln = t_account-ebeln&lt;/P&gt;&lt;P&gt;AND ebelp = t_account-po_item.&lt;/P&gt;&lt;P&gt;*******************&lt;/P&gt;&lt;P&gt;break-point.&lt;/P&gt;&lt;P&gt;******************&lt;/P&gt;&lt;P&gt;t_amount-netwr = v_netwr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_ebeln = t_account-ebeln.&lt;/P&gt;&lt;P&gt;v_ebelp = t_account-po_item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSEIF v_ebeln &amp;lt;&amp;gt; t_account-ebeln AND&lt;/P&gt;&lt;P&gt;v_ebelp &amp;lt;&amp;gt; t_account-po_item.&lt;/P&gt;&lt;P&gt;CLEAR v_netwr.&lt;/P&gt;&lt;P&gt;SELECT SINGLE netwr FROM ekpo INTO v_netwr&lt;/P&gt;&lt;P&gt;WHERE ebeln = t_account-ebeln&lt;/P&gt;&lt;P&gt;AND ebelp = t_account-po_item.&lt;/P&gt;&lt;P&gt;break-point.&lt;/P&gt;&lt;P&gt;***********************************&lt;/P&gt;&lt;P&gt;t_amount-netwr = v_netwr.&lt;/P&gt;&lt;P&gt;***********************************&lt;/P&gt;&lt;P&gt;v_ebeln = t_account-ebeln.&lt;/P&gt;&lt;P&gt;v_ebelp = t_account-po_item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSEIF v_ebeln = t_account-ebeln AND&lt;/P&gt;&lt;P&gt;v_ebelp &amp;lt;&amp;gt; t_account-po_item.&lt;/P&gt;&lt;P&gt;CLEAR v_netwr.&lt;/P&gt;&lt;P&gt;SELECT SINGLE netwr FROM ekpo INTO v_netwr&lt;/P&gt;&lt;P&gt;WHERE ebeln = t_account-ebeln&lt;/P&gt;&lt;P&gt;AND ebelp = t_account-po_item.&lt;/P&gt;&lt;P&gt;break-point.&lt;/P&gt;&lt;P&gt;***********************************&lt;/P&gt;&lt;P&gt;t_amount-netwr = v_netwr.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="34" type="ul"&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Feb 2006 09:52:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-27T09:52:02Z</dc:date>
    <item>
      <title>internal table field does not show data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-field-does-not-show-data/m-p/1160953#M120432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM process_with_budat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM process_with_budat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DELETE t_pohistory WHERE hist_type &amp;lt;&amp;gt; 'A'&lt;/P&gt;&lt;P&gt;                       AND hist_type &amp;lt;&amp;gt; 'E'&lt;/P&gt;&lt;P&gt;                       AND hist_type &amp;lt;&amp;gt; 'Q'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT t_account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DELETE it_dtl WHERE ebeln = t_account-ebeln&lt;/P&gt;&lt;P&gt;                    AND psphi IS initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DELETE t_ekpo WHERE ebeln = t_account-ebeln&lt;/P&gt;&lt;P&gt;                    AND ebelp = t_account-po_item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    t_proj-ebelp = t_account-po_item.&lt;/P&gt;&lt;P&gt;    SELECT SINGLE psphi FROM prps INTO t_proj-psphi&lt;/P&gt;&lt;P&gt;          WHERE posid = t_account-wbs_elem_e.&lt;/P&gt;&lt;P&gt;    CHECK sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    LOOP AT t_pohistory WHERE po_item = t_account-po_item&lt;/P&gt;&lt;P&gt;                          AND ebeln   = t_account-ebeln.&lt;/P&gt;&lt;P&gt;      t_amount-ebeln = t_account-ebeln.&lt;/P&gt;&lt;P&gt;      t_amount-psphi = t_proj-psphi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ON CHANGE OF t_pohistory-po_item.&lt;/P&gt;&lt;P&gt;        CLEAR v_netwr.&lt;/P&gt;&lt;P&gt;        SELECT SINGLE netwr FROM ekpo INTO v_netwr&lt;/P&gt;&lt;P&gt;              WHERE ebeln = t_account-ebeln&lt;/P&gt;&lt;P&gt;                AND ebelp = t_account-po_item.&lt;/P&gt;&lt;P&gt;        t_amount-netwr = v_netwr.&lt;/P&gt;&lt;P&gt;      ENDON.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IF v_ebeln IS INITIAL AND v_ebelp IS INITIAL.&lt;/P&gt;&lt;P&gt;        CLEAR v_netwr.&lt;/P&gt;&lt;P&gt;        SELECT SINGLE netwr FROM ekpo INTO v_netwr&lt;/P&gt;&lt;P&gt;              WHERE ebeln = t_account-ebeln&lt;/P&gt;&lt;P&gt;                AND ebelp = t_account-po_item.&lt;/P&gt;&lt;P&gt;        t_amount-netwr = v_netwr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        v_ebeln = t_account-ebeln.&lt;/P&gt;&lt;P&gt;        v_ebelp = t_account-po_item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ELSEIF v_ebeln &amp;lt;&amp;gt; t_account-ebeln AND&lt;/P&gt;&lt;P&gt;             v_ebelp &amp;lt;&amp;gt; t_account-po_item.&lt;/P&gt;&lt;P&gt;        CLEAR v_netwr.&lt;/P&gt;&lt;P&gt;        SELECT SINGLE netwr FROM ekpo INTO v_netwr&lt;/P&gt;&lt;P&gt;              WHERE ebeln = t_account-ebeln&lt;/P&gt;&lt;P&gt;                AND ebelp = t_account-po_item.&lt;/P&gt;&lt;P&gt;        t_amount-netwr = v_netwr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        v_ebeln = t_account-ebeln.&lt;/P&gt;&lt;P&gt;        v_ebelp = t_account-po_item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ELSEIF v_ebeln = t_account-ebeln AND&lt;/P&gt;&lt;P&gt;             v_ebelp &amp;lt;&amp;gt; t_account-po_item.&lt;/P&gt;&lt;P&gt;        CLEAR v_netwr.&lt;/P&gt;&lt;P&gt;        SELECT SINGLE netwr FROM ekpo INTO v_netwr&lt;/P&gt;&lt;P&gt;              WHERE ebeln = t_account-ebeln&lt;/P&gt;&lt;P&gt;                AND ebelp = t_account-po_item.&lt;/P&gt;&lt;P&gt;        t_amount-netwr = v_netwr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        v_ebeln = t_account-ebeln.&lt;/P&gt;&lt;P&gt;        v_ebelp = t_account-po_item.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CHECK NOT t_amount-psphi IS INITIAL.&lt;/P&gt;&lt;P&gt;      if t_pohistory-pstng_date LE pa_augdt.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     IF t_pohistory-pstng_date IN so_augdt.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        IF t_pohistory-db_cr_ind = 'H'.&lt;/P&gt;&lt;P&gt;          t_pohistory-val_loccur = - t_pohistory-val_loccur.&lt;/P&gt;&lt;P&gt;          t_pohistory-val_forcur = - t_pohistory-val_forcur.&lt;/P&gt;&lt;P&gt;          t_pohistory-cl_val_loc = - t_pohistory-cl_val_loc.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        IF t_pohistory-hist_type = 'A'.&lt;/P&gt;&lt;P&gt;          IF t_pohistory-currency &amp;lt;&amp;gt; 'PHP'.&lt;/P&gt;&lt;P&gt;            t_amount-dpamt = t_amount-dpamt + t_pohistory-val_forcur.&lt;/P&gt;&lt;P&gt;          ELSE.&lt;/P&gt;&lt;P&gt;            t_amount-dpamt = t_amount-dpamt + t_pohistory-val_loccur.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        ELSEIF t_pohistory-hist_type = 'E'.&lt;/P&gt;&lt;P&gt;          IF t_pohistory-currency &amp;lt;&amp;gt; 'PHP'.&lt;/P&gt;&lt;P&gt;            t_amount-gramt = t_amount-gramt + t_pohistory-val_forcur.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          ELSE.&lt;/P&gt;&lt;P&gt;    t_amount-gramt = t_amount-gramt + t_pohistory-val_loccur.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        ELSEIF t_pohistory-hist_type = 'Q'.&lt;/P&gt;&lt;P&gt;          IF t_pohistory-currency &amp;lt;&amp;gt; 'PHP'.&lt;/P&gt;&lt;P&gt;       t_amount-iramt = t_amount-iramt + t_pohistory-val_forcur.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          ELSE.&lt;/P&gt;&lt;P&gt;            t_amount-iramt = t_amount-iramt + t_pohistory-val_loccur.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        IF t_pohistory-currency &amp;lt;&amp;gt; 'PHP'.&lt;/P&gt;&lt;P&gt;          IF t_pohistory-val_loccur = 0 OR&lt;/P&gt;&lt;P&gt;             t_pohistory-val_forcur = 0.&lt;/P&gt;&lt;P&gt;            t_amount-tramt = t_amount-iramt.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           t_amount-tramt = t_amount-dpamt.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          ELSE.&lt;/P&gt;&lt;P&gt;            t_amount-tramt = t_amount-iramt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;P&gt;          t_amount-tramt = t_amount-iramt.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         t_amount-tramt = t_pohistory-cl_val_loc + t_amount-dpamt.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        IF NOT t_pohistory-cl_val_loc IS INITIAL.&lt;/P&gt;&lt;P&gt;          CONCATENATE t_pohistory-mat_doc t_pohistory-doc_year&lt;/P&gt;&lt;P&gt;                INTO bkpf-awkey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         SELECT SINGLE * FROM bkpf&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               WHERE awkey = bkpf-awkey.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*AVH - removed wrbtr and dmbtr from selection&lt;/P&gt;&lt;P&gt;          SELECT augdt augbl shkzg FROM bsak&lt;/P&gt;&lt;P&gt;                INTO (bsak-augdt,bsak-augbl,bsak-shkzg)&lt;/P&gt;&lt;P&gt;                WHERE bukrs = bkpf-bukrs&lt;/P&gt;&lt;P&gt;                  AND gjahr = bkpf-gjahr&lt;/P&gt;&lt;P&gt;                  AND belnr = bkpf-belnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*AVH&lt;/P&gt;&lt;P&gt;            if not bsak-augbl is initial.&lt;/P&gt;&lt;P&gt;              select belnr gjahr from bsak&lt;/P&gt;&lt;P&gt;               into (bsak-belnr, bsak-gjahr)&lt;/P&gt;&lt;P&gt;                where bukrs = bkpf-bukrs&lt;/P&gt;&lt;P&gt;                 and belnr = bkpf-belnr&lt;/P&gt;&lt;P&gt;                 and gjahr = bkpf-gjahr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                select awkey from bkpf&lt;/P&gt;&lt;P&gt;                 into v_bkpf_aw&lt;/P&gt;&lt;P&gt;                 where bukrs = 'GLOB'&lt;/P&gt;&lt;P&gt;                   and belnr = bsak-belnr&lt;/P&gt;&lt;P&gt;                   and gjahr = bsak-gjahr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                  w_len = strlen( v_bkpf_aw ).&lt;/P&gt;&lt;P&gt;                  w_off = w_len - 4.&lt;/P&gt;&lt;P&gt;                  v_awkey_1 = v_bkpf_aw+0(10).&lt;/P&gt;&lt;P&gt;                  v_awkey_2 = v_bkpf_aw+w_off(4).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                  select single dmbtr wrbtr from ekbe&lt;/P&gt;&lt;P&gt;                    into (ekbe-dmbtr, ekbe-wrbtr)&lt;/P&gt;&lt;P&gt;                   where belnr = v_awkey_1&lt;/P&gt;&lt;P&gt;                     and gjahr = v_awkey_2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*AVH - Changed all bsak-wrbtr to ekbe-wrbtr and dmbtr to ekbe-dmbtr.&lt;/P&gt;&lt;P&gt;                  IF bsak-shkzg = 'H'.&lt;/P&gt;&lt;P&gt;                    ekbe-dmbtr = - ekbe-dmbtr.&lt;/P&gt;&lt;P&gt;                    ekbe-wrbtr = - ekbe-wrbtr.&lt;/P&gt;&lt;P&gt;                  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                  IF t_pohistory-currency &amp;lt;&amp;gt; 'PHP'.&lt;/P&gt;&lt;P&gt;                    IF bsak-augdt GT pa_augdt.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;             IF bsak-augdt IN so_augdt.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                      t_amount-tramt = t_amount-tramt + ekbe-wrbtr.&lt;/P&gt;&lt;P&gt;                    ENDIF.&lt;/P&gt;&lt;P&gt;                  ELSE.&lt;/P&gt;&lt;P&gt;                    IF bsak-augdt GT pa_augdt.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;             IF bsak-augdt IN so_augdt.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                      t_amount-tramt = t_amount-tramt + ekbe-dmbtr.&lt;/P&gt;&lt;P&gt;                    ENDIF.&lt;/P&gt;&lt;P&gt;                  ENDIF.&lt;/P&gt;&lt;P&gt;                endselect.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               endselect.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;              endselect.&lt;/P&gt;&lt;P&gt;            endif.&lt;/P&gt;&lt;P&gt;          ENDSELECT.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        IF t_account-distr_perc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;          t_amount-dpamt = ( t_account-distr_perc *&lt;/P&gt;&lt;P&gt;                             t_amount-dpamt ) / 100.&lt;/P&gt;&lt;P&gt;          t_amount-gramt = ( t_account-distr_perc *&lt;/P&gt;&lt;P&gt;                             t_amount-gramt ) / 100.&lt;/P&gt;&lt;P&gt;          t_amount-iramt = ( t_account-distr_perc *&lt;/P&gt;&lt;P&gt;                             t_amount-iramt ) / 100.&lt;/P&gt;&lt;P&gt;          t_amount-tramt = ( t_account-distr_perc *&lt;/P&gt;&lt;P&gt;                             t_amount-tramt ) / 100.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IF t_amount-tramt &amp;lt; 0.&lt;/P&gt;&lt;P&gt;        t_amount-tramt = 0.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      t_amount-tramt = t_amount-iramt.&lt;/P&gt;&lt;P&gt;      t_amount-blamt = t_amount-netwr - t_amount-tramt.&lt;/P&gt;&lt;P&gt;      COLLECT t_amount. CLEAR t_amount.&lt;/P&gt;&lt;P&gt;      APPEND t_proj.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      CLEAR v_netwr.&lt;/P&gt;&lt;P&gt;      SELECT SINGLE netwr FROM ekpo INTO v_netwr&lt;/P&gt;&lt;P&gt;            WHERE ebeln = t_account-ebeln&lt;/P&gt;&lt;P&gt;              AND ebelp = t_account-po_item.&lt;/P&gt;&lt;P&gt;      t_amount-ebeln = t_account-ebeln.&lt;/P&gt;&lt;P&gt;      t_amount-psphi = t_proj-psphi.&lt;/P&gt;&lt;P&gt;      t_amount-tramt = t_amount-iramt.&lt;/P&gt;&lt;P&gt;      t_amount-blamt = t_amount-netwr - t_amount-tramt.&lt;/P&gt;&lt;P&gt;      COLLECT t_amount. CLEAR t_amount.&lt;/P&gt;&lt;P&gt;      APPEND t_proj.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**&lt;STRONG&gt;This is where it transfers the data&lt;/STRONG&gt;**&lt;/P&gt;&lt;P&gt;LOOP AT t_amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    it_dtl-netwr = t_amount-netwr.&lt;/P&gt;&lt;P&gt;    it_dtl-dpamt = t_amount-dpamt.&lt;/P&gt;&lt;P&gt;    it_dtl-gramt = t_amount-gramt.&lt;/P&gt;&lt;P&gt;    it_dtl-iramt = t_amount-iramt.&lt;/P&gt;&lt;P&gt;    it_dtl-tramt = t_amount-tramt.&lt;/P&gt;&lt;P&gt;    it_dtl-blamt = t_amount-blamt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    MODIFY it_dtl TRANSPORTING netwr dpamt gramt&lt;/P&gt;&lt;P&gt;                               iramt tramt blamt&lt;/P&gt;&lt;P&gt;          WHERE ebeln = t_amount-ebeln&lt;/P&gt;&lt;P&gt;            AND psphi = t_amount-psphi.&lt;/P&gt;&lt;P&gt;    CLEAR it_dtl.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2006 09:38:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-field-does-not-show-data/m-p/1160953#M120432</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2006-02-27T09:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: internal table field does not show data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-field-does-not-show-data/m-p/1160954#M120433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;plz give data declaration part also...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2006 09:47:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-field-does-not-show-data/m-p/1160954#M120433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-27T09:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: internal table field does not show data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-field-does-not-show-data/m-p/1160955#M120434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi viraylab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check whether this select statement sy-subrc is zero&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;CLEAR v_netwr.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;SELECT SINGLE netwr FROM ekpo INTO v_netwr&lt;/P&gt;&lt;P&gt;WHERE ebeln = t_account-ebeln&lt;/P&gt;&lt;P&gt;AND ebelp = t_account-po_item.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;t_amount-ebeln = t_account-ebeln.&lt;/P&gt;&lt;P&gt;t_amount-psphi = t_proj-psphi.&lt;/P&gt;&lt;P&gt;t_amount-tramt = t_amount-iramt.&lt;/P&gt;&lt;P&gt;t_amount-blamt = t_amount-netwr - t_amount-tramt.&lt;/P&gt;&lt;P&gt;COLLECT t_amount. CLEAR t_amount.&lt;/P&gt;&lt;P&gt;APPEND t_proj.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;endform&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;kishore&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2006 09:48:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-field-does-not-show-data/m-p/1160955#M120434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-27T09:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: internal table field does not show data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-field-does-not-show-data/m-p/1160956#M120435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but ur logic is build on if --- endif.check this option first of all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the value in debugging and let us know first of all . okay &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vijay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;___________________________________________________&lt;/P&gt;&lt;P&gt;IF v_ebeln IS INITIAL AND v_ebelp IS INITIAL.&lt;/P&gt;&lt;P&gt;CLEAR v_netwr.&lt;/P&gt;&lt;P&gt;SELECT SINGLE netwr FROM ekpo INTO v_netwr&lt;/P&gt;&lt;P&gt;WHERE ebeln = t_account-ebeln&lt;/P&gt;&lt;P&gt;AND ebelp = t_account-po_item.&lt;/P&gt;&lt;P&gt;*******************&lt;/P&gt;&lt;P&gt;break-point.&lt;/P&gt;&lt;P&gt;******************&lt;/P&gt;&lt;P&gt;t_amount-netwr = v_netwr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_ebeln = t_account-ebeln.&lt;/P&gt;&lt;P&gt;v_ebelp = t_account-po_item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSEIF v_ebeln &amp;lt;&amp;gt; t_account-ebeln AND&lt;/P&gt;&lt;P&gt;v_ebelp &amp;lt;&amp;gt; t_account-po_item.&lt;/P&gt;&lt;P&gt;CLEAR v_netwr.&lt;/P&gt;&lt;P&gt;SELECT SINGLE netwr FROM ekpo INTO v_netwr&lt;/P&gt;&lt;P&gt;WHERE ebeln = t_account-ebeln&lt;/P&gt;&lt;P&gt;AND ebelp = t_account-po_item.&lt;/P&gt;&lt;P&gt;break-point.&lt;/P&gt;&lt;P&gt;***********************************&lt;/P&gt;&lt;P&gt;t_amount-netwr = v_netwr.&lt;/P&gt;&lt;P&gt;***********************************&lt;/P&gt;&lt;P&gt;v_ebeln = t_account-ebeln.&lt;/P&gt;&lt;P&gt;v_ebelp = t_account-po_item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSEIF v_ebeln = t_account-ebeln AND&lt;/P&gt;&lt;P&gt;v_ebelp &amp;lt;&amp;gt; t_account-po_item.&lt;/P&gt;&lt;P&gt;CLEAR v_netwr.&lt;/P&gt;&lt;P&gt;SELECT SINGLE netwr FROM ekpo INTO v_netwr&lt;/P&gt;&lt;P&gt;WHERE ebeln = t_account-ebeln&lt;/P&gt;&lt;P&gt;AND ebelp = t_account-po_item.&lt;/P&gt;&lt;P&gt;break-point.&lt;/P&gt;&lt;P&gt;***********************************&lt;/P&gt;&lt;P&gt;t_amount-netwr = v_netwr.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="34" type="ul"&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2006 09:52:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-field-does-not-show-data/m-p/1160956#M120435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-27T09:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: internal table field does not show data.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-field-does-not-show-data/m-p/1160957#M120436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check whether v_netwr is havng value in LOOP AT t_account.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2006 10:00:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-field-does-not-show-data/m-p/1160957#M120436</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2006-02-27T10:00:30Z</dc:date>
    </item>
  </channel>
</rss>

