‎2007 Jun 26 10:34 AM
Hello,
I want to know if I am using a BAPI (Sales order creation) will it execute the user-exit code or not.
If not why not?
Please confirm.
Rgds
Ank.
‎2007 Jun 26 10:44 AM
Hi,
If your userexit is activated, it will be definitely called. Userexits works like a 'hook' in a normal process. You can call BAPI function module in user exits with proper coding. As you must be knowing few userexits are called more than once during the same process.
<b>Reward points</b>
Regards
‎2007 Jun 26 10:44 AM
Hi,
If your userexit is activated, it will be definitely called. Userexits works like a 'hook' in a normal process. You can call BAPI function module in user exits with proper coding. As you must be knowing few userexits are called more than once during the same process.
<b>Reward points</b>
Regards
‎2007 Jun 26 10:48 AM
But in my case when users are submitting the orders using Webservice the user exit is not working. where as when I create the orders manually (in R/3) user exit is working as per the design...
‎2007 Jun 26 11:04 AM
Hi
Hi,
If your are Using SD BAPI say for example --> BAPI_SALESORDER_CHANGE
you need to fire an explicit BAPI_TRANSACTION_COMMIT .
Please note :
{
The BAPI does not run a database Commit, which means that the application must trigger the Commit so that the changes are read to the database. To do this, use the BAPI_TRANSACTION_COMMIT BAPI.
}
<b>Reward points</b>
Regards
‎2007 Jun 26 10:47 AM
Hi Ankur,
It will surely execute the Exit as thats an enhancement to the application process and not just mere to the screen. So when you use BAPI to create Sales order the same program will be used to run the bussiness process without the user interface.
Hope this answers your query.
regards,
Vikas
<b>Encourage by rewarding points if helpful.</b>