<?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: Simple custom rfc in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-custom-rfc/m-p/2579203#M589684</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 are getting that error because of your Function Group is inactive.&lt;/P&gt;&lt;P&gt;Goto SE80 enter your function group name press enter then u will get 2 includes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LZname_of_the_function_groupTOP&lt;/P&gt;&lt;P&gt;LZname_of_the_fuction_groupUXX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right click on each include and activate it and the Run Your RFC sure it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward point if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ANEES AHMED&lt;/P&gt;&lt;P&gt;9886358645&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Aug 2007 10:43:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-03T10:43:21Z</dc:date>
    <item>
      <title>Simple custom rfc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-custom-rfc/m-p/2579196#M589677</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;Juz want to try  a simple rfc for example to add 2 numbers.&lt;/P&gt;&lt;P&gt;res = a + b.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know import paramters will be a ,b. Export parameter res. In the source code &lt;/P&gt;&lt;P&gt;res = a + b. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save and activate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am i missing any step &amp;gt;? Urgently needed for custom rfc developement. &lt;/P&gt;&lt;P&gt;Any blogs available to try examples..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Cheers,&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;RAJ&lt;/STRONG&gt;*&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2007 10:22:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-custom-rfc/m-p/2579196#M589677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-03T10:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Simple custom rfc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-custom-rfc/m-p/2579197#M589678</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;&lt;/P&gt;&lt;P&gt;Did u check RFC enabled in the attributes of the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;sankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2007 10:24:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-custom-rfc/m-p/2579197#M589678</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-03T10:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Simple custom rfc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-custom-rfc/m-p/2579198#M589679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yeah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2007 10:27:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-custom-rfc/m-p/2579198#M589679</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-03T10:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Simple custom rfc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-custom-rfc/m-p/2579199#M589680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Error -&amp;gt; 		&lt;/P&gt;&lt;P&gt;Program SAPLZTESTGRP	2&lt;/P&gt;&lt;P&gt;REPORT/PROGRAM statement missing, or program type is I (INCLUDE).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2007 10:28:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-custom-rfc/m-p/2579199#M589680</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-03T10:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Simple custom rfc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-custom-rfc/m-p/2579200#M589681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;While creating function module in SE37 Go to Attributes tab, Select Remote-enabled module as Processing type . &lt;/P&gt;&lt;P&gt;Also mark import and export parameters as "Pass By Value" by selecting the check box available for each import/export parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this error Try to activate the function module + the function group. Go to Se80 and activate the function group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Geogy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2007 10:31:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-custom-rfc/m-p/2579200#M589681</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-03T10:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Simple custom rfc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-custom-rfc/m-p/2579201#M589682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SOURCE CODE  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION ZTE.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local Interface:&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(A) TYPE  INT4&lt;/P&gt;&lt;P&gt;*"     VALUE(B) TYPE  INT4&lt;/P&gt;&lt;P&gt;*"  EXPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(RES) TYPE  INT4&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;RES = A + B.&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any step missing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2007 10:31:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-custom-rfc/m-p/2579201#M589682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-03T10:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Simple custom rfc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-custom-rfc/m-p/2579202#M589683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Geogy done those steps before posting the tread itself ain't working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2007 10:37:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-custom-rfc/m-p/2579202#M589683</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-03T10:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: Simple custom rfc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-custom-rfc/m-p/2579203#M589684</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 are getting that error because of your Function Group is inactive.&lt;/P&gt;&lt;P&gt;Goto SE80 enter your function group name press enter then u will get 2 includes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LZname_of_the_function_groupTOP&lt;/P&gt;&lt;P&gt;LZname_of_the_fuction_groupUXX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right click on each include and activate it and the Run Your RFC sure it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward point if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ANEES AHMED&lt;/P&gt;&lt;P&gt;9886358645&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2007 10:43:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-custom-rfc/m-p/2579203#M589684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-03T10:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Simple custom rfc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-custom-rfc/m-p/2579204#M589685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks dude done &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt; 4got the steps long time back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Juz in case suppose if have to insert the data in the a custom Ztable through rfc then what will be import, export parameters and the source code &amp;gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Cheers,&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;RAJ&lt;/STRONG&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;**Points already allocated 4 every one thanks again **&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2007 10:51:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-custom-rfc/m-p/2579204#M589685</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-03T10:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Simple custom rfc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-custom-rfc/m-p/2579205#M589686</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;If u tel ur requirment clearly then only i can help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;take the data in import parameters and then assing that parameters to table field than atlast use the insert statemet to insert the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example u have import parameter name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ur passing value to the name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In progam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function ztest.&lt;/P&gt;&lt;P&gt;export&lt;/P&gt;&lt;P&gt;name = ' john'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In function module source code&lt;/P&gt;&lt;P&gt;table decleration all that....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code&lt;/P&gt;&lt;P&gt;ztabel_name -field_name =  name  (import parameters)&lt;/P&gt;&lt;P&gt;ztabel_name -field_name =  if u have anyother parameters  (import parameters)&lt;/P&gt;&lt;P&gt;insert  ztabel_name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If helpfull reward point&lt;/P&gt;&lt;P&gt;Anees Ahmed &lt;/P&gt;&lt;P&gt;9886358645&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2007 11:08:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-custom-rfc/m-p/2579205#M589686</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-03T11:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Simple custom rfc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-custom-rfc/m-p/2579206#M589687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;K,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a custom client dependent table *ztab intially with some parameters. ex mandt, employee, customer, material.&lt;/P&gt;&lt;P&gt;Is there are need to  create structure.&lt;/P&gt;&lt;P&gt;Now need a rfc that can insert the data in to these feilds in r/3. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should i have to define import and export parmeters or use the table tab &amp;gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source code for inserting the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This rfc will further need to be developed as BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;RAJ&lt;/STRONG&gt;*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2007 11:17:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-custom-rfc/m-p/2579206#M589687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-03T11:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Simple custom rfc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-custom-rfc/m-p/2579207#M589688</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;Yes it is better to creat the structure with required field. &lt;/P&gt;&lt;P&gt;ZSTRCOMPTRACKSUMMARY     (is a structure)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Structure is required if ur using only few field of a single table or fields from diffrent tables)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use that structure in table parameters of  your RFC&lt;/P&gt;&lt;P&gt;CTDETAILS (Table parameters)    like ZSTRCOMPTRACKSUMMARY (is structure) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Through the program pass the values to table parametrs (table parameters work as import and export parameters)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then from that parameters update ur Ztable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls go through the code.&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION ZGET_COMPTRACK_SUMMARY_REPORT.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local Interface:&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(USERID) TYPE  ZUSERID&lt;/P&gt;&lt;P&gt;*"     VALUE(FROMDATE) TYPE  ZFROMDATE&lt;/P&gt;&lt;P&gt;*"     VALUE(TODATE) TYPE  ZTODATE&lt;/P&gt;&lt;P&gt;*"  TABLES&lt;/P&gt;&lt;P&gt;*"      CTDETAILS STRUCTURE  ZSTRCOMPTRACKSUMMARY&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;  DATA : BEGIN OF IT_COMPTRACKHEADER OCCURS 0,&lt;/P&gt;&lt;P&gt;          COMPTRACKDATE TYPE ZCOMPTRACKDATE,&lt;/P&gt;&lt;P&gt;          COMTRACKID TYPE ZCOMTRACKID,&lt;/P&gt;&lt;P&gt;          USERID TYPE ZUSERID,&lt;/P&gt;&lt;P&gt;          SMUID TYPE ZSMUID,&lt;/P&gt;&lt;P&gt;          BRANDID TYPE ZBRANDID,&lt;/P&gt;&lt;P&gt;         END OF IT_COMPTRACKHEADER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA:  IT_COMPTRACKDETAIL LIKE ZCOMPTRACKDETAIL OCCURS 0  WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*****************************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get COMTRACK Header details for the given user id and DCRDATE period&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*****************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT * FROM ZCOMPTRACKHEADER INTO CORRESPONDING FIELDS OF TABLE  IT_COMPTRACKHEADER&lt;/P&gt;&lt;P&gt;                     WHERE COMPTRACKDATE BETWEEN FROMDATE AND TODATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF IT_COMPTRACKHEADER[] IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SELECT * FROM ZCOMPTRACKDETAIL INTO TABLE IT_COMPTRACKDETAIL&lt;/P&gt;&lt;P&gt;                FOR ALL ENTRIES IN IT_COMPTRACKHEADER&lt;/P&gt;&lt;P&gt;                WHERE COMTRACKID = IT_COMPTRACKHEADER-COMTRACKID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SORT IT_COMPTRACKDETAIL BY COMTRACKID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT IT_COMPTRACKDETAIL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      READ TABLE IT_COMPTRACKHEADER WITH KEY COMTRACKID = IT_COMPTRACKDETAIL-COMTRACKID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      SELECT SINGLE  BRANDFULLNAME FROM ZBRANDMASTER INTO CTDETAILS-BRAND WHERE BRANDID = IT_COMPTRACKHEADER-BRANDID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      SELECT SINGLE COMPCATSHORTNAME FROM  ZCOMPCATMASTER INTO CTDETAILS-CATEGORY&lt;/P&gt;&lt;P&gt;      WHERE COMPCATEGORYID = IT_COMPTRACKDETAIL-COMPCATEGORYID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;******************************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get SMU Name from the ID  *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;******************************************************************************&lt;/P&gt;&lt;P&gt;      SELECT SINGLE STEXT FROM HRP1000 INTO CTDETAILS-ORGUNIT&lt;/P&gt;&lt;P&gt;              WHERE OBJID = IT_COMPTRACKHEADER-SMUID&lt;/P&gt;&lt;P&gt;                AND OTYPE EQ 'O'&lt;/P&gt;&lt;P&gt;                AND PLVAR EQ '01'&lt;/P&gt;&lt;P&gt;                AND BEGDA LE SY-DATUM&lt;/P&gt;&lt;P&gt;                AND ENDDA GE SY-DATUM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*****************************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Append details to the CTDETAILS structure&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*****************************************************************************&lt;/P&gt;&lt;P&gt;      CTDETAILS-COMPTRACKDATE = IT_COMPTRACKHEADER-COMPTRACKDATE.&lt;/P&gt;&lt;P&gt;      CTDETAILS-COMTRACKID = IT_COMPTRACKHEADER-COMTRACKID.&lt;/P&gt;&lt;P&gt;      CTDETAILS-USERID = IT_COMPTRACKHEADER-USERID.&lt;/P&gt;&lt;P&gt;      CTDETAILS-REMARKS = IT_COMPTRACKDETAIL-REMARKS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      APPEND CTDETAILS.&lt;/P&gt;&lt;P&gt;      CLEAR CTDETAILS.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SORT CTDETAILS BY BRAND CATEGORY.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if usefull.&lt;/P&gt;&lt;P&gt;Anees Ahmed&lt;/P&gt;&lt;P&gt;9886358645&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2007 11:48:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-custom-rfc/m-p/2579207#M589688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-03T11:48:16Z</dc:date>
    </item>
  </channel>
</rss>

