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

Long string problem while communicating with DLL

Hi

In our project, we encountered problems about passing strings longer than 255 characters while the SAP system communicates with a dll method.

We do not want to use file operations as the intermediary layer. Is there a way to handle this situation other than a file-related solution?

Thanks & Regards...

*--Serdar https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 24, 2005 at 08:36 AM

    Hi,

    Can you tell me whether the DLL was created using a DCOM connector or .NET Connector or simple DLL through VB etc and what is it doing exactly?

    Cheers,

    Sam

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 25, 2005 at 05:00 AM

    Hi,

    In VB if the data type is Variant or string, then no problem should occur with the VB DLL part. But as I understand, here the problem is in ABAP.

    But a declaration like this

    data: t(300).

    should be ok and should hold even more than 255 characters and communicate with the DLL interface. Can you tell me what is the exact error that is occuring??

    Cheers,

    Sam

    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.