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

getting error when run user defined transaction code

Former Member
0 Likes
389

Hi there,

I created one ZTcode by using standard Tcode's program and screen number. When I run this Ztcode, shows an error "Error when access file TC10 Ztcode" on taskbar. What is problem, pls reply.

ur answer is most useful.

Regards,

Zakir Khan.

1 REPLY 1
Read only

RaymondGiuseppi
Active Contributor
0 Likes
347

TC10 stores information related to SAP transaction like TC10-TRTYP which give the type of transaction (display, edit, initial)

The standard program check in this table (and other TC*) how it should perform.

Way to solve the problem

- try defining you Z-transaction by referencing standard transaction, not giving the program/dynpro.

- If that don't work you may have to duplicate the called program and then override sy-tcode by the original value in the program before accessing tables TC*

- Other way is to duplicate records in table TC10 and other tables

Regards