<?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 Split forms in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-forms/m-p/10763246#M1877038</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;I have the following requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have Z custom SAP scripts and Smartforms that has been designed for usage of multiple company codes. ie 1 form has been used for multiple company codes for single output type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my requirement is to create separate forms for each company code &lt;SPAN style="text-decoration: underline;"&gt;WITHOUT&lt;/SPAN&gt; creating new output types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here all my driver programs are in Z programs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am thinking of creating a Z table with fields such as output type, Company Code, and Form Names. and form names were maintained in this table based on output type&amp;nbsp; for each company code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then before calling OPEN_FORM or START_FORM or SSF_FUNCTION_MODULE_NAME needs to look into the above Z table and get the form name based on Output Type Company Code and applied to OPEN_FORM, START_FORM or SSF_FUNCTION_MODULE_NAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide your expert opinion on this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or if you expert having better options please provide info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Nov 2014 13:08:00 GMT</pubDate>
    <dc:creator>former_member194669</dc:creator>
    <dc:date>2014-11-18T13:08:00Z</dc:date>
    <item>
      <title>Split forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-forms/m-p/10763246#M1877038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;I have the following requirement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have Z custom SAP scripts and Smartforms that has been designed for usage of multiple company codes. ie 1 form has been used for multiple company codes for single output type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my requirement is to create separate forms for each company code &lt;SPAN style="text-decoration: underline;"&gt;WITHOUT&lt;/SPAN&gt; creating new output types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here all my driver programs are in Z programs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am thinking of creating a Z table with fields such as output type, Company Code, and Form Names. and form names were maintained in this table based on output type&amp;nbsp; for each company code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then before calling OPEN_FORM or START_FORM or SSF_FUNCTION_MODULE_NAME needs to look into the above Z table and get the form name based on Output Type Company Code and applied to OPEN_FORM, START_FORM or SSF_FUNCTION_MODULE_NAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide your expert opinion on this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or if you expert having better options please provide info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 13:08:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-forms/m-p/10763246#M1877038</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2014-11-18T13:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Split forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-forms/m-p/10763247#M1877039</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 proposed solution will work fine for your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be you can add one more field in the Z table named 'Form Type', to store wether the form is Script or Smartform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in the driver program you can simply check the form type to call either SSF_* or OPEN_* and pass the name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 13:21:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-forms/m-p/10763247#M1877039</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-18T13:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Split forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-forms/m-p/10763248#M1877040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nothing wrong with the way you have mentioned but I will suggest you can opt for satandard way using T-Code STVARV. You can maintain the entries here and put a select query in your program. this is common practice we are following. This maintains entry in table TVARV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even you can put all this form fetching logic in a function module and call your function module in driver program. Your function module will return form name based on company code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Prakash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 13:35:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-forms/m-p/10763248#M1877040</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-18T13:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Split forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-forms/m-p/10763249#M1877041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure about maintaining the forms name unique in TVARV table.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am preferred to do with custom table like&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 427px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="78"&gt;Field Name&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="64"&gt;Type&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="64"&gt;Length&lt;/TD&gt;&lt;TD class="xl65" style="border-left-color: currentColor; border-left-width: medium; border-left-style: none;" width="221"&gt;Description&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;KSCHL&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;CHAR&lt;/TD&gt;&lt;TD class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;Output Type&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;BUKRS&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;CHAR&lt;/TD&gt;&lt;TD class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;4&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;Company Code&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;FTYPE&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;CHAR&lt;/TD&gt;&lt;TD class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;Form Type&lt;BR /&gt;&amp;nbsp; SCRIPT/SMARTFORMS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20" style="border-top-color: currentColor; border-top-width: medium; border-top-style: none;"&gt;FNAME&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;CHAR&lt;/TD&gt;&lt;TD class="xl67" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;40&lt;/TD&gt;&lt;TD class="xl66" style="border-top-color: currentColor; border-left-color: currentColor; border-top-width: medium; border-left-width: medium; border-top-style: none; border-left-style: none;"&gt;script Name or&lt;BR /&gt;&amp;nbsp; SMARTFORM Name&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 14:23:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-forms/m-p/10763249#M1877041</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2014-11-18T14:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Split forms</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-forms/m-p/10763250#M1877042</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;Since we are using this in custom driver programs, using a custom table as you have mentioned will be more simple and flexible solution. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 08:47:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-forms/m-p/10763250#M1877042</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-19T08:47:41Z</dc:date>
    </item>
  </channel>
</rss>

