Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

User Exit in BAPI_SALESDOCU_CREATEFROMDATA1

Former Member
0 Likes
742

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
603

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.

2 REPLIES 2
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
603

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.

Read only

Former Member
0 Likes
604

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.