Skip to Content
0
Former Member
May 31, 2005 at 02:49 PM

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

26 Views

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 BAPI DimAs problem 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,

Joe