Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_MATERIAL_MAINTAINDATA_RT dump

Former Member
0 Likes
640

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

1 ACCEPTED SOLUTION
Read only

madhu_vadlamani
Active Contributor
0 Likes
584

Hi Santhosh,

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

Regards,

Madhu.

3 REPLIES 3
Read only

former_member222709
Contributor
0 Likes
584

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.

Read only

madhu_vadlamani
Active Contributor
0 Likes
585

Hi Santhosh,

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

Regards,

Madhu.

Read only

Former Member
0 Likes
584

Thanks Pravan,

Problem has been solved.

Thanks,

Santhosh.v