cancel
Showing results for 
Search instead for 
Did you mean: 

SPAM/SAINT Syntax Error after importing KD62051

Former Member
0 Kudos

Hello,

We currently have problems in SPAM.  We cannot access the transaction and it throws errors below.

Calling SPAM:

 

Syntax error in program SAPMSPAM

in include CL_OCS_ENVIRONMENT============CU

in line 9

Last changed by SAP

Author SAP

-------------------------------------------------------------------------

You cannot use the TYPES statement in the PUBLIC SECTION.

Calling SAINT

Syntax error in program SAPLSAINT_UI

in include CL_OCS_ENVIRONMENT============CU

in line 9

Last changed by SAP

Author SAP

-------------------------------------------------------------------------

You cannot use the TYPES statement in the PUBLIC SECTION.

We have performed SAP Note (684564 - Re-importing a SPAM/SAINT update)

And instead of using SPAM to reimport (since we cannot use), we used the tp command.

tp r3i SAPKD62051 NSP pf=F:/usr/sap/trans/bin/TP_DOMAIN_NSP.PFL

When we check on the tp showbuffer, here is what comes up.

F:\usr\sap\trans\bin>tp showbuffer NSP pf=TP_DOMAIN_NSP.pfl tag=spam

This is tp version 320.59.05 (release 620)

NSP buffer:

TASK |PROJECT |P|CMD I |DD Im |Activ |MainI

|MC Ac |A

DO I |VersF |XPRA |Gener |UMODE|TAGS

--------------------+--------------------+-+------+------+------+------

+------+-

-----+------+------+------+-----+----

SAPKD62051 | | |*0000 |*0000 |*0004 |*0000

| |

| |17 | | |D

that makes 1 transport to be imported.

tp finished with return code: 0

meaning:

Everything OK

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I have exactly the same problem... did you find a solution for this error ?

Kind Regards

Andrei

Former Member
0 Kudos

If SPAM update is successful, just update the kernel to the latest patch.(we upgrade our kernel from 620 to 640_EXT)

Else, if the import was not successful

Run delete from buffer SAPKD62051

Then delete SAPKD62051 entries in tables PAT01 and PAT03 using SE14 and SE16n

Patch your Kernel to the latest (we upgrade our kernel from 620 to 640_EXT)

Run the SPAM Update Again.  You should be clear of errors

Former Member
0 Kudos

The Problem is that I can not patch the Kerlen right now :-s

When I execute SPAM or SAINT I get an error

I also get an error message when I try to theck the System Status

Syntaxerror in Programm : SAPLSPAM

In Include: CL_OCS_ENVIROMENT===========CU

In Line: 9

Can you tell me what to do to revert to the Status before the SPAM update?

Kind Regards

Andrei

Former Member
0 Kudos

Thank you ! your solution was also my solution !! How can I reward you ?

abk07
Participant
0 Kudos

Hi Andrei,

If you have solved your problem, kindly mark the answer as correct answer.

Cheers!

Abhishek

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Can you run SPAM without issue.

But usually these kind of issue you should reach to sap . Some cases when you run the above command and things are not ok sap will not support you. So should run sap only when sap recommends you.

Thanks

Rishi abrol