Skip to Content
avatar image
Former Member

A Z function doesnt work anymore after wrapping

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • 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?

    Christian

    Add comment
    10|10000 characters needed characters exceeded