cancel
Showing results for 
Search instead for 
Did you mean: 

BDT business partner and contract account

yuanseah_sim
Explorer
0 Kudos

hi experts

business partner (BP) and contract account (CA) uses BDT technology.

1. how to add custom additional checks for an existing field in BP or CA before saving?

2. how to initialise a field with a custom value in BP or CA before creation?

any related answer will be appreciated

thanks

Accepted Solutions (1)

Accepted Solutions (1)

yuanseah_sim
Explorer
0 Kudos

Shiva

thanks for your helpful answer

when attaching the z function module into corresponding events, do i replace the corresponding standard function module or add an additional item to the list?

i suppose the item number represents the sequence that it will be called?

Former Member
0 Kudos

Custom function module number range should be 9000000 serial i read this from some BDT metarial i guess.

FM name Z_*_DCHCK :: *contains name of the FM.

Call X it will called

Application :: BUPA for Business partner

Fields -> Field Group

Field Group --> View

View -> Section

Section -> Screen

Now you know your custom fields ( or ) standard fields in which field group.

then see the view : In which view it is added

Double click the view you will get the application.

Regards,

Shiva Kumar

Answers (3)

Answers (3)

yuanseah_sim
Explorer
0 Kudos

Shiva

thanks for your prompt answer.

My object is not adding new fields to the BUT000 or FKKVKP structure.

Instead what I want to achieve is

1. initialise a field

2. validate a field value based on custom rule

Former Member
0 Kudos

DCHCK is the event for validate the custom fields or standard fields IN BDT.

BUS7:- This t-code used for Events in BDT.

create one Z function module and attach into corresponding events.Your Z fm will be triggered when the application calls.

Example DCHCK is the event for validation, create one Z fm and attach in this event it will be triggered and u can validate and show error messages.

You will not have any import and export parameteres for these FM.

U have to reterive the data from memory ( ex:- some BUT000GET function module)

Let me know if u need any more information on this!!!

Regards,

Siva

Former Member
0 Kudos
Former Member
0 Kudos

BDT->BP-> We can use EEWB for BP to add custom fields in BP transaction.

Run the EEWB wizard with Bus.Obj :: BUPA_MAIN and Extension : ADD_NEW_FIELDS.

Activate the eewb Object. SAP will take care for creating the fields in table BUT000 and creates the Z function modules to update the database.

Go to AREA Menu code : BUPT

Move the fields from one section to another section or one screen to another screen.

http://www.sapdevelopment.co.uk/enhance/bdt/bdthome.htm.

Contract Account :: Area Menu Code : CAWM.

see the link you can add now fields in CA .

Please let me know if you need any more information.

Regards,

Shiva Kumar