Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Syntax Error while activating a Function Module

Hi All,

I have created a Function Group then a Function Module with source code.

The TOP Include has been defined with all global variables.

There will be another Include (_F01) which will hold all the FORM and ENDFORM statements.

While activating whole contents under this Function Group, system is giving a syntax error in (_F01) include program.

The syntax error is about a structure to which a value is being passed.

The system says that particular structure is not available in the system.

But when i double click on the structure name in include program's editor, the navigation will route to that particular structure.

The structure is in active status.

I tried to activate whole Function group in SE80 and faced same error saying the field <> is not unknown.

I have activated the navigation index several times.. Still same error...!!

Can anyone help me to come out of this weird error??



Former Member
Former Member replied

Seems that you created the strucutre in the data dictionary but didn't create it locally. Try to declare the structure inside your include or in the TOP include:
DATA: yaur_s_label_apa TYPE yaur_s_label_apa.



1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question