<?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: Meaning of the code call 'RFCControl' id 'CODE' field '?' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/meaning-of-the-code-call-rfccontrol-id-code-field/m-p/9983512#M1802325</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Upto my understanding , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenever we create a smartform it will create Function Module.So We can call the FM in the driver program for calling the smartform...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Funtional Module having two type ,.. ie.. Normal FM and Remote functional call enabled ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Ordinary FM which will not support for getting datas from other services... where RFC enabled FM will take the data from Other services...and BAPI also there...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in ur standard program it is checking whether it is Remote enable FM , so it fails so it giving subrc as 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FM genetated in the standard is Normal Functional module not RFC enabled...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto T.Code ----&amp;gt; SMARTFORMS---&amp;gt;Give Smartform Name----&amp;gt;execute or press F8----&amp;gt;it will show Functional module name----&amp;gt;press Display---&amp;gt;click attributes Tab---&amp;gt;there u will see radio button whether it is normal or RFC enabled...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope this answer will be ok for you...&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;&lt;/P&gt;&lt;P&gt;Vijay SR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jan 2014 07:36:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-01-22T07:36:40Z</dc:date>
    <item>
      <title>Meaning of the code call 'RFCControl' id 'CODE' field '?'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/meaning-of-the-code-call-rfccontrol-id-code-field/m-p/9983507#M1802320</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;Can somebody tell me the meaning of the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;call 'RFCControl' id 'CODE' field '?'. "#EC CI_CCALL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;Rajesh.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 06:45:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/meaning-of-the-code-call-rfccontrol-id-code-field/m-p/9983507#M1802320</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-22T06:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of the code call 'RFCControl' id 'CODE' field '?'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/meaning-of-the-code-call-rfccontrol-id-code-field/m-p/9983508#M1802321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="h1"&gt;Hi Rajesh,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="h1"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="h1"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="h1"&gt;CALL - Call a System Function:&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="bold"&gt;This statement is for internal use only. &lt;BR /&gt;It must not be used in application programs.&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="h4"&gt;Note &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Where possible, you should use &lt;A class="blue" href="https://community.sap.com/"&gt;kernel methods&lt;/A&gt; instead of system functions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A name="@@CALL cfunc@@!ABAP_STATEMENT_INT!@@"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="h2"&gt;&lt;SPAN class="bold"&gt;Syntax&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="qtext"&gt;CALL cfunc.&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A name="@@FIELD@@CALL cfunc@@"&gt;&lt;/A&gt;&lt;A name="@@ID@@CALL cfunc@@"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="h3"&gt;Addition: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="blue" href="https://community.sap.com/"&gt;&lt;SPAN class="qtext"&gt;... ID id1 FIELD f1 ... ID idn FIELD fn&lt;/SPAN&gt; &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="h4"&gt;Effect &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Calls the system function &lt;SPAN class="qtext"&gt;cfunc&lt;/SPAN&gt;. The relevant function must be entered in the sapactab.h file. If you change or recreate a function, you have to compile and link the ABAP kernel again. For this, you need the C source code files. &lt;BR /&gt;Normally, external programs should be called using RFC with &lt;A class="blue" href="https://community.sap.com/"&gt;CALL FUNCTION ... DESTINATION&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="h3"&gt;&lt;A name="!ABAP_ONE_ADD@1@"&gt;&lt;/A&gt;&lt;SPAN class="bold"&gt;Addition&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="qtext"&gt;... ID id1 FIELD f1 ... ID idn FIELD fn&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="h4"&gt;Effect &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Passes fields to the called program by reference. With &lt;SPAN class="qtext"&gt;ID id1&lt;/SPAN&gt;, you specify the name of a formal parameter, and with &lt;SPAN class="qtext"&gt;FIELD f1&lt;/SPAN&gt; the relevant field from the ABAP program. If a formal parameter expects an internal table, the latter is passed in the form &lt;SPAN class="qtext"&gt;FIELD tab[]&lt;/SPAN&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="h4"&gt;Example&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="qtextml1"&gt;&lt;SPAN class="qtext"&gt;DATA RESULT(8). &lt;BR /&gt;CALL 'MULTIPLY' ID 'P1'&amp;nbsp; FIELD '9999' &lt;BR /&gt;&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;&amp;nbsp;&amp;nbsp; ID 'P2'&amp;nbsp; FIELD '9999' &lt;BR /&gt;&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;&amp;nbsp;&amp;nbsp; ID 'RES' FIELD RESULT. &lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="h4"&gt;Note &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;With some critical C functions, the system automatically performs an authorization check. If the user does not have the appropriate authorization, a runtime error occurs. You can check the authorization with the function module &lt;A class="lnkgreen" href="https://community.sap.com/" title="External Object"&gt;AUTHORITY_CHECK_C_FUNCTION&lt;/A&gt;.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it Helps... &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/504/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vijay SR &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 07:00:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/meaning-of-the-code-call-rfccontrol-id-code-field/m-p/9983508#M1802321</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-22T07:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of the code call 'RFCControl' id 'CODE' field '?'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/meaning-of-the-code-call-rfccontrol-id-code-field/m-p/9983509#M1802322</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;below link might be use full for u..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/thread/733968"&gt;http://scn.sap.com/thread/733968&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;SIva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 07:06:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/meaning-of-the-code-call-rfccontrol-id-code-field/m-p/9983509#M1802322</guid>
      <dc:creator>sivaprasad_paruchuri</dc:creator>
      <dc:date>2014-01-22T07:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of the code call 'RFCControl' id 'CODE' field '?'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/meaning-of-the-code-call-rfccontrol-id-code-field/m-p/9983510#M1802323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually this is a standard code in the Smartform function module, where the above code is getting called and it is returning sy-subrc as '0' when i'm calling from SAP, but when i'm calling from webservice it is returning SY-SUBRC as&amp;nbsp; '1'. Infact the comment that is there in the standard code is &lt;SPAN style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;* GUI connection enabled?. So, now can you explain me what exactly the meaning of this code. Below is the code written in standard. I am not getting print when i am calling from webservice, but the print is coming when i am calling from SAP. So, can you explain me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;* GUI connection enabled?&lt;BR /&gt;&amp;nbsp;&amp;nbsp; call 'RFCControl' id 'CODE' field '?'. "#EC CI_CCALL&lt;BR /&gt;&amp;nbsp;&amp;nbsp; check sy-subrc = 0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;* ok&lt;BR /&gt;&amp;nbsp;&amp;nbsp; p_gui_connection = c_true.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif'; color: black;"&gt;Rajesh.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 07:08:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/meaning-of-the-code-call-rfccontrol-id-code-field/m-p/9983510#M1802323</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-22T07:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of the code call 'RFCControl' id 'CODE' field '?'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/meaning-of-the-code-call-rfccontrol-id-code-field/m-p/9983511#M1802324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Siva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've gone through your link, how to check with this GUI, because that piece of code is checking whether GUI is enabled or not? So, where i have to check this whether GUI is enabled or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rajesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 07:14:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/meaning-of-the-code-call-rfccontrol-id-code-field/m-p/9983511#M1802324</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-22T07:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Meaning of the code call 'RFCControl' id 'CODE' field '?'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/meaning-of-the-code-call-rfccontrol-id-code-field/m-p/9983512#M1802325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Upto my understanding , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenever we create a smartform it will create Function Module.So We can call the FM in the driver program for calling the smartform...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Funtional Module having two type ,.. ie.. Normal FM and Remote functional call enabled ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Ordinary FM which will not support for getting datas from other services... where RFC enabled FM will take the data from Other services...and BAPI also there...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in ur standard program it is checking whether it is Remote enable FM , so it fails so it giving subrc as 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FM genetated in the standard is Normal Functional module not RFC enabled...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto T.Code ----&amp;gt; SMARTFORMS---&amp;gt;Give Smartform Name----&amp;gt;execute or press F8----&amp;gt;it will show Functional module name----&amp;gt;press Display---&amp;gt;click attributes Tab---&amp;gt;there u will see radio button whether it is normal or RFC enabled...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope this answer will be ok for you...&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;&lt;/P&gt;&lt;P&gt;Vijay SR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 07:36:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/meaning-of-the-code-call-rfccontrol-id-code-field/m-p/9983512#M1802325</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-22T07:36:40Z</dc:date>
    </item>
  </channel>
</rss>

