<?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: CALLING FUNCTION MODULE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-function-module/m-p/1449830#M213148</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;You can write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION &amp;lt;function-module name&amp;gt;.&lt;/P&gt;&lt;P&gt; and write the importing and exporting parameters if required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The easiest way to call is:&lt;/P&gt;&lt;P&gt;Click on the Pattern tab in the toolbar and write the fuction module namein the text box adjacent to the 'call' label.&lt;/P&gt;&lt;P&gt;You can call your BDC fuction module name also like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sangeeta.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Jul 2006 08:23:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-12T08:23:09Z</dc:date>
    <item>
      <title>CALLING FUNCTION MODULE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-function-module/m-p/1449827#M213145</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;   How can  we call a function module from a program? Do we need to copy the definition (i.e. importing ,exporting ...etc)  in the calling program ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;especilly i want to know ,how to call BDC_OPEN_GROUP in a BDC program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2006 08:18:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-function-module/m-p/1449827#M213145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-12T08:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: CALLING FUNCTION MODULE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-function-module/m-p/1449828#M213146</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;In the abap editor click the Pattern button in the Application tololbar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click the CAll function radio button and give the name of the FM u want to call in the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful reward points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2006 08:20:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-function-module/m-p/1449828#M213146</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-12T08:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: CALLING FUNCTION MODULE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-function-module/m-p/1449829#M213147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Geetha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just put the cursor at the start of the line where ever you want to insert the Function module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;press 'Ctrl+F6'&lt;/P&gt;&lt;P&gt; give 'BDC_OPEN_GROUP' and press enter &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then you will pass mandatory parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this as bellow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form open_group.&lt;/P&gt;&lt;P&gt;call function 'BDC_OPEN_GROUP'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   CLIENT                    = SY-MANDT&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DEST                      = FILLER8&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   GROUP                     = 'SRINU_PPP'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  HOLDDATE                  = FILLER8&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   KEEP                      = 'X'&lt;/P&gt;&lt;P&gt;   USER                      = sy-uname&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  RECORD                    = FILLER1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PROG                      = SY-CPROG&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  QID                       =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   CLIENT_INVALID            = 1&lt;/P&gt;&lt;P&gt;   DESTINATION_INVALID       = 2&lt;/P&gt;&lt;P&gt;   GROUP_INVALID             = 3&lt;/P&gt;&lt;P&gt;   GROUP_IS_LOCKED           = 4&lt;/P&gt;&lt;P&gt;   HOLDDATE_INVALID          = 5&lt;/P&gt;&lt;P&gt;   INTERNAL_ERROR            = 6&lt;/P&gt;&lt;P&gt;   QUEUE_ERROR               = 7&lt;/P&gt;&lt;P&gt;   RUNNING                   = 8&lt;/P&gt;&lt;P&gt;   SYSTEM_LOCK_ERROR         = 9&lt;/P&gt;&lt;P&gt;   USER_INVALID              = 10&lt;/P&gt;&lt;P&gt;   OTHERS                    = 11&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;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Sreenivasulu P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2006 08:21:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-function-module/m-p/1449829#M213147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-12T08:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: CALLING FUNCTION MODULE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-function-module/m-p/1449830#M213148</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;You can write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION &amp;lt;function-module name&amp;gt;.&lt;/P&gt;&lt;P&gt; and write the importing and exporting parameters if required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The easiest way to call is:&lt;/P&gt;&lt;P&gt;Click on the Pattern tab in the toolbar and write the fuction module namein the text box adjacent to the 'call' label.&lt;/P&gt;&lt;P&gt;You can call your BDC fuction module name also like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sangeeta.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2006 08:23:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-function-module/m-p/1449830#M213148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-12T08:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: CALLING FUNCTION MODULE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-function-module/m-p/1449831#M213149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Geeta,&lt;/P&gt;&lt;P&gt;the above post it's perfect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I post you a little exapmle&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 CALL FUNCTION 'BDC_OPEN_GROUP'
         EXPORTING  CLIENT   = SY-MANDT
                 "name of session you find in SM35
                    GROUP    = GROUP 
                 "the sap user who creates the session
                    USER     = USER
                 "'X' if you want to keep the session         
                   after start it
                    KEEP     = KEEP
                 " Session locked until specified date
                    HOLDDATE = HOLDDATE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;enzo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2006 08:28:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-function-module/m-p/1449831#M213149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-12T08:28:02Z</dc:date>
    </item>
  </channel>
</rss>

