2012 Mar 15 7:08 AM
Hi ,
I have crated a program to create sale order using this BAPI 'BAPI_SALESDOCU_CREATEFROMDATA1'. Its working fine..
But when i am creating sale order in VA01 Transaction some custom error message showing if any wrong data entered. There will be lots of Z enhancement done in this VA01 Transaction . Those Z Enhnacement functionality not working while creating sale order using my Z program.
Kindly help me out how to resolve this issue...
Thanks & Regards,
Kumaran Duraiswamy.
2012 Mar 15 7:34 AM
Hi,
the purpose of both BAPI and VA01 is same but during debugging you can figure out the difference in how the execution occurs.
You can add the custom fucntionality in BAPI searching for the enhancement points.
Regards,
Gaurav.
2012 Mar 15 7:30 AM
Hi,
As you know the code in bapi & transactio are independant. BAPI triggers the customer exits and Badi's( I have faced this ). But it does not trigger the user exits & enhancement spots created by modifying the standard code. May be you can apply the same validation in your custom program before calling the bapi.
2012 Mar 15 7:34 AM
Hi,
the purpose of both BAPI and VA01 is same but during debugging you can figure out the difference in how the execution occurs.
You can add the custom fucntionality in BAPI searching for the enhancement points.
Regards,
Gaurav.