<?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: work area in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/work-area/m-p/2200231#M470027</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;PRE&gt;&lt;CODE&gt;* u want to create wa
data: wa_bkpf type bkpf.

*fetch data into itab from bseg
select &amp;lt;fld_list&amp;gt; from bseg into table itab....

* comapare itab and wa!!!!!!!

loop at itab where belnr = wa_bkpf-belnr.
"Process ur data here....
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jogdand M B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 May 2007 10:29:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-09T10:29:55Z</dc:date>
    <item>
      <title>work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/work-area/m-p/2200226#M470022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suppose i have created one structure and that structure having the field of bkpf and bseg table. Now in my report i want to create work area for bkpf. And in next step I want to transfer the value of bseg into itab. And at last want to compare the wa_belnr with itab_belnr.&lt;/P&gt;&lt;P&gt;How I will do that. What would be the syntaxt for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 10:17:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/work-area/m-p/2200226#M470022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T10:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/work-area/m-p/2200227#M470023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Work area(V_WA) will store only one value at any point of time.&lt;/P&gt;&lt;P&gt;Yes you can use to store first BKPF-BELNR value &lt;/P&gt;&lt;P&gt;and after that you can use for BSEG-BELNR value&lt;/P&gt;&lt;P&gt;and you can compare this V_WA with ITAB-BELNR field also.&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;if itab-belnr = v_wa.&lt;/P&gt;&lt;P&gt;....&amp;lt;do something&amp;gt;...&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 10:19:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/work-area/m-p/2200227#M470023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T10:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/work-area/m-p/2200228#M470024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA :   wa_bkpf TYPE structure name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will create ur work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now after creating ths use ur internal table to compare the data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read the other with key fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Navjot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        navjot sharma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 10:20:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/work-area/m-p/2200228#M470024</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T10:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/work-area/m-p/2200229#M470025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi abhay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from bkpf into wa_bkpf where condition. [here u can only last record available when u dont use a internal table to store the records that came from select st and wa_bkpf should have same structure of bkpf]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from bseg into itab where condition.&lt;/P&gt;&lt;P&gt;l&lt;/P&gt;&lt;P&gt;oop at itab where belnr = wa-bkpf-belnr [itab is a internal table with header line]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab into wa_itab where wa_itab-belnr = wa-bkpf-belnr [if itab is with out a header line u should create a work area of type bseg having required fileds and validate]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;suresh babu aluri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 10:20:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/work-area/m-p/2200229#M470025</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T10:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/work-area/m-p/2200230#M470026</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;        step1-   first declare the structure. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                            DATA : begin of t_struct,&lt;/P&gt;&lt;P&gt;                                       -&lt;/P&gt;&lt;HR originaltext="---------" /&gt;&lt;P&gt;                                      end of t_struct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         step2-   now declare the internal table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                           DATA : itab type standard table of t_struct with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         step 3- now declare the work area.&lt;/P&gt;&lt;P&gt;                          DATA : wa type t_struct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now append wa to itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*****do rewards if usefull&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 10:23:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/work-area/m-p/2200230#M470026</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T10:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/work-area/m-p/2200231#M470027</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;PRE&gt;&lt;CODE&gt;* u want to create wa
data: wa_bkpf type bkpf.

*fetch data into itab from bseg
select &amp;lt;fld_list&amp;gt; from bseg into table itab....

* comapare itab and wa!!!!!!!

loop at itab where belnr = wa_bkpf-belnr.
"Process ur data here....
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jogdand M B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2007 10:29:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/work-area/m-p/2200231#M470027</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-09T10:29:55Z</dc:date>
    </item>
  </channel>
</rss>

