04-11-2008 4:19 AM
Hi All,
I'm trying to execute a function module BAPI_BCONTACT_CREATEFROMDATA via Function Builder(SE37) to create contact. The function seems to be executed properly since the return code is 000. But I can't find any corresponding record from cic0. Any ideas?
Regards,
Edited by: Ken Lam on Apr 11, 2008 5:24 AM
04-11-2008 9:23 PM
With most BAPIs you need an explicit commit. Instead of just testing this BAPI from SE37, add this BAPI and BAPI_TRANSACTION_COMMIT to a test sequence and test.
Go to SE37 initial screen, in the menu 'Function Module --> Test --> Test Sequences '. Enter BAPI_BCONTACT_CREATEFROMDATA in the first line and BAPI_TRANSACTION_COMMIT in the second line and execute. You will get the execution of the first BAPI, enter values and execute it. See the results, go back, you will be prompted to execute the second BAPI. Simply execute it and check your results.
04-11-2008 9:23 PM
With most BAPIs you need an explicit commit. Instead of just testing this BAPI from SE37, add this BAPI and BAPI_TRANSACTION_COMMIT to a test sequence and test.
Go to SE37 initial screen, in the menu 'Function Module --> Test --> Test Sequences '. Enter BAPI_BCONTACT_CREATEFROMDATA in the first line and BAPI_TRANSACTION_COMMIT in the second line and execute. You will get the execution of the first BAPI, enter values and execute it. See the results, go back, you will be prompted to execute the second BAPI. Simply execute it and check your results.
04-12-2008 7:09 AM