Skip to Content
0
Jan 16, 2008 at 05:31 AM

Business Partner not created after schedule program finish execution

42 Views

Hi all gurus,

Currently I am facing a very weird situation. My program will read in a list of business partners and create them if they are not found in the system.

I schedule the program using SM36 to run at a later time which was successfully executed when the time came.

I check the log file and it display business partners that are created.

However, when i used tcode BP to check one of them, the business partner is not created at all!

This have not happened to me when I executed the program directly from SE38.

The business partner was actually between two different business partners in the list. The first business partner was created, the second business partner That I did a check was not created and the third business partner was updated.

I use BBP_CREATE_ORGANIZATION to create the business partner, employee using BBP_CREATE_CONTACT_PERSON and finally i did a BAPI_TRANSACTION_COMMIT with the wait parameter turn on.

What could have gone wrong in the execution? Can it be due to multiple work processes in the system?

Thank for reading this and I hope you gurus are able to shed some light on this.

Thank you!