<?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: Pls help me in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help-me/m-p/3656878#M880880</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lathe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What search criteria and output u want?&lt;/P&gt;&lt;P&gt;Mention Tables, Fields &amp;amp; condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;AK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Apr 2008 05:59:13 GMT</pubDate>
    <dc:creator>ak_upadhyay</dc:creator>
    <dc:date>2008-04-08T05:59:13Z</dc:date>
    <item>
      <title>Pls help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help-me/m-p/3656876#M880878</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;&lt;/P&gt;&lt;P&gt;Kindly please help me to develop a report in Goods reciept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know the tables ekko,ekbeln..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then how shud i proceed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 05:54:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help-me/m-p/3656876#M880878</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T05:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Pls help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help-me/m-p/3656877#M880879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is a  sample code &lt;/P&gt;&lt;P&gt;plz reward if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Report  Z9D_PO_GOODSRECEIPT&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report  z9d_po_goodsreceipt&lt;/P&gt;&lt;P&gt;message-id z9d_po&lt;/P&gt;&lt;P&gt;no standard page heading line-size 200 line-count 200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : begin of type_ekkoekpo,&lt;/P&gt;&lt;P&gt;        ebeln type ebeln,    "Purchasing Document Number&lt;/P&gt;&lt;P&gt;        ebelp type ebelp,    "Item Number of Purchasing Document&lt;/P&gt;&lt;P&gt;        lifnr type elifn,    "Vendor's account number&lt;/P&gt;&lt;P&gt;        bedat type ebdat,    "Purchasing Document Date&lt;/P&gt;&lt;P&gt;        menge type bstmg,    "Purchase order quantity&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        end of type_ekkoekpo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : begin of type_ekbe,&lt;/P&gt;&lt;P&gt;        ebeln type ebeln,  "Purchasing Document Number&lt;/P&gt;&lt;P&gt;        ebelp type ebelp,  "Item Number of Purchasing Document&lt;/P&gt;&lt;P&gt;        zekkn type dzekkn, "Sequential number of account assignment&lt;/P&gt;&lt;P&gt;        vgabe type vgabe,  "Transaction/event type, purchase order history&lt;/P&gt;&lt;P&gt;        gjahr type mjahr,  "Material Document Year&lt;/P&gt;&lt;P&gt;        belnr type mblnr,  "Number of Material Document&lt;/P&gt;&lt;P&gt;        buzei type mblpo,  "Item in Material Document&lt;/P&gt;&lt;P&gt;        budat type budat,  "Posting Date in the Document&lt;/P&gt;&lt;P&gt;        menge type menge_d, "Quantity&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        end of type_ekbe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : begin of type_lfa1,&lt;/P&gt;&lt;P&gt;        lifnr type lifnr,  "Account Number of Vendor or Creditor&lt;/P&gt;&lt;P&gt;        name1 type name1_gp,                                "Name 1&lt;/P&gt;&lt;P&gt;        end of type_lfa1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : type_t_ekkoekpo type type_ekkoekpo,&lt;/P&gt;&lt;P&gt;        type_t_ekbe type type_ekbe,&lt;/P&gt;&lt;P&gt;        type_t_lfa1 type type_lfa1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;---internal tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : it_ekbe type standard table of type_t_ekbe,&lt;/P&gt;&lt;P&gt;       it_ekkoekpo type standard table of type_t_ekkoekpo,&lt;/P&gt;&lt;P&gt;       it_lfa1 type standard table of type_t_lfa1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;----work areas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : wa_ekbe type type_ekbe,&lt;/P&gt;&lt;P&gt;       wa_ekkoekpo type type_ekkoekpo,&lt;/P&gt;&lt;P&gt;       wa_lfa1 type type_t_lfa1.&lt;/P&gt;&lt;P&gt;*&amp;amp;---data for selection-screen&lt;/P&gt;&lt;P&gt;data : v_lifnr type lifnr,&lt;/P&gt;&lt;P&gt;       v_name1 type name1,&lt;/P&gt;&lt;P&gt;       v_ebeln type ebeln,&lt;/P&gt;&lt;P&gt;       v_ebelp type ebelp,&lt;/P&gt;&lt;P&gt;       v_bedat type bedat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;-----field symbol for the ekbe&lt;/P&gt;&lt;P&gt;field-symbols: &amp;lt;fekbe&amp;gt; type type_ekbe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;---data declaration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : lvsum type menge_d value 0,&lt;/P&gt;&lt;P&gt;       lvleft type menge_d value 0,&lt;/P&gt;&lt;P&gt;       name1_low type name1,&lt;/P&gt;&lt;P&gt;       name1_high type name1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="-------" /&gt;&lt;P&gt;constants&lt;/P&gt;&lt;P&gt;constants : c_bw type i value '101'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;---initialization.&lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  clear wa_ekkoekpo.&lt;/P&gt;&lt;P&gt;  clear wa_ekbe.&lt;/P&gt;&lt;P&gt;  clear wa_lfa1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  refresh it_ekkoekpo.&lt;/P&gt;&lt;P&gt;  refresh it_ekbe.&lt;/P&gt;&lt;P&gt;  refresh it_lfa1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------" /&gt;&lt;P&gt;defining the selection-screen&lt;/P&gt;&lt;P&gt;  selection-screen begin of block bl1 with frame title text001.&lt;/P&gt;&lt;P&gt;  select-options : s_lifnr for v_lifnr obligatory.&lt;/P&gt;&lt;P&gt;  select-options : s_name1 for v_name1.&lt;/P&gt;&lt;P&gt;  select-options : s_ebeln for v_ebeln.&lt;/P&gt;&lt;P&gt;  select-options : s_ebelp for v_ebelp.&lt;/P&gt;&lt;P&gt;  select-options : s_bedat for v_bedat.&lt;/P&gt;&lt;P&gt;  selection-screen end of block bl1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="-----------" /&gt;&lt;P&gt;validation for selection-screen&lt;/P&gt;&lt;P&gt;at selection-screen on s_lifnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if s_lifnr[] is initial.&lt;/P&gt;&lt;P&gt;    set cursor field 's_lifnr-low'.&lt;/P&gt;&lt;P&gt;    message e001.&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;    select lifnr into v_lifnr&lt;/P&gt;&lt;P&gt;                 from lfa1&lt;/P&gt;&lt;P&gt;                 up to 1 rows&lt;/P&gt;&lt;P&gt;                 where lifnr in s_lifnr.&lt;/P&gt;&lt;P&gt;     endselect.&lt;/P&gt;&lt;P&gt;      if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;        set cursor field 's_lifnr-low'.&lt;/P&gt;&lt;P&gt;        message e001.&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on s_name1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select name1 into v_name1&lt;/P&gt;&lt;P&gt;               from lfa1&lt;/P&gt;&lt;P&gt;               up to 1 rows&lt;/P&gt;&lt;P&gt;               where name1 in s_name1.&lt;/P&gt;&lt;P&gt;   endselect.&lt;/P&gt;&lt;P&gt;    if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      set cursor field 's_name1-low'.&lt;/P&gt;&lt;P&gt;      message e002.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on s_ebeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select ebeln into v_ebeln&lt;/P&gt;&lt;P&gt;               from ekko&lt;/P&gt;&lt;P&gt;               up to 1 rows&lt;/P&gt;&lt;P&gt;               where ebeln in s_ebeln.&lt;/P&gt;&lt;P&gt;  endselect.&lt;/P&gt;&lt;P&gt;    if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      set cursor field 's_ebeln-low'.&lt;/P&gt;&lt;P&gt;      message e003.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on s_ebelp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select ebelp into v_ebelp&lt;/P&gt;&lt;P&gt;               from ekpo&lt;/P&gt;&lt;P&gt;               up to 1 rows&lt;/P&gt;&lt;P&gt;               where ebelp in s_ebelp.&lt;/P&gt;&lt;P&gt;  endselect.&lt;/P&gt;&lt;P&gt;    if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      set cursor field 's_ebelp-low'.&lt;/P&gt;&lt;P&gt;      message e004.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;---main logic&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;--populate the data from ekko &amp;amp; ekpo&lt;/P&gt;&lt;P&gt;  select  a~ebeln     "Purchasing Document Number&lt;/P&gt;&lt;P&gt;          b~ebelp     "Item Number of Purchasing Document&lt;/P&gt;&lt;P&gt;          a~lifnr     "Vendor's account number&lt;/P&gt;&lt;P&gt;          a~bedat     "Purchasing Document Date&lt;/P&gt;&lt;P&gt;          b~menge    "Purchase order quantity&lt;/P&gt;&lt;P&gt;              into table it_ekkoekpo&lt;/P&gt;&lt;P&gt;              from ekko as a inner join ekpo as b&lt;/P&gt;&lt;P&gt;              on a&lt;SUB&gt;ebeln = b&lt;/SUB&gt;ebeln&lt;/P&gt;&lt;P&gt;              where a~lifnr in s_lifnr and&lt;/P&gt;&lt;P&gt;                    a~ebeln in s_ebeln and&lt;/P&gt;&lt;P&gt;                    b~ebelp in s_ebelp and&lt;/P&gt;&lt;P&gt;                    a~bedat in s_bedat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;--populate the data from ekbe&lt;/P&gt;&lt;P&gt;  if it_ekkoekpo[] is not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    select  ebeln   "Purchasing Document Number&lt;/P&gt;&lt;P&gt;            ebelp   "Item Number of Purchasing Document&lt;/P&gt;&lt;P&gt;            zekkn  "Sequential number of account assignment&lt;/P&gt;&lt;P&gt;            vgabe   "Transaction/event type, purchase order history&lt;/P&gt;&lt;P&gt;            gjahr   "Material Document Year&lt;/P&gt;&lt;P&gt;            belnr   "Number of Material Document&lt;/P&gt;&lt;P&gt;            buzei  "Item in Material Document&lt;/P&gt;&lt;P&gt;            budat  "Posting Date in the Document&lt;/P&gt;&lt;P&gt;            menge  "Quantity&lt;/P&gt;&lt;P&gt;                into table it_ekbe&lt;/P&gt;&lt;P&gt;                from ekbe&lt;/P&gt;&lt;P&gt;                for all entries in it_ekkoekpo&lt;/P&gt;&lt;P&gt;                where ebeln = it_ekkoekpo-ebeln and&lt;/P&gt;&lt;P&gt;                      ebelp = it_ekkoekpo-ebelp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;---populate the data from lfa1&lt;/P&gt;&lt;P&gt;  if it_lfa1[] is not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="-----------------" /&gt;&lt;P&gt;printing on the output clasical report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  format color 5 on.&lt;/P&gt;&lt;P&gt;  write:/2 'vendor name' , 16 'vendor name' , 54 'po no' , 64 'po item no' , 80 'po qty' , 101 'qty received' , 126 'qty pending'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  format color 5 off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  format color 7 on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  write:/2 'gr no' , 16 'gr item no ' , 34 'gr qty' , 45 'gr date'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  format color 7 off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  uline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;-----populate the data from lfa1&lt;/P&gt;&lt;P&gt;  loop at it_ekkoekpo into wa_ekkoekpo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    format color 5 on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    read table it_lfa1 into wa_lfa1 with key lifnr = wa_ekkoekpo-lifnr.&lt;/P&gt;&lt;P&gt;    if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      select single lifnr&lt;/P&gt;&lt;P&gt;                 name1&lt;/P&gt;&lt;P&gt;                   into wa_lfa1&lt;/P&gt;&lt;P&gt;                   from lfa1&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                  FOR ALL ENTRIES IN it_lfa1&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                   where lifnr = wa_lfa1-lifnr.&lt;/P&gt;&lt;P&gt;      if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;        append wa_lfa1 to it_lfa1.&lt;/P&gt;&lt;P&gt;        write:/2 wa_lfa1-lifnr , sy-vline ,&lt;/P&gt;&lt;P&gt;              16 wa_lfa1-name1 , sy-vline ,&lt;/P&gt;&lt;P&gt;              54 wa_ekkoekpo-ebeln , sy-vline ,&lt;/P&gt;&lt;P&gt;              64 wa_ekkoekpo-ebelp , sy-vline ,&lt;/P&gt;&lt;P&gt;              80 wa_ekkoekpo-menge , sy-vline .&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;    else.&lt;/P&gt;&lt;P&gt;      write:/2 wa_lfa1-lifnr , sy-vline ,&lt;/P&gt;&lt;P&gt;           16 wa_lfa1-name1 , sy-vline ,&lt;/P&gt;&lt;P&gt;           54 wa_ekkoekpo-ebeln , sy-vline ,&lt;/P&gt;&lt;P&gt;           64 wa_ekkoekpo-ebelp , sy-vline ,&lt;/P&gt;&lt;P&gt;           80 wa_ekkoekpo-menge , sy-vline .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;----caluculate the (qty received)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at it_ekbe into wa_ekbe .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    lvsum = lvsum + wa_ekbe-menge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;-----caluculate the qty pending&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  lvleft = wa_ekkoekpo-menge  - lvsum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  write:101 lvsum , 126 lvleft.&lt;/P&gt;&lt;P&gt;  clear : lvsum , lvleft.&lt;/P&gt;&lt;P&gt;  uline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  format color 5 off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at it_ekbe into wa_ekbe where ebeln = wa_ekkoekpo-ebeln and&lt;/P&gt;&lt;P&gt;                                     ebelp = wa_ekkoekpo-ebelp.&lt;/P&gt;&lt;P&gt;    format color 7 on.&lt;/P&gt;&lt;P&gt;    write: sy-vline.&lt;/P&gt;&lt;P&gt;    write:2 wa_ekbe-belnr , sy-vline ,&lt;/P&gt;&lt;P&gt;          16 wa_ekbe-buzei , sy-vline ,&lt;/P&gt;&lt;P&gt;          34 wa_ekbe-menge , sy-vline ,&lt;/P&gt;&lt;P&gt;          45 wa_ekbe-budat , sy-vline , 138 sy-vline.&lt;/P&gt;&lt;P&gt;    format color 7 off.&lt;/P&gt;&lt;P&gt;    uline.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 05:58:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help-me/m-p/3656877#M880879</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T05:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Pls help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help-me/m-p/3656878#M880880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lathe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What search criteria and output u want?&lt;/P&gt;&lt;P&gt;Mention Tables, Fields &amp;amp; condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;AK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 05:59:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help-me/m-p/3656878#M880880</guid>
      <dc:creator>ak_upadhyay</dc:creator>
      <dc:date>2008-04-08T05:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Pls help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help-me/m-p/3656879#M880881</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;take a look to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SELECT ebeln INTO CORRESPONDING FIELDS OF TABLE po_table1&lt;/P&gt;&lt;P&gt;                 FROM ekko WHERE lifnr IN lifnr.&lt;/P&gt;&lt;P&gt;    READ TABLE po_table1 INDEX 1.&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Preread the PO's with movements with reason&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      PERFORM progress USING text-101.&lt;/P&gt;&lt;P&gt;      SELECT ebeln ebelp&lt;/P&gt;&lt;P&gt;          INTO CORRESPONDING FIELDS OF TABLE po_table2&lt;/P&gt;&lt;P&gt;          FROM ekbe&lt;/P&gt;&lt;P&gt;          FOR ALL ENTRIES IN po_table1&lt;/P&gt;&lt;P&gt;          WHERE ebeln = po_table1-ebeln AND&lt;/P&gt;&lt;P&gt;                ebeln IN ebeln AND&lt;/P&gt;&lt;P&gt;                ebelp IN ebelp AND&lt;/P&gt;&lt;P&gt;                werks IN werks AND&lt;/P&gt;&lt;P&gt;                budat IN budat AND&lt;/P&gt;&lt;P&gt;                grund IN grund AND&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               grund &amp;lt;&amp;gt; space AND&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                bwart IN bwart AND&lt;/P&gt;&lt;P&gt;                vgabe = '1'.&lt;/P&gt;&lt;P&gt;      READ TABLE po_table2 INDEX 1.&lt;/P&gt;&lt;P&gt;      IF sy-subrc  = 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Read EKBE for all PO's involved in such histories&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        SELECT ebeln ebelp gjahr belnr buzei menge wesbs dmbtr hswae&lt;/P&gt;&lt;P&gt;          INTO CORRESPONDING FIELDS OF TABLE iekbe&lt;/P&gt;&lt;P&gt;          FROM ekbe&lt;/P&gt;&lt;P&gt;          FOR ALL ENTRIES IN po_table2&lt;/P&gt;&lt;P&gt;          WHERE ebeln = po_table2-ebeln AND&lt;/P&gt;&lt;P&gt;                ebelp = po_table2-ebelp AND&lt;/P&gt;&lt;P&gt;                ebeln IN ebeln AND&lt;/P&gt;&lt;P&gt;                ebelp IN ebelp AND&lt;/P&gt;&lt;P&gt;                budat IN budat AND&lt;/P&gt;&lt;P&gt;                vgabe = '1'.&lt;/P&gt;&lt;P&gt;        READ TABLE iekbe INDEX 1.&lt;/P&gt;&lt;P&gt;        IF sy-subrc = 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        Read the material documents&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          PERFORM progress USING text-102.&lt;/P&gt;&lt;P&gt;          SELECT mkpf&lt;SUB&gt;mblnr mkpf&lt;/SUB&gt;mjahr zeile bwart matnr werks lgort&lt;/P&gt;&lt;P&gt;            charg sobkz&lt;/P&gt;&lt;P&gt;            lifnr shkzg menge meins ebeln ebelp grund dmbtr waers&lt;/P&gt;&lt;P&gt;            kzbew                                           "494211&lt;/P&gt;&lt;P&gt;            INTO CORRESPONDING FIELDS OF TABLE imseg&lt;/P&gt;&lt;P&gt;            FROM mkpf INNER JOIN mseg&lt;/P&gt;&lt;P&gt;            ON mkpf&lt;SUB&gt;mblnr = mseg&lt;/SUB&gt;mblnr AND&lt;/P&gt;&lt;P&gt;               mkpf&lt;SUB&gt;mjahr = mseg&lt;/SUB&gt;mjahr&lt;/P&gt;&lt;P&gt;            FOR ALL entries IN iekbe&lt;/P&gt;&lt;P&gt;            WHERE mseg~mblnr = iekbe-belnr AND&lt;/P&gt;&lt;P&gt;                  mseg~mjahr = iekbe-gjahr AND&lt;/P&gt;&lt;P&gt;                  mseg~zeile = iekbe-buzei AND&lt;/P&gt;&lt;P&gt;                  mseg~matnr IN matnr AND&lt;/P&gt;&lt;P&gt;                  vgart IN vgart.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 06:01:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help-me/m-p/3656879#M880881</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T06:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pls help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help-me/m-p/3656880#M880882</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;Please be specific on what you want to know &lt;/P&gt;&lt;P&gt;Genrally for such kind of reports we follow following steps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Design the selection screen (where user will input ).&lt;/P&gt;&lt;P&gt;2) Based on inputs from the selection screen we select data from the tables.&lt;/P&gt;&lt;P&gt;3) Then if required write logic to prepare a final table which will be displayed (It must be specified on ur FS ).&lt;/P&gt;&lt;P&gt;4) Display the report .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now tell us where u have problem ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 06:06:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help-me/m-p/3656880#M880882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T06:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Pls help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help-me/m-p/3656881#M880883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi AK,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I shall tell u oncee i get rek..pls guide me &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 06:16:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help-me/m-p/3656881#M880883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T06:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Pls help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help-me/m-p/3656882#M880884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vivek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls expl;ain me from the portion that i mentioned before&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will reward&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 09:22:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pls-help-me/m-p/3656882#M880884</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T09:22:58Z</dc:date>
    </item>
  </channel>
</rss>

