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

Problem in creating Z program from SAP standard program.

Former Member
0 Likes
901

Hi,

I am trying to create Z transaction ZKSB1 using the standard KSB1.I am trying to copy program RKAEP000 to create a Z program.The program RKAEP000 has 10 includes.When i am trying to copy it to create a Z program it is displaying only 5 standard include out of 10 for creating Z includes.I am not getting why it is not showing all the 10 inlcudes for creating Z includes.Please help me.I am working in version 4.6.

Regards,

Mukesh Kumar

5 REPLIES 5
Read only

ashok_kumar24
Contributor
0 Likes
631

Hi Mukesh,

An alternative method is to copy the existing PROGRAM to a ZPROGRAM and

the assign a ZTCode to the copied program.

Good Luck and thanks

AK

Read only

Former Member
0 Likes
631

Hi!

You don't have to copy all of the standard includes, only those, which you wanted to modify. You can use the standard includes in your program as well as Z ones.

And if you wanted to modify an another include, you can simply copy it with transaction SE38.

Includes are exactly the same program like other programs, the only exception, they cannot be run (because they have the type "I"nclude).

Regards

Tamá

Read only

0 Likes
631

Hi Tamas,

When i am trying to Copy the SAP program it is showing 5 includes out of 10 for creating Z includes but when i am Displaying my copied Z program in SE80 transaction it is showing 5 Z includes and 5 Sap includes. I have to make changes in SAP standard include.So the solution you provided to copy and create Z inlcude in SE38 cannot be done as SAP inlcude is already there in the Z program and i cannot delete it.

Any other inputs.

Regards,

Mukesh Kumar

Read only

0 Likes
631

Hi Mukesh,

u have to copy SAP standard include into Z include for which include u want to modify. rest are use same standard SAP include. u have to do modifications only Z programs & Z includes only

regards

V.Rajesh

Read only

0 Likes
631

SE38 only copy "direct" includes of the program, not includes of includes

Example : RKAEPSSC is included into RKAEPTOP.

So if you need to rename this include you will have to manually rename in INCLUDE instruction of RKAEPROP.

Regards