‎2007 Sep 19 7:59 AM
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.
‎2007 Sep 19 8:52 AM
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