on 11-24-2008 5:35 AM
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
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
EEWB ::
http://help.sap.com/saphelp_crm50/helpdata/en/20/a4ffee7e0fcc4ebb7e5466d3903d38/frameset.htm
Regards,
Shiva Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.