on 07-29-2007 2:04 AM
Hello All.
Could anyone kindly forward me a generic list of standard Badi's/Func. Mod & BAPI's list used for CAD Integration, present in SAP. If for Solid Edge and Solid Works that would be great. I am working on some customization and migration aspects of the cad integration now with SAP.
Thx,
Sachin
I have a client that has SAP ECC 6.0 and SolidWorks, currently NOT integrated. I want to integrate SAP to SolidWorks using CAD Desktop (CDESK) and DMS (with a bigger Content Server). Do I really need any other middleware, such as Cideon, to accomplis the connection? Or can I do this simply with CDESK BADI's.? Do I need any additional license? Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Jain,
You can find an up-to-date list of BAdIs for CAD desktop in SAP Note 600142.
For more information about BAdIs in CAD desktop, see the Implementation Guide (IMG) for CAD Desktop (CA-CAD) under BAdIs.
List of BAdIs available on the current CAD desktop:
o CDESK_BADI_COPY_DLG: This BAdI prevents the dialog box when you
copy document info records.
Methods:
- SUPPRESS_DIALOG: This method is used to suppress the dialog
box.
Parameter:
FLT_VAL: CAD system
TABLE_SOURCE_DOCUMENTS: Source documents
RETURN
TABLE_DEST_DOCUMENTS: Target documents
SUPRESS_FLAG: Indicator for suppressing dialog
30.07.2007 Page 2 of 15
Note 600142 - CDESK: List of all BAdIs/BAdI methods in CAD desktop
o CDESK_BADI_COPY_DOC: This BAdI is used to copy across document
types. Methods:
- COPY_DOC: You can use this function to copy across the document
type.
Parameter:
FLT_VAL: CAD system
SOURCE_DOCUMENT: Source document
DEST_DOCUMENT: Target document
CREATED_DOCUMENT: Created document
RETURN
o CDESK_BADI_MAIN: You can use this BAdI to change the data of CAD
desktop functions.
Methods:
- ON_FUNCTION: You can use this method to analyze the function
code.
Used function codes (fcode):
DOWNLOAD_FILES function code:
This function code is called when you download files.
CHANGE_STATUS function code:
You can run this function code when you change the status. For
example, you can set the log field here. By implementing the
BAdI accordingly, you can, for example, automatically set the
log field for mass changes by making one entry for all selected
documents.
DOC_MAT_LINK function code:
This BAdI allows you to maintain the long text of the object
link when you create an object link (document for material).
Using the DOCUMENTS parameter, the system transfers a
plm_documents table that contains exactly one document. The
linked material is transferred in the 'Material' field of this
document. You can therefore maintain the long text of the
object link from the CAD desktop.
CHANGE_WORKDIR function code:
When you change the working directory in the CAD desktop, this
BAdI allows you to transfer the working directory to the
relevant CAD system. Implement this BAdI in the relevant CAD
system as PRE. Using the DOCUMENTS parameter, the system
transfers a plm_documents table which contains exactly one
document. The system transfers the new working directory in the
'docpath' field of this document. If errors occur in the CAD
system, you can return these errors to the SAP system using the
RETURN parameter.
CHANGE_WORKDIR_DISPLAY function code:
When you change the displayed working directory in the CAD
desktop, this BAdI allows you to transfer the newly displayed
working directory to the relevant CAD system. Implement this in
the relevant CAD system as PRE. Using the DOCUMENTS parameter,
30.07.2007 Page 3 of 15
Note 600142 - CDESK: List of all BAdIs/BAdI methods in CAD desktop
the system transfers a plm_documents table which contains
exactly one document. The system transfers the new working
directory in the 'docpath' field of this document. If errors
occur in the CAD system, you can return these errors to the SAP
system using the RETURN parameter.
CHANGE_ECM function code:
When you modify the change number in the CAD desktop, this BAdI
allows you to transfer the new change number to the relevant
CAD system. Implement this in the relevant CAD system as PRE.
Using the DOCUMENTS parameter, the system transfers a table of
the plm_documents line type that contains exactly one document.
The system transfers the new change number in the ECNUMBER
field of this document. If errors occur in the CAD system, you
can return these errors to the SAP system using the RETURN
parameter.
SET_CHECKOUT_STATUS function code:
If you defined several 'O' statuses for a DMS document type,
the CAD desktop automatically selects one status when you check
out, without displaying a selection (as in transaction CV02N).
With this BAdI you can determine the status yourself. The BAdI
is called both PRE and POST. The system transfers the documents
you want to check out using the DOCUMENTS parameter. Within the
BAdI implementation, you can then set the 'statusintern' field
for every document in this table as required. You can display
the quantity of the possible 'O' statuses, using the
CV118_GET_CHECKEDOUT_STATUS function module.
You can still set the log field when you check out during the
automatic status change to status 'O'.
DELETE_DOC function code:
This function code is called before and after the deletion of
document info records, in other words, for the PRE and POST
events. If errors occur, this can be specified by means of the
RETURN parameter. You can define the error messages that are
to be issued in the DOCUMENTS table. When you call the POST
event of the method, the DOCUMENTS table either contains no
documents - in other words the deletion process was cancelled
and no documents were deleted - or the DOCUMENTS table contains
the deleted documents, except for those to which you have
assigned a relevant error message. The POST call is provided
with Note 703291.
CREATE_DOC_DARK function code:
The system calls the BAdI before and after you create documents
and versions (for the PRE and POST events). The objects for
which you create documents are located in the DOCUMENTS table.
During the implementation of this BAdI, the system may carry
out an authorization check and may adjust the contents of the
tables accordingly.
CREATE_DOCS_ALL function code:
See CREATE_DOC_DARK.
CREATE_DOC_OR_VERS function code:
The BADI is called for the events PRE and POST before and after
you create documents and versions. The objects for which you
30.07.2007 Page 4 of 15
Note 600142 - CDESK: List of all BAdIs/BAdI methods in CAD desktop
create the documents are located in the DOCUMENTS table, and
for versions in the DOCUMENTS2 table. During the implementation
of this BAdI, the system may carry out an authorization check
and may adjust the contents of the tables accordingly.
CREATE_MAT function code:
This BADI is called for the events PRE and POST before and
after you create documents. The relevant documents for which
you create materials are located in the DOCUMENTS table. Using
an implementation of this BAdI, you can, for example, check
with a drawing whether the system has already assigned a
material to the relevant part. Then you can link this material
to the drawing.
CREATE_MAT_DARK function code:
See CREATE_MAT
CHECKINRD function code:
The BAdI is called before and after you structure the messages
for the check-in assistant when checking in (for the PRE and
POST events). The program transfers a table for the
plm_document using the DOCUMENTS parameter that contains the
document info records to be checked in. By implementing the
BAdI accordingly, you can, for example, temporarily reset or
change fields in the DOCUMENTS table, and by doing so you can
influence the messages in the check-in assistant.
CHECKOUTRD function code:
The BAdI is called before and after you structure the messages
for the check-out assistant when you check out (for the PRE and
POST events). A table that contains the document info records
to be checked out from plm_document is transferred using the
DOCUMENTS parameter. By implementing the BAdI accordingly, you
can, for example, temporarily reset or change fields in the
DOCUMENTS table, and by doing so you can influence the messages
in the check-out assistant.
DELETE_ALL, DELETE_SELECTED function code: The
CDESK_BADI_MAIN~ON_FUNCTION method (DELETE_ALL or
DELETE_SELECTED function code) is called for the PRE, AUX and
POST events when you delete originals in the CAD working
directory (delete assistant). For more information, see Note
831744.
CREATECHECKINDOCS_ALL function code:
See CREATE_DOC_DARK.
ASSIGN_DOCUMENTS function code:
When you select 'Assign document' in the CAD desktop, the
system carries out a document search by default to determine
the document that you want to assign to the CAD original. Using
the CDESK_BADI_MAIN~ON_FUNCTION implementation with the
ASSIGN_DOCUMENTS function code, you can assign the document
that is to be assigned directly to the DOCUMENTS2 table (the
DOCUMENTS2 table must contain the complete document key).
Therefore, you do not need to carry out the document search.
- ON_CHECKIN: You can use this method to change the status, the
30.07.2007 Page 5 of 15
Note 600142 - CDESK: List of all BAdIs/BAdI methods in CAD desktop
BOM and so on (important: for each individual document)
Parameter:
FLT_VAL: CAD system
DOCUMENTTYPE: Document type
DOCUMENTNUMBER: Document number
DOCUMENTPART: Document part
DOCUMENTVERSION: Document version
RETURN
STATUS: Document status
CHANGENO: Change number
DOC_STRUCTURE: Structure data of document
BAPI_FILES: Document originals
DELETE_EMPTY_BOD: Changes to the GF_DELETE_EMPTY_BOD parameter
using BAdI (delete empty document structures).
- ON_GETSTRUCTURE: This method is called when the document
structure is read.
- ON_WHEREUSED: This method is called for the where-used list.
- GET_ADDITIONAL_DRAWINGS: This method is used to create a
where-used list without version so that you can find additional
drawings.
- ON_HASSTRUCTURE: This method checks whether the transferred
document has a structure (the HAS_STRUCTURE parameter)?
- ON_DELETESTRUCTURE: This method is called when you delete
structure (header and items).
- RENAME_AND_ADD_FILES: You can use this method to rename
originals and attach further originals. For details, see the
notes specified under 'Reference to related Notes'.
Parameter:
FCODE: Function code in which callback is called
FLT_VAL: CAD system
RENAME_ALLOWED: Is renaming of originals permitted?
DOCUMENT: Document data in CAD desktop
RETURN
DOCUMENTFILES: Table with originals
The RENAME_ALLOWED parameter is filled from the Customizing
settings for the CDESK_RENAME_FILES Customizing parameter. The
DOCUMENT parameter transfers the data of the created document.
If no document has been created yet, the document data is empty
(in this case the RENAME_ALLOWED parameter must be initial).
With the DOCUMENTFILES parameter, SAP provides exactly one file
(the CAD original). You can rename this file in the CAD system,
if the RENAME_ALLOWED parameter allows this. You can also add
more files from the CAD system to the DOCUMENTFILES table.
Note: The CAD original must still be in first position. (In
other words, you can only add additional originals to the table
at the end.)
The BAdI is called at the following events:
30.07.2007 Page 6 of 15
Note 600142 - CDESK: List of all BAdIs/BAdI methods in CAD desktop
When you create documents in the foreground:
the BAdI is always called immediately after you created the
document, in other words, the calling time is independent of
the value of the CDESK_RENAME_FILES Customizing parameter.
When you create documents in the background:
the calling time is dependent on the value of the
CDESK_RENAME_FILES Customizing parameter:
- ' ' (renaming is not allowed): In this case, the BAdI is
called before you create the document since you can attach only
further originals here.
- 'X' (renaming is permitted): In this case, the system
responds as when you create a document in the foreground, in
other words, the BAdI is called after you created the document.
When you execute 'Copy and replace', the BAdI is called before
you replace.
When you execute 'Create New Version', the BAdI is called
before the new version is created.
- AFTER_CHECKIN: You can use this method after you checked in a
file.
Parameter:
FLT_VAL: CAD system
DOC_STRCUTURE: Document structure (for BAPIs)
DOCUMENT: Document data in CAD desktop
- CREATE_DOCUMENT_DARK: You can call this method when you create
a document in the background (in other words, without any
dialog box), immediately before and immediately after you
create a document, and when you execute the 'Copy and replace'
function. For details, see the notes specified under 'Reference
to related Notes'.
- CREATE_DOCUMENT: You can call this method when you create a
document in the foreground (in other words, with dialog box)
immediately before and immediately after the system displays
the dialog box for document creation. For details, see the
notes specified under 'Reference to related Notes'.
- APPEND_FILES_ON_CREATE: When you create a document in the
foreground, this provides the option to interfere in the
creation of a document info record (DIR) at the time when the
originals are attached to the DIR. For details, see the notes
specified under 'Reference to related Notes'.
- CHANGE_COLUMN_SET: By default, the system provides all standard
classes of all document types for selection in the column set
of the layout for the CAD desktop. This includes only the
inherited characteristics of superior classes that are standard
classes of a document type. By implementing this BAdI, you have
the option to change the default set of classes and
characteristics in the column set. This allows you to delete
30.07.2007 Page 7 of 15
Note 600142 - CDESK: List of all BAdIs/BAdI methods in CAD desktop
classes and characteristics from the default set and to add new
ones. See Note 649484 for details.
Parameter:
FLT_VAL: CAD system
CLASS_TAB: Table with direct characteristics of a class with
attributes
RETURN
- CREATE_ECM: You can create a change number directly from the
CAD desktop by selecting 'Create'. Using an implementation for
the CREATE_ECM method, you can work with a suitable change
number as a template (to do this, the VOR_AENNR changing
parameter must be set accordingly). See Note 700428.
Parameter:
FLT_VAL: CAD system
TIME
RETURN
VOR_AENNR: Change number
- CHANGE_RFC_DESTINATION: You can use this method to change the
RFC destinations used by the CAD desktop (sapftp, saphttp). For
details, see Note 708310.
Parameter:
FLT_VAL: CAD system
SAPFTP: RFC destination SAPFTP
SAPHTTP: RFC destination SAPHTTP
RETURN
- CHANGE_STRUCTURE: You can use this method to change the
document data structure (for details, see Note 731254).
Parameter:
FLT_VAL: CAD system
RETURN
DOCUMENTS: Structured document data
- ICON_CHANGE: By default, the SAP view and the CAD view use
predefined icons for documents, assemblies and parts. By
implementing this BAdI, you can change the default icons. For
details, see Note 759229.
Parameter:
FLT_VAL: CAD system
TAB: View about to be opened
OBJECT: Document for which the icon can now be changed
RETURN
EXP_ICON: Icon for the document if the structure is expanded
(child documents are displayed)
- WORDKIR_FOLDER_STRUCTURE: By default, all originals are checked
out into the specified working directory. An implementation of
this method allows you to change the path for originals that
you check out. For details, see Note 792627.
- CHANGE_TAB: You can use this method to control (in other words,
30.07.2007 Page 8 of 15
Note 600142 - CDESK: List of all BAdIs/BAdI methods in CAD desktop
to cancel or to change into other view) the changes of the
individual views on the CAD desktop (CAD view, SAP view, CAD
worklist, CAD working directory, document list). For details,
see Note 924956.
- CHANGE_VERSION: You can use this method to flexibly select the
version using the RFC-enabled CDESK_GET_VERSION module, for
example, when you want to check out if you use the 'Last
released version' option and no released version exists. For
details, see Note 927559.
o CDESK_BOM: This BAdI adjusts the material BOM functions in the CAD
desktop.
Methods:
- SELECT_MATERIAL: You can use this BAdI method to determine the
material assigned to a document.
- READ_CHILDREN: You can use this BAdI method to determine the
dependent documents and material masters.
- FIND_EXISTING_ITEMS: You can use this BAdI method to determine
the item during the BOM comparison.
- CHANGE_POSITION_DATA: This BAdI BAdI method changes the item
data, such as item category and item number.
- SHOW_MULTI_POSITION_DIALOG: This BAdI BAdI method suppresses
the display of the ambiguity dialog box.
- INSERT_ITEM: You can use this BAdI method to insert a new item.
- UPDATE_ITEM: This BAdI method changes an existing item.
- ON_CREATE: You can use this BAdI method to create or change a
BOM.
- CHANGE_BOMDATA: This BAdI method changes data when you create a
BOM.
o CDESK_CAD_CHANGE: This BAdI changes the data during the CAD
callbacks.
Methods:
- BEFORE_CAD_CALLBACK: You can use this method before or instead
of a CAD callback.
Parameter:
FCODE
TIME
FLT_VAL: CAD system
RETURN
PLM_DOCUMENTS: Documents in CAD desktop
PLM_DOCUMENTS2: Documents in CAD desktop
SDOCUMENTS: Table with document data
SUPPRESS_CALLBACK: Suppress callback
- AFTER_CAD_CALLBACK: You can use this method after a CAD
30.07.2007 Page 9 of 15
Note 600142 - CDESK: List of all BAdIs/BAdI methods in CAD desktop
callback.
Parameter:
FCODE
TIME
FLT_VAL: CAD system
PLM_DOCUMENTS: Documents in CAD desktop
PLM_DOCUMENTS2: Documents in CAD desktop
SDOCUMENTS: Table with document data
- GET_CAD_DATA_CALLBACK: This method changes data before and
after the C_DESK_GET_CAD_DATA callback. Within the BAdI
implementation, you can change the CDESK_DATA and CDESK_FILES
tables to influence the values predefined in Customizing for
creating documents, materials and BOMs that are sent using the
C_DESK_GET_CAD_DATA callback for the relevant CAD system or
that return from there using the callback. The BAdI is called
at both times, for the PRE (before the callback) and POST
(after the callback) event. See Note 664144 for more
information.
Parameter:
FLT_VAL: CAD system
TIME: Function code
CDESK_DATA: Table of data for the callback
CDESK_FILES: Table of files for callback
RETURN
o CDESK_MATERIAL: You can use this BAdI to adjust the material
functions in the CAD desktop.
Methods:
- ON_CREATE: Use this method when you create a material master in
the background.
- ON_CREATE_DIALOG: Use this method when you create a material
master in the foreground.
o CDESK_TBM_ADDIN: CAD desktop ADD-IN.
Methods:
- ADD_NEW_FUNCTIONS: This method provides definitions of toolbar
entries (process code, layout and so on). The MENU_OBJECTS
parameter in the BAdI implementation delivers all toolbar
entries, which you can then adjust as required (in other words,
you cannot only enhance them, you can also, for example, delete
entries) See below for an example.
In addition, you can use the ADD_NEW_FUNCTIONS method to hide
views in the CAD desktop that are displayed by default (for
details, see Note 683575). When you execute a call using a CAD,
you can hide 'SAP view', 'CAD view', 'CAD worklist', 'CAD
working directory' and 'Document list'. When you execute the
call using transaction CDESK, you can hide 'SAP view' and
'Document list' only.
In addition to this, you can hide the 'Working Directory' and
30.07.2007 Page 10 of 15
Note 600142 - CDESK: List of all BAdIs/BAdI methods in CAD desktop
'Change Number' fields that are displayed by default (for
details, see Note 709685).
Parameter:
FLT_VAL: CAD system
MENU_OBJECTS: Menu option in the standard toolbar of CAD
desktop
HIDE_SAP_VIEW: Hide SAP view?
HIDE_CAD_VIEW: Hide CAD view?
HIDE_INSESSION: Hide CAD worklist view?
HIDE_WORKINGDIR: Hide CAD working directory view?
HIDE_DOCUMENTLIST: Hide document list view?
HIDE_WORKDIR: Hide working directory?
HIDE_ECM: Hide change number?
- PROCESS_NEW_FUNCTIONS: You can use this method to process
entries in the toolbar of the CAD desktop. You can respond to
toolbar entries (that you added using the ADD_NEW_FUNCTIONS
method), for example. See below for an example.
Parameter:
API_FLAG
TCODE: Current transaction code
FCODE
FLT_VAL: CAD system
DOCUMENTS: Documents in CAD desktop
DOCUMENTS_ADD: Documents in CAD desktop
DONT_REFRESH_VIEW: Refresh SAP/CAD view?
- CHANGE_CONTEXT_MENU: You can use this method to make changes in
the standard context menu entries. You can adjust the standard
context menu as follows:
Use an implementation of the BAdI method at the time of
initialization (TIME = CONTEXT_MENU_INIT parameter) to add more
functions that are already provided in the menu (MENU_OBJECTS
table) to the context menu (CONTEXT_MENU_OBJECTS table). In
addition, you can delete functions from the context menu
(CONTEXT_MENU_OBJECTS table).
Use an implementation at the time of a context menu request
(TIME = CONTEXT_MENU_REQUEST parameter) to control which
context menu options the system displays as active or as
inactive. To do this, assign the selected document info records
(DOCUMENTS table) and the context menu (CONTEXT_MENU_OBJECTS
table). Use the CONTEXT_MENU_OBJECTS-DISABLED field to
deactivate the context menu entry.
Parameter:
FLT_VAL: CAD system
MENU_OBJECTS: Toolbar functions
DOCUMENTS: Document in CAD desktop
TIME: Event
CONTEXT_MENU_OBJECTS: Context menu functions
- CREATE_CUSTOMER_FIELDS: You can use this method to insert
fields into the field catalog of the CAD desktop. After you
implemented this method, you can insert user-defined fields in
30.07.2007 Page 11 of 15
Note 600142 - CDESK: List of all BAdIs/BAdI methods in CAD desktop
the display of the CAD desktop (for details, see Note 905268).
- FILL_CUSTOMER_FIELDS: You can use this method to fill the new
fields of the field catalog. After you implemented this method,
you can fill the user-defined fields in the display of the CAD
desktop (for details, see Note 905268).
- CHANGE_ICON_SEARCH: With this method you can change the icons
that the system provides when you search in the SAP/CAD view.
After you implemented this method, you can change the selection
of the icons for the search. (for details, see Note 943882).
o CDESK_ADD_FUNCTION: You can use this BAdI to change data in the
additional functions (for details, see Notes 856231 and 883422).
- EXPORT_MATERIALS: You can use this method to export material to
cFolders (changes to the materials to be exported).
Parameter:
MATNR: Material number
FLT_VAL: CAD system
ATTRIBUTS: Material attributes
VERSION_NAME: Version name
VERSION_DESCR: Version description
DOC_LIST: Table with cFolders Document
DOC_ID: cFolders ID
- EXPORT_CFOLDERS: With this method you can export additional
objects to cFolders or assign authorizations.
Parameter:
ROOT_FOLDER: ID of the higher-level folder
ORIGINAL_FOLDER: ID of the originals folder
MATERIAL_FOLDER: ID of the materials folder
BOM_FOLDER: ID of the material BOMs folder
CFOLDER_RFC_DESTINATION: RFC connection to the cFolders system
CFOLDER_BS_NAME: Name of the cFolders system
FLT_VAL: CAD system
DOCUMENTS: Document data
NEUTRAL_FOLDER: ID of the neutral documents folder
- EXPORT_DOCUMENTS: You can use this method to export a document
to cFolders (changes to documents that are to be exported into
the cFolders system).
Parameter:
DISKEY: Short form of document key fields
FLT_VAL: CAD system
DOCUMENTNUMBER: Document number
VERSION_NAME: Version name
VERSION_DESCR: Version description
CONTENT_BIN: Table with binary document content
DOC_ID: cFolders ID
- EXPORT_BOM: You can use this method to export a material BOM to
cFolders (changes to the bill of material you want to export).
Parameter:
PARENT_MATERIAL: Header material
FLT_VAL: CAD system
DOC_ID: cFolders ID of the header document
VERSION_NAME: Version name
30.07.2007 Page 12 of 15
Note 600142 - CDESK: List of all BAdIs/BAdI methods in CAD desktop
VERSION_DESCR: Version description
BOM_HEADER_ATTRIBUTS: Attributes of the BOM header
LINKED_DOCUMENTS: Linked documents
BOM_ITEMS: BOM items
BOM_ITEMS_ATTRIBUTS: Attributes of BOM items
- THUMBNAILS_SIZE: You can use this method to change the size of
the miniature views (to change the size of the individual
miniature views, for example, depending on the view).
- THUMBNAILS_FILES: With this method, you can select the
miniature view to be displayed from a list (to choose the
miniature view to be displayed from a list of originals, for
example depending on the application).
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
The following section describes an example of how to add buttons to the toolbar of the
CAD desktop using a BAdI implementation (BAdI CDESK_TBM_ADDIN,
ADD_NEW_FUNCTIONS method):
METHOD if_ex_cdesk_tbm_addin~add_new_functions.
DATA: ls_toolbar_fct TYPE cdesk_menu_object.
CLEAR: ls_toolbar_fct.
MOVE: 'NEW_FUNCTION' TO ls_toolbar_fct-context,
'TSSAP' TO ls_toolbar_fct-tabstrip,
'NEW_FUNCTION' TO ls_toolbar_fct-fcode,
'@10@' TO ls_toolbar_fct-icon,
'New function' TO ls_toolbar_fct-tip,
'New function' TO ls_toolbar_fct-ctext,
0 TO ls_toolbar_fct-type,
'' TO ls_toolbar_fct-accelerator,
'NEW_FUNCTION' TO ls_toolbar_fct-button_fcode,
'' TO ls_toolbar_fct-button_btext,
'New Function' TO ls_toolbar_fct-button_tip.
APPEND ls_toolbar_fct TO menu_objects.
ENDMETHOD.
-
The 'cdesk_menu_object-type' type can have the following values:
0 Button (normal)
1 Menu + default button
2 Menu
3 Separator
4 Radio button
5 Checkbox
6 Menu option
'cdesk_menu_object-tabstrip' can have the following values:
SAP view 'TSSAP'
CAD view 'TSCAD'
CAD worklist 'TSINS'
CAD working directory 'TSDIR'
Dokument list 'TSSAPLI'
30.07.2007 Page 13 of 15
Note 600142 - CDESK: List of all BAdIs/BAdI methods in CAD desktop
Note that each button must have a different value for 'ls_toolbar_fct
context' because otherwise the system only displays the first button
created for the same 'context'.
-
You can then analyze the new function code as follows, for example, (BAdI
CDESK_TBM_ADDIN, method PROCESS_NEW_FUNCTIONS):
METHOD if_ex_cdesk_tbm_addin~process_new_functions.
CASE fcode.
WHEN 'NEW_FUNCTION'.
CALL FUNCTION 'Z_MY_NEW_FUNCTION'.
ENDCASE.
ENDMETHOD.
Header Data
Note Number: 600142
Note Language: English
Master Language: German
Version of Master Language: 35
Valid from: 28.06.2006
Release Status: Released for Customer
Released on: 29.06.2006 16:17:25
Released by: Eve Dieterich
Priority: Recommendations/additional info
Author: Simone Wuhrer
Entered by: Florian Arnold
Processed by: Eve Dieterich
Last Changed by: Eve Dieterich
On: 29.06.2006 16:17:26
Category: Consulting
Standard Note: No
Main Component CA-CAD CAD Integration
The note is not release-dependent.
Related Notes
30.07.2007 Page 14 of 15
Note 600142 - CDESK: List of all BAdIs/BAdI methods in CAD desktop
Number Short Text
943882 CDESK: Search for icons in SAP and CAD view
931152 CDESK: Setting checkmarks for menu options in CAD desktop
927559 CDESK: New BAdI method CDESK_BADI_MAIN~CHANGE_VERSION
924956 CDESK: New BAdI Method to control view changes
923579 CDESK: No document search for "Assign document"
905268 CDESK: Adding custom fields in CAD desktop
886062 CDESK: "Display working directory" in CAD working directory
883422 CDESK: New BAdI methods for thumbnails
866493 CDESK: Context menu for SAP and CAD view
864442 CDESK: BAdI in FB CDESK_BOM_WIZARD for configurations
858192 CDESK: Calling the ON_FUNCTION method in CDESK_BADI_MAIN
856231 CDESK: new BAdI for export functions
850953 CDESK: BAdI method CDESK_MATERIAL~ON_CREATE_DIALOG
831744 CDESK: Delete-Assistant in CAD Working Directory
794387 CDESK: Deleting empty document structures (BAdI Enhancement)
793880 CDESK: Calling CDESK_BADI_MAIN~ON_FUNCTION at the check-out
792627 CDESK: Working directory with directory structure
784912 CDESK: calling CDESK_BADI_MAIN~ON_FUNCTION during check in
770330 CDESK: Suppress refresh of the views for modification
769276 CDESK: Call of CDESK_BADI_MAIN~ON_FUNCTION at CheckIn
769244 CDESK: new parameters of method ON_GETSTRUCTURE
765786 CDESK: BAdI - Skip initial screen for document creation
763737 CDESK: Function code for method CREATE_DOCUMENT_DARK
759229 CDESK: BAdI, change of icons in SAP or CAD view
757219 CDESK: Button "SAP view", although SAP view is hidden
732643 CDESK: new calls of ON_FUNCTION of the CDESK_BADI_MAIN
731254 CDESK: Method CHANGE_STRUCTURE for CDESK_BADI_MAIN
729834 CDESK: new calls of ON_FUNCTION of the CDESK_BADI_MAIN
728259 CDESK: BAdI RENAME_AND_ADD_FILES w/ versioning
724085 CDESK: Function code for method RENAME_AND_ADD_FILES
723990 CDESK: Data in BAdI CDESK_BADI_MAIN~ON_FUNCTION is missing
712133 CDESK: Copy/replace - no document change by BAdI
709685 CDESK: BAdI, do not display work directory/change number
708310 CDESK: BAdI, change RFC destinations
703291 CDESK: Delete document (BAdI CDESK_BADI_MAIN)
702626 CDESK: New BAdIs in function "Copy and replace"
700586 HRE: FAQs about SAP PLM Integration for Pro/ENGINEER
700428 CDESK: Engineering Change Management function in CAD desktop
683575 CDESK: BAdI, hide some views
674563 CDESK: Multiple usage of BAdIs
664144 CDESK: BAdI before/after callback C_DESK_GET_CAD_DATA
664102 CDESK: Define storage category in BAdI
656545 CDESK: Administration of additional files (for example *.cfg
649484 CDESK: BAdI, adjusting column inventory for layout
648662 CDESK: Document description in BAdI RENAME_AND_ADD_FILES
30.07.2007 Page 15 of 15
Note 600142 - CDESK: List of all BAdIs/BAdI methods in CAD desktop
Number Short Text
647939 CDESK: 'O' status with "check out"; Log field
644334 CDESK: Using BAPI to set a log field if a status is changed
630516 CDESK: Parameter of BAdI, when creating DIS "in foreground"
630496 CDESK: BAdI, when deleting document
630472 CDESK: Parameter BAdI CDESK_BADI_MAIN~APPEND_FILES_ON_CREATE
627580 CDESK: FAQs for the CAD desktop 2.x
625833 CDESK: BAdI : APPEND_FILES_ON_CREATE
625503 CDESK: BAdI, with DIS "create in background" (Correction)
625493 CDESK: BAdI, when creating DIR "in the foreground"
618411 CDESK: Enhancement of Note 615087
615087 CDESK: Enhancement of Note 569093
614087 CDESK: BAdI, at DIS creating in background
600576 CDESK: BAdI, report change of the change number to CAD
592118 CDESK: BAdI, setting checkout status
588425 CDESK: BAdI after checking in (after_checkin)
570592 CDESK: BAdI, report the change of the work directory to CAD
569093 CDESK: BAdI, rename and attach originals to DIR
568526 CDESK: BAdI, maintain long text object link Doc-Mat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thomas,
I have seen your name quite often, but not in this Forum. Are you the same Thomas that herr Werner Simpson and Kobus Viljoen knows?
Another question, who can I talk to regarding integration with SAP DMS and MS Sharepoint? I want to store documents in Sharepoint, but access them via SAP DMS?
Do you have any pointers on this?
Please advise,
Regards.
Hello Freddie,
yes, I know Werner and Kobus very well.
We do not offer a Sharpoint Integration directly from DMS. You could talk to the Sharepoint guys or ask an integration partner (like inpuncto) whether they have knowledge about that topic.
With our standard APIs for Document Management you can build an integration to DMS by yourself.
Regards
Thomas
Hi Sachin,
as both SolidWorks and SolidEdge integration use the CAD Desktop you should look for the BADIs starting with CDESK: like CDESK_ADD_FUNCTION, CDESK_BADI_MAIN, CDESK_TBM_ADDIN,...
Best regards,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.