<?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 Get a RFC Code via a RFC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-a-rfc-code-via-a-rfc/m-p/2626253#M603478</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'd like to make a documentator of RFC, with a special format for my company. I'm using the RFCs: RFC_FUNCTION_SEARCH, RFC_GET_FUNCTION_INTERFACE.&lt;/P&gt;&lt;P&gt;But I have to get 2 things important for the project:&lt;/P&gt;&lt;P&gt;- The code of a RFC&lt;/P&gt;&lt;P&gt;- The information of (CreatedBy, CreateDate, ModifyBy, ModifyDate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any body say me, how can I get this information?&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;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Aug 2007 12:47:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-01T12:47:21Z</dc:date>
    <item>
      <title>Get a RFC Code via a RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-a-rfc-code-via-a-rfc/m-p/2626253#M603478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'd like to make a documentator of RFC, with a special format for my company. I'm using the RFCs: RFC_FUNCTION_SEARCH, RFC_GET_FUNCTION_INTERFACE.&lt;/P&gt;&lt;P&gt;But I have to get 2 things important for the project:&lt;/P&gt;&lt;P&gt;- The code of a RFC&lt;/P&gt;&lt;P&gt;- The information of (CreatedBy, CreateDate, ModifyBy, ModifyDate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any body say me, how can I get this information?&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;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 12:47:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-a-rfc-code-via-a-rfc/m-p/2626253#M603478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T12:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Get a RFC Code via a RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-a-rfc-code-via-a-rfc/m-p/2626254#M603479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Martin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just refer to the link below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapmaterial.com/?gclid=CN322K28t4sCFQ-WbgodSGbK2g" target="test_blank"&gt;http://www.sapmaterial.com/?gclid=CN322K28t4sCFQ-WbgodSGbK2g&lt;/A&gt;    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this link will help u some or the other way. pleasae go through it once.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;ravish&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;plz dont forget to reward points if helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 13:00:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-a-rfc-code-via-a-rfc/m-p/2626254#M603479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T13:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Get a RFC Code via a RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-a-rfc-code-via-a-rfc/m-p/2626255#M603480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAP XI&lt;/P&gt;&lt;P&gt;1) RFC Destination (SM59) &lt;/P&gt;&lt;P&gt;a) Choose create.&lt;/P&gt;&lt;P&gt;b) Specify the name of the RFC destination&lt;/P&gt;&lt;P&gt;c) Select connection type as 3 and save&lt;/P&gt;&lt;P&gt;d) In the technical settings tab enter the details SAP SID/URL and system number#.&lt;/P&gt;&lt;P&gt;e) Enter the Gateway host as same details above SID/URL.&lt;/P&gt;&lt;P&gt;f) Gateway service is 3300+system number#.&lt;/P&gt;&lt;P&gt;g) In the Logon /Security tab, enter the client user &amp;amp; Password details of Destination system.&lt;/P&gt;&lt;P&gt;h) Test the connection and remote logon.&lt;/P&gt;&lt;P&gt;2) Create Port (IDX1) &lt;/P&gt;&lt;P&gt;a) Select create new button&lt;/P&gt;&lt;P&gt;b) Enter the port name as SAP+SID (The starting char should be SAP)&lt;/P&gt;&lt;P&gt;c) Enter the destination client.&lt;/P&gt;&lt;P&gt;d) Enter the RFC Destination created in SAP R/3 towards other system.&lt;/P&gt;&lt;P&gt;e) Save&lt;/P&gt;&lt;P&gt;3) Load Meta Data for IDOC (IDX2)&lt;/P&gt;&lt;P&gt;a) Create new&lt;/P&gt;&lt;P&gt;b) IDOC Message Type&lt;/P&gt;&lt;P&gt;c) Enter port created in IDX1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP R/3&lt;/P&gt;&lt;P&gt;1) RFC Destination (SM59) &lt;/P&gt;&lt;P&gt;a) Choose create.&lt;/P&gt;&lt;P&gt;b) Specify the name of the RFC destination&lt;/P&gt;&lt;P&gt;c) Select connection type as 3 and save&lt;/P&gt;&lt;P&gt;d) In the technical settings tab enter the details SAP SID/URL and system number#.&lt;/P&gt;&lt;P&gt;e) Enter the Gateway host as same details above SID/URL.&lt;/P&gt;&lt;P&gt;f) Gateway service is 3300+system number#.&lt;/P&gt;&lt;P&gt;g) In the Logon /Security tab, enter the client user &amp;amp; Password details of Destination system.&lt;/P&gt;&lt;P&gt;h) Test the connection and remote logon.&lt;/P&gt;&lt;P&gt;2) Create Port (We21)&lt;/P&gt;&lt;P&gt;a) First Select Transactional RFC and then click create button&lt;/P&gt;&lt;P&gt;b) Enter the destination port name as SAP+SID (The starting char should be SAP)&lt;/P&gt;&lt;P&gt;c) Enter the destination client.&lt;/P&gt;&lt;P&gt;d) Enter the RFC Destination created in SAP R/3 towards other system.&lt;/P&gt;&lt;P&gt;e) Save&lt;/P&gt;&lt;P&gt;3) Create Partner Profile (WE20)&lt;/P&gt;&lt;P&gt;a) Create New&lt;/P&gt;&lt;P&gt;b) Create the Partner no. name as same the logical system name of the destination system.&lt;/P&gt;&lt;P&gt;c) Select Partner type LS &lt;/P&gt;&lt;P&gt;d) Enter details for Type: US/USER, Agent, and Lang.&lt;/P&gt;&lt;P&gt;e) Click on the + button to select the message type.&lt;/P&gt;&lt;P&gt;f) Select Partner no. and LS which ever create above. &lt;/P&gt;&lt;P&gt;g) Select Message type&lt;/P&gt;&lt;P&gt;h) Select Process code related to the Message type.&lt;/P&gt;&lt;P&gt;I) save.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SLD &amp;#150; System Landscape Directory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.&lt;/P&gt;&lt;P&gt;Ts for Third Party (Logical system):-&lt;/P&gt;&lt;P&gt;BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.&lt;/P&gt;&lt;P&gt;BS for Third Party (Logical system):-Enter the XI logical system name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3780831"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="14632"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1359353"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 13:01:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-a-rfc-code-via-a-rfc/m-p/2626255#M603480</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T13:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Get a RFC Code via a RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-a-rfc-code-via-a-rfc/m-p/2626256#M603481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In order to get the information about the function , first you need to find out &lt;/P&gt;&lt;P&gt;the name of the program .&lt;/P&gt;&lt;P&gt;You have table TFDIR for that .&lt;/P&gt;&lt;P&gt;SELECT SINGLE PNAME&lt;/P&gt;&lt;P&gt;FROM TFDIR&lt;/P&gt;&lt;P&gt;WHERE FUNCNAME = your function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. For the attributes , you use table REPOSRC with the program from the previous select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. If you want to read the source code of a program ,  you can use the command &lt;/P&gt;&lt;P&gt;READ REPORT prog INTO itab .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 13:03:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-a-rfc-code-via-a-rfc/m-p/2626256#M603481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T13:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Get a RFC Code via a RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-a-rfc-code-via-a-rfc/m-p/2626257#M603482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MEREP_SBUILDER_GENFORMS08 is the program name which uses RFC_FUNCTION_SEARCH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RPR_CREATE_RESOURCE_FILES is the program name which uses RFC_GET_FUNCTION_INTERFACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And regarding the code of the RFC, you'll get it in the source code itself. &lt;/P&gt;&lt;P&gt;Goto SE37 and type RFC name and you have the source code......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the details of the user, GOTO main program and then check the ATTRIBUTES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpful to you.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 13:04:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-a-rfc-code-via-a-rfc/m-p/2626257#M603482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T13:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Get a RFC Code via a RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-a-rfc-code-via-a-rfc/m-p/2626258#M603483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me explain in a better way what I want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to consume a RFC to get the Code from another RFC.&lt;/P&gt;&lt;P&gt;I going to use "this RFC" to get the code from any RFC (not a program) from a Java Program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, do you know any RFC to get the code from another RFC?&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;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 14:51:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-a-rfc-code-via-a-rfc/m-p/2626258#M603483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T14:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Get a RFC Code via a RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-a-rfc-code-via-a-rfc/m-p/2626259#M603484</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 function RFC_GET_ATTRIBUTES will allow you to get attributes of your current RFC link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For all the RFC link, try /BDL/_GET_RFC_DESTINATIONS... It may works...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 15:02:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-a-rfc-code-via-a-rfc/m-p/2626259#M603484</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T15:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Get a RFC Code via a RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-a-rfc-code-via-a-rfc/m-p/2626260#M603485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin ,&lt;/P&gt;&lt;P&gt;If you have an ABAP Programmer in your site ,&lt;/P&gt;&lt;P&gt;You can have him write a simple RFC which gets an RFC name &lt;/P&gt;&lt;P&gt;and returns you all the data that you need by the instructions I gave you earlier .&lt;/P&gt;&lt;P&gt;I don't think it should take him very long ....&lt;/P&gt;&lt;P&gt;The only function I know that gets a program code is SCWB_GET_ABAP_CODE_OF_OBJECT&lt;/P&gt;&lt;P&gt;but it's not an RFC so anyway you will need an ABAP programmer that will&lt;/P&gt;&lt;P&gt;have to copy it to a ZSCWB_GET_ABAP_CODE_OF_OBJECT&lt;/P&gt;&lt;P&gt;so I think that the first suggestion is the better one .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2007 05:29:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-a-rfc-code-via-a-rfc/m-p/2626260#M603485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-02T05:29:52Z</dc:date>
    </item>
  </channel>
</rss>

