10-12-2006 4:15 PM
Hello All,
I need to copy MB25 to ZMB25 and add field to the selection screen and modify the select statement further. MB25 uses a LDB and I am never used LDB. Please help me how to do this and post some notes on LDB as I have lot of questions.
<b>FYI:</b> I made a Z copy of the program and in the program attributes, I see a LDB. I made a Z copy of the LDB and added a selection field. I donno if that is the right way or not. I am also not sure where to modify the selection based on the newly added selection field.
Thanks in advance
Chandni Reddy
10-12-2006 4:44 PM
HI,
which new field are you adding in selection screen?
Regards
amole
10-12-2006 4:45 PM
10-12-2006 4:48 PM
Hi,
The field is available in the dynamic selections..
IN the selection screen press SHIFT + F4 to get the selections..In that header for reservation tree you have the movement type ...
THanks,
Naren
10-12-2006 4:57 PM
SHIFT+F4 working fine, but I want the BWART always appear on the selection screen. I tried to save it as variant, but dint work. Any more suggestions?
10-12-2006 6:30 PM
I believe if you copy SAP program to your Z* program and just define in your program select-option for the SAME table field as dynamic selection you will not have to clik on dynamic selection. SAP will pass your value to dynamic selection.
you don't need to create ZLDB, you just need to create Z* program which is a copy of sap report and assign the same SAP LDB to it, and then add select-option to your report.
10-12-2006 6:32 PM
from SAP help :
If you define the selection criterion for a column of a database table that supports dynamic selections, the values entered on the selection screen are transferred to the logical database. There, they are treated as dynamic selections. The logical database does not read records from the database table that do not meet these selection criteria. This kind of selection is much more efficient than for database tables that are not designated for dynamic selections.
Besides, the input fields for the corresponding dynamic selection are displayed on the selection screen from the start. This spares the user from having to choose Dynamic Selections to display the corresponding screen.