07-23-2007 6:10 AM
Hello,
I have came across this term BDT, i think it means Business Data Toolset.
1. What is the use of BDT ?
2. In which system, do we use BDT ?
3. Do you have any document or guide for BDT?
Advice, thanks!!
Regards,
Vishal
07-23-2007 8:02 AM
Hi
key or icon or choose the Display button.
Right-click on the Development Class name, select the "Create" context menu item, and then select the cascaded "Function Group" menu item.
Enter a Function Group name which follows the object extensions naming convention:
It must begin with "Y" or "Z". In other words, it must begin with the customer namespace.
It should be followed by a 4-character "project" name suffix which can be used for all of the following ABAP and Business Developer Toolset (BDT) objects. This project should also be in the customer namespace. For example, ZOE1
Enter a description for the function group in the Short text field.
The function modules and subroutines which will be created for this object extension will usually require several global variables and work structures.
Choose Save.
Enter the projects Correction Number (or create one at this point) in the Request field of the "Prompt for local Workbench request" pop-up. Choose Process.
Result
A Function Group is created for the grouping of all of the CRM Middleware Servers ABAP and dynpro objects.
Example (Business Partner new field)
Create a function group ZCRM_BP_OBJECTEXTENSION_FG with the following header:
FUNCTION-POOL ZCRM_BP_OBJECTEXTENSION_FG. "MESSAGE-ID ..
***********************************************************************
Variables *
***********************************************************************
Tables: but000.
Comment out this line when possible
constants:
gc_actvt_delete like bus000flds-char1 value 'D',
gc_actvt_insert like bus000flds-char1 value 'I',
gc_actvt_update like bus000flds-char1 value 'U',
gc_aktyp_change like TBZ0K-aktyp value '02',
gc_aktyp_display like tbz0k-aktyp value '03',
gc_fstat_optional like bus000flds-fldstat value '.',
gc_fstat_required like bus000flds-fldstat value '+',
gc_fstat_display like bus000flds-fldstat value '*',
gc_fstat_nonspecif like bus000flds-fldstat value '',
gc_fstat_suppressed like bus000flds-fldstat value '-',
gc_messg_cancel like mesg-msgty value 'A',
gc_messg_error like mesg-msgty value 'E',
gc_objap_partner like tbz1-objap value 'BUPA',
gc_status_display like tbz0k-aktyp value '*',
gc_X like boole-boole value 'X'.
data: gv_aktyp like tbz0k-aktyp,
gv_xsave like boole-boole,
gv_xupdtask like boole-boole.
Workarea
data: gl_but000_old like but000.
data: gt_rltyp like bus0rltyp occurs 0 with header line.
Data: gv_text like DD07V-DDTEXT,
gv_domname like DD07L-DOMNAME
.
constants:
gc_messg_arbgb like mesg-arbgb value 'ZOE1'.
INCLUDE LSVIMDAT . "general data decl.
INCLUDE LZKVO1T00 . "view rel. data
Example (Business Partner new table)
Create the structure ZSAP_PRODUCTS_KZ in your CRM systems DDIC:
.INCLUDE(field)--> ZSAP_PRODUCTS(field type)
KZ(field)--> CHAR1(field type)
The database table ZSAP_PRODUCTS is described in Creating a new CRM Database Table.
Create a function group ZCRM_BP_OBJECTEXTENSN2_FG with the following header:
FUNCTION-POOL ZCRM_BP_OBJECTEXTENSN2_FG MESSAGE-ID SV.
***********************************************************************
* Variables *
***********************************************************************
constants:
gc_actvt_delete like bus000flds-char1 value 'D',
gc_actvt_insert like bus000flds-char1 value 'I',
gc_actvt_update like bus000flds-char1 value 'U',
gc_aktyp_change like TBZ0K-aktyp value '02',
gc_aktyp_display like tbz0k-aktyp value '03',
gc_fstat_optional like bus000flds-fldstat value '.',
gc_fstat_required like bus000flds-fldstat value '+',
gc_fstat_display like bus000flds-fldstat value '*',
gc_fstat_nonspecif like bus000flds-fldstat value '',
gc_fstat_suppressed like bus000flds-fldstat value '-',
gc_messg_cancel like mesg-msgty value 'A',
gc_messg_error like mesg-msgty value 'E',
gc_objap_partner like tbz1-objap value 'BUPA',
gc_status_display like tbz0k-aktyp value '*',
gc_X like boole-boole value 'X'.
data: gv_aktyp like tbz0k-aktyp,
gv_xsave like boole-boole,
gv_xupdtask like boole-boole.
* Workareas
Tables: but000,
zsap_products.
constants:
gc_fcode_sappr_dele like tbz4-fcode value 'PUSH_ZOE2_SAPPR_DEL',
gc_messg_arbgb like mesg-arbgb value 'ZOE2',
* gc_cdobjclas like cdhdr-objectclas "Änd.bel.objekt
* value 'ZBUPA_HOBBY_KVO',
gc_cdobjid_max type i "ÄndBelege: Max. Objekt-IDs
value '50'.
data: gt_rltyp like bus0rltyp occurs 0 with header line.
data: gv_zsap_products_linact like sy-index.
* iTabs
data: begin of gt_zsap_products occurs 0.
include structure zsap_products.
data: xmark like boole-boole,
end of gt_zsap_products.
data: gt_zsap_products_old like zsap_products occurs 0 with header line,
mem_zsap_products like zsap_products_kz occurs 0 with header line,
mem_zsap_products_old like mem_zsap_products
occurs 0 with header line.
data: begin of mem_partner occurs 0,
partner like but000-partner,
end of mem_partner.
controls: tctrl_zsap_products type tableview using screen '0020'.
INCLUDE LSVIMDAT . "general data decl.
Tcodes
BDT business data toolset) - Must have permission
from SAP to use this method of modification
Check this link
http://help.sap.com/saphelp_erp2004/helpdata/en/2f/696d360856e808e10000009b38f839/content.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/fdb1cae6-0d01-0010-b9b2-908f2...
Reward all helpfull answers
Regards
Pavan
07-23-2007 6:12 AM
Hi,
BTW, BDT stands for Business Data Toolset
1: transaction BP
2: menu BUPT contains all the necessary links for the BDT.
The Business data toolset (BDT) is a central control tool for maintaining SAP programs. It supports
maintenance via the use of dialog techniques, direct input and/or function modules.
The BDT is basically the tool SAP use when they want to add new fields, change field names, change/add
field groups etc for specific customers, but they are now starting to allow there customers access to these
maintenance transactions (i think mainly ramp-up customers at the moment).
for additional info PL take a look here
please gothrough this link for Example
http://www.sapdevelopment.co.uk/enhance/bdt/bdt_gmcustom.htm
http://www.sapdevelopment.co.uk/enhance/bdt/bdt_gmcustom.htm
http://help.sap.com/saphelp_erp2004/helpdata/en/2f/696d360856e808e10000009b38f839/content.htm
http://www.sapdevelopment.co.uk/enhance/bdt/bdt_gmaddfields.htm
The transaction to use BDT is GRANT_CUSTOMIZE.
Regards
07-23-2007 8:02 AM
Hi
key or icon or choose the Display button.
Right-click on the Development Class name, select the "Create" context menu item, and then select the cascaded "Function Group" menu item.
Enter a Function Group name which follows the object extensions naming convention:
It must begin with "Y" or "Z". In other words, it must begin with the customer namespace.
It should be followed by a 4-character "project" name suffix which can be used for all of the following ABAP and Business Developer Toolset (BDT) objects. This project should also be in the customer namespace. For example, ZOE1
Enter a description for the function group in the Short text field.
The function modules and subroutines which will be created for this object extension will usually require several global variables and work structures.
Choose Save.
Enter the projects Correction Number (or create one at this point) in the Request field of the "Prompt for local Workbench request" pop-up. Choose Process.
Result
A Function Group is created for the grouping of all of the CRM Middleware Servers ABAP and dynpro objects.
Example (Business Partner new field)
Create a function group ZCRM_BP_OBJECTEXTENSION_FG with the following header:
FUNCTION-POOL ZCRM_BP_OBJECTEXTENSION_FG. "MESSAGE-ID ..
***********************************************************************
Variables *
***********************************************************************
Tables: but000.
Comment out this line when possible
constants:
gc_actvt_delete like bus000flds-char1 value 'D',
gc_actvt_insert like bus000flds-char1 value 'I',
gc_actvt_update like bus000flds-char1 value 'U',
gc_aktyp_change like TBZ0K-aktyp value '02',
gc_aktyp_display like tbz0k-aktyp value '03',
gc_fstat_optional like bus000flds-fldstat value '.',
gc_fstat_required like bus000flds-fldstat value '+',
gc_fstat_display like bus000flds-fldstat value '*',
gc_fstat_nonspecif like bus000flds-fldstat value '',
gc_fstat_suppressed like bus000flds-fldstat value '-',
gc_messg_cancel like mesg-msgty value 'A',
gc_messg_error like mesg-msgty value 'E',
gc_objap_partner like tbz1-objap value 'BUPA',
gc_status_display like tbz0k-aktyp value '*',
gc_X like boole-boole value 'X'.
data: gv_aktyp like tbz0k-aktyp,
gv_xsave like boole-boole,
gv_xupdtask like boole-boole.
Workarea
data: gl_but000_old like but000.
data: gt_rltyp like bus0rltyp occurs 0 with header line.
Data: gv_text like DD07V-DDTEXT,
gv_domname like DD07L-DOMNAME
.
constants:
gc_messg_arbgb like mesg-arbgb value 'ZOE1'.
INCLUDE LSVIMDAT . "general data decl.
INCLUDE LZKVO1T00 . "view rel. data
Example (Business Partner new table)
Create the structure ZSAP_PRODUCTS_KZ in your CRM systems DDIC:
.INCLUDE(field)--> ZSAP_PRODUCTS(field type)
KZ(field)--> CHAR1(field type)
The database table ZSAP_PRODUCTS is described in Creating a new CRM Database Table.
Create a function group ZCRM_BP_OBJECTEXTENSN2_FG with the following header:
FUNCTION-POOL ZCRM_BP_OBJECTEXTENSN2_FG MESSAGE-ID SV.
***********************************************************************
* Variables *
***********************************************************************
constants:
gc_actvt_delete like bus000flds-char1 value 'D',
gc_actvt_insert like bus000flds-char1 value 'I',
gc_actvt_update like bus000flds-char1 value 'U',
gc_aktyp_change like TBZ0K-aktyp value '02',
gc_aktyp_display like tbz0k-aktyp value '03',
gc_fstat_optional like bus000flds-fldstat value '.',
gc_fstat_required like bus000flds-fldstat value '+',
gc_fstat_display like bus000flds-fldstat value '*',
gc_fstat_nonspecif like bus000flds-fldstat value '',
gc_fstat_suppressed like bus000flds-fldstat value '-',
gc_messg_cancel like mesg-msgty value 'A',
gc_messg_error like mesg-msgty value 'E',
gc_objap_partner like tbz1-objap value 'BUPA',
gc_status_display like tbz0k-aktyp value '*',
gc_X like boole-boole value 'X'.
data: gv_aktyp like tbz0k-aktyp,
gv_xsave like boole-boole,
gv_xupdtask like boole-boole.
* Workareas
Tables: but000,
zsap_products.
constants:
gc_fcode_sappr_dele like tbz4-fcode value 'PUSH_ZOE2_SAPPR_DEL',
gc_messg_arbgb like mesg-arbgb value 'ZOE2',
* gc_cdobjclas like cdhdr-objectclas "Änd.bel.objekt
* value 'ZBUPA_HOBBY_KVO',
gc_cdobjid_max type i "ÄndBelege: Max. Objekt-IDs
value '50'.
data: gt_rltyp like bus0rltyp occurs 0 with header line.
data: gv_zsap_products_linact like sy-index.
* iTabs
data: begin of gt_zsap_products occurs 0.
include structure zsap_products.
data: xmark like boole-boole,
end of gt_zsap_products.
data: gt_zsap_products_old like zsap_products occurs 0 with header line,
mem_zsap_products like zsap_products_kz occurs 0 with header line,
mem_zsap_products_old like mem_zsap_products
occurs 0 with header line.
data: begin of mem_partner occurs 0,
partner like but000-partner,
end of mem_partner.
controls: tctrl_zsap_products type tableview using screen '0020'.
INCLUDE LSVIMDAT . "general data decl.
Tcodes
BDT business data toolset) - Must have permission
from SAP to use this method of modification
Check this link
http://help.sap.com/saphelp_erp2004/helpdata/en/2f/696d360856e808e10000009b38f839/content.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/fdb1cae6-0d01-0010-b9b2-908f2...
Reward all helpfull answers
Regards
Pavan