Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Back ground task function module

Former Member
0 Likes
389

Hello Everyone,

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.

Can anyone suggest any solution for the said problem. I just want fvbak values inside the below FM.

Can we debug this function module in any manner?

 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

Thanks in advance,

Vikash.

Edited by: VIKASH GUPTA on Jan 30, 2009 1:21 PM

1 REPLY 1
Read only

Former Member
0 Likes
306

I could find the solution for the issue by my own.