<?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: CALL FUNCTION func STARTING NEW TASK task in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-func-starting-new-task-task/m-p/2224463#M477891</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It says error while executing async rfc with rfcdestination&lt;/P&gt;&lt;P&gt; this is the way i am using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'FUNCTION MODULE NAME' STARTING NEW TASK 'TEST'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DESTINATION 'RFCDESTINATION'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 May 2007 16:58:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-01T16:58:34Z</dc:date>
    <item>
      <title>CALL FUNCTION func STARTING NEW TASK task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-func-starting-new-task-task/m-p/2224461#M477889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i developed rfc to extract data and send to xi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as my interface is Async&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as per soem documents it was mentioned the syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION func STARTING NEW TASK task &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wat is the task ? in the syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and how do i use it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 16:50:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-func-starting-new-task-task/m-p/2224461#M477889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T16:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: CALL FUNCTION func STARTING NEW TASK task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-func-starting-new-task-task/m-p/2224462#M477890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It must be a valid string of at least 2 characters, preferably fewer than 8 characters. You cannot use either ' ' or SPACE as tasknames. the following is valid..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION func STARTING NEW TASK  'TEST'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 16:55:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-func-starting-new-task-task/m-p/2224462#M477890</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-05-01T16:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: CALL FUNCTION func STARTING NEW TASK task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-func-starting-new-task-task/m-p/2224463#M477891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It says error while executing async rfc with rfcdestination&lt;/P&gt;&lt;P&gt; this is the way i am using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'FUNCTION MODULE NAME' STARTING NEW TASK 'TEST'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    DESTINATION 'RFCDESTINATION'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 16:58:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-func-starting-new-task-task/m-p/2224463#M477891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T16:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: CALL FUNCTION func STARTING NEW TASK task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-func-starting-new-task-task/m-p/2224464#M477892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the error? Did you maintain the Rfc destination via SM59? pl paste your code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 17:12:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-func-starting-new-task-task/m-p/2224464#M477892</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-05-01T17:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: CALL FUNCTION func STARTING NEW TASK task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-func-starting-new-task-task/m-p/2224465#M477893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi suresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is the code of  RFC. if i execute without RFCDESTINATION it executes successfully. when i use RFC DESTINATION it shows error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i created RFC destination using TCP/IP and registered program. same parameters i am mentioning in XI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION z_bank_reconciliation.&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(COMP_CODE) TYPE  BUKRS&lt;/P&gt;&lt;P&gt;*"     VALUE(HOUSE_BANK) TYPE  HBKID&lt;/P&gt;&lt;P&gt;*"     VALUE(ACCOUNT_ID) TYPE  HKTID&lt;/P&gt;&lt;P&gt;*"  TABLES&lt;/P&gt;&lt;P&gt;*"      CHQDETAILS STRUCTURE  ZPAYR&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: itab LIKE payr OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;  DATA: jtab LIKE payr OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;  DATA: it_bank LIKE zbankrecon OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;  DATA: it_bank1 LIKE zpayr OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  TYPES :  BEGIN OF ty_bseg ,&lt;/P&gt;&lt;P&gt;             bukrs LIKE bseg-bukrs,&lt;/P&gt;&lt;P&gt;             hbkid LIKE bseg-hbkid,&lt;/P&gt;&lt;P&gt;             belnr LIKE bseg-belnr,&lt;/P&gt;&lt;P&gt;             zlsch LIKE bseg-zlsch,&lt;/P&gt;&lt;P&gt;             kostl LIKE bseg-kostl,&lt;/P&gt;&lt;P&gt;             hkont LIKE bseg-hkont,&lt;/P&gt;&lt;P&gt;             bzdat LIKE bseg-bzdat,&lt;/P&gt;&lt;P&gt;         END OF ty_bseg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  TYPES : BEGIN OF ty_t012 ,&lt;/P&gt;&lt;P&gt;              bukrs  LIKE t012-bukrs,&lt;/P&gt;&lt;P&gt;              bankl  LIKE t012-bankl,&lt;/P&gt;&lt;P&gt;              bankn  LIKE t012k-bankn,&lt;/P&gt;&lt;P&gt;         END OF ty_t012.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  TABLES : payr, t012, t012k, bseg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA : itpayr LIKE zpayr OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;         itt012 TYPE STANDARD TABLE OF ty_t012,&lt;/P&gt;&lt;P&gt;         itbseg TYPE STANDARD TABLE OF ty_bseg,&lt;/P&gt;&lt;P&gt;         wa_itt012 TYPE  ty_t012,&lt;/P&gt;&lt;P&gt;         wa_itbseg TYPE  ty_bseg,&lt;/P&gt;&lt;P&gt;         total TYPE n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT * FROM zbankrecon INTO TABLE it_bank&lt;/P&gt;&lt;P&gt;                   FOR ALL ENTRIES IN itab&lt;/P&gt;&lt;P&gt;                   WHERE chequeno EQ itab-chect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT  a&lt;SUB&gt;bukrs a&lt;/SUB&gt;bankl b~bankn&lt;/P&gt;&lt;P&gt;              INTO CORRESPONDING FIELDS OF TABLE&lt;/P&gt;&lt;P&gt;              itt012 FROM t012 AS a&lt;/P&gt;&lt;P&gt;      INNER JOIN t012k  AS b ON b&lt;SUB&gt;bukrs = a&lt;/SUB&gt;bukrs AND b~hbkid =&lt;/P&gt;&lt;P&gt;house_bank AND b~hktid = account_id&lt;/P&gt;&lt;P&gt;            WHERE a&lt;SUB&gt;bukrs = comp_code AND a&lt;/SUB&gt;hbkid = house_bank.&lt;/P&gt;&lt;P&gt;  DELETE ADJACENT DUPLICATES FROM itt012.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT  zbukr  hbkid hktid vblnr gjahr zaldt checf chect  znme1 rwbtr&lt;/P&gt;&lt;P&gt;  waers zaldt zbnkl FROM payr INTO CORRESPONDING FIELDS OF TABLE itpayr&lt;/P&gt;&lt;P&gt;    WHERE  ( zbukr = comp_code AND hbkid = house_bank ) AND hktid =&lt;/P&gt;&lt;P&gt;    account_id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT bukrs hbkid belnr zlsch kostl hkont bzdat  FROM bseg INTO TABLE&lt;/P&gt;&lt;P&gt;itbseg&lt;/P&gt;&lt;P&gt;  WHERE bukrs = comp_code AND hbkid = house_bank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SORT  itt012 BY bankl.&lt;/P&gt;&lt;P&gt;  SORT itbseg BY belnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  READ TABLE itt012 INTO wa_itt012 INDEX 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT itpayr.&lt;/P&gt;&lt;P&gt;    read table itbseg into wa_itbseg with key bukrs = itpayr-zbukr&lt;/P&gt;&lt;P&gt; hbkid =  itpayr-hbkid.&lt;/P&gt;&lt;P&gt;    if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      itpayr-kostl = wa_itbseg-kostl.&lt;/P&gt;&lt;P&gt;      itpayr-hkont = wa_itbseg-hkont.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     itpayr-bldat = wa_itbseg-bzdat.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      itpayr-zlsch = wa_itbseg-zlsch.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;    itpayr-zbnkl = wa_itt012-bankl.&lt;/P&gt;&lt;P&gt;    itpayr-zbnkn = wa_itt012-bankn.&lt;/P&gt;&lt;P&gt;    MODIFY itpayr.&lt;/P&gt;&lt;P&gt;    APPEND itpayr TO chqdetails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT chqdetails.&lt;/P&gt;&lt;P&gt;    READ TABLE it_bank WITH KEY chequeno = chqdetails-chect.&lt;/P&gt;&lt;P&gt;    IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;      MOVE chqdetails TO it_bank1.&lt;/P&gt;&lt;P&gt;      APPEND it_bank1.&lt;/P&gt;&lt;P&gt;      CLEAR it_bank1.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  REFRESH chqdetails.&lt;/P&gt;&lt;P&gt;  chqdetails[] = it_bank1[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT it_bank1.&lt;/P&gt;&lt;P&gt;    MOVE : it_bank1-chect TO zbankrecon-chequeno,&lt;/P&gt;&lt;P&gt;    sy-datum TO zbankrecon-check_date,&lt;/P&gt;&lt;P&gt;    sy-uzeit TO zbankrecon-check_time.&lt;/P&gt;&lt;P&gt;    INSERT zbankrecon.&lt;/P&gt;&lt;P&gt;    CLEAR zbankrecon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 17:16:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-func-starting-new-task-task/m-p/2224465#M477893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T17:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: CALL FUNCTION func STARTING NEW TASK task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-func-starting-new-task-task/m-p/2224466#M477894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The function  module z_bank_reconciliation should be available in the target system. Do you have the function module defined in the target system?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 17:44:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-func-starting-new-task-task/m-p/2224466#M477894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T17:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: CALL FUNCTION func STARTING NEW TASK task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-func-starting-new-task-task/m-p/2224467#M477895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Target system is XI not R3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r u sure we need to have this FM in target system?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 17:47:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-func-starting-new-task-task/m-p/2224467#M477895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T17:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: CALL FUNCTION func STARTING NEW TASK task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-func-starting-new-task-task/m-p/2224468#M477896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I got mixed up, so you are calling the RFC from XI and your function module's attribute is set to 'Remotely Executable'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 17:59:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-function-func-starting-new-task-task/m-p/2224468#M477896</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T17:59:59Z</dc:date>
    </item>
  </channel>
</rss>

