Sunday, December 26, 2010
Logical database(LDB) in SAP
The LDB is special type of ABAP program that combines the contents of certain related database tables and retrieve some related data and make it available to application programs.
The LDB is special type of ABAP program that combines the contents of certain related database tables and retrieve some related data and make it available to application programs.
- To use logical database PNP in your program, specify in your program attributes.
- Standard Selection screen.
- Data Retrieval.
- Authorization check
Standard Selection Screen
- Date selection:Date selection delimits the time period for which data is evaluated. GET PERNR retrieves all records of the relevant infotypes from the database. When you enter a date selection period, the PROVIDE loop retrieves the infotype records whose validity period overlaps with at least one day of this period.
- Person selection:Person selection is the ‘true’ selection of choosing a group of employees for whom the report is to run.
- Sorting Data:(a)The standard sort sequence lists personnel numbers in ascending order.
(b)SORT function allows you to sort the report data otherwise. All the sorting fields are from infotype 0001. - Report Class:(a) You can suppress input fields which are not used on the selection screen by assigning a report class to your program. (b)If SAP standard delivered report classes do not satisfy your requirements, you can create your own report class through the IMG.
- When you run your report, the logical database loads the personnel data for each employee into the main memory and makes it available for processing.
- The entire history of each infotype is loaded into the main memory, that is all infotype
- The system first checks whether the user has an authorization for the employee in accordance with the criteria of organizational assignment. Employees for which the user has no authorization are not evaluated.
- The system then checks whether the user is authorized to process the infotypes of the specified report. A list would be meaningless if the data were not evaluated completely.
- PNP
- PNPCE
- PAP
- PCH
Followers
Popular Posts
- ABAP - ALV Report example with steps
- ABAP - Step by step tutorial on Smart Forms - Template Node
- ABAP - Sending email with pdf attachment
- SAP Adobe Form - Steps to create simple ADOBE Form and calling it from ABAP Program
- SAP ABAP - CL_ABAP_CHAR_UTILITIES class usage
- ABAP - Multiple value selection from F4 help for SELECT-OPTIONS
- Execute ABAP Report using SUBMIT statement
- ABAP - Select all or Deselect all in ALV or Check box handling in ALV
- Web Dynpro ABAP ALV - ON_CLICK event
- ABAP - Dynamic WHERE clause
thanks .....
ReplyDelete