Application Development 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: 

FM in BACKGROUND TASK AS SEPARATE UNIT

Former Member
0 Kudos

Hi !

I am currently calling a Function Module with the addition of 'BACKGROUND TASK AS SEPARATE UNIT' inside a BADI Implementation. Inside the FM is a call to a BAPI. However, when the system passes through this, it appears that the BAPI does not do the update. When I call the FM without these additions, the BAPI successfully does the update.

I also tried adding a BAPI commit after the BAPI call but it still does not work. When calling the FM normally, it works even without the BAPI commit.

Do I need to consider other things when using the addition 'BACKGROUND TASK AS SEPARATE UNIT' ?

Thank you.

2 REPLIES 2

Former Member
0 Kudos

Hi DWade,

try to use the key word SET UPDATE TASK LOCAL in your FM before updating.

hope it works.

Regards!

0 Kudos

Thanks for the post. Unfortunately, it did not work for my FM .