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: 

standard include in the zreport

Former Member
0 Kudos

hi experts,

i am working on a Zreport . to this report i need to convert retrive data from the archeive data base currently it is retreiving from the r/3 database .the prob is when i am converting it using conersionn tool after coversion we saved it & while executing it is giving as an error that field "kd_gjahr"

is not initial . in the orginal zreport field "kd_gjahr" is intialized the include program .that includeprogram is standard sap program (.i.e DBKDFSEL) .but in the main program Zreport program we dont have any includes specified.

without specifying the link b/w the main program &standard include how it is navigating .

my problum is how to overcome the error .

pls reply it it is a very urgent issue .

points will be rewarded.

4 REPLIES 4

Sm1tje
Active Contributor
0 Kudos

How is that field initialized? In a subroutine of the standard include, or otherwise?

Look at how field is initialized and repeat this in your z-report.

If the field is initialized in the include (in some sort of complex way, with conditions etc.) you might want to consider in declaring the include in your z-report and call the subroutine, in which the field is initialized, from within your own report.

When you are in SE80, and have declared the include to be used, it will appear in your report 'tree'. Now in the subroutines you will find all the subroutines, also the ones of the standard include. Drag and drop that routine into your report.

This only applies if the field is initialized in a subroutine.

Former Member
0 Kudos

the field is initialiged in directly in the standard progrm. if i initalized externally in the zreport also it is giving one more errorin like that.i need the solution where he linked the zreport with standard program.

pls do the needful.its urgent.

Sm1tje
Active Contributor
0 Kudos

What is the error message exactly, about linking z-report and standard include?

Former Member
0 Kudos

hi ,

when i am trying to copy this program into dummy program the dummy program also not activating it is also showing the intializations are missing that means the standard includes are not copying in to dummy . why this happening .pls it it an urgent.