<?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: PBO in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pbo/m-p/2303426#M503669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chaitanya, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   code it using this logic ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; after you get your data into the itab , call a FM VRM_SET_VALUES  and pass the values there ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; This sample code will solve your problem ...&lt;/P&gt;&lt;P&gt;add these two in the top include or declaration part along with other declarations of itables ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;type-pools vrm.&lt;/P&gt;&lt;P&gt;data: name type vrm_id.&lt;/P&gt;&lt;P&gt;data:  l_wa_mat_descr type vrm_value,&lt;/P&gt;&lt;P&gt;      l_tab_mat_descr type vrm_values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select matnr from mara&lt;/P&gt;&lt;P&gt;           into table l_tab_mara_matnr&lt;/P&gt;&lt;P&gt;           where matkl = 'ZPMBMAT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if not l_tab_mara_matnr[] is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    select maktx from makt&lt;/P&gt;&lt;P&gt;                 into  l_tab_collect_maktx_frm_db-material_descr&lt;/P&gt;&lt;P&gt;                 for all entries in l_tab_mara_matnr&lt;/P&gt;&lt;P&gt;                 where matnr = l_tab_mara_matnr-material_no.&lt;/P&gt;&lt;P&gt;      append l_tab_collect_maktx_frm_db.&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;&lt;/P&gt;&lt;P&gt;  loop at l_tab_collect_maktx_frm_db into l_wa_collect_maktx_frm_db.&lt;/P&gt;&lt;P&gt;    l_wa_mat_descr-key = l_wa_collect_maktx_frm_db-material_descr.&lt;/P&gt;&lt;P&gt;    append l_wa_mat_descr to l_tab_mat_descr.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  name = 'ZCOT_PPT_DTLS-MATERIAL_DESCR'.  " screen field name &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'VRM_SET_VALUES'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      id              = name&lt;/P&gt;&lt;P&gt;      values          = l_tab_mat_descr&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      id_illegal_name = 1&lt;/P&gt;&lt;P&gt;      others          = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Ranjita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 May 2007 04:24:14 GMT</pubDate>
    <dc:creator>former_member196299</dc:creator>
    <dc:date>2007-05-15T04:24:14Z</dc:date>
    <item>
      <title>PBO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pbo/m-p/2303421#M503664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    In the PBO event  i use an select query, the data present in the internal table will be concatenated into variable  fetch into the screen(9000) of text element. how i code it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 13:16:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pbo/m-p/2303421#M503664</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T13:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: PBO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pbo/m-p/2303422#M503665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Write down code Like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PBO.&lt;/P&gt;&lt;P&gt;Module mod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module mod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from vvv into vvvv..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate fld1 fld2 into fld3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;leave to screen 9000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if it is useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 13:19:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pbo/m-p/2303422#M503665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T13:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: PBO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pbo/m-p/2303423#M503666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can write the Select Query in the PBO event, &lt;/P&gt;&lt;P&gt;So loop that internal table, then catch the internal table value, then cancatinate that value and use the MOVE statment to move that value to that text element, and make sure that the Text element shoulb be the Screen field, then only it will appear in the Screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 13:21:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pbo/m-p/2303423#M503666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T13:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: PBO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pbo/m-p/2303424#M503667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI  Sudheer Junnuth,&lt;/P&gt;&lt;P&gt;                               iF I HAVE 5 Text elements on the screen ..hw to process it??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2007 13:38:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pbo/m-p/2303424#M503667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-14T13:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: PBO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pbo/m-p/2303425#M503668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chaitanya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make this thing work for 5 Text Elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write a loop like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab into wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if counter le 5.&lt;/P&gt;&lt;P&gt;concatenate text_element1 itab-f1 into text_element1.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;if counter le 10 and counter &amp;gt; 5.&lt;/P&gt;&lt;P&gt;concatenate text_element2 itab-f1 into text_element2.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;if counter le 15 and counter &amp;gt; 10.&lt;/P&gt;&lt;P&gt;concatenate text_element3 itab-f1 into text_element3.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;counter = coutner + 1.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like this you can create for all text_elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will solve your query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;i&amp;gt;** Pl. reward points and motivate us.&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 03:42:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pbo/m-p/2303425#M503668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T03:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: PBO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pbo/m-p/2303426#M503669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chaitanya, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   code it using this logic ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; after you get your data into the itab , call a FM VRM_SET_VALUES  and pass the values there ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; This sample code will solve your problem ...&lt;/P&gt;&lt;P&gt;add these two in the top include or declaration part along with other declarations of itables ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;type-pools vrm.&lt;/P&gt;&lt;P&gt;data: name type vrm_id.&lt;/P&gt;&lt;P&gt;data:  l_wa_mat_descr type vrm_value,&lt;/P&gt;&lt;P&gt;      l_tab_mat_descr type vrm_values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select matnr from mara&lt;/P&gt;&lt;P&gt;           into table l_tab_mara_matnr&lt;/P&gt;&lt;P&gt;           where matkl = 'ZPMBMAT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if not l_tab_mara_matnr[] is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    select maktx from makt&lt;/P&gt;&lt;P&gt;                 into  l_tab_collect_maktx_frm_db-material_descr&lt;/P&gt;&lt;P&gt;                 for all entries in l_tab_mara_matnr&lt;/P&gt;&lt;P&gt;                 where matnr = l_tab_mara_matnr-material_no.&lt;/P&gt;&lt;P&gt;      append l_tab_collect_maktx_frm_db.&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;&lt;/P&gt;&lt;P&gt;  loop at l_tab_collect_maktx_frm_db into l_wa_collect_maktx_frm_db.&lt;/P&gt;&lt;P&gt;    l_wa_mat_descr-key = l_wa_collect_maktx_frm_db-material_descr.&lt;/P&gt;&lt;P&gt;    append l_wa_mat_descr to l_tab_mat_descr.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  name = 'ZCOT_PPT_DTLS-MATERIAL_DESCR'.  " screen field name &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'VRM_SET_VALUES'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      id              = name&lt;/P&gt;&lt;P&gt;      values          = l_tab_mat_descr&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      id_illegal_name = 1&lt;/P&gt;&lt;P&gt;      others          = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Ranjita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 04:24:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pbo/m-p/2303426#M503669</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2007-05-15T04:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: PBO</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pbo/m-p/2303427#M503670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chaitanya , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    If this question is answered then plese reward points and mark as answered ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ranjita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 10:24:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pbo/m-p/2303427#M503670</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2007-05-15T10:24:15Z</dc:date>
    </item>
  </channel>
</rss>

