<?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: custom copy for FBL5N, Layout additional fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-copy-for-fbl5n-layout-additional-fields/m-p/6135082#M1366059</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;The copy into Z as well as layout things worked. Better approach is to use BTE and use std. transaction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Sep 2009 12:50:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-23T12:50:54Z</dc:date>
    <item>
      <title>custom copy for FBL5N, Layout additional fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-copy-for-fbl5n-layout-additional-fields/m-p/6135077#M1366054</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;I have copied fbl5n report into a z program and function module FI_ITEMS_DISPLAY into a Z function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The structure for ALF is RFPOSXEXT which I copied into a Z Structure. I have added some fields into this structure and populated them into internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my problem is I am not able to change the layout or can able to see these new 3 fields in the ALV output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get these 3 fields visible in the alv layout. Pls advie.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rupalee.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2009 14:05:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-copy-for-fbl5n-layout-additional-fields/m-p/6135077#M1366054</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-17T14:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: custom copy for FBL5N, Layout additional fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-copy-for-fbl5n-layout-additional-fields/m-p/6135078#M1366055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At your Z Function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call function 'REUSE_ALV_LIST_DISPLAY'
         exporting
              i_buffer_active          = space
*             i_bypassing_buffer       = c_x
              i_callback_program       = g_repid
              i_callback_pf_status_set = c_formname_pf_status_set
              i_callback_user_command  = c_formname_callback_user
              i_structure_name         = 'RFPOSXEXT'   "REPLACE THAT WITH YOUR Z STRUCTURE
              is_layout                = is_u_layout
              it_fieldcat              = it_u_fieldcat
              it_sort                  = it_u_sort
              i_default                = gd_alvdefault
              i_save                   = ld_save
              is_variant               = is_u_variant
              is_print                 = is_print
              it_events                = gt_events
              it_event_exit            = gt_event_exit&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call function 'REUSE_ALV_GRID_DISPLAY'
      exporting
        i_buffer_active          = space
*       i_bypassing_buffer       = c_x
        i_callback_program       = g_repid
        i_callback_pf_status_set = c_formname_pf_status_set
        i_callback_user_command  = c_formname_callback_user
        i_callback_top_of_page   = c_formname_top_of_page
        i_structure_name         = 'RFPOSXEXT'  "REPLACE THAT WITH YOUR Z STRUCTURE
        i_grid_title             = titletext
        i_grid_settings          = s_grid_settings
        is_layout                = is_u_layout
        it_fieldcat              = it_u_fieldcat
        it_sort                  = it_u_sort
        i_default                = gd_alvdefault
        i_save                   = ld_save
        is_variant               = is_u_variant
        is_print                 = is_print
        it_events                = gt_events
        it_event_exit            = gt_event_exit
      tables
        t_outtab                 = it_items
      exceptions
        program_error            = 1
        others                   = 2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2009 14:13:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-copy-for-fbl5n-layout-additional-fields/m-p/6135078#M1366055</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-17T14:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: custom copy for FBL5N, Layout additional fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-copy-for-fbl5n-layout-additional-fields/m-p/6135079#M1366056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rupalee&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm very sorry, but I think all you did it is useless.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U don't need to create a copy of FBL5N in order to display additional fields, some user-exit are available to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there are several posts on the forum about this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway u need to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Enhance the structure RFPOS and RFPOSX&lt;/P&gt;&lt;P&gt;- Run the program RFPOSXEXTEND in order to update the structure RFPOSXEXT&lt;/P&gt;&lt;P&gt;- Active the BTE 1650 to populate the new fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2009 14:20:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-copy-for-fbl5n-layout-additional-fields/m-p/6135079#M1366056</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-17T14:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: custom copy for FBL5N, Layout additional fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-copy-for-fbl5n-layout-additional-fields/m-p/6135080#M1366057</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;I have already changed the structure name to Z, also changed c_program_ar to my z program. &lt;/P&gt;&lt;P&gt;Still it doesnt work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I dont want to go for BTE now, bcos it will impact the standard FBL5N...I first want ti create a Z transaction.&lt;/P&gt;&lt;P&gt;My second step is I am going to propse the solution of BTE to client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls advice how can I create ALV Variant and use it for my z report which will be same as standard + new 3 fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2009 14:32:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-copy-for-fbl5n-layout-additional-fields/m-p/6135080#M1366057</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-17T14:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: custom copy for FBL5N, Layout additional fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-copy-for-fbl5n-layout-additional-fields/m-p/6135081#M1366058</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;U need to check which report name is assigned to variant structure: the variant is assigned to the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the event end-of-selection, the standard program RFITEMAR assign the data for the variant:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;gs_variant-report   = g_repid.
  gs_variant-username = sy-uname.
  gs_variant-variant  = pa_vari.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So u make sure G_REPID has the name of your Z-REPORT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2009 15:13:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-copy-for-fbl5n-layout-additional-fields/m-p/6135081#M1366058</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-17T15:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: custom copy for FBL5N, Layout additional fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-copy-for-fbl5n-layout-additional-fields/m-p/6135082#M1366059</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;The copy into Z as well as layout things worked. Better approach is to use BTE and use std. transaction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2009 12:50:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-copy-for-fbl5n-layout-additional-fields/m-p/6135082#M1366059</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-23T12:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: custom copy for FBL5N, Layout additional fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/custom-copy-for-fbl5n-layout-additional-fields/m-p/6135083#M1366060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Try This Program&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report copy_layout.
data : lt_ltdx like ltdx occurs 0 with header line.
data : lt_ltdxt like ltdxt occurs 0 with header line.
parameters report like ltdx-report obligatory.
parameters report2 like ltdx-report obligatory.
"copy layout of report to report2.

start-of-selection.
  select * into table lt_ltdx from ltdx
                where report = report.
  select * into table lt_ltdxt from ltdxt
                where report = report.
  loop at lt_ltdx.
    lt_ltdx-report = report2.
    modify ltdx from lt_ltdx..
  endloop.
  loop at lt_ltdxt.
    lt_ltdxt-report = report2.
    modify ltdxt from lt_ltdxt..
  endloop.
  message 'Copy Complete.' type 'I'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2009 11:19:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/custom-copy-for-fbl5n-layout-additional-fields/m-p/6135083#M1366060</guid>
      <dc:creator>former_member568687</dc:creator>
      <dc:date>2009-11-23T11:19:11Z</dc:date>
    </item>
  </channel>
</rss>

