on 01-03-2008 6:08 AM
i am using AutoCAD VBA to intergrate with SAP using RFC
i am able to logon to SAP system
using RFC connection
i am also able to run RFC defined in SAP system using AutoCAD VBA codes
The Problem is
when using "RFC_CREATE_DOCUMENT_MASTER"
I am not able to export "Document_Data"
since Document_data is defined as structure
VBA do not support structure data type
How to export structure data type using VBA
Hi,
I never used RFC_CREATE_DOCUMENT_MASTER, but it should be the same as in BAPI CreateFromData2
Set oDocumentData = oBAPICtrl.DimAs (oDocument, "CreateFromData2", "DocumentData")
oDocumentData.value("DOCUMENTNUMBER") = dok_no
oDocumentData.value("DOCUMENTTYPE") = dok_typ
oDocumentData.value("DOCUMENTPART") = dok_td
oDocumentData.value("DOCUMENTVERSION") = dok_ver
..........
Regards Iring
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
109 | |
15 | |
10 | |
5 | |
4 | |
3 | |
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.