Logical Database and Logical Thing

Hi,
i want to access KONV which is cluster table and the field is KWERT.
The thing is that i want to access it by taking customers from KNVV and giving it to VBRK (SALES Table). Now in VBRK i want to have a selection on FKDAT to get a list of Customers stored in the field called KUNAG.
on VBRK-KUNAG basis i want to access the table KONV-KWERT.
If i am doing queries then the System stops responding cuz it has got alot of overhead. So i tried to use Logical Database called VFV.
If this is the best solution means using LDB then how to use it, can anyone help me with this. I tried it by Function module but it is showing all data without considering selection criteria.
If anyone can help me then plz do answer or refer me to any web site so that i can figure this thing out. If anyione has got a good book on that then plz feel free to mail me.
Thanks,
Muhammad Usman Malik
ABAP Consultant
Siemens
[email protected]
+92-333-2700972

Thanks Shibba that was very helpful, i applied that but the system overhead was so much.
can u help me with Dynamic selection code.
I used FREE_SELECTION_INIT, FREE_SELECTION_DIALOG and then FREE_SELECTIONS_RANGE_2_WHERE to get ther Selections in one table.
if u want me to send u the code then i can do that cuz i am getting so much mad that this work is not done yet.
The Scenario here is that we want to take BILLED Customers and VKORG as Industrial Billing Customer and then taking VBRK and giving all these Customers and then taking selection on FKDAT range.
Now after that the data should be collected from KONV-KWERT and i want to perform some calculation over it. I am using VFV (Logical Database) to perform this thing because i know that it would be very fast then applying my own queries.
If you can mail me any book on Logical Database and Dynamic selection then it will be very Helpful.
Thanks once again for being such helpful.
Muhammad Usman Malik
SAP Consultant
[email protected]
+92-333-2700972

Similar Messages

  • How to retrieve data using logical database and custom select options

    Hi all,
    I have a selection screen which is displayed by logical database PSJ and I have two select options of my own. I need to retrieve data based on both selection screen of logical database and my own select options. How can I do it?
    Thanks in advance.

    Hai Gupta
    Check the following Document & Links
    1. A logical database is in fact
    a program only.
    2. This LDB provides two main things :
    a) a pre-defined selection screen
    which handles all user inputs and validations
    b) pre defined set of data
    based upon the user selection.
    3. So we dont have to worry about from
    which tables to fetch data.
    4. Moreover, this LDB Program,
    handles all user-authorisations
    and is efficient in all respects.
    5. tcode is SLDB
    good info about Logical Database. you can check the link.
    http://www.geekinterview.com/question_details/1506
    http://help.sap.com/saphelp_46c/helpdata/EN/35/2cd77bd7705394e10000009b387c12/frameset.htm
    Re: How to Create and Use ldb in reports?
    Re: Logical databases
    http://help.sap.com/saphelp_46c/helpdata/en/9f/db9bed35c111d1829f0000e829fbfe/frameset.htm
    Functions for displaying and changing logical databases:
    Call Transaction SE36 or
    Choose ABAP Workbench -> Development -> Programming environ. -> Logical databases
    Interaction between database program and report:
    During program processing, subroutines are performed in the database program and events are executed in the report.
    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:-
    The programmer need not worry about the primary key for each table.Because Logical database knows how the different tables relate to each other,and can issue the SELECT command with proper where clause to retrieve the data.
    i)An easy-to-use standard user interface.
    ii)check functions which check that user input is complete,correct,and plausible.
    iii)meaningful data selection.
    iv)central authorization checks for database accesses.
    v)good read access performance while retaining the hierarchical data view determined by the application logic.
    disadvantages:-
    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).
    1. transaction code SLDB.
    2.enter name z<ldb-name>
    3.create
    4.short text
    5.create
    6. name of root node (here Ekko)
    7. enter short text (f6)
    8.node type -> data base table.
    9.create
    10 change logical DB
    riht click on ekko and insert node
    here node name ekpo
    11.create
    12. click on selections
    13. press no Should the changed structure of Z<ldb name> be saved first.
    14.select tables which you want to join.
    15.transfer
    16 now you have to o to coding part.
    17. save
    activate.
    19.click to src code
    double click on first include and activate
    Regards
    Sreeni

  • Regarding Logical database and  select statement..

    Hi
    Experts.
    i would  like to  know the  diff b/w logical data base & select statement  while using report.
    wt is the use of logical databases in R/3. is there   any   advantage  used in the  reports.
    Thanks & Regards..
    Spandana.

    Dear Spandana,
      Go through the below description of LDB. I hope you wil get a fair amount of idea.
    SAP comes loaded with all the extras. Among the extras that are most helpful to IT managers are all the access routines needed to pull any business object that managers can think of out of SAP databases. However, SAP has not thought of everything where your particular applications are concerned. SAP organizes its standard database tables to service business units based on conventional business applications. Itu2019s likely your business requires something new, perhaps even something exotic. In that case, you will need to create a new database, using information from different places. Basically, you need a logical database. You need to create a virtual business data object repository consisting of a new kind of record or table that suits your purposes. In addition, the repository should be composed of information that is actually stored in a number of different locations, none of them necessarily logically associated with one another. Letu2019s take a closer look at creating logical databases.
    A case for a logical database
    Suppose my company manufactures widgets of the most obscure variety, and they are components of other widgets. I sell my widgets as raw material for the more sophisticated widgets built by others, but in some cases I actually partner with other manufacturers in creating yet another class of widget. Now, in my world, I consequently have customers who are also partners. I sell to them and I partner with them in manufacturing and distribution. Also, I need an application that uses both of these dual-use relationships.
    Essentially, I have a customer database and a partner database. Neither contains records that are structured to contain the identifying particulars of the other. Thus, I need a hybrid database that gives me tables detailing these hybrid relationships. What can I do? I can go the long way around and write a new database, pulling information from both and creating new objects with a customized program that I write by hand. However, this process is cumbersome and contains maintenance issues. On the other hand, I can use SAPu2019s logical database facility, create my logical database in a couple of minutes, and have no maintenance issues at all.
    Logical database structures
    There are three defining entities in an SAP logical database. You must be clear on all three in order to create and use one.
    u2022     Table structure: Your logical database includes data from specified tables in SAP. There is a hierarchy among these tables defined by their foreign keys (all known to SAP), and you are going to define a customized relationship between select tables. This structure is unique and must be defined and saved.
    u2022     Data selection: You may not want or need every item in the referenced tables that contributes to your customized database. There is a selection screen that permits you to pick and choose.
    u2022     Database access programming: Once youu2019ve defined your logical database, SAP will generate the access subroutines needed to pull the data in the way you want it pulled.
    Creating your own logical database
    ABAP/4 (Advanced Business Application Programming language, version 4) is the language created by SAP for implementation and customization of its R/3 system. ABAP/4 comes loaded with many predefined logical databases that can construct and table just about any conventional business objects you might need in any canned SAP application. However, you can also create your own logical databases to construct any custom objects you care to define, as your application requires in ABAP/4. Hereu2019s a step-by-step guide:
    1.     Call up transaction SLDB (or transaction SE36). The path you want is Tools | ABAP Workbench | Development | Programming Environment | Logical Databases. This screen is called Logical Database Builder.
    2.     Enter an appropriate name in the logical database name field. You have three options on this screen: Create, Display, and Change. Choose Create.
    3.     Youu2019ll be prompted for a short text description of your new logical database. Enter one. Youu2019ll then be prompted to specify a development class.
    4.     Now comes the fun part! You must specify a root node, or a parent table, as the basis of your logical database structure. You can now place subsequent tables under the root table as needed to assemble the data object you want. You can access this tree from this point forward, to add additional tables, by selecting that root node and following the path Edit | Node | Create. Once youu2019ve saved the structure you define in this step, the system will generate the programming necessary to access your logical database. The best part is you donu2019t have to write a single line of code.
    Watch out!
    The use of very large tables will degrade the performance of a logical database, so be aware of that trade-off. Remember that some tables in SAP are very complex, so they will be problematic in any user-defined logical database.
    Declaring a logical database
    Hereu2019s another surprising feature of logical databases: You do not assign them in your ABAP/4 Code. Instead, the system requires that you specify logical databases as attributes. So when you are creating a report, have your logical database identifier (the name you gave it) on hand when you are defining its attributes on the Program Attributes screen. The Attributes section of the screen (the lower half) will include a Logical database field, where you can declare your logical database.
    Logical databases for increasing efficiency
    Why else would you want to create a logical database? Consider that the logical databases already available to you begin with a root node and proceed downward from there. If the data object you wish to construct consists of items that are all below the root node, you can use an existing logical database program to extract the data, then trim away what you donu2019t want using SELECT statementsu2014or you can increase the speed of the logical database program considerably by redefining the logical database for your object and starting with a table down in the chain. Either way, youu2019ll eliminate a great deal of overhead.
    Regards
    Arindam

  • Logical Switch and Logical Network

    Hello All...................I have Hyper-V Failover Cluster based on 5 Hosts and I am managing it with VMM 2012 R2. I was slightly confused with respect to Logical Network and Logical Switch in the Fabric Settings.  I would appreciate if someone could
    shed a little light on the difference between them.  Also, while there is a Logical Network defined by default (Name of the Virtual Switch of Hosts), there is nothing defined in the Logical Switch.  Which one is mandatory? Logical Network or Logical
    Switch? Can I delete the default Logical Network?

    Hi Nick,
    Please find below link for the whitepaper mentioned by Kristian.
    https://gallery.technet.microsoft.com/Hybrid-Cloud-with-NVGRE-aa6e1e9a
    For a complete reference please refer below series. This covers VMM 2012 SP1 but should be fine with R2 as well.
    http://blogs.technet.com/b/scvmm/archive/2013/01/08/virtual-networking-in-vmm-2012-sp1.aspx
    Logical Network is defined for easier management and used in Network Virtualization where as Logical switch is used to configure networking in multiple Hosts rather than creating individual Virtual switches in each host. If it were me I'll leave the
    default logical network as there is no harm of doing nothing in it.
    I hope this will shed some light into your situation.
    Thanks,
    Janaka
    Janaka Rangama MCT MIEEE MBCS (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable.)

  • Is it OK to install both Logic Pro and Logic Express on my computer?

    Is it OK to install both Logic Pro and Logic Express on my computer?
    I use Logic to perform live, but i only have 2 USB drives on my computer, and i use them during my performances, one for my keyboard, and one for my audio interface...........therefore, i dont have room to plug in the "node key" in order to use Logic Pro.
    So is it ok for me to have Logic Express installed, too?? This way, I dont need to plug in the "node key" (or whatever it's called).
    I know i can buy a USB hub, but i cant afford one right now.
    Thanks, daddies!
    www.myspace.com/johnnydepth

    I installed both on my PB 12" - no problem at all
    cheers!

  • Logic Pro, Logic Studio and Logic Express

    Can someone explain the difference between Logic Pro, Logic Studio and Logic Express?

    Hi,
    I don't think your friend is right on this. When you install Logic X, only the most essential part will be downloaded. After that you open Logic X, and from within the program  you can download all the other content. Logic will look if you already have Logic 9 content on your harddisk, so it won't download files that are already present. So, after all is downloaded, all files are on your harddisk, just like Logic 9. By the way, Logic 9 will still be available after installing Logic X.
    Whether you will experience crashes will be very hard to prodect, because these will be caused by unforeseen combinations of your computer, audio interfaces, maybe even other hardware, kernel extensions etcetera. If you wait for a couple of months, updates of Logic X will probably have less crashes. As said, on my computer it's just as solid as Logic 9.
    Garittan will probably advise a fast harddisk to prevent complaints when people are pushing the plugin to the edge. I would expect that it's not a black/white story.
    The AUMatrixreverb can be found in any audio plugin slot completely at the bottom: Audio Units > Apple > AUMatrixReverb.
    About the Epiano: in Logic Express there is only the Garageband Epiano, I think. Logic Pro 9 had a great ePiano that they gave a new name and changed a bit in Logic X. Both very nice.
    Yes, you may be right, not too many drums with brushes in Logic X, I think. Or does anybody else know where to look??
    Kind regards,
    Jaap

  • Is there a difference between Logic Pro and Logic Pro X?

    Maybe this is a stupid question, but is there a difference between Logic Pro and Logic Pro X?
    Already thx!

    Hi
    Short answer: No
    Longer answer:
    Logic Pro X is the latest release version of the DAw known as "Logic Pro". Previous versions were: Logic Pro 9, Logic Pro 8 etc.
    There was also a "Logic Express" (no longer available) which, though similar to Logic Pro, was missing a few features of Logic Pro in it's later versions)
    This might add more details:
    http://en.wikipedia.org/wiki/Logic_Pro
    CCT
    edit
    AoS wrote similarly
    There you go then :-)

  • Can Logic Pro and Logic Express coexist on the same computer?

    Hi all,
    I'm a fairly new user to logic. I started with Logic Express to test the water with it before committing to the Logic Pro. I decided I like it enough and have since purchased the Logic Pro upgrade.
    My machine is a MacBook. This machine travels with me, so I am rather concerned about having to maintain a dongle when I am on the move.
    Ideally, I would like to have both Logic Express and Logic Pro coexist on the same machine. That way, when I can reserve the use of Logic Pro for when I am in a stable environment but still be able to use Logic Express when moving around. Granted this would be with reduced functionality, but the peace of mind is worth that to me.
    So does anyone here know if this is possible and can direct me to some instructions on how to accomplish this?
    Thanks!!
    Darth Vanva

    I'd LOVE to be able to enable two simultaneous instances of Logic to accomplish what I want, but AFAIK that's an impossibility (unless a guru-whiz-type like Justin has some ideas on this...).
    OK, here's the deal...
    I have 6 gigs of RAM now. While using Logic I can access up to 3G for samples. If I could somehow run another copy of Logic on the same computer (acting solely as a host for additional plugs, not for sequencing) then I'd gladly buy 2 more gigs of RAM so that the second instance of Logic could address 3G more. I'd still have 2G left for system headroom.
    And there would be an additional (if not hypothetical) benefit to doing this...
    Right now I can run stand-alone instruments outside of Logic (accessed via IAC) in an effort to overcome the 3G limit. But take GPO for example: I can only run 1 instance of it. And, there is no provision for saving any edits or custom made instrument sets in the stand-alone version. So not only would I be limited to 8 individual instrument slots in the lone GPO player, I wouldn't be able to save any custom programming. So much for recall... And of course, EXS is not a stand-alone plug so there's no way I could use it outside of Logic.
    BUT... if I had this second instance of Logic running and treating it as a plug-in host, I'd be able to run multiple copies of plugs (just like I'm used to) and never have to deal with any stand-alone players. And of course by saving its song file I thus save all of my custom programming.
    So yeah, it would be fantastic if I could run a second instance of Logic on the same computer. Theoretically.
    Message was edited by: iSchwartz

  • Logical  database and program selection filter

    Hi experts ,
    In my program i have to select pernr through logical database selection and payroll area through manual coding .
    Could you tell me how to give the filter condition in program.I am  using PNPCE Logical database .
    Thank you.
    Devika.

    I guess you mean to modify the screen layout during AT SELECTION-SCREEN OUTPUT via
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        screen-active = 0.
        MODIFY SCREEN.
      ENDLOOP.
    This does hides all screen elements but the screen is still displayed.

  • Infoset query logical database and transparent table

    Hi!
    We have an infoset with the data source logical database=PNP.
    We get some fields from the infotype 0768, P0768-PERNR, P0768-BEGDA, etc.
    Now we need add another table to make a join within infotype 0768 and table T5F99SE.
    For instance, in infotype 0768 I have one record with the fields PERNR and BEGDA and in the T5F99SE I have 3 records related to the unique record of infotype 0768, the fields of the table are PERNR, BEGDA, ACTDT and ADDAT .
    The fields values in the example can be:
    Infotype 0768: PERNR=00101800, BEGDA=20110401, DICOT=20, BACHE=1200
    Table T5F99SE:  record 1 PERNR=00101800, BEGDA=20110401, ACTDT=20110401, ADDAT=PB    E
                             record 2 PERNR=00101800, BEGDA=20110101, ACTDT=20110405, ADDAT=PC    E01
                             record 3 PERNR=00101800, BEGDA=20110401, ACTDT=20110409, ADDAT=PA    E
    The result we want get with infoset query is
    PERNR    BEGDA   DICOT  BACHE   ADDAT
    00101800 20110101 20        1200       PB    E
    00101800 20110101 20        1200       PC    E01
    00101800 20110101 20        1200       PA    E
    I would like to get the fields of the infotype and some fields of the table T5F99SE.
    Is possible do this action with ABAP modifying an infoset that already exists adding the fields of the transparent table?
    What should I do?
    Kind regards,
    Julian.

    My guess is that it would not be possible to include a transparent table into the LDBs PNP and PNPCE. Would need input from a technical expert there.
    However, instead of using the LDB, why don't you explore just using a direct table join? You may need to join PA0000, PA0001, PA0002 along with PA0768 and your other tables. An infoset can then be created on this table join.
    To go to the mode where you can create the table join, in your infoset transactions, choose 'Table join' instead of 'LDB'.

  • Oracle physical database and logical database.

    dear Friends
           wanted to know what is physical and logical database architecture.
           pls. help.
    --Rajnish

    And what have you deduced yourself from your searches on the internet, or in the documentation?

  • Using Logical Databases and the Tables or Nodes Statement

    I want to start using Logical Databases whenever possible, but it seems that I need to use the Tables or Nodes statement for the Get statement to work.  Is there anyway to avoid Tables/Nodes statement since they are obsolete (and still use LDBs)?
    Message was edited by: Jason DeLuca

    Hi Jason,
    1) table statement is obligatory:
    -> look at abap-docu to GET:
    node is a node in the logical database that is assigned to the report (type 1 program) in the program attributes. <b>You must declare the node in the report using the NODES statement (or the TABLES statement, if the node is of the type "table").</b>
    2) some ldb-selections from the selection screen
       depends on the table-statement too, i remember...
    regards Andreas

  • Logic Control and Logic Pro 9.1.0

    I'm running Logic Pro 9.1.1 and Logic Control V1.02 which makes it mackie control.
    Today i set it up with Logic and noticed a few things:
    1. The level reading on the Logic Control's display is choppy...meaning if i raise a fader really slowly the display levels also rise slowly synced with on the onscreen faders. However if i move the faders a bit faster, the Logic Control display reading is very choppy--it always settles at the right level, but the changes are jumpy. Is this usual ? This was not the case with Logic 7.
    2. A few times the locator bar jumped forward missing beats, as if stop/play were pressed repeatedly. I rebuilt defaults and now it seems to be working fine, This used to happen to me in Logic Pro 7 as well, maybe its a fault with my controller. Anyone ever experience this ?
    Thanks
    Faisal

    Cowbell, my experience has been different.
    I tried the Logic Control mode but things were really wierd, some buttons not working, then the whole control lost contact with logic till i re-launched.
    The Scroll bar jumping thing was happening a lot more often.
    Then i deleted LC, trashed preferences and re-booted in Mackie Control mode.
    Still strangeness and i went did the check TOUCHLESS FADER thing and all is working fine now which is WEIRD!!!!!! I think i may have a defect in the jog wheel/transport section but its all working fine for now.
    I'll give it a few days.
    Thanks !!

  • Logical filename and logical path in lsmw

    Hi all,
           I am doing a lsmw for purchasing info record . i created a logicalpath and assigned a physical path to that . i created a logical filename and assigned the logical path .but when i assign that to the lsmw it is throwing error as 'LOGICAL PATH DOES NOT POINT TO PHYSICAL DIRECTORY' .
    can anybody provide a solution for that .
    Thanks & regards
      Magesh anandan

    hi ,
      goto the tcode file then u find the relation between the logical and physical paths ...and their assignment..
    hope it will helps u..
    regards,
    venkat.

  • Logic pro and logic pro 9.0.2 both installed

    Hey guys,
    I did a update recently of logic pro with also mainstage etc. But today I looked in my programs folder and now it seems that I have 2 programs of Logic pro/Logic Node and Mainstage. One is just without the version number and the other is with 9.0.0 and mainstage with 2.0.1 Can I delete the old program or must I keep it. I think it's stragen that it was not replaced by a new version. Can anybody tell me If I can delete it or what the purpose is of the double programs.
    Thanks
    Erik

    I'm sorry namesake, but don't say that. This Q. pops up +at least+ 5 times a week on this forum, so if you couldn't find it, something is not up to scratch with your search skills... sorry.
    regards, also Erik.

Maybe you are looking for

  • Multiple Websites using iWeb

    I currently created one website through iweb. www.michelemcloughlin.com I now want to create multiple websites for clients, friends etc. Is it possible to do this? I have iLife 08, what would be the best way to do this? help!!!

  • How to use true type font in smartform with ECC6

    hi,expert: I want to use true type font "Comic Sans MS.ttf". I upload this font file by SE73 named ZTT2I. In SE73.. select the Radio button "Font Families" And click on the "True type Font Installation" button. click the font attribute ITALIC. Our pr

  • Help withInstall Flash on   UMPC Netbook

    Hello - My grandson received a netbook for christmas. The box says it is a SW-E700 series netbook. It has a XBurst 400 MHz 32-bit CPU with 128M Ram and 512M NAND Flash storage. It runs some version of Linux(I can not determine what version and has a

  • Which category screen exits and function exit come

    Hi , I have created an enhancement in ECC 6.0 system on screen exit and function exit for LM00 tcode. now i want to update my developed object in Solution manager. Anyone pls help me under which category this enhancement project falls.

  • Records Management - Custom Attributes

    Hi all, I've created a Document Service provider in SRMREGEDIT in my RMS_ID. I archive the created documents with ORGANIZER in Documentum Archive Server. I have added a custom attribute to my Document type: 1.- I want this custom attribute appears in