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

Error Message : -ZBAPI_LOGIC" must be a flat structure.

Former Member
0 Likes
544

Hi All

While creating a structure with type STRING, and we are trying to activate a BAPI its giving error message:-

"ZBAPI_LOGIC" must be a flat structure. You cannot use internal tables,strings, references, or structures as components .

Please provide a best soln.

urgent.

Regards

Deepanker

2 REPLIES 2
Read only

Former Member
0 Likes
471

Hi,

Please refer to the link below :

http://www.saptechnical.com/Tutorials/BAPI/BAPIMainPage.htm

Thanks,

Sriram Ponna.

Read only

0 Likes
471

I am also having the same problem, since one of the structures that I am using in the ZBAPI has a field with String type and giving me the same error.

For testing purpose, if I change that field to a char type of length 250, it worked fine.

I went and looked at the URL that Mr.Ponna has suggested but it gives the steps to create a BAPI but I could not find any thing regarding the error message.

If you have resolved the issue, could you please send me the solution? My email addresses are

singer_ram AT yahoo.com OR

rprasad AT cincom.com

I would really appreciate it.

Thanks

Ram