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 'BAPI_SALESORDER_CREATEFROMDAT2'

Former Member
0 Likes
1,020

Hi,

I am looking for an user exit where I can write few validations and throw an error message using return table to the calling external system.

This bapi 'BAPI_SALESORDER_CREATEFROMDAT2' would be called from an external systems with required inputs. The requirement is I need to validate the inputs and throw an error message back to the external system.

Thanks in anticipation.

VK.

4 REPLIES 4
Read only

Former Member
0 Likes
750

HI,

Probably copy the BAPI and create a new Z BAPI and do all your validations there

THanks

Naren

Read only

0 Likes
750

Naren,

Thanks for the inputs. I am able to do it with the existing user exits.

VK

Read only

0 Likes
750

Hi Vijay,

Could you plz let me know which userexits you used for validations? Are there any user-exit available in tis BAPI?

Thanks

Ashish

Read only

Former Member
0 Likes
750

Hello,

I am trying to trigger IDOCs through VOFM routines when we cancel sales orders. I did develope a VOFM routine 901 and when a put a break point, the control is stopping at the break point in my VOFM routine, but not generating an IDOC even if sy-subrc = 0.

Can any one please throw some light on this.

Thanks,

VK