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

ABAP RunTime Error for tcode : TS01

Former Member
0 Likes
1,311

Hi Friends,

Actually we are getting the run time error while creating the standard security transaction using TS01.

After entering the data in the first screen -- click on the enter -- enter the details inside & click on save button--then it will go run time error.

Here while calling the method, we are getting the run time error.

call method cl_class_position_op_trs=>trs_flows_calculate_tax

exporting

im_tab_flow = L_TAB_FLOWS

im_company_code = l_company_code

im_security_account = l_security_account

im_security_id = l_security_id

receiving

re_tab_flow = RE_TAB_FLOWS

exceptions

failed = 1

others = 2.

if sy-subrc <> 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4

RAISING FAILED.

endif.

Actuallly here the problem with the class becuase the class cl_class_position_op_trs itself has error.

In the class , in the local classes they are calling again the class cl_class_position_op_trs. becasue of this reason it was going to run time error.

So we are getting the run time error.

We have OSS note for the same problem.But i am unable to implement that.

Please guide me how to implement the OSS note 751947.(Note 751947 - TRS: Syntax error due to ABAP Compiler)

please find the error details:

Runtime Errors SYNTAX_ERROR

Occurred on 03/12/2008 at 00:26:57

Syntax error in program "CL_CLASS_POSITION_OP_TRS======CP ".

What happened?

The following syntax error occurred in the program

CL_CLASS_POSITION_OP_TRS======CP :

"Components of classes declared using "CLASS CL_CLASS_POSITION_OP_TRS D"

Error in ABAP application program.

The current ABAP program "CL_CLASS_POSITION_TRS=========CP" had to be

terminated because one of the

statements could not be executed.

This is probably due to an error in the ABAP program.

What can you do?

Please eliminate the error by performing a syntax check

(or an extended program check) on the program "CL_CLASS_POSITION_OP_TRS======CP

".

You can also perform the syntax check from the ABAP/4 Editor.

If the problem persists, proceed as follows:

Print out the error message (using the "Print" function)

and make a note of the actions and input that caused the

error.

To resolve the problem, contact your SAP system administrator.

You can use transaction ST22 (ABAP Dump Analysis) to view and administer

termination messages, especially those beyond their normal deletion date.

Error analysis

The following syntax error was found in the program

CL_CLASS_POSITION_OP_TRS======CP :

"Components of classes declared using "CLASS CL_CLASS_POSITION_OP_TRS D"

Regards.

Lakshmi

Edited by: lakshmi podile on Mar 14, 2008 8:08 AM

3 REPLIES 3
Read only

Sm1tje
Active Contributor
0 Likes
647

Did you go through the steps in the note?

Use transaction SE24 to distribute the local classes into new include structures as follows:

Call transaction SE24 for the class CL_CLASS_POSITION_OP_TRS.

Select the following menu option:

Goto --> Class-local types --> Local Class Definitions/Types

Confirm the message that proposes conversion into the new structures.

Choose Utilities --> Regenerate sections from the menu.

Activate the class and all changed objects.

Try and do this, and see what happens.

Good luck.

Read only

Former Member
0 Likes
647

Hii

Thanks for the reply.

Actually I tried this way, but I didn’t get any pop up to confirm.

'Confirm the message that proposes conversion into the new structures.'

May be have to open the class in the edit mode?

Thanks.

Lakshmi P

Read only

Sm1tje
Active Contributor
0 Likes
647

No, when you want to enter in edit mode, than you would need a key for modification.

Sorry, can't help you. Where on a version in which we don't have this problem.