Application Development 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: 

BADI OR ENHANCEMENTS EFFECTS ON BAPI

Former Member
0 Kudos
120

i have done enhancement to va31 so that it allows the scheduling agreement start date to be first of any month . if i use bapi to

upload a list of scheduling agreements. will it effect the Bapi (i.e., if in the flat file the start date is other than first of each month

will it restrict the upload ) or instead of enhancement should i use badi to have the restriction.please suggest <removed by moderator>.

Thanks in advance.

Edited by: Thomas Zloch on Nov 26, 2011 12:41 PM

2 REPLIES 2

madhu_vadlamani
Active Contributor
0 Kudos
56

Hi Raghavendra

As i know Badi will triggers in bapi.Just keep a break point in badi and execute the bapi.

+(i.e., if in the flat file the start date is other than first of each month

will it restrict the upload ) or instead of enhancement should i use badi to have the restriction.please suggest its urgent+

Here the restriction code you used in badi right.Again you mentioned + or instead of enhancement should i use badi to have the restriction.+

Regards,z

Madhu.

former_member186099
Contributor
0 Kudos
56

Hi,

It depends on where the enhancement been done, and only customer exits / BTEs / User exits / BADIs are supported by the BAPI/RFC/IDOC/DIRECT INPUT/BDC/ manual Trasnactions and not the enhancements as you can do them anywhere you like to and not necessary that this bit of program gets called by other posting methods.

Hope this clarifies.

Regards,

Prasanna