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: 

SAP LDB creation

itabhishek9
Participant
0 Kudos

Hi SDNites,

I have requirement to create a custom selection screen like FBL3N and I understand this can be created via using LDB only. Please confirm.

In my scenario, I have to create a custom LDB as it is based on all custom tables and then use the same in the program . I have created a custom LDB and assigned it to the programs (Attributes) but it is not working. Can you please share some step by step process to create custom LDB and use it in custom program.

Regards,

Abhi

3 REPLIES 3

horst_keller
Product and Topic Expert
Product and Topic Expert
0 Kudos

https://help.sap.com/http.svc/rc/abapdocu_751_index_htm/7.51/en-US/index.htm?file=abenldb.htm

  1. Create the structure based on a root node.
  2. Associate it with a search help.
  3. Generate and edit the selection include.
  4. Generate and edit the database program.
  5. Edit further elements.

itabhishek9
Participant
0 Kudos

Thanks Horst for the response.

As per my understanding LDB is not recommended to use. Also the link that you have shared says the same.

If the above is true, is there any way we can get dynamic screenselection the way we obtain in FBL3N (I know we can have multiple radiobuttons with dynamic screen display based on selection but this is not what I want).

horst_keller
Product and Topic Expert
Product and Topic Expert
0 Kudos

If you want to reuse selection screens from other programs, you can use SELECTION-SCREEN INCLUDE. For dynamic inclusions, subscreens in tabbed blocks might serve. Last but not least, LOOP AT SCREEN, MODIFY SCREEN. Maybe a combination of all ...