<?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: Smartform, + dynamic call depending upon company-code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-dynamic-call-depending-upon-company-code/m-p/2192006#M467357</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shah,&lt;/P&gt;&lt;P&gt;            Refer this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;if itab-bukrs = '0001'.&lt;/P&gt;&lt;P&gt;P_form =  write  heresmart form name&lt;/P&gt;&lt;P&gt;elseif itab-bukrs = '0002'.&lt;/P&gt;&lt;P&gt;p_form= ................&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      FORMNAME                 = P_FORM&lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     FM_NAME                  = P_FUNCTION&lt;/P&gt;&lt;P&gt;               .&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION P_FUNCTION&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      D_VBRK                     = IT_VBRK&lt;/P&gt;&lt;P&gt;      D_VBRP                     = IT_VBRP&lt;/P&gt;&lt;P&gt;      D_LIKP                     = IT_LIKP&lt;/P&gt;&lt;P&gt;               .&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hemant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 May 2007 10:16:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-04T10:16:44Z</dc:date>
    <item>
      <title>Smartform, + dynamic call depending upon company-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-dynamic-call-depending-upon-company-code/m-p/2192005#M467356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a req, at this time in the program a particular smartform is being called. I have to make the code likewise that depending upon the company-code another smartform should be called ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone gave me hint, it could be done dynamically..... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one, pls give me hint, or docu...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2007 10:10:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-dynamic-call-depending-upon-company-code/m-p/2192005#M467356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-04T10:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Smartform, + dynamic call depending upon company-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-dynamic-call-depending-upon-company-code/m-p/2192006#M467357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shah,&lt;/P&gt;&lt;P&gt;            Refer this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;if itab-bukrs = '0001'.&lt;/P&gt;&lt;P&gt;P_form =  write  heresmart form name&lt;/P&gt;&lt;P&gt;elseif itab-bukrs = '0002'.&lt;/P&gt;&lt;P&gt;p_form= ................&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      FORMNAME                 = P_FORM&lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     FM_NAME                  = P_FUNCTION&lt;/P&gt;&lt;P&gt;               .&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION P_FUNCTION&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      D_VBRK                     = IT_VBRK&lt;/P&gt;&lt;P&gt;      D_VBRP                     = IT_VBRP&lt;/P&gt;&lt;P&gt;      D_LIKP                     = IT_LIKP&lt;/P&gt;&lt;P&gt;               .&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hemant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2007 10:16:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-dynamic-call-depending-upon-company-code/m-p/2192006#M467357</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-04T10:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Smartform, + dynamic call depending upon company-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-dynamic-call-depending-upon-company-code/m-p/2192007#M467358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hemant, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help, &lt;/P&gt;&lt;P&gt;I am just woundring, ( as I have never worked with smartform before) how to fill the two forms ( as one form is already fillied , and depending upon I have to fill the other table )....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2007 10:19:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-dynamic-call-depending-upon-company-code/m-p/2192007#M467358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-04T10:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Smartform, + dynamic call depending upon company-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-dynamic-call-depending-upon-company-code/m-p/2192008#M467359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;shah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     In your driver programe write the code in such a way that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           if Bukrs = ' 001 '.&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'(here u can specify ur form required for this company code.)&lt;/P&gt;&lt;P&gt;    else..............&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;Hope this will help you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2007 10:21:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-dynamic-call-depending-upon-company-code/m-p/2192008#M467359</guid>
      <dc:creator>former_member377111</dc:creator>
      <dc:date>2007-05-04T10:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Smartform, + dynamic call depending upon company-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-dynamic-call-depending-upon-company-code/m-p/2192009#M467360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you have opened a new thread.Fine,for ex if the sales org 200 in UK is having a window for tax and sales organisation 201 in US is not having any tax then  you have to make this tax window invisible when executing the smartform for the sales org 201.&lt;/P&gt;&lt;P&gt;This thing you can validate using the field land1 in the table t005.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2007 10:43:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartform-dynamic-call-depending-upon-company-code/m-p/2192009#M467360</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2007-05-04T10:43:52Z</dc:date>
    </item>
  </channel>
</rss>

