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

Syntax error in program "SAPLCK2U "

Former Member
0 Likes
969

Hi All.

Syntax error in program "SAPLCK2U "

@ The current ABAP program "SAPL2044" had to be terminated because it has

come across a statement that unfortunately cannot be executed.

The following syntax error was found in the program SAPLCK2U :

""BMMH1" must be a flat structure. You cannot use internal tables, stri"

"ngs, references, or structures as components. ." @

I was using ZBUS1001 delegated type for BUS1001. I made some changes in the business object in the ZBUS1001 and i see that when ever i run this - it is throwing a dump for SAPL2044. Populating the above mentioned error.

Please suggest me as in how to handle this error.

Thanks,

Shankar

Hi All.

Syntax error in program "SAPLCK2U "

@ The current ABAP program "SAPL2044" had to be terminated because it has

come across a statement that unfortunately cannot be executed.

The following syntax error was found in the program SAPLCK2U :

""BMMH1" must be a flat structure. You cannot use internal tables, stri"

"ngs, references, or structures as components. ." @

I was using ZBUS1001 delegated type for BUS1001. I made some changes in the business object in the ZBUS1001 and i see that when ever i run this - it is throwing a dump for SAPL2044. Populating the above mentioned error.

Please suggest me as in how to handle this error.

Thanks,

Shankar

4 REPLIES 4
Read only

Former Member
0 Likes
799

So,  what was done to structure BMMH1?  was it enhanced to make it a deep structure?  Are you trying to handle as an internal table?  The message is straight forward.... when reference is made to BMMH1 by the program it is expecting a simple, flat structure.

Read only

0 Likes
799

we did not touch this structure at all. We were just handling the business object - ZBUS1001 for the workflow.

Read only

madhu_vadlamani
Active Contributor
0 Likes
799

Hi Shankys,

How ZBUS1001 is designed.

Regards,

Madhu.

Read only

0 Likes
799

ZBUS1001 is a delegated object of BUS1001.