Usage of GET - Basic LOGICAL database question

Hi,
I have a few doubts in Logical Databases.
1.) Why should i include a logical database in a abap program.
2.) Can i add more than 1 LDB to a abap program
3.) can Nodes statement used on all nodes on LDB
4.) Please provide a example program based on F1S LDB with small explanation.
Thanks in advance,
Bala.

>
Bala Shanmuga Priyan wrote:
> Thank you all.
>
> What is the difference between tables and nodes statement,
>
> Thanks in advance,
> Bala.
AFAIK, it is expected that we should we the TABLES statement if the node type is a TABLE and if the node type is DDIC type then it is expected that we should use NODES statement, however I found that they can be used interchangeably.
We can find the node type info in the structure defintion of the LDB(in SE36)
Also check this extract from the SAP help
The nodes of the structure are declared with the TABLES statement which generates
the appropriate table work areas. You can also use the NODES statement to define
database tables as nodes. If a node of a logical database is not a database table,
you must use the NODES statement.
[Example of a Logical Database |http://help.sap.com/saphelp_47x200/helpdata/en/9f/db9be035c111d1829f0000e829fbfe/content.htm]

Similar Messages

  • Basic Clone database question

    hi all,
    I have very basic clone database question
    If i create database A and clone database B using A...
    I want to know that any operation done on A will be automatically done on Cloned database B.
    Hope u understand
    Thanks,
    Neerav

    hi all,Hi Neerav
    I have very basic clone database question
    If i create database A and clone database B using A...
    I want to know that any operation done on A will be automatically done on Cloned database B.Oops....Now you're asking about rocket science. Sorry, I don't know.
    I know about some basics:
    Streams or Replication--> Which can give you data on B in read-write mode.
    DR--> For safeguarding your database and B will work as DR solution.
    Hope u understandNo, please make us understand.
    Regards,
    S.K.

  • Logical Database question

    Hi all,
    How can i check the logical database in the program?
    Regards,
    Luke

    Hi,
    In SE38, check the attributes of the program.
    the lagical database used in the program will be mentioned in the  'Logical database' option.
    Do get back in case of further queries.
    Regards,
    Sonal

  • How to extract current record using get pernr (logical database)

    Hi all,
    I am using logical database in the program and using <b>get pernr</b> method. But there are multiple entries in the infotype for a perticular employee. i want to extract employees current record whose end date is greater than sy-datum.
    how to do this using <b>get pernr</b>?
    Thanks in advance.

    Hi Priti,
    Get Pernr statement will get all the records for each employee spcicified for the Begin and End dates on the selection screen and store in an internal table for the infotypes declared in the infotypes statement.
    You need to read this table and copy only the records that meet the date criteria in an internal table for further use.
    For Ex:
    infotypes : 0001.
    tables : pernr.
    TYPES : BEGIN OF ty_kostl,
             pernr TYPE pernr-pernr,
             kostl TYPE p0001-kostl,
             ename TYPE p0001-ename,
            END   OF ty_kostl.
    Work Areas
    DATA : g_kostl_wa  TYPE ty_kostl.
    Internal Tables
    DATA : i_kostl  TYPE TABLE OF ty_kostl.
    start-of-selection.
       get pernr.
       PROVIDE * FROM p0001 BETWEEN pn-begda AND pn-endda.
        if p0001-endda GT sy-datum.
           g_kostl_wa-pernr = p0001-pernr.
           g_kostl_wa-kostl = p0001-kostl.
           g_kostl_wa-ename = p0001-ename.
           APPEND g_kostl_wa TO i_kostl.
           CLEAR  g_kostl_wa.
        endif.
      ENDPROVIDE.

  • Basic Logic Pro Questions. I Am New To It

    Running OS 10.7.4
    Hello....I am new to Logic Pro, graduating up from GB. I have few simple questions that I will ask on my next One to One, but I thought someone in Logic Pro Land can help for now.  Just be patient I am trying to understand concepts
    1. My One to One instructor here in NYC, down in the SoHo Store ( the best), helped me create a templete track, so I never have to listen to clicks or a metronome again ( I do VOs)....
    2. I have done some recordings on that template I saved it as COMPING, as that's what I want to learn at  my next one to one.... That track is my Logic Pro file in music.
    3. Based on that, all I want to do now is duplicate the template track. Is there a way to do that?
    My own logic tells me...well if the track is saved under COMPING, all you got to do is launch Logic Pro.... the last track will come up (COMPING)..... so just delete the contents ( since it's saved) record what you want to record, and save it under a different name...for the sake of simplicity, let's say  I want to call it VO Track Number 2.....that track will appear in my folder under VO Track Number 2.....Is this correct?
    4. Barring that, is there another way of just duplcating the template track without having to name it something all the time, or perhaps name different duplicate tracks, Track 2, 3, 4, etc.?
    Recording questions
    I recorded take one of a beer commercial. When I stoped the recording the head was right at the end where I stopped...when I went to record take 2, instead of just contuning, it back tracked a bit so the last few words on take 1 were recorded over.
    1. WHY?
    2. How do I prevent that from happening?
    In GB, the recording just picked up where I left off, never back tracked...
    Anyanswers, greatly appreciated...

    Next time, make a copy of your template before you record anything, in fact, save it as a template so a pristine copy will always be available under the "Templates" menu item. Then start the first project as VO-1 then VO-2...etc. Never start a project and save it the same name as your template.
    Now you have to go in and remove the files from the arrange and Audio Bin or else they will stay associated with the project.
    As for the recording, the last few words were not recorded over, they were just covered up.
    The back tracking is due to the one bar count-in or you have some "preroll" set. Does it backtrack 1 bar?
    I think the adjustment is under  "Settings/Recording".
    I'll let others jump in and fill in the holes.

  • Basic recording/feedback question

    I'm recording basic vocals against accompaniment tracks using an APOGEE ONE and Audio-Technica 40 series AT8449 condenser mic. I use only headphones, no external speakers.
    If I record with "monitoring" on I constantly battle feedback/distortion, especially on songs with a wide dynamic range. When the feedback protection kicks in the message indicates that I'm getting feedback through my external speakers (which I don't have), I can minimize the problem by turning "monitoring" off but I lose the reference vocal. I know I must be overlooking something very simple. Any help is appreciated.

    hi all,Hi Neerav
    I have very basic clone database question
    If i create database A and clone database B using A...
    I want to know that any operation done on A will be automatically done on Cloned database B.Oops....Now you're asking about rocket science. Sorry, I don't know.
    I know about some basics:
    Streams or Replication--> Which can give you data on B in read-write mode.
    DR--> For safeguarding your database and B will work as DR solution.
    Hope u understandNo, please make us understand.
    Regards,
    S.K.

  • HR - Programming without Logical database

    Hi All
    I have some doubts, I am mainly using Logical database while creting Reports in HR, if I want to use HR function modules and BAPI do they use logical database,
    question is when we have to do HR programming with Logical database and when without Logical database.
    cheers
    AJ

    Hi Srinivas
    If I am doing some Enhancement on ESS/ MSS , using Webdypros, I cant define Logical database anywhere, so I have to use Function modules or BAPIs ........???
    But usually in Reporting you can define the Logical database in the Program attributes.........so I think Logical database can only be used when it can be defined in the program attributes........if you have any other scenarios........please let me know
    regards
    AJ

  • Basic Hyperion Workspace question

    Is there any way to Drill-Down to data by double-clicking on the chart item in Hyperion Workspace? I can do this in Hyperion Reporting Studio.

    hi all,Hi Neerav
    I have very basic clone database question
    If i create database A and clone database B using A...
    I want to know that any operation done on A will be automatically done on Cloned database B.Oops....Now you're asking about rocket science. Sorry, I don't know.
    I know about some basics:
    Streams or Replication--> Which can give you data on B in read-write mode.
    DR--> For safeguarding your database and B will work as DR solution.
    Hope u understandNo, please make us understand.
    Regards,
    S.K.

  • Basic PDF/SSL Question

    Okay, I know this is a basic question, and I'm not sure if this is really where I should be posting it, but maybe someone out there has experience with this.
    I have a PDF form sitting on a secure server.  I have it set up to email the completed PDF back to our company when the user clicks the SUBMIT buttton.  Whether or not the PDF is secure coming back to us would be dependent on the email server the user uses - not that the form sits in a secure area on our server or that the PDF is security settings are set, correct?
    Any input appreciated.
    Thanks
    Q

    hi all,Hi Neerav
    I have very basic clone database question
    If i create database A and clone database B using A...
    I want to know that any operation done on A will be automatically done on Cloned database B.Oops....Now you're asking about rocket science. Sorry, I don't know.
    I know about some basics:
    Streams or Replication--> Which can give you data on B in read-write mode.
    DR--> For safeguarding your database and B will work as DR solution.
    Hope u understandNo, please make us understand.
    Regards,
    S.K.

  • Logical Database PGQ structure usage

    Hello Everyone,
    I have a question regarding Logical Database(LDB) usage...How to use the structure defined in LDB. We are using PGQ Logical database in one of custom programs. The structure of the LDB as hierarchy or tree is:
      QALS
          QAVE
          QMFEL
          QAPO
               AFFHD
               QAMV
                    QAMR
                         QASE  ---> From this table
                    QASV
                         QASR  ---> From this table
    and etc
    The code was something like this in the program:
    GET QALS.
    GET QAPO.
    GET QAMV.
    GET QAMR.
    Now, my requirement is to get data additionally from QASE and QASR tables..So, I tried modifying the code according to the hierarchy structure defined in the PGQ LDB(check bold statements):
    GET QALS.
    GET QAPO.
    GET QAMV.
    GET QAMR.
    <b>GET QASE.
    GET QASV.
    GET QASR.</b>
    But in runtime I see that QAMR and QASE is filled up with # data ...I am not sure if is right way to do....Is this the way to use the structure defined in the Logical database? QAMV and QASV lie in the same level of hierarchy and I have to use them to get QASE and QASR data...Let me know, if I am not clear...
    Thanks for taking your time and I appreciate if some one can help me.
    --- Ashley

    Hi Ankur
    You can use program SAPDBPGQ that is program created to test logical database PGQ. Then you can get only part responsible for nodes QALS, QAPO and QAMV
    Best regards

  • Logical Database DDF - GET KNA1 - change KUNNR to another customer....

    Hi
    Question 1a:
    When using logical database DDF I perform a GET KNA1 a check is performed in order to see if customer should be within selection or not. In some cases this customer refers to another customer (fiscal address) that should be used instead.
    So Customer KNA1-KUNNR: 123 should instead be Customer 456 which contains the relevant data for the next step in the selections from the logical database.
    ..GET KNB1
    ..GET BSID...
    How is it possible to replace customer 123 with customer 456 so the continous processing of the logical database will use the new customer number instead.
    Question 1b
    And a follow up question - If there is a solution to question above....
    How can I make sure that IF customer 456 pops up in the regular selection from the logical database - It is excluded since it was already used (when customer 123 was replaced with 456 above)...
    Best regards
    Henrik

    Hi Ranganath!
    Thankyou for looking into my problem.
    Ranganath Ramesh wrote:
    ...If you want to do something like that then you need to manually populate the customer numbers which are related to the selection screen field....
    Could you please clarify how I manually could add this new customer number to my selection screen field...whithout disturbing the origianal selection with GET KNA1 - at the same time as the CHECK-statement for my old customer number fails and is excluded from the selection.
    BR
    Henrik

  • I DO NOT want to send anonymous reports to Mozilla about my computer usage and so on. How do I get rid of the question that comes up every time I open Fiorfox up?

    I DO NOT want to send anonymous reports to Mozilla about my computer usage and so on. How do I get rid of the question that comes up every time I open Fiorfox up?

    See:
    * https://support.mozilla.org/en-US/kb/Options%20window%20-%20Advanced%20panel
    * go to Firefox/Tools-Option-Advance and uncheck submit performance data

  • How to get the selection parameters from logical database into one of the t

    Hi Sap ABAP Champians,
    How to get the selection parameters from logical database into one of the tab in the tabstrip selection-screen.
    Please help me for this
    Thanks
    Basu

    Hi
    Thanks, that will work, but then I'll have to insert code into all my reports.
    I can see that "Application Server Control Console" is able to rerun a report.
    This must mean that the Report Server has access to the runtime parameters.
    But how?
    Cheers
    Nils Peter

  • Not getting fields in logical database of infotypes

    Hi All,
    I have created Infotype(9xxx) through PM01, and also maintained the screen for this with 6 feilds..
    BEGDA, ENDDA, SUBTY, OBJPS, Zxxx1, Zxxx2
    every thing is going fine but when im creating logical database for that infotype,
    im getting only 3 feilds there
    PERNR
    Zxxx1
    Zxxx2
    I need to take all the fields there.. please suggest how to do this?
    Regards
    Neha Gupta

    Solved on own.

  • Get mapl gives ' mapl not defined in the current logical database'.

    Hello,
    i am going through the report RCPDRK00, i found a statement get plkod , get mapl .
    When i try to run this statement in my test program it says ' not defined in the curent logical database' .
    How to link with  logical database.
    regards,
    kevin.

    GET statements will provide your program with database records based on the code for the logical database. The program in this case is SAPDBPNM.
    Each GET will be supplied with data by the corresponding PUT subroutine.
    Read the help about the logical databases. This is considered obsolete technology, but still, they can be very useful.
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm

Maybe you are looking for