<?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: populate workarea in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/populate-workarea/m-p/3881811#M932885</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why are you using:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
wa_wah_iorec-waid    =  so_waid-low
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and then using:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
i_wah_iorec = lw_wah_iorec
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not the same structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BEst regards.&lt;/P&gt;&lt;P&gt;Valter Oliveira.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 May 2008 13:42:36 GMT</pubDate>
    <dc:creator>valter_oliveira</dc:creator>
    <dc:date>2008-05-26T13:42:36Z</dc:date>
    <item>
      <title>populate workarea</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populate-workarea/m-p/3881810#M932884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lw_wah_iorec is a workarea from type CCIHS_WAHIOT.&lt;/P&gt;&lt;P&gt;All what I need is to populate its field WAID with&lt;/P&gt;&lt;P&gt;users input from select-options.&lt;/P&gt;&lt;P&gt;Before calling 'ZCBIH_WA10_WKA_SUCCESSORS_GET'&lt;/P&gt;&lt;P&gt;is lw_wah_iorec-waid empty. I can see that in debug mode.&lt;/P&gt;&lt;P&gt;Whats wrong here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;sas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF NOT so_waid-low IS INITIAL.
    ccihs_rephslsel-waid =  so_waid-low.
    wa_wah_iorec-waid    =  so_waid-low.
  ENDIF.



  CALL FUNCTION 'ZCBIH_WA10_WKA_SUCCESSORS_GET'
    EXPORTING
      i_wah_iorec = lw_wah_iorec
      i_addinf    = i_addinf
    TABLES
      e_wah_iotab = lt_ccihs_wahiot.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2008 13:38:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populate-workarea/m-p/3881810#M932884</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-26T13:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: populate workarea</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populate-workarea/m-p/3881811#M932885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why are you using:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
wa_wah_iorec-waid    =  so_waid-low
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and then using:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
i_wah_iorec = lw_wah_iorec
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not the same structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BEst regards.&lt;/P&gt;&lt;P&gt;Valter Oliveira.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2008 13:42:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populate-workarea/m-p/3881811#M932885</guid>
      <dc:creator>valter_oliveira</dc:creator>
      <dc:date>2008-05-26T13:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: populate workarea</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/populate-workarea/m-p/3881812#M932886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
IF NOT so_waid-low IS INITIAL.
    ccihs_rephslsel-waid =  so_waid-low.
*****
    lw_wah_iorec-waid    =  so_waid-low.
*****
  ENDIF.
 
 
 
  CALL FUNCTION 'ZCBIH_WA10_WKA_SUCCESSORS_GET'
    EXPORTING
      i_wah_iorec = lw_wah_iorec
      i_addinf    = i_addinf
    TABLES
      e_wah_iotab = lt_ccihs_wahiot.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And remember that the select-options is an &lt;STRONG&gt;internal table&lt;/STRONG&gt; . You need to do a loop into an work area and then move it to the required field and call the FM inside the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2008 13:43:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/populate-workarea/m-p/3881812#M932886</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-26T13:43:27Z</dc:date>
    </item>
  </channel>
</rss>

