Skip to Content
author's profile photo Former Member
Former Member

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

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,


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 31, 2005 at 03:29 PM


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



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.