cancel
Showing results for 
Search instead for 
Did you mean: 

Call BAPI_COSTCENTER_GETDETAIL1 does not return data in background workflow task

ThienPHAM
Explorer
0 Kudos

Hello all,

We have the requirement to trigger an API call to transfer data to 3rd party system when there is a change for the cost center. We achieve this by adding the trigger event CHANGED to the custom BO and calling a standard task with the class method. 

Testing dialog with class execution is fine, we can use the BAPI_COSTCENTER_GETDETAIL1 to get additional data for the cost center.

Testing when workflow item created, the BAPI_COSTCENTER_GETDETAIL1 return nothing although the workitem can be created, background task ran successfully.

I have been frustrated a couple of hours to figure out, then I change to SELECT statement, it works.

Is there anyone hit the same problem or do you know what happens behind? Thank you.

Accepted Solutions (0)

Answers (0)