08-21-2006 10:34 PM
Hi,
I copied a standard Transaction program of KKS1 and changed an Include for our requirement.I activated all screens and GUI's and also Includes .
When I run this Z Transaction I am getting an Error saying Subscreen in not available.
Although standard and Z transactions are identical still I am getting error in Z transaction.
Any ideas?
Regards
Vara
Message was edited by: Vara K
08-21-2006 10:42 PM
Did you replace all occurances of 'SAPMKKS0' in the zprogram with your z program name.
Regards
Sridhar
08-21-2006 10:50 PM
I just replaced only one Include MKKS0O01 with ZMKKS0O01.
and remaining includes are same as standard.
regards
Vara
08-21-2006 10:56 PM
There is a data structure in the TOP include MKKS0TOP
called CON_rname, this structure has a field called ONLINE which has the value of the program name 'SAPMKKS0'. I think that this field needs to be changed to have the program name of your "Z" program instead of the standard.
DATA:
BEGIN OF CON_rname, " JOB: Reportname
KKSWL LIKE TBTCJOB-INTREPORT
VALUE 'RKKKSWL0', " Worklist
KKS1O LIKE TBTCJOB-INTREPORT
VALUE 'RKKKS000', " Old transactions
KKS1N LIKE TBTCJOB-INTREPORT
VALUE 'RKKKS1N0', " New transactions
<b> ONLINE LIKE TBTCJOB-INTREPORT
VALUE 'SAPMKKS0', " Online</b>
end OF CON_rname.
Regards,
RIch Heilman
08-21-2006 11:09 PM
Heilman,
I tried the way you adviced and I got the same dump
Screen does not exist...
The termination occurred in the ABAP program "ZSAPMKKS0" in "DYNPRO_INIT
The main program was "ZSAPMKKS0 ".
The termination occurred in line 135 of the source code of the (Include)
program "ZMKKS0O01"
of the source code of program "ZMKKS0O01" (when calling the editor 1350)
Regards
Vara