cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Sync Bo Creation

Former Member
0 Kudos

Hi

I am on WAS 6.40. And have defined my two own RFC's to be used for GetDetail and GetList.

When I am generating the SyncBo. It gives the following error <b>'Function modules from the function pool Z_MEREP_GEN_T01_ZMIDELV contain syntax errors'</b>

And does not show anything else.

I have specified the key, Map etc. but cannot figure out what is the error.

Can someone help in tracing the error.

Best Regards

Swetank

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Swetnak!

Looks like one of the Function Module(FM) in your Function Group has some syntax error.In your Backend SAP System Go to SE37 and then type in your FM name and then Go To the Main Program.There will be a Include Program in the Main Program marked as "Function Modules".Double Click that and it will have a seperate Include for each Function Module in that Function Pool.Double Click each one of them One by One and try to activate.You will know which FM is causing the Syntax Error and what is it.If the errror comes out of a Function Module which you need fix that and activate the Main Progam and the errror comes out of a Function Module which you donot need then re-assign it to a different Function Group or comment out the Source Code of the FM inside that particular include program in your main program.

Basically you try to generate the Main Program of the Function Module you are using in your backend SAP System, that will get you the answer for the syntax error.

Let me know if this has resolved your problem.

Thanks

Gisk

Message was edited by: Gisk

Also donot forget the rewards if you feel you got some useful info

Message was edited by: Gisk

Former Member
0 Kudos

Hi Gisk

The problem is not in my Backend R/3 Function Module. The Main program does not have any error and it also works fine there.

The problem happens when generationg Sync Bo. And the error message tells that there seems to be a problem with the Dynamic Function Module which is generated when SyncBo is created (Z_<b>MEREP_GEN_T01</b>_ZMIDELV).

But in anycase, will check this Function Module and will try insert my ABAP code if possible and if that helps.

Thanks for your response and giving me a possible hint on the same.

Best Regards

Swetank