Skip to Content

Syntax error in program SAPLOCS_API System: while using Spam its giving dump error

Oct 26, 2016 at 09:27 AM


avatar image


I am facing the issue while upgrading current CRM system using Sum.Error is mentioned below:"RFC error system <SID> nr 01 function 'OCS_API_GET_SPAM_VERSION' failed with code 3". and SPAM tcode is also creating runtime error dumps it is not able to open.

Its throwing below mentioned runtime error:

Error in the ABAP Application Program The current ABAP program "SAPMSPAM" had to be terminated because it has come across a statement that unfortunately cannot be executed. In include "LOCS_ALV_UIU08 ", in line 210 of program "SAPLOCS_ALV_UI ", the following syntax errors have occurred: Field "TYPE_CDP" is unknown. It is neither in one of the specified tab les nor defined by a "DATA" statement. "DATA" statement.
Please help to resolve the issue

Thanks in advance.



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Imre Takacsi-Nagy
Oct 26, 2016 at 11:58 AM

Hi Sanjeev,

The SPAM import must be finished successfully.
In AL11 transaction the last 10 logs must be checked in the DIR_TRANS/log first.
If you can not go forward (there is no SAP note for this) then we from SAP side must logon to the system per R/3 level and fix this.
An other option (which we want to avoid ) is a restore of the system to the state before the Upgrade was started.

Best regards

Imre Takácsi-Nagy

SAP Product Support, Business Suite & Technology
Global Support Center Hungary

SAP Hotline for urgent issues ->see the note 560499
Check out accelerate finding upgrade solutions:

If you or your company run SAP NetWeaver-based Upgrades, enroll in the OpenSAP course
and learn from planning to reducing downtime and troubleshooting issues.


Show 1 Share
10 |10000 characters needed characters left characters exceeded

Dear Imre,

Thank you for the response.

I will go through your solution once and i will let you know