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

DCOM Connector.

Former Member
0 Likes
839

Hi

I am new to SAP DCOM connector, our company is using DLL created by connector for passing/fetching data to/from Sap.

I need to add an additional field to the return Table structre, do I need to re-complie the whole applixation again using DCOM.

thanks

Lakhbir

5 REPLIES 5
Read only

Former Member
0 Likes
735

'add an additional field to the return Table structre'

That's the meaning of your requirement.

DCOM support generate the DLL, which include the proxy component for SAP RFC/BAPI.

You can call consume them through call proxy component in the outside client.

So please explain details on your requirement. Which structure do you want to add new field?

thanks

Read only

Former Member
0 Likes
735

Hi, I had a remote enabled FM, which is having A table parameter pricing whoich refernce to a Structire, Now due to business requirements I had to add additional fields to the structure and had done the same & in ABAP I am getting what I should. I recomplied new DLL using DCOM object builder , and accessed FM through VB interface, but still it is returning only the orignal structure not the new fields added.

Please help me I am doing this thing for first time.

Thanks

Lakhbir

Read only

Former Member
0 Likes
735

as the interface of that remote call FM has changed, you should generate the whole proxy dll again, using DCOM connnector.

And as it is a new DLL componenet, don't forget the change the COM consumer code in your windows side, specially the GUID of the new component. Every time, DCOM connector will give a new GUID for you DLL, when create a new proxy class.

And also can check the code of the proxy class, DCOM Connector will create some file for the interface structure definition. check them, and try to find out if the new field has already been included in it.

If still problem, just leave message to me.

thanks

Read only

Former Member
0 Likes
735

Hi , I could not understand by GUID. can you please explain.

Read only

Former Member
0 Likes
735

hi, GUID is global unique identitfy ID, which will generated when a component created.

It was used to identify each component in windows, you can treat it as a unique name of component.

When you try to create a component in memory, GUID will be used. But we can also create the component by other name, E.G. XXX.XX.1, these kind of name will be mapped to GUID to system at last.

For you problem, I think you'd better use a complete new name for you component, when build it.

and then go to start->setting->control panel Administrative Tools->Component Services

Navigate in this tools, under the Component Service->Computer->My Computer node, your new proxy component will be listed there.

The name will like XXX.XX.N

Then in you VB code, instant the component like following:

SET XXX = oSession.CreateInstance("XXX.XX.N").

And also reference to the following link:

http://help.sap.com/saphelp_nw04/helpdata/en/09/6b3212419311d2952000a0c94260a5/frameset.htm

Hope it will be helpful

thanks