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

HU create BADI/ User exit

Former Member
0 Likes
3,427

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
Read only

Former Member
0 Likes
2,279

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

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 REPLY 1
Read only

Former Member
0 Likes
2,280

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