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

logical database

Former Member
0 Likes
362

I am working with a report.

Its a standard one ,I copied it into z program,

report use ldb to fetch data.

I have to add one more field(user name) in the selection-screen,

Report uses ADA logical database, so I copied into Z one.

in its source code ,there is one include .

this include uses function "get_next_anek" to fetch data.

Basically there is one select statament inside this function module.

SO I have to put one more field anek-usnam in where condition of select statement.

To do this :

I copied the standard ldb into zADA.

modified the include.

Since the include contain standard function "get_next_anek" , I copied the function group "abra" into Z .

and replaced the get_next_anek with z_get_next_anek.

now the problem is:

Function group has some standard include in main program that is executed before executing "get_next_anek",but in the copied Z function group its not executing those include.(se80- fuction group- abra.right click on function group "abra" and select main program).

second thing is :

Program is using half of slection screen from ldb

and few select option from report.

selction options defined in report comes below the select option of LDB. My question is how to pass user entry from select option (report one) to ldb so that necessary data can be fetched.

Please Help.

1 REPLY 1
Read only

suresh_datti
Active Contributor
0 Likes
309

Hi Gaurav,

I don't see a need to copy the LDB.. In your report, you can put the following check afater the GET ANEK event.

check anek-usnam in s_usnam.

Regards,

Suresh Datti