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: 

Need to modify the BUT000

Former Member
0 Kudos

Hi all,

I have a requirement to modify the field values of BUT000 at runtime(While Create or Change BP).

Note - In my case BP is created in many ways like -

1. BP can be created directly through Tcode - BP

2. When Employee created in HR, automatically BP is created - This case as well I have to modify the fields of BUT000.

3. When Vendor is created, automatically BP is created - This case as well I have to modify the fields of BUT000.

4. When Customer is created, automatically BP is created - This case as well I have to modify the fields of BUT000.

5. When Student is created, automatically BP is created - This case as well I have to modify the fields of BUT000.

How to use the BDT events to handle this requirement, kindly guide me.

Your helpful answers are highly appreciatable.

Thanks & Regards,

Rajesh P

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Exactly which fields you want to Update in BUT000 ?

Please Confirm.

Regards,

Nikhil

5 REPLIES 5

Former Member
0 Kudos

Exactly which fields you want to Update in BUT000 ?

Please Confirm.

Regards,

Nikhil

0 Kudos

Hi Nikhil,

I want to modify BUT000-BU_SORT1, BUT000-BU_SORT2 and BUT000-BPEXT fields at runtime.

The requirement is,

Whenever BP is created or changed (Either BP can be directly created or modified (or) automatically BP is created or modified for any module), in any case - I have to default values for the above mentioned fields, based on the generated BP number.

Note - The requirement is like, defaulting unique values to the above mentioned fields for each BP.

Kindly guide me to proceed further.

Thanks & Regards,

Rajesh P

0 Kudos

Hi all,

I am stuck up.

Requirement is to modify BUT000-BU_SORT1 field ( Whenever BP is created or changed.)

1. BP is created directly from Tcode - 'BP' - This I have achieved by writing my code in EVENT - ESORT.

2. Now, when I am Hiring an employee from Tcode - PA40 - The BP is created at backend, at this point I have to modify the Searchterm1(BUT000-BU_SORT1), couldn't get any clue.

Kindly throw some light, it will be very helpful.

Thanks for understanding...

Rajesh P

0 Kudos

Thanks to all.

The problem is solved with the Badi - HRSYNC_P.

Former Member
0 Kudos

It's achieved.

Thanks to all...