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

Former Member
0 Likes
494

Hi,

I have copied the function module SAMPLE_INTERFACE_DE_BALE to custom function module Z_........... But when I am activating the Z function module, i am encountering the syntax error 'The type BUSEI_COM_EXTERN is unknown'.

I didnt write any no code in between the FUNCTION and ENDFUNCTION statements.

Please help me out.

Thanks in advance.

Satish

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
463

Hi,

U need to copy the type groups for that. The BUSEI_COM_EXTERN is declared in Type group BUSEI.

Hence u need to include this Type group in ur Function group.

Rgds,

Prakash

3 REPLIES 3
Read only

Former Member
0 Likes
464

Hi,

U need to copy the type groups for that. The BUSEI_COM_EXTERN is declared in Type group BUSEI.

Hence u need to include this Type group in ur Function group.

Rgds,

Prakash

Read only

Former Member
0 Likes
463

Hi Satish ,

In the function check where is the BUSEI_COM_EXTERN defined , it must most prob be deined in the Function group(FG) , so it will be local to that FG , now since you created a new function which does not belong to that FG , so that type will not be available , if this is the case the look at how it is declare in the FG and in the same way declare it in your FG.

Regards

Arun

*Reward points if reply is useful

Read only

Former Member
0 Likes
463

Thank you guys. The problem is solved.

Satish