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: 

HU create BADI/ User exit

Former Member
0 Kudos
1,659

Hello Experts,

I want to update a Z-field in table VEKP at the time of creation of HU through Tcode COPP1.

I found BADI_HU_SAVE but here IT_HEADER is a Importing parameter and hence cannot be changed.

Can anyone please suggest some other BADI or Exit which have structure of VEKP for transaction COPP1.

Thanks in advance.

Thanks & Best regards

Ankur

1 ACCEPTED SOLUTION

Former Member
0 Kudos
511

Hi Ankur,

Put a breakpoint in GET_INSTANCE method of CL_EXITHANDLER class.

Then create HU through your T code and save it.

While saving, it will call all the BADIs involved in it.

Make a note of them and check.

You can find the one which suits your requirement.

Cheers,

Raja.D

1 REPLY 1

Former Member
0 Kudos
512

Hi Ankur,

Put a breakpoint in GET_INSTANCE method of CL_EXITHANDLER class.

Then create HU through your T code and save it.

While saving, it will call all the BADIs involved in it.

Make a note of them and check.

You can find the one which suits your requirement.

Cheers,

Raja.D