‎2008 Jul 09 2:12 PM
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
‎2008 Jul 09 2:14 PM
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
‎2008 Jul 09 2:14 PM
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
‎2008 Jul 09 2:16 PM
better to write validations at selection screen on the fields
which U want to make mandatory ... changing LDB is not recommended ..
‎2008 Jul 09 2:20 PM
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
‎2008 Jul 09 2:22 PM
use loop at screen and do the valildation and u can even hide the screen fields.
regards,
babu
‎2008 Jul 09 2:23 PM
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.