Showing results for 
Search instead for 
Did you mean: 

VB6::COM SAP.BAPI.1 DimAs failure problem

Former Member
0 Kudos

I know this is a crosspost, but it was suggested through the thread that I post this question here in hopes of some more assistance.

In the thread I posted some VB6 code that uses the BAPI COM to communicate the the BAPI control. I am trying to create Goods Movements transactions in SAP via a VB program but I am running into problems using the DimAs function on three of the arguments to send to the CreateFromData function (GoodsmvtCode, GoodsmvtHeader, GoodsmvtHeadret). Only these three return with a value of "Error 0" from the DimAs call.

I was able to successfully test the GetItems method in which I used the DimAs method several times. It is just these 3 items under the CreateFromData list that fails.

I am using SAPGui 6.2 and Windows XP Pro (Service Pack 2).

I have also tried this against SAPGui 4.6c with the same results.

Any assistance you can provide would be much appreciated.

Thanks in advance,


Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos


Don't know if you're checking your original post, but I posted a response back there.