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

Business Data Toolset (BDT)

Former Member
0 Likes
1,047

Hi Experts,

Can you tell me from where can i get information about BDT. How and When to use? , Etc.

Thanks

~Sid

1 ACCEPTED SOLUTION
Read only

Former Member

Hi Experts,

Can you tell me from where can i get information about BDT. How and When to use? , Etc.

Thanks

~Sid

3 REPLIES 3
Read only

Former Member
Read only

0 Likes
820

Thanks Sudheer,

Can I talk to you my yahoo id is "siddhartha.srivastava" or if you can give me ur contact number / email address I would like to talk to you....

My email address is : [email protected]

Thanks For your help.

~Sid

Read only

Former Member
0 Likes
820

Hi

Business Data Toolset

We used the Business Data Toolset (BDT) to design the product, account and business partner within the current account system. You have the option of making modifications using the same tool.

This section provides you with access to the documentation on the Business Data Toolset (BDT).

Use

All of the activities involved in the CRM object extension will be assigned to a new Development class.

There are also several function modules and dynpro objects which must be created to extend a CRM Business Partner object.

Therefore, just as with the Development Class, an ABAP Function Group should be created to which all of these function modules and dynpro objects belong in order to facilitate the migration of these customizations to other environments.

Prerequisites

You must create a user with the appropriate authorizations to create a Function Group. See Creating a CRM BP Extension User.

You must create the Development Class to which the Function Group will belong. See Creating a Development Class.

Procedure

Start transaction SE80, the Object Navigator.

Select the Object Type of "Development Class".

Enter the name of your new Development Class. Hit the 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 extension’s 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 project’s 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 Server’s 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 system’s 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

BUSP--> Regenerate screens during BDT development

GRANT_CUSTOMIZE--> Customize Grant management screens via SAP's

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/servlet/prt/portal/prtroot/docs/library/uuid/6173fb9e-0701-0010-6083-a00...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/fdb1cae6-0d01-0010-b9b2-908f2...

Reward all helpfull answers

Regards