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

Changing LDB

Former Member
0 Likes
911

Hi Experts,

I have a Z report which uses Logical Database. In LDB, it define the selection screen fields too. I need to make those fields as mandatory. LDB name is SAP Standard. There I find Selections tab, where the selection screen fields are defined. As it is SAP Standard, how do I make changes in it.

Urgent. Plz help.

Thanks.

Khan

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
818

hi,

Since your program is a 'Z' custom one. Copy the standard LDB to a 'Z' custom ldb, make the changes and assign to your 'Z' program.

Regards,

Subramanian

5 REPLIES 5
Read only

Former Member
0 Likes
819

hi,

Since your program is a 'Z' custom one. Copy the standard LDB to a 'Z' custom ldb, make the changes and assign to your 'Z' program.

Regards,

Subramanian

Read only

Former Member
0 Likes
818

better to write validations at selection screen on the fields

which U want to make mandatory ... changing LDB is not recommended ..

Read only

0 Likes
818

hi, HOW DO I MAKE VALIDATION? LDB also has the code to fetch the data from table on slection screen fields defined in LDB.

THANKS.

KHAN

Read only

0 Likes
818

use loop at screen and do the valildation and u can even hide the screen fields.

regards,

babu

Read only

Former Member
0 Likes
818

Hi,

Do the vgalidation for the field if you want to make it mandatory.

AT selection screen.

If p_fld is initial.

msg e000 with 'Please enter the value'.

If it is initial, it will throw a message. If a value is entered LDB fetches the data accordingly

Thanks,

Keerthi.