<?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 Filling deep structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/filling-deep-structure/m-p/6418822#M1409005</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a button in each cell for one row of an ALV &lt;/P&gt;&lt;P&gt;Grid.&lt;/P&gt;&lt;P&gt;[http://help.sap.com/saphelp_erp2004/helpdata/en/88/387f380c2f2e3ce10000009b38f8cf/content.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I have problem with the part:&lt;/P&gt;&lt;P&gt;'If you want to display all cells of a row as pushbuttons, assign &lt;/P&gt;&lt;P&gt;the attribute cl_gui_alv_grid=&amp;gt;mc_style_button to the field style . In this case, &lt;/P&gt;&lt;P&gt;field fieldname remains empty'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not so skilled in this part, so please can anyone advice me how &lt;/P&gt;&lt;P&gt;to assign this attribute to the field of the deep structure?? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Dec 2009 22:46:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-07T22:46:50Z</dc:date>
    <item>
      <title>Filling deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filling-deep-structure/m-p/6418822#M1409005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to create a button in each cell for one row of an ALV &lt;/P&gt;&lt;P&gt;Grid.&lt;/P&gt;&lt;P&gt;[http://help.sap.com/saphelp_erp2004/helpdata/en/88/387f380c2f2e3ce10000009b38f8cf/content.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I have problem with the part:&lt;/P&gt;&lt;P&gt;'If you want to display all cells of a row as pushbuttons, assign &lt;/P&gt;&lt;P&gt;the attribute cl_gui_alv_grid=&amp;gt;mc_style_button to the field style . In this case, &lt;/P&gt;&lt;P&gt;field fieldname remains empty'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not so skilled in this part, so please can anyone advice me how &lt;/P&gt;&lt;P&gt;to assign this attribute to the field of the deep structure?? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Dec 2009 22:46:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filling-deep-structure/m-p/6418822#M1409005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-07T22:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Filling deep structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/filling-deep-structure/m-p/6418823#M1409006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;             To fill the Deep structure, you need write a code like this. Change it according to your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: begin of gt_outtab occurs 0,&lt;/P&gt;&lt;P&gt;	&amp;lt;your fields&amp;gt;&lt;/P&gt;&lt;P&gt;	ct type lvc_t_styl.&lt;/P&gt;&lt;P&gt;Data: end of gt_outtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fill your data to this outtab.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****You need to write a code like this to fill the last field CT.&lt;/P&gt;&lt;P&gt;Data: ls_s_layo TYPE lvc_s_layo,&lt;/P&gt;&lt;P&gt;	lt_t_layo TYPE lvc_t_layo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;As per your requirement we don't need to fill the field. Because all field are to be displayed as pushbuttons. So i commented.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*ls_s_layo-fieldname&lt;/P&gt;&lt;P&gt;ls_s_layo-style = cl_gui_alv_grid=&amp;gt;mc_style_button.&lt;/P&gt;&lt;P&gt;Append ls_s_layo to lt_t_layo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Now loop thru the output table.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;LOOP AT gt_outtab ASSIGNING &amp;lt;fs_outtab&amp;gt;.&lt;/P&gt;&lt;P&gt;	&amp;lt;fs_outtab&amp;gt;-ct[] = lt_t_layo.&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;Regards,&lt;/P&gt;&lt;P&gt;Sampath.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2009 00:44:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/filling-deep-structure/m-p/6418823#M1409006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-08T00:44:05Z</dc:date>
    </item>
  </channel>
</rss>

