abap_creation of a logical database

17
Creation of a Logical Database By Kameswara Rao, IBM India Go to transaction 'SE36' or 'SLDB'. Enter the logical database name as shown above . If we are using Logical Database for HR purpose, we should check the check Box “Info types (HR only). Press CREATE Button as shown above.

Upload: kiran

Post on 28-Jan-2016

220 views

Category:

Documents


0 download

DESCRIPTION

Creation of a Logical Database

TRANSCRIPT

Page 1: ABAP_Creation of a Logical Database

Creation of a Logical Database

By Kameswara Rao, IBM India

Go to transaction 'SE36' or 'SLDB'. 

 

Enter the logical database name as shown above . 

 

If we are using Logical Database for HR purpose, we should check the check Box “Info types (HR only). Press CREATE Button as shown above. 

It would prompt for package name and workbench request . 

Page 2: ABAP_Creation of a Logical Database

 

On pressing Save button, following screen appears, prompting for the details of the root node. 

 

Click on create button. Following screen appears:

Page 3: ABAP_Creation of a Logical Database

Now enter the details of all the tables under LFA1 (as shown below).  

 

Click on create Button. 

Page 4: ABAP_Creation of a Logical Database

 

Click on create Button. 

 

 

Now create a Node with hierarchically under LFB1.

Page 5: ABAP_Creation of a Logical Database

 

 

The above screen displays the LDB structure as per our requirements. 

We can maintain search help for the fields for the tables defined in structure. 

Page 6: ABAP_Creation of a Logical Database

For our demo purposes, let us provide search help for MATNR and WERKS. 

Page 7: ABAP_Creation of a Logical Database

 

Let us use the standard search help available for MATNR and WERKS.  

Page 8: ABAP_Creation of a Logical Database

The currency and quantity fields are automatically maintained here. 

Page 9: ABAP_Creation of a Logical Database

 

Go back to the main screen 

Page 10: ABAP_Creation of a Logical Database

 

Here we can design our own selection screen as per the requirements. 

 

Page 11: ABAP_Creation of a Logical Database

Automatically created include with naming convention. 

 

Here by using above marked statement we can create Dynamic selection screen for different tables as per the requirements.

 

Database program (with some includes) are automatically created upon the creation of logical database: 

Page 12: ABAP_Creation of a Logical Database

Go back to the main screen.

Here we can maintain texts for select-options and parameters. 

Page 13: ABAP_Creation of a Logical Database

 

Navigate to the main screen:

Page 14: ABAP_Creation of a Logical Database

 

Here we can maintain documentation for our created Z logical database.  

Page 15: ABAP_Creation of a Logical Database

 

 

Page 16: ABAP_Creation of a Logical Database

 

Click on Display.

Page 17: ABAP_Creation of a Logical Database