Advise me on logical databases

hi experts,
              I am working with BSEG table now .It is time consuming for me .i have followed all the instructions for using a cluster table but still it is taking time for execution.
              how can i apply logical database concepts here.
send some example codes for using LDB.
Regards,
Manikandan

Hi,
To read data from a database tables we use logical database. A logical database provides read-only access to a group of related tables to an ABAP/4 program.
Advantages: i)check functions which check that user input is complete, correct,and plausible. ii)Meaningful data selection. iii)central authorization checks for database accesses. iv)good read access performance while retaining the hierarchical data view determined by the application logic.
dis advantages: i)If you donot specify a logical database in the program attributes,the GET events never occur. ii)There is no ENDGET command,so the code block associated with an event ends with the next event statement (such as another GET or an END-OF-SELECTION).
If you need to find the logical database for a table name, you can used SE36 - Logical Database Bulider.
Steps :-
Go to transaction SE36
Click Extras -> Table usage
Supply the Table name and hit enter.
A Display Logical Database will be shown on a pop-up windows.
http://help.sap.com/saphelp_46c/helpdata/EN/9f/db9b5e35c111d1829f0000e829fbfe/content.htm
http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_FunctionalAreas_LogicalDB.asp
Main Functions of the logical database
Standard Selection screen
Data Retrieval
Authorization check
To use logical database PNP in your program, specify in your program attributes.
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
· The standard sort sequence lists personnel numbers in ascending order.
· SORT function allows you to sort the report data otherwise. All the sorting fields are from infotype 0001.
Report Class
· You can suppress input fields which are not used on the selection screen by assigning a report class to your program.
· If SAP standard delivered report classes do not satisfy your requirements, you can create your own report class through the IMG.
Data Retrieval from LDB
1. Create data structures for infotypes.
INFOTYPES: 0001, "ORG ASSIGNMENT
0002, "PERSONAL DATA
0008. "BASIC PAY
2. Fill data structures with the infotype records.
Start-of-selection.
GET PERNR.
End-0f-selection.
Read Master Data
Infotype structures (after GET PERNR) are internal tables loaded with data.
The infotype records (selected within the period) are processed sequentially by the PROVIDE - ENDPROVIDE loop.
GET PERNR.
PROVIDE * FROM Pnnnn BETWEEN PN/BEGDA AND PN/ENDDA
If Pnnnn-XXXX = ' '. write:/ Pnnnn-XXXX. endif.
ENDPROVIDE.
Period-Related Data
All infotype records are time stamped.
IT0006 (Address infotype)
01/01/1990 12/31/9999 present
Which record to be read depends on the date selection period specified on the
selection screen. PN/BEGDA PN/ENDDA.
Current Data
IT0006 Address - 01/01/1990 12/31/9999 present
RP-PROVIDE-FROM-LAST retrieves the record which is valid in the data selection period.
For example, pn/begda = '19990931' pn/endda = '99991231'
IT0006 subtype 1 is resident address
RP-PROVIDE-FROM-LAST P0006 1 PN/BEGDA PN/ENDDA.
Tables used LDB are in hierarchial structure.
Mainly we used LDBs in HR Abap Programming.
Where all tables are highly inter related so LDBs can optimize the performance there.
Check this Document. All abt LDB's
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2flibrary%2fabap%2fabap-code-samples%2fldb+browser.doc
GO THROUGH LINKS -
http://www.sap-basis-abap.com/saptab.htm
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9bfa35c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c6/8a15381b80436ce10000009b38f8cf/frameset.htm
/people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases
www.sapbrain.com/FAQs/TECHNICAL/SAP_ABAP_Logical_Database_FAQ.html
www.sap-img.com/abap/abap-interview-question.htm
www.sap-img.com/abap/quick-note-on-design-of-secondary-database-indexes-and-logical-databases.htm
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9bb935c111d1829f0000e829fbfe/content.htm
Gothru the blog which provides info on LDB's:
/people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases
Sample code
TABLES: SPFLI,
SFLIGHT,
SBOOK,
SCARR.
START-OF-SELECTION.
GET SPFLI.
WRITE:/ ’SPFLI: ’, SPFLI-CARRID, SPFLI-CONNID,
SPFLI-AIRPFROM, SPFLI-AIRPTO.
GET SFLIGHT.
WRITE:/ ’ SFLIGHT: ’, SFLIGHT-CARRID, SFLIGHT-CONNID, SFLIGHT-FLDATE.
GET SBOOK.
WRITE:/ ’ SBOOK: ’, SBOOK-CARRID, SBOOK-CONNID,
SBOOK-FLDATE, SBOOK-BOOKID.
GET SFLIGHT LATE.
WRITE:/ ’ GET SFLIGHT LATE: ’, SFLIGHT-FLDATE.
<REMOVED BY MODERATOR>
Cheers,
Chandra Sekhar.
Edited by: Alvaro Tejada Galindo on Feb 22, 2008 6:04 PM

Similar Messages

  • LOGICAL DATABASE IN HR ABAP PRPGRAMMING

    Hi Friends,
    what is use of LOGICAL DATABASE IN HR ABAP PROGRAMMING
    AND END-OF-SELECTION EVENT IN HR PROGRAMMING PROGRAMMING???
    regards,
    vijay.

    hi
    HR Logical Databases
    In Human Resources (HR), the following logical databases can be used as a data source for HR InfoSets:
    PNP (PNPCE)
    PAP
    PCH
    By selecting a logical database, you determine the HR data that can be reported on using an InfoSet.
    Logical Database PCH
    This logical database generally enables you to report on all HR infotypes. However, you are advised not to use this logical database unless you want to report on Personnel Planning data.
    Logical Database PNP (or PNPCE)
    Use logical database PNP to report on HR master data. It is possible to use logical database PCH to access this data, but PNP meets such reporting requirements more quickly because it is best suited to the task of selecting persons.
    Logical database PNP enables you to access HR master data and infotypes from Personnel Planning. For example, you have the following options:
    Reporting on the costs, number of attendees booked, and instructor for a business event on which an employee is booked
    Reporting on working time and planned compensation for a position that an employee occupies
    Reporting on the validity and proficiency of a qualification that an employee fulfils
    From a technical perspective, this means you can use PNP to report on all of the infotypes that exist for objects (infotype 1000) that have a direct relationship (infotype 1001) with the Person object.
    The ability to access infotypes from Personnel Planning using logical database PNP is a special feature that you can only use in the context of SAP Query and Ad Hoc Query. You cannot use this functionality for ABAP reports you programmed yourself.
    You can also use logical database PNP to report on data from Personnel Time Management (infotypes 2000 to 2999) and Payroll (special payroll infotypes for the USA and customer infotypes; for more information, access Customizing for the Human Resources Information System and see Payroll Results).
    Logical Database PAP
    Logical database PAP enables you to access data from Recruitment.
    regards
    navjot
    reward if helpfull

  • Logical database problem

    Hi all,
    I want to use my selections along with logical database selection screen in my program.when i am trying to use it its giving some errors.if there is a get event its not allowing to select my own selection.can any advise my how to do it.
    Regards,
    Lisa
    Message was edited by: Lisa Roy

    Hi Lisa,
      Eeven I am using GET (pernr) in my scenario also.
      see my below sample code
    *             S T A R T  O F  S E L E C T I O N
    START-OF-SELECTION.
    * Get pernr
    GET pernr.
    * To Get Employee Details
      PERFORM get_data.
    *                E N D  O F  S E L E C T I O N
    END-OF-SELECTION.
    *&      Form  GET_DATA
    *       Form to get data
    FORM GET_DATA.
    * Get latest record from P0001 infotype
      rp-provide-from-last p0001 space pn-begda pn-endda.
      if pnp-sw-found = 1.
    * Check positions
        IF NOT s_plans IS INITIAL.
          CHECK p0001-plans IN s_plans.
        ENDIF.
    * Check Org.Unit
        IF NOT s_orgeh IS INITIAL.
          CHECK p0001-orgeh IN s_orgeh.
        ENDIF.
    * Check Org.Structure
    *    CHECK p0001-orgeh IN pnpobjid.
        rp-provide-from-last p0105 '0001' pn-begda pn-endda.
        clear dg_flag.
    * Form to get Activity Group
        perform get_act_group using p0001-plans.
    * Form to get profile info
        perform get_info.
      else.
        exit.
      endif.
    ENDFORM.                    " GET_DATA
    If you see my above code <b>s_palns</b> is the select-option and I am using in my program. It is working for me.
    Can you post ur code or tell me which LDB u r using.
    Thanks&Regards,
    Siri.

  • Logical database PSJ for tcode CJI3 - add additional

    Hi,
    I need to create the customized program which refer to standard program RKPEP003 (CJI3) with additional fields require to be added in selection screen and ALV report.
    I checked in program attribute for program RKPEP003, there is no selection screen version exist for this logical database. Could anyone advise how do I add the additional fields in either selection screen/ ALV report (eg: Vendor).  Thanks.

    Hi,
    I managed to add the additional fields  (eg: Vendor) in ALV report in CJI3 using the user exit.EXIT_SAPLKAEP_001.
    Now, I require to add this field in the CJI3 selection screen. I tried to maintain this field via SE36 - Maintain selection Views, but the Vendor field (eg: EKKO-LIFNR) which I required is not able to display out.  Anyone have any ideas on it or how should I add this additional selection screen option?

  • Logical database PTRVP

    hi All,
    I want to change the selection screen for logical database PTRVP, is it possible to change it without changing the database selection program ?
    I tried to look out for selection category for this LDB [ like HR LDBs] but dint find any.
    can you please advise
    thanks

    this is a part of sap library.
    abap progarmming -> logical database ->
    The generated default selection include would look like this:
    Include DBTEST_LDBSEL
    It will be automatically included into the database program
    If the source is automatically generated,
    please perform the following steps:
    1. Replace ? by suitable names (at most 8 characters).
    2. Activate SELECT-OPTIONS and PARAMETERS (delete stars).
    3. Save source code.
    4. Edit database program.
    Hint: Syntax-Check is not possible within this Include!
    It will be checked during syntax-check of database program.
    SELECT-OPTIONS : ? FOR LFA1-LIFNR.
    Parameter for search pattern selection (Type SY-LDB_SP):
    PARAMETERS p_sp AS SEARCH PATTERN FOR TABLE LFA1.
    SELECT-OPTIONS :
    ? FOR LFB1-LIFNR,
    ? FOR LFB1-BUKRS.
    SELECT-OPTIONS :
    ? FOR LFC1-LIFNR,
    ? FOR LFC1-BUKRS,
    ? FOR LFC1-GJAHR.
    SELECT-OPTIONS :
    ? FOR BKPF-BUKRS,
    ? FOR BKPF-BELNR,
    ? FOR BKPF-GJAHR.
    Enable DYNAMIC SELECTIONS for selected nodes :
    Enable FIELD SELECTION for selected nodes :
    If the nodes LFA1 and LFB1 are defined for dynamic selections, and node LFC1 is defined for field selections, the following lines of code will also be generated:
    SELECTION-SCREEN DYNAMIC SELECTIONS FOR TABLE LFA1.
    SELECTION-SCREEN DYNAMIC SELECTIONS FOR TABLE LFB1.
    SELECTION-SCREEN FIELD SELECTION FOR TABLE LFC1.
    The automatically-created selection include could be modified as follows:
    Selection criteria:
      SELECT-OPTIONS SLIFNR  FOR LFA1-LIFNR.
      SELECT-OPTIONS SBUKRS  FOR LFB1-BUKRS.
      SELECT-OPTIONS SGJAHR  FOR LFC1-GJAHR.
      SELECT-OPTIONS SBELNR  FOR BKPF-BELNR.
    Self-defined parameters:
      PARAMETERS PSTIDA LIKE SY-DATUM FOR NODE BKPF.
    Dynamic selections for LFA1 and LFB1:
      SELECTION-SCREEN DYNAMIC SELECTIONS FOR NODEE: LFA1, LFB1.
    Field selection for LFB1 and LFC1:
      SELECTION-SCREEN FIELD SELECTION FOR NODE: LFB1, LFC1.
    Here, selections are chosen from the available selection criteria and are given names. An additional parameter PSTIDA is declared and linked to the node BKPF. Dynamic selections are defined for the tables LFA1 and LFB1. Field selections are defined for tables LFB1 and LFC1.
    Edited by: Mohit Kumar on Feb 4, 2009 11:47 AM

  • Logical database definition

    Hi Experts ,
    I am trying to execute a program with logical database .
    It is showing error that logical database is unknown.
    REPORT  ZHRTRAIN.
    tables :pernr.
    Infotypes: 0002.
    data: begin of name,
    nachn like p0002-nachn,
    vorna like p0002-vorna,
    end of name.
    select-options : nation for p0002-natio.
    GET PERNR.
      provide * from p0002 between pn/begda and pn/endda.
      check nation.
      move-corresponding p0002 to name.
      condense name.
      write : / p0002-pernr,
      name,
      p0002-natio,
      p002-gebat.
      endprovide.
    Pls tell me how to correct this error.
    Thank you.
    Regds,
    devika.

    HR Logical Databases
    In Human Resources (HR), the following logical databases can be used as a data source for HR InfoSets:
    PNP
    PAP
    PCH
    By selecting a logical database, you determine the HR data that can be reported on using an InfoSet.
    Logical Database PCH
    This logical database generally enables you to report on all HR infotypes. However, you are advised not to use this logical database unless you want to report on Personnel Planning data.
    Logical Database PNP
    Use logical database PNP to report on HR master data. It is possible to use logical database PCH to access this data, but PNP meets such reporting requirements more quickly because it is best suited to the task of selecting persons.
    Logical database PNP enables you to access HR master data and infotypes from Personnel Planning. For example, you have the following options:
    Reporting on the costs, number of attendees booked, and instructor for a business event on which an employee is booked
    Reporting on working time and planned compensation for a position that an employee occupies
    Reporting on the validity and proficiency of a qualification that an employee fulfils
    From a technical perspective, this means you can use PNP to report on all of the infotypes that exist for objects (infotype 1000) that have a direct relationship (infotype 1001) with the Person object.
    The ability to access infotypes from Personnel Planning using logical database PNP is a special feature that you can only use in the context of SAP Query and Ad Hoc Query. You cannot use this functionality for ABAP reports you programmed yourself.
    You can also use logical database PNP to report on data from Personnel Time Management (infotypes 2000 to 2999) and Payroll (special payroll infotypes for the USA and customer infotypes; for more information, access Customizing for the Human Resources Information System and see Payroll Results).
    Logical Database PAP
    Logical database PAP enables you to access data from Recruitment.
    See also:
    HR InfoSets for InfoSet Query
    InfoSets in the HR Application

  • Cost center relationship in PCH logical database

    Hi Experts .
    According to what I knew theoretically ,
    External objects such as cost centers or users do not store data in the PCH logical database .
    But I created a position and Idid a cost assignment using relationship A11 to a cost center and went to SE36 and ran PCH for the selection of current plan version and object type K and object id of the cost center .
    After running for the evaluation path KOSTDIUP ( Account assignment usage ) , I could see the relationship of cost center with the earlier created position .
    So if relationships of cost center are not supposed to be in PCH logical database , then how come I can see the above result ?
    Thanks
    Rishabh

    This logical database generally enables you to report on all HR infotypes. However, you are advised not to use this logical database unless you want to report on Personnel Planning data.
    The Organizational Management uses the PCH logical database
    so S-Position is an object in OM, you can see the relationship.
    correct me if i am wrong !!
    regards,
    mohammed

  • Logical Database ADA

    Hi,
    I am using logical databse in a program but it is not giving all the assets compared to the standard report 'AR02'.
    Kindly advise.
    Rgds,

    Standard programs may use combination of different tables or logical database.
    So you cannot expect both of them to be same.check the program of AR02 for more details.

  • Transport logical database

    Hello,
    I have added a new field for de logical database 'DDF'.
    I can´t transport this change.
    I have transported the structure but not the selection view. So, I don`t have the new field transported.
    Is it possible to transport new fields?
    Thanks in advance.

    Welcome to SCN.
    It is not at all advisable to change/modify the standard logical databases as it may be used in several standard programs.
    Instead use them in your report as it is and add the required functionality in the report itself.
    Still, if its require to change it then follow this SAP Link -
    http://help.sap.com/saphelp_erp2005/helpdata/en/9f/db9bed35c111d1829f0000e829fbfe/frameset.htm
    Edited by: Amit Khare on Dec 15, 2008 11:18 PM

  • Re: Query for logical database

    Hi Experts,
    can anybody giveme any link of step-by-step how to create a query from sq03,sq02,sq01 with logical database for CIK.
    if anybody have done the query for logical databse for CIK give me ur input how to create.
    Thanks in advance,
    KK.

    Hi
    Go to SQ01 -- Enviornment --Query area - select Standard area or global as you require.
    Then go to Enviornment - Infoset - search for the existing infoset if available as per your requirement or create an infoset here.
    Write the name of Infoset and click on create . Fill all the required field like name , logical database - CIK, press enter it will populate the structure of logical database CIK, you may include /exclude here the nodes, or keep it as it is.
    And press enter.
    Now you have to create Field group and the fields inside the each group.
    You may create thefield group by clicking the create icone in the right hand side of teh screen and may drag the then fields by double clicking inside the group.
    Please mainatin sequence as per the characteristic of the table, like first select masterdata then transactuional!
    Save it. It will ask you for package, but click on local object and save it.
    Go back , it will prompt for generate infoset, say yes.
    Now your new infoset is coming among other infosets. (it is advisable to search for the existing infoset if available to avoide inconsistency in infosets).
    Now select your infoset and assign this to user groups by clicking the tab for this, you need to select user groups for this infoset here, who will be authorised to use this query.You need to take care about the user group, as this will allow you to see your infoset at the time of query generation / display.
    Save it and go back and again go back.Cross check that you are in standard query area (as selected in first step)
    Now give the query name and click on create. It will show you your infoset , select that.
    It will propmt you the next screen for name , no.of columns required, output formats etc.
    Fill as required and go to basic list now you will have screen as SQVI and have to select your selection field and output filed. After selecting the required fileds save it and execute this .
    Cheers
    Mukta
    Edited by: MUKTAKUMARI on Aug 3, 2009 11:45 AM

  • Changing selection sequence for logical database

    Hi,
    One of my current report is using logical database PNP. The users are satisfy with the standard selection screen. However they would like me to change the sequence of the selection field. Example, current sequence is Personnel number, company code, employee subarea. They would like it be Personnel number, employee subarea, company code.
    Is there any way I can change the sequence of the selection screen? I tried using report catagory but it don't allow me to change the sequence. Please advise.
    Regards,
    Lanwu

    Rich is correct.. but there is a workaround..
    Use the Report Category that suppresses all the selection fields.. I the program deifne your selection screen with the fields in your own order preference. In the STARt-OF-SELECTION event.. pass the values entered to the PNP fileds.. ie suppoes you have declared S_PERNR ( for Pers No), then use PNPPERNR[] = s_pernr[]. This way you will not have to change the LDB program..
    ~Suresh

  • Difference between PNP and PCH logical database

    WHats the difference between PNP nd PCH? When to use which??
    Tx

    Hi,
    The Difference is only with in an SAP R/3 system in which Concurrent Employment is active, reports are executed by the PNPCE logical database. The general logic of the PNPCE logical database corresponds to the PNP logical database. The PNPCE logical database can also process the concept of Concurrent Employment.
    HR Logical Databases
    In Human Resources (HR), the following logical databases can be used as a data source for HR InfoSets:
    PNP (PNPCE)
    PAP
    PCH
    By selecting a logical database, you determine the HR data that can be reported on using an InfoSet.
    Logical Database PCH
    This logical database generally enables you to report on all HR infotypes. However, you are advised not to use this logical database unless you want to report on Personnel Planning data.
    Logical Database PNP (or PNPCE)
    Use logical database PNP to report on HR master data. It is possible to use logical database PCH to access this data, but PNP meets such reporting requirements more quickly because it is best suited to the task of selecting persons.
    Logical database PNP enables you to access HR master data and infotypes from Personnel Planning. For example, you have the following options:
    Reporting on the costs, number of attendees booked, and instructor for a business event on which an employee is booked
    Reporting on working time and planned compensation for a position that an employee occupies
    Reporting on the validity and proficiency of a qualification that an employee fulfils
    From a technical perspective, this means you can use PNP to report on all of the infotypes that exist for objects (infotype 1000) that have a direct relationship (infotype 1001) with the Person object.
    The ability to access infotypes from Personnel Planning using logical database PNP is a special feature that you can only use in the context of SAP Query and Ad Hoc Query. You cannot use this functionality for ABAP reports you programmed yourself.
    You can also use logical database PNP to report on data from Personnel Time Management (infotypes 2000 to 2999) and Payroll (special payroll infotypes for the USA and customer infotypes; for more information, access Customizing for the Human Resources Information System and see Payroll Results).
    Logical Database PAP
    Logical database PAP enables you to access data from Recruitment.
    Check this link for more details
    http://help.sap.com/saphelp_erp2004/helpdata/en/e1/e1f83f6e5a11d687620000e82158f1/frameset.htm
    <b>Reward points</b>
    Regards

  • Dynamic Selection for non-logical database

    How to read the dynamic selections information to a table that is not in logical database for ex. : BSAD.
    Currently, i'm reading from the function module 'RS_REFRESH_FROM_DYNAMICAL_SEL'. The value for the fields are read one by one...........totalling to thousands of codes.
    Does anyone noe a shorter way of reading it ?
    Please give sme guidance. Thank you.

    Hi Mr Anthony,
    I have a report using logical database. However, the logical database used does not contain a table, BSEG, which i need to access.
    I understand that for tables which are not in the logical database, I cannot use the "GET <tablename>" in the "START_OF_SELECTION" event.
    Please advise on how to use the "SELECT" statement for the BSEG table with constraints from the dynamic selections. Thank you

  • Logical database LDB

    hi,
    what is LDB....its benefit
    and how to to it for multiple tables ......
    .... i want to use LDB instead of table joins...... there are  abt 20 tables..... using joins , the performance is slow ...
    ..... please advise..
    thanks

    LOGICAL DATABASES:
    Logical Databases are used to generate report.
    It is a repository object, not a data dictionary object.
    Under one logical database, a node is created first for the corresponding table in the database.
    A logical database can have any number of related nodes in the hierarchical manner.
    First node of the logical database is called as ROOT NODE.
    SLDB or SE36 to create logical databases.
    Navigations to Create Logical Database:
    SLDB -> Specify LDB name starting with Z or Y -> Click on Create -> Opens an interface -> Enter short description
    -> Create -> Save under a package and assign request number -> Opens an interface
    -> Specify Root Node name (MARA) -> Enter short description for the Root node
    -> Specify Database Table name (MARA) -> Create -> Opens an interface
    -> Select the Root Node (KNA1) -> Click on SELECTIONS pushbutton from Appn.
    Toolbar -> Click on Yes to generate Selection Screens from the Structure
    -> Click on No to Search Help -> Opens an Interface
    -> Select the checkboxes to create Field Selections and Free Selections
    -> TRansfer -> Opens an Include Program -> Decomment Select-Options statement and specify range variable as follows:
    SELECT-OPTIONS : MATNUM FOR MARA-MATNR.
    -> Save -> Activate -> Come back.
    Select the Node -> Click on SOURCE CODE pushbutton
    -> Click on Yes to generate source code from Structure and Selections -> Opens a report with two Include Files :
    include DBZLOGICAL_DATABASE1TOP . " header
    include DBZLOGICAL_DATABASE1NXXX . " all system routines
    -> Double click on Header File to declare global variables -> Specify Following code:
    TABLES : MARA * Autogenerated
    DATA IT_MARA LIKE MARA OCCURS 0 WITH HEADER LINE.
    -> Save -> Activate -> Come back -> Double click on System Routine file, where the fetching operations are done
    -> Opens an Include File with three subfiles as follows:
    include DBZLOGICAL_DATABASE1N001 . " Node MARA
    include DBZLOGICAL_DATABASE1FXXX . " init, PBO, PAI
    include DBZLOGICAL_DATABASE1SXXX . " search help
    -> Double click on the first file -> Specify SELECT operation statement as follows:
    select * from mara into table it_mara where matnr in MATNUM.
    PUT MARA. * AUTOGENERATED CODE
    loop at it_mara.
    write :/ it_mara-matnr, it_mara-mtart, it_mara-mbrsh, it_mara-meins.
    endloop.
    -> Save -> Activate.
    To Access LDB node, create SE38 PROGRAM, Specify LDB name in ATTRIBUTES section -> Specify following code in SE38:
    NODES MARA.
    GET MARA.
    -> Save -> Activate -> Execute.

  • Transport Request for logical database

    Hi ,
    Could you please advice how to create Transport Request when we made the changes to logical database ( added new filed to the logical database)
    I have added payment term field to the logical database DDF, but Transport Request was not created for this change.
    Please advise, we need to move this changes to other servers from development.
    Thanks,
    KSR

    How did you change the standard LDB ?
    Create a new reuqest in se09 and add this.
    R3TR  LDBA  DDF

Maybe you are looking for