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

BAPI_MATERIAL_MAINTAINDATA_RT dump

Hi Guru',

I am using function module BAPI_MATERIAL_MAINTAINDATA_RT to list a article at plant level.

I declared the RETURN table as BAPIRETURN1 . But while excuting the program I am getting fallowing error.

"RETURN" is the correct type, its length is incorrect.

I tried in all ways . But still I am getting this problem .

Will u please any body solve my problem.

Thanks in advance,

Santhosh.V

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Dec 09, 2011 at 11:03 AM

    Hi Santhosh,

    It is export parameter and structure not a table.Change your code and post if still there is any issue.

    Regards,

    Madhu.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 09, 2011 at 10:46 AM

    Hi Santosh,

    The return parameter of the BAPI 'BAPI_MATERIAL_MAINTAINDATA_RT' is an export parameter. It is not a table parameter.

    Hence, declare it as following:

    DATA: wa_return TYPE BAPIRETURN1.
    

    Regards,

    Pranav.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 09, 2011 at 11:27 AM

    Thanks Pravan,

    Problem has been solved.

    Thanks,

    Santhosh.v

    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.