Skip to Content

A Z function doesnt work anymore after wrapping

Nov 02, 2016 at 03:38 PM


avatar image
Former Member

I used a z function to create customers. This function calls the BAPI_BUPA_CREATE and it worked for 1 year. Then I wrapped it with another z function. When I call it, it works randomly: it always creates the customer but sometimes I get the customer created with the status, sometimes the customer gets created with status blank.

Why these different behaviours with the same inputs?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Christian Drumm
Nov 15, 2016 at 07:58 AM

Hi Jason,

its hard to provide a helpful answer without seeing the source of your function module.

However, I'd suspect that the issue might be somehow related to the way you perform a COMMIT in you function module . Are you using BAPI_TRANSACTION_COMMIT to perform the commit?


10 |10000 characters needed characters left characters exceeded