on 11-27-2007 3:23 PM
Hi,
Im using Cideon's CAD integration tool.
I can able to transfer the data from SAP to AutoCAD Title block.
But not able to transfer data from Title Block to SAP.
Eg.
If I give "Test Title block" in description field of DIR. Its getting updated in ACAD Title Block's Description field. So SAP to CAD data transfer is ok.
But if I change the data in ACAD title block as "Test Title Block updated" its not getting updated in the document field of DIR?
How to make the config settings? Can anybody help?
If possible give an example.
Hi MRK,
I am into process of SAP-AUTOCAD integration,
can you pls provide me step by step procedure for title block update from SAP to CAD & CAD to SAP.
Thanks,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I hope you are using AutoCAD and not Inventor..
you need to do some config under,
USERCFG>GENERAL>UpdTbkAfterChangeDoc as YES
This ll have SAP>CAD update...
Now if you need reverse, that is,
CAD > SAP
then
under systemcfg>default (or any user)>updatedir>BAPI_DOCUMENT_CHANGE2>DOCUMENTDATA>
enter string you need to change in SAP to property from AutoCAD.
e.g
DESCRIPTION == %titleblock(AD_DESCRIPTION)
Just check..
Niranjan
Award points if useful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Niranjan,
I have made the changes as you said.
Under
SystemCFG>default>updateDIR>BAPI_DOCUMENT_CHANGE2>DOCUMENTDATA>
I made an entry as
Key as "DESCRIPTION"
Value as "%titleblock(AD_DESCRIPTION)"
and
SystemCFG>default>updateDIR>BAPI_DOCUMENT_CHANGE2>DOCUMENTDATAX>
I made an entry as
Key as "DESCRIPTION"
Value as "X"
but still my Document Field of DIR is getting updated in ACAD's Title block Description field.
Only SAP to CAD is happening. Not CAD to SAP.
Do i need to do any other settings to block that?
Hi
i feel your requirement is CAD to SAP right?
in this case to disable SAP > CAD
in usercfg>general>UpdTbkAfterOpen and other tbk entries to No
this ll not fetch values from SAP to CAD
Now,
when you need to pass data from CAD to SAP...
please change data in description properties of file.
which ll give you CAD>SAP transfer
however,
in this case SAP>CAD wonh happen..
If possible send me cfg file to niranjandandekar@hotmail.com
Niranjan
Award if Useful
Hi Niranjan,
Sorry for the delay i was in a training.
In TbkMapping I have mapped the Description Field of SAP to Description attribute of ACAD Titleblock. So SAP to CAD is fine.
To do the data transfer from CAD to SAP, I tried with the UpdateDir like this
SystemCFG>default>updateDIR>BAPI_DOCUMENT_CHANGE2>DOCUMENTDATA>
I made an entry like,
Key as "DESCRIPTION"
Value as "%TITLEBLOCK(GEN-TITLE-DES1)"
and
SystemCFG>default>updateDIR>BAPI_DOCUMENT_CHANGE2>DOCUMENTDATAX>
I made an entry like,
Key as "DESCRIPTION"
Value as "X"
I have created an object named as DOCUMENTDESCRIPTIONS
SystemCFG>default>updateDIR>BAPI_DOCUMENT_CHANGE2>DOCUMENTDESCRIPTIONS
Inside that I have created an object LINE_0
LINE_0 Contains
Key as "LANGUAGE_ISO"
Value as "EN"
Key as "DESCRIPTION"
Value as "%TITLEBLOCK(GEN-TITLE-DES1)"
Pls tell me if im wrong. what other settings i need to do?
MRK
Hi,
I saw the entries in tbkmapping.
what i feel is, it is kind of conflicting....
for TBKMAPPING you are asking system to flow data from
SAP >> CAD
and in updatedir
you are mapping same fields to flow from
CAD >> SAP
It should be either of the way not both.
Think logical
I ll again try to get bak with some other finding.
One more issue...
When you get data from SAP to CAD
it is being preset to which Attribute?
is it going to Title of file attribute or Title block which u have defined?
if possible send me the <b>titleblock dwg</b> to my mail id as im getting other errors as i dont know which field are mapped in ur titleblock.
Niranjan
Award points if useful
Hi Niranjan,
As per the logic i know that simultaneous data transfer from CAD to SAP and SAP to CAD is not possible but im not sure about this.
Im using a drawing of acadiso.dwt of AutoCAD Mechanical 2007 and im mapping the Description field of SAP to Description1 field of Title Block.
In AutoCAD you can create a new drawing and give the command eattedit command in the command prompt and click on the titleblock. It will open the enhanced attribute editor. There u can see the GEN-TITLE-DESCRIPTION1 attribute.
If you are facing problem in this then let me know i will send you a sample dwg file.
MRK
hI
Just try to do this...
in
<b>usercfg>>general>>UpdTbkBeforeSave</b> set to <b>NO</b>
and
<b>usercfg>>general>>UpdTbkAfterChangeDoc</b> set to <b>NO</b>
This ll not have SAP >> CAD after saving changed document (includes changed TBK)
thus it ll have flow of CAD >> SAP .
However the Key,
<b>UpdTbkAfterOpen</b> should be <b>YES</b>
so that,
While opening drawing from SAP it ll fetch data from SAP..(SAP >> CAD)
Niranjan
Award points if useful
Hi Niranjan,
I have made the settings but still the data is not transfering from CAD to SAP.
I Have sent you the sample drawing also. Pls have a look into that.
Pls go through the CFG file and let me know the configurations to be done to achieve the functionality of CAD to SAP Data Transfer.
Thanks,
MRK
User | Count |
---|---|
100 | |
11 | |
11 | |
6 | |
6 | |
5 | |
4 | |
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.