<?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: bdc HELP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-help/m-p/5983228#M1341237</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Write ur subroutine in some other program (subroutine pool) and call this subroutine as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perform xyz using abc in program ztest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or write ur subroutine isnide a include and use this include in the FM and simply call the subroutine from FM as u are calling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help u.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Aug 2009 11:53:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-21T11:53:58Z</dc:date>
    <item>
      <title>bdc HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-help/m-p/5983224#M1341233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have implemented one user-exit...in that i m calling BDC transaction...i have written all perform statemensts and then call transaction...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE : I M CALLING PERFORMING BDC STATMENTS IN USER-EXIT..AS THE USER-EXIT IS FUNCTION MODULE..THATS WHY IT IS SHOWING ERROR..PLS HELP&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------" /&gt;&lt;P&gt;PERFORM bdc_field       USING  'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'LFB5-MAHNA'.&lt;/P&gt;&lt;P&gt;PERFORM bdc_field       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                   '=UPDA'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'FK01' USING bdcdata&lt;/P&gt;&lt;P&gt;                  MODE   'N'&lt;/P&gt;&lt;P&gt;                  UPDATE 'S'&lt;/P&gt;&lt;P&gt;                  MESSAGES INTO it_messtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       Start new screen                                              *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM bdc_dynpro USING program dynpro.&lt;/P&gt;&lt;P&gt;  CLEAR bdcdata.&lt;/P&gt;&lt;P&gt;  bdcdata-program  = program.&lt;/P&gt;&lt;P&gt;  bdcdata-dynpro   = dynpro.&lt;/P&gt;&lt;P&gt;  bdcdata-dynbegin = 'X'.&lt;/P&gt;&lt;P&gt;  APPEND bdcdata.&lt;/P&gt;&lt;P&gt;ENDFORM.                    "BDC_DYNPRO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       Insert field                                                  *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM bdc_field USING fnam fval.&lt;/P&gt;&lt;P&gt;  IF fval &amp;lt;&amp;gt; ' '.&lt;/P&gt;&lt;P&gt;    CLEAR bdcdata.&lt;/P&gt;&lt;P&gt;    bdcdata-fnam = fnam.&lt;/P&gt;&lt;P&gt;    bdcdata-fval = fval.&lt;/P&gt;&lt;P&gt;    APPEND bdcdata.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM.                    "BDC_FIELD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i m getting error as " incorrect nesting : before the statment "FORM",the structure introduced by "FUNCTION" must be concluded with "ENDFUNCTION".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2009 11:45:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-help/m-p/5983224#M1341233</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-21T11:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: bdc HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-help/m-p/5983225#M1341234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI &lt;/P&gt;&lt;P&gt; Write the FORM  ENDFORM after the ENDFUNCTION.&lt;/P&gt;&lt;P&gt;Message itself is clear that  Fucntion  module is not closed....&lt;/P&gt;&lt;P&gt;surya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2009 11:48:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-help/m-p/5983225#M1341234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-21T11:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: bdc HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-help/m-p/5983226#M1341235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Within function module, forms are not allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mansi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2009 11:51:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-help/m-p/5983226#M1341235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-21T11:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: bdc HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-help/m-p/5983227#M1341236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;as i said...it is user-exit..i wrote this code in one include which is present in FM...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION EXIT_SAPFP50M_002.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Lokale Schnittstelle:&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(TCLAS) LIKE  PSPAR-TCLAS&lt;/P&gt;&lt;P&gt;*"     VALUE(INNNN) LIKE  PRELP STRUCTURE  PRELP&lt;/P&gt;&lt;P&gt;*"     VALUE(PSAVE) LIKE  PRELP STRUCTURE  PRELP&lt;/P&gt;&lt;P&gt;*"     VALUE(IPSYST) LIKE  PSYST STRUCTURE  PSYST&lt;/P&gt;&lt;P&gt;*"     VALUE(I001P) LIKE  T001P STRUCTURE  T001P&lt;/P&gt;&lt;P&gt;*"     VALUE(I503) LIKE  T503 STRUCTURE  T503&lt;/P&gt;&lt;P&gt;*"  EXPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(INNNN) LIKE  PRELP STRUCTURE  PRELP&lt;/P&gt;&lt;P&gt;*"     VALUE(SHOW_DATA_AGAIN)&lt;/P&gt;&lt;P&gt;*"  CHANGING&lt;/P&gt;&lt;P&gt;*"     VALUE(IPREF) LIKE  PREF STRUCTURE  PREF&lt;/P&gt;&lt;P&gt;*"  EXCEPTIONS&lt;/P&gt;&lt;P&gt;*"      ERROR_OCCURED&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  INCLUDE ZXPADU02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In above include i have written my BDC code&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2009 11:51:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-help/m-p/5983227#M1341236</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-21T11:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: bdc HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-help/m-p/5983228#M1341237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Write ur subroutine in some other program (subroutine pool) and call this subroutine as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perform xyz using abc in program ztest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or write ur subroutine isnide a include and use this include in the FM and simply call the subroutine from FM as u are calling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help u.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2009 11:53:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-help/m-p/5983228#M1341237</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-21T11:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: bdc HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-help/m-p/5983229#M1341238</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;As forms are not allowed in the FM, what you can do is have the perform statement in the include and write the form..endform in another program,as subroutines are global,it will work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vishwa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2009 11:54:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-help/m-p/5983229#M1341238</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-21T11:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: bdc HELP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-help/m-p/5983230#M1341239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can i use BADIs for this...are form....end forms are allowed in BADIs??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2009 12:01:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-help/m-p/5983230#M1341239</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-21T12:01:09Z</dc:date>
    </item>
  </channel>
</rss>

