Application Development 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: 

Subscreen issue -Copied Standard program

Former Member
0 Kudos

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

4 REPLIES 4

sridhar_k1
Active Contributor
0 Kudos

Did you replace all occurances of 'SAPMKKS0' in the zprogram with your z program name.

Regards

Sridhar

0 Kudos

I just replaced only one Include MKKS0O01 with ZMKKS0O01.

and remaining includes are same as standard.

regards

Vara

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

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

0 Kudos

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