cancel
Showing results for 
Search instead for 
Did you mean: 

CAD to SAP data transfer (Title block integration)

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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?

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Niranjan,

My requirement is, If i change the Description Attribute of Title Block using "eattedit" command. The changed text should be updated into the Document field of DIR.

What settings i need to do for that?

Former Member
0 Kudos

Hi

Can you share CFG file...

I need to check what other config u have done..

my mail id: niranjandandekar@hotmail.com

Niranjan

Former Member
0 Kudos

Hi Niranjan,

I have sent you the CFG file to your mail id. Pls have a look on that and let me know the changes to be done.

Former Member
0 Kudos

Ok

i ll study n revert in couple of dayss..

Niranjan

Former Member
0 Kudos

Hi Niranjan,

Thanks. Im waiting for your solution.

Former Member
0 Kudos

Hi

Can you tell me which attribute you have defined?

also tell me where are you updating for the titleblock?

Niranjan

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi MRK,

Im on AutoCAD 2004,

and the template which u told me is not having any tbk...

can you send the same template or any sample dwg file.

Thanks,

Niranjan

Former Member
0 Kudos

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

Former Member
0 Kudos

Hey MRK,

The file is not opening...

how should we take it forward now.

Niranjan

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Niranjan,

I think the higher version ACAD file will not open in lower ACAD version.

Pls tell me the steps to achieve ACAD to SAP data transfer i will directly try in my machine.

MRK