<?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: Layout issue when copying from Standard program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/layout-issue-when-copying-from-standard-program/m-p/9734382#M1772550</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Senthil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you need to check 2 things:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Did you check all the boxes when copying.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/294576" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Most probably when creating customized tcode in se93, have you written the program name as RFITEMAR by mistake? &lt;/P&gt;&lt;P&gt;&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;Purnand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Oct 2013 04:46:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-10-09T04:46:44Z</dc:date>
    <item>
      <title>Layout issue when copying from Standard program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/layout-issue-when-copying-from-standard-program/m-p/9734381#M1772549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the requirement I copied FBL5N to ZFBL5N and made the required changes to the program. Its working perfectly fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is Layout option in the selection screen :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The F4 help is not working, but in standard program its working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run ZFBL5N - Save the layout - it goes and save against the standard program name ? Any idea how can we fix it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;P&gt;Senthil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 04:31:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/layout-issue-when-copying-from-standard-program/m-p/9734381#M1772549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-09T04:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Layout issue when copying from Standard program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/layout-issue-when-copying-from-standard-program/m-p/9734382#M1772550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Senthil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you need to check 2 things:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Did you check all the boxes when copying.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/294576" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Most probably when creating customized tcode in se93, have you written the program name as RFITEMAR by mistake? &lt;/P&gt;&lt;P&gt;&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;Purnand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 04:46:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/layout-issue-when-copying-from-standard-program/m-p/9734382#M1772550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-09T04:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Layout issue when copying from Standard program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/layout-issue-when-copying-from-standard-program/m-p/9734383#M1772551</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;Please note: May be you have created ZFBL5N for the same program as that of FBL5N. If a program have 2 tcodes, they share layouts.&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;Purnand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 04:56:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/layout-issue-when-copying-from-standard-program/m-p/9734383#M1772551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-09T04:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Layout issue when copying from Standard program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/layout-issue-when-copying-from-standard-program/m-p/9734384#M1772552</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;check the report id in your z program..may be it's not calling your report id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sujeet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 05:28:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/layout-issue-when-copying-from-standard-program/m-p/9734384#M1772552</guid>
      <dc:creator>SujeetMishra</dc:creator>
      <dc:date>2013-10-09T05:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Layout issue when copying from Standard program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/layout-issue-when-copying-from-standard-program/m-p/9734385#M1772553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was an existing program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I debug and see - its correctly calling the Z program id only. ( I&amp;nbsp; e ZRFTEMAR....)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Senthil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 05:33:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/layout-issue-when-copying-from-standard-program/m-p/9734385#M1772553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-09T05:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Layout issue when copying from Standard program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/layout-issue-when-copying-from-standard-program/m-p/9734386#M1772554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Senthil ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Must say a challenging task &lt;SPAN __jive_emoticon_name="plain" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1866/images/emoticons/plain.gif"&gt;&lt;/SPAN&gt; , debugged for&amp;nbsp; hours but failed to get any relevant data &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1866/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I noticed this thing in my system also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After debugging I&amp;nbsp; found that in program &lt;STRONG&gt;LSKBSF08 &lt;/STRONG&gt;at line number 107 ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;MOVE-CORRESPONDING &lt;/SPAN&gt;LS_VARKEY &lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;LTDXT lies the main problem .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually this LS_VARKEY must contain the name of Program for whose the corresponding Layout Variant must be maintained in the Database Table LTDXT ( Table for maintaining Variant Layout with corresponding Program name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see by putting Breakpoint in this line that when you Execute ZFBL5N then&amp;nbsp; LS_VARKEY value is set to &lt;STRONG&gt;RFITEMAR instead of ZRFITEMAR , &lt;/STRONG&gt;here is the main issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Program LSKBSF08 itself you can see that there is a call to FM &lt;STRONG&gt;LT_DBDATA_WRITE_TO_LTDX &lt;/STRONG&gt;which triggers during Variant Layout save option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I searched in &lt;STRONG&gt;ZRFITEMAR&lt;/STRONG&gt; whether any REPID type Variable has been maintained with Default value as &lt;STRONG&gt;RFITEMAR&lt;/STRONG&gt; for storing Program name , I got the below results :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/294833" width="450" /&gt;&lt;/P&gt;&lt;P&gt;But there also I maintained values properly and No positive result &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1866/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Might be something related with the usage of Standard LDB DDF &lt;SPAN __jive_emoticon_name="confused" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1866/images/emoticons/confused.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for some Expert ABAP Developer's Comment on your Query &lt;SPAN __jive_emoticon_name="plain" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/1866/images/emoticons/plain.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 09:32:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/layout-issue-when-copying-from-standard-program/m-p/9734386#M1772554</guid>
      <dc:creator>Sijin_Chandran</dc:creator>
      <dc:date>2013-10-09T09:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Layout issue when copying from Standard program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/layout-issue-when-copying-from-standard-program/m-p/9734387#M1772555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Senthil ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While copying RFITEMAR to ZRFITEMAR , many Includes and Function Pools must have been copied to Z Includes and ZFunction Pools.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Out of them Check for Function Pool SAPLFI_ITEMS it might have been copied to &lt;STRONG&gt;SAPLZFI_ITEMS,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;check the same in SE38 ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside that Check Include LZFI_ITEMSTOP and search for RFITEMAR and you can see &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;c_program_ar&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;syrepid&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;value &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'RFITEMAR' &lt;/SPAN&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Change here also and check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in Include LZFI_ITEMSF01 also ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;SY&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;CPROG &lt;SPAN class="L0S52"&gt;NE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'RFITEMAR' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;AND &lt;/SPAN&gt;SY&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;CPROG &lt;SPAN class="L0S52"&gt;NE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'RFITEMAP' &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S33"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 11:46:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/layout-issue-when-copying-from-standard-program/m-p/9734387#M1772555</guid>
      <dc:creator>Sijin_Chandran</dc:creator>
      <dc:date>2013-10-09T11:46:07Z</dc:date>
    </item>
  </channel>
</rss>

