<?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 Back ground task function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/back-ground-task-function-module/m-p/5153776#M1194047</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am stuck with one problem. Below function module is being called in back ground task in one of the badi implementation for SAPMV45A (VA01). I have to do some many pulation inside this function module for which i require fvbak structure values but as it is a standard function module we can not pass that structure to this FM directly. I tried with import export, set/get parameter, external perform. this are not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone suggest any solution for the said problem. I just want fvbak values inside the below FM.&lt;/P&gt;&lt;P&gt;Can we debug this function module in any manner?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; METHOD if_ex_badi_sd_sales~save_document.

 IF fvbak-lifsk IS INITIAL.

CALL FUNCTION '/RTW2/CD_POST_DOWN_PAYMENT' IN BACKGROUND TASK
      EXPORTING
        iv_docnr = fvbak-vbeln
      TABLES
        it_xfplt = fxfplt
        it_vbap  = fxvbap                                   "#EC ENHOK
        it_komv  = fxkomv.                                  "#EC ENHOK

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Vikash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: VIKASH GUPTA on Jan 30, 2009 1:21 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Jan 2009 12:21:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-30T12:21:32Z</dc:date>
    <item>
      <title>Back ground task function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/back-ground-task-function-module/m-p/5153776#M1194047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am stuck with one problem. Below function module is being called in back ground task in one of the badi implementation for SAPMV45A (VA01). I have to do some many pulation inside this function module for which i require fvbak structure values but as it is a standard function module we can not pass that structure to this FM directly. I tried with import export, set/get parameter, external perform. this are not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone suggest any solution for the said problem. I just want fvbak values inside the below FM.&lt;/P&gt;&lt;P&gt;Can we debug this function module in any manner?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; METHOD if_ex_badi_sd_sales~save_document.

 IF fvbak-lifsk IS INITIAL.

CALL FUNCTION '/RTW2/CD_POST_DOWN_PAYMENT' IN BACKGROUND TASK
      EXPORTING
        iv_docnr = fvbak-vbeln
      TABLES
        it_xfplt = fxfplt
        it_vbap  = fxvbap                                   "#EC ENHOK
        it_komv  = fxkomv.                                  "#EC ENHOK

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Vikash.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: VIKASH GUPTA on Jan 30, 2009 1:21 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 12:21:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/back-ground-task-function-module/m-p/5153776#M1194047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-30T12:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Back ground task function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/back-ground-task-function-module/m-p/5153777#M1194048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I could find the solution for the issue by my own.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2009 08:11:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/back-ground-task-function-module/m-p/5153777#M1194048</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-28T08:11:45Z</dc:date>
    </item>
  </channel>
</rss>

