‎2011 Dec 09 10:27 AM
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
‎2011 Dec 09 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.
‎2011 Dec 09 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.
‎2011 Dec 09 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.
‎2011 Dec 09 11:27 AM