<?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: How to export values to a user defined function in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141041#M1513503</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandra,&lt;/P&gt;&lt;P&gt;Thanx for ur reply.&lt;/P&gt;&lt;P&gt;Earlier I was using RFC enabled function module for sending the mail under FUNCTION EXIT_SAPMIWO0_020 and the mail was getting delivered instantly.But I was not getting Notification number in this exit.So I tried BAdi.&lt;/P&gt;&lt;P&gt;Here also I am using COMMIT WORK before&lt;/P&gt;&lt;P&gt;SUBMIT rsconn01 WITH mode = 'INT' AND RETURN.&lt;/P&gt;&lt;P&gt;Also the sent item of the mail in outlook is 50 minutes ahead of our system time&lt;/P&gt;&lt;P&gt;Is it the reason for a delay in mail delivery?&lt;/P&gt;&lt;P&gt;How to solve this scenario?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Aug 2010 09:30:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-04T09:30:34Z</dc:date>
    <item>
      <title>How to export values to a user defined function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141031#M1513493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;I want to create a function module under FUNCTION EXIT_SAPMIWO0_020.How to access these values into the called function?&lt;/P&gt;&lt;P&gt;I tried it using IMPORT parameters of the called function.But while debugging I am not getting these values.&lt;/P&gt;&lt;P&gt;Can any1 suggest a solution for this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Jul 2010 09:11:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141031#M1513493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-31T09:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to export values to a user defined function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141032#M1513494</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;Explain how you have defined the importing parameters in the called function module. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Jul 2010 09:28:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141032#M1513494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-31T09:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to export values to a user defined function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141033#M1513495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod,&lt;/P&gt;&lt;P&gt;I have declared the variable in my function as mentioned below.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I_VIQMEL TYPE VIQMEL&lt;/STRONG&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;Sam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Jul 2010 11:46:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141033#M1513495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-31T11:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to export values to a user defined function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141034#M1513496</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;Can you share the code which is used to call the Function module ?&lt;/P&gt;&lt;P&gt;Alternatively, why you need the function module ? Already an include "zxqqmu20" is there in this Enhancement Component.  I think you can write the required code within this include.  The structure available in EXIT_SAPMIWO0_020 will be available in "zxqqmu20" also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vinod Kumar on Jul 31, 2010 5:24 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Jul 2010 11:54:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141034#M1513496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-31T11:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to export values to a user defined function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141035#M1513497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod,&lt;/P&gt;&lt;P&gt;My actual requirement is to send an outlook mail to the user along with the notification number.I am using a function which has Remote enable(RFC) module since there is a commit statement inside this function.I called the above function module under include &lt;STRONG&gt;ZXQQMU20&lt;/STRONG&gt; as follows&lt;/P&gt;&lt;P&gt;*CALL FUNCTION 'ZFUN_NAME'&lt;/P&gt;&lt;P&gt;   STARTING NEW TASK 'ZML'.*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For sending mail&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method send_request-&amp;gt;send.&lt;/P&gt;&lt;P&gt;      COMMIT WORK.&lt;/P&gt;&lt;P&gt;      SUBMIT rsconn01 WITH mode = 'INT' AND RETURN.&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;Sam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sam24 on Jul 31, 2010 2:26 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Jul 2010 12:12:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141035#M1513497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-31T12:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to export values to a user defined function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141036#M1513498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod,&lt;/P&gt;&lt;P&gt;As per ur suggestion I added my code in include &lt;STRONG&gt;zxqqmu20&lt;/STRONG&gt; and removed COMMIT WORK statement.Now I am able to send the mail but it is taking some time(5-6 min) to get delivered.Can we send the notification instantly without using COMMIT WORK.By using COMMIT WORK I am getting an error message.&lt;/P&gt;&lt;P&gt;Pls resolve this problem ASAP.&lt;/P&gt;&lt;P&gt;can it be resolved. by using any BADI's?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sam24 on Aug 1, 2010 9:32 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Aug 2010 07:28:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141036#M1513498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-01T07:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to export values to a user defined function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141037#M1513499</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;I don't think the delay is anything related to the COMMIT statement.  Check the other setttings related to the relay of mails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Aug 2010 08:48:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141037#M1513499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-01T08:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to export values to a user defined function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141038#M1513500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod,&lt;/P&gt;&lt;P&gt;While capturing Notification number using zxqqmu20 I am not getting the notification number since this number is generated after save and i am using the exit before saving.&lt;/P&gt;&lt;P&gt;If i want to capture this number which user exit i have to use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Aug 2010 20:06:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141038#M1513500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-01T20:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to export values to a user defined function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141039#M1513501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod,&lt;/P&gt;&lt;P&gt;After sending mail if I click on Start send process using SCOT Tcode,the mail is getting delivered instantly.Otherwise it is taking few minutes to deliver to users outlook.Also the sent item of the mail in outlook is 50 minutes ahead of our system time.Pls suggest a solution for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used BAdi NOTIF_EVENT_SAVE instead of user exit so that i can capture notification number while saving the data.&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;Sam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sam24 on Aug 4, 2010 7:11 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Aug 2010 20:14:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141039#M1513501</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-02T20:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to export values to a user defined function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141040#M1513502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In their official documentation (sap library), SAP recommends to send mails every X minutes (report RSCONN01 as a background job) if there are many mails sent from SAP system. So, ask your administrator if you can send mails immediately or not. Or maybe he'll agree to reduce the interval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your administrator agrees to send mails yourself, then you can submit RSCONN01 yourself (where you placed it, it makes no sense as there is no commit work done yet). Do it after the COMMIT WORK of the standard transaction, by calling it using tRFC in your user exit: CALL FUNCTION 'Z...' IN BACKGROUND JOB, and add AS SEPARATE UNIT so that to not interfere with other possible tRFC calls. Note: tRFC function modules are called asynchronously at the end of the COMMIT WORK.&lt;/P&gt;&lt;P&gt;I recommend that you always use a Z... function module to call RSCONN01, and never call RSCONN01 directly, so that the maintenance is easier if the administrator decides to prevent custom programs from sending mails immediately.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 08:29:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141040#M1513502</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2010-08-04T08:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to export values to a user defined function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141041#M1513503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandra,&lt;/P&gt;&lt;P&gt;Thanx for ur reply.&lt;/P&gt;&lt;P&gt;Earlier I was using RFC enabled function module for sending the mail under FUNCTION EXIT_SAPMIWO0_020 and the mail was getting delivered instantly.But I was not getting Notification number in this exit.So I tried BAdi.&lt;/P&gt;&lt;P&gt;Here also I am using COMMIT WORK before&lt;/P&gt;&lt;P&gt;SUBMIT rsconn01 WITH mode = 'INT' AND RETURN.&lt;/P&gt;&lt;P&gt;Also the sent item of the mail in outlook is 50 minutes ahead of our system time&lt;/P&gt;&lt;P&gt;Is it the reason for a delay in mail delivery?&lt;/P&gt;&lt;P&gt;How to solve this scenario?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 09:30:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141041#M1513503</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-04T09:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to export values to a user defined function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141042#M1513504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good explanation on RSCONN01. As usual you keep enlightening me &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 09:43:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141042#M1513504</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-08-04T09:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to export values to a user defined function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141043#M1513505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; Earlier I was using RFC enabled function module for sending the mail under FUNCTION EXIT_SAPMIWO0_020&lt;/P&gt;&lt;P&gt;You were using aRFC (starting new task: it starts immediately and asynchronously), not tRFC (transactional RFC: it starts only at the end of COMMIT WORK).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; and the mail was getting delivered instantly.&lt;/P&gt;&lt;P&gt;It was only because you were using RSCONN01 (preceded by commit of course), not because of the aRFC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Here also I am using COMMIT WORK before&lt;/P&gt;&lt;P&gt;&amp;gt; SUBMIT rsconn01 WITH mode = 'INT' AND RETURN.&lt;/P&gt;&lt;P&gt;Well that's very strange it doesn't send the mail immediately! (see my answer below)&lt;/P&gt;&lt;P&gt;Note that it is dangerous (for many reasons I don't need to explain here) to run COMMIT WORK, SUBMIT, and a few other statements, in a BAdI, especially when it's at save time. Prefer to use tRFC as I said (and not the aRFC).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Also the sent item of the mail in outlook is 50 minutes ahead of our system time&lt;/P&gt;&lt;P&gt;&amp;gt; Is it the reason for a delay in mail delivery?&lt;/P&gt;&lt;P&gt;As you call RSCONN01, the delay can only come from something external to SAP. Check the logs in SCOT, to make sure SAP has sent the mail immediately. In the mail you receive, look at the MIME information in the header of the mail, to check the times at which the mail is transferred from a server to another. Ask your administrator to help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 10:37:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141043#M1513505</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2010-08-04T10:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to export values to a user defined function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141044#M1513506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandra,&lt;/P&gt;&lt;P&gt;Thanx alot for ur valuable reply.I checked in &lt;STRONG&gt;SCOT&lt;/STRONG&gt; and found that Scheduled Period for Active and Scheduled Send jobs is set as 10 min.I changed this time period as 1 min and now the mail is getting delivered after each minute.&lt;/P&gt;&lt;P&gt;You suggested not to use &lt;STRONG&gt;COMMIT&lt;/STRONG&gt; and &lt;STRONG&gt;SUBMIT RSCONN01 WITH MODE EQ ' INT ' AND RETURN&lt;/STRONG&gt; IN BAdi.&lt;/P&gt;&lt;P&gt;I tried to call this code in an RFC enabled function module.But the value is not getting exported to this function even after declaring the variable in &lt;STRONG&gt;IMPORT&lt;/STRONG&gt; section of this function.&lt;/P&gt;&lt;P&gt;Can u pls help me to retrieve notification number generated in this BAdi to the function module.&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;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Aug 2010 08:13:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141044#M1513506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-05T08:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to export values to a user defined function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141045#M1513507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; I tried to call this code in an RFC enabled function module.But the value is not getting exported to this function even after declaring the variable in &lt;STRONG&gt;IMPORT&lt;/STRONG&gt; section of this function.&lt;/P&gt;&lt;P&gt;&amp;gt; Can u pls help me to retrieve notification number generated in this BAdi to the function module.&lt;/P&gt;&lt;P&gt;There should be no issue with import parameters (just make sure they are typed identically), I never saw any problem with that. How do you know that the value is not transferred? (Could you also paste your code?) Thx!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Aug 2010 09:34:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141045#M1513507</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2010-08-05T09:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to export values to a user defined function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141046#M1513508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.Make sure your RFC is active and the check box "pass value" is valid.&lt;/P&gt;&lt;P&gt;2.try to call your RFC synchro,see if the import parameter is also blank.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Aug 2010 10:55:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141046#M1513508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-05T10:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to export values to a user defined function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141047#M1513509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandra,&lt;/P&gt;&lt;P&gt;Under method &lt;STRONG&gt;IF_EX_NOTIF_EVENT_SAVE~CHANGE_DATA_AT_SAVE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am calling RFC enabled function module as follow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'ZFUN_NAME'&lt;/P&gt;&lt;P&gt;   STARTING NEW TASK 'ZMAIL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In function ZFUN_NAME,Under IMPORT tab I defined the parameter CS_VIQMEL type VIQMEL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In source code, I am accessing the value of VIQMEL to a variable as mentioned below&lt;/P&gt;&lt;P&gt;Variable = CS_VIQMEL-QMNUM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I am debugging the code,CS_VIQMEL-QMNUM is displaying blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls look into the above code and give me a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 15:37:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141047#M1513509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-06T15:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to export values to a user defined function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141048#M1513510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; CALL FUNCTION 'ZFUN_NAME'&lt;/P&gt;&lt;P&gt;&amp;gt;    STARTING NEW TASK 'ZMAIL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Could you tell me why you still use asynchronous RFC? (instead of transactional RFC as I suggested) Maybe you didn't understand the concepts behind all that, so if asynchronous works for you, then very good. I advise you to read the SAP LUW concept and CALL FUNCTION and RFC documentations, so that you can benefit from the explanations given earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Don't tell me that you called the function module without &lt;STRONG&gt;EXPORTING cs_viqmel = cs_viqmel&lt;/STRONG&gt; (how do you think the parameter can be passed if you don't pass it! Programming is not kind of magic &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 15:55:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141048#M1513510</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2010-08-06T15:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to export values to a user defined function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141049#M1513511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sandra,&lt;/P&gt;&lt;P&gt;My problem is resolved now.&lt;/P&gt;&lt;P&gt;Actually I was not using EXPORTING cs_viqmel = cs_viqmel after function call.&lt;/P&gt;&lt;P&gt;I am using BAdi's for the first time.&lt;/P&gt;&lt;P&gt;thanx alot for ur valuable inputs.&lt;/P&gt;&lt;P&gt;Very very thankful to u.&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;Sam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 16:33:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-export-values-to-a-user-defined-function/m-p/7141049#M1513511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-06T16:33:27Z</dc:date>
    </item>
  </channel>
</rss>

