DUMP: Mistake in Logical Databases

I'm trying  to run a program wich use logical databases but a DUMP is raised into a dinamic select single of a standard program (SAPDBSDF). The field wich is read is empty, What's wrong?
SELECT SINGLE (bkpf_fields) FROM bkpf INTO CORRESPONDING FIELDS OF xbkpf
          WHERE bukrs = save_bukrs
          AND   belnr = save_belnr
          AND   gjahr = save_gjahr.
- bkpf_fields is empty.

Hi,
Place break point at select single and check bkpf_fields is initial or not.If it is initial,you will definitely get the dump as you don't have fieds to select.
Thanks.
Ramya.

Similar Messages

  • Dump in Zprogram using PNP logical database

    shows the following error when I run a human resources program that uses logical database PNP.
       ASSIGN_BASE_TOO_SHORT: The current ABAP program "SAPDBPNP" Had To Be terminated Because it has come across a statement Unfortunately That Can not Be Executed.
      Anybody can help me understand why this problem occurs?

    You should have run a simple search on this before raISING YOUR OWN QUESTION. sEVERAL PEOPLE HAVE HAD the same or similar issue.
    This thread quotes an oss note which might help you:
    ASSIGN_BASE_TOO_SHORT in DBPNPF03 (SAPDBPNP)

  • Runtime error while creating logical database report pgm

    Hi,
        I have started doing pgm on Logical Database report using VBAK,VBAP and MARA. I took VBAK as the root node and VBAP& MARA  as subnodes. The actual requirement is:-  I am trying to place these tables in Application server for perfromance issue using Logical database. Based on sales, the items need to be be displayed. And based on Items, the material data should be displayed.So root node here is VBAK.
    I have created these 3 nodes in SE36 tx.code. when I go back to se36 main screen and under "subobjects"  ,I've selected "selections". I got a dialog box saying that "Nodes for which free selections are to be made". I have clicked on the radio buttons.And then clicked on "transfer" . I am getting a runtime error . Please let me know the solution.
        Please do send me the actual process to goon with logical database reporting.

    Hello
    Logically speaking, a company code can have more than one FSV as long as they share the same chart of accounts.
    When COA is common, the FSV pattern can be designed seperatly to serve the purpose of varied reporting.
    The dump you are getting is a temporary snag. Take a screen shot from SM54 after you execute the report and pass it to BASIS for analysis. They would fix that.
    Reg
    assign points if useful

  • Creation of logical database

    hi all.....
    i was created LDB and i created KNA1 as node and in that VBAK as child node and VBAP as child node for VBAK.
    in the selection option i choosed all fields ,
    in the selection i written as
    selection-option: cust no for kna1-kunnr,
    selection-option: ordno for vbak-vbeln.
    and in the source code
    in  KNA1 include..
    select * from kna1 where  kunnr in custno .
    endselect.
    in VBAK include...
    select * from vbak where vbeln in ordno and kunnr = kna1-kunnr.
    endselect.
    in VBAP include...
    select * from vbap where vbeln = vbak-vbeln.
    end select.
    when i checked there is no syntax mistakes but i test that program im gettign runtime error i.e convertion is not possible..........
    please solve my problem...

    Hi Ramprasad,
    your efforts to create a logical database are highly admirable.
    But if you want to stay up-to-date, you might consider using something else. Starting with ABAP 600 release, SAP lists this in the Obsolete Techniques section of ABAP that may appear in older programs but should no longer be used..
    look here: <a href="http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm">http://help.sap.com/saphelp_erp2005vp/helpdata/en/fc/eb2d4d358411d1829f0000e829fbfe/frameset.htm</a>
    Regards,
    Clemens

  • Can i limit the selection in Logical database ?

    hello  ,
    how can i limit the number of records in Logical
                                  database ( my "yyf"  , not standart )   ?
    i get dump on memory  , when i press F4 , becouse i have to many records ,
    so how can i limit the amount of records .
    in se36 ?
    in my program  ( se38 ) ?
    dump description
    &INCLUDE INCL_INSTALLATION_ERROR
    The current program had to be terminated because of an
    error when installing the R/3 System.
    The program had already requested 386785568 bytes from the operating
    system with 'malloc' when the operating system reported after a
    further memory request that there was no more memory space
    available.

    Hi ,
    Hope this helps you .
      SELECT roll name
      FROM tab
      INTO TABLE it_tab.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'ROLL'
          dynpprog        = sy-repid
          dynpnr          = sy-dynnr
          dynprofield     = 'P_ROLL'
          value_org       = 'S'
        TABLES
          value_tab       = it_tab
        EXCEPTIONS
          parameter_error = 1
          no_values_found = 2
          OTHERS          = 3.

  • Logical Database being obsolete, we migrate towards...?

    Hello.
    I have been asked to rewrite a program Z that is in a lack of performance lately. I have looked at it and saw that it was using a logical database. After fixing and changing a few performances things like the SELECT/ENDSELECT and that kind of usual perfomance stuff, I read in my research that I did that it was still maintainted and used on the old programs but it is now something obsolete.
    After reading on what it is and how big is their impact, I was wondering what is now replacing them when you need something similar on a newer program.
    For example, in the request I have, the DDF logical database is used and is huge too. Though, in the new version, where I will try to prevent myself of using a logical database due to the fact it is obsolete, I am wondering what I can use instead to make a similar job.
    After all, a huge concept like Logical Databases /has/ to have something that took over to replace them, right?
    Thanks in advance for your help!

    Hello again,
    I understand what you mean but the performance cost actually is too high to be neglected. The program is actually making a call of GET KNA1, GET KNB1 and GET BSID which means 3 loops blocks in each other, not counting the possible loops needed in internal tables. This is quite a problematic at the moment because this old program now uses those three GET and the massive amount of datas in those three tables makes it that the performance is leading mostly to a short dump than a good final result.
    This is why I was looking for an alternate way, looking towards if the Logical Database who is still used but declared "obsolete" was now having a replacement nowadays.
    As far as the datas are concerned, to answer your question, the archivages of them happened time after time after time and everyday. It is getting to a point that we are too close of the actual date to even think of more archivage.  Believe me, the datas involved, since this problem started, has been verified over and over again. But I know it was an option and thank you for suggesting it.
    So it is really a perfomance issue and since the Logical Database takes a lot of performance, like John Armytage confirmed, I am trying to find an alternative to all this. Any suggestions? I still have not found anything that is replacing Logical Database today.

  • Creation of Datasource on Logical Database

    Hi,
    Any information as to how to create Datasource from a logical database in R/3 would be a great help.
    Thanks,
    Nikhil

    hi,
    Using that LDB, you can write SQL statements in ECC,so create a table and dump the data from LDB into that table. And create a DS on that table.
    LDB: you can't see it in SE11, just it is combination of some tables.
    While creating DS in RSO2, we have 3 options, but LDB option is not there, either you create a Function Module using that LDB or Table then you connet that in RSO2.
    Thanks
    Reddy

  • Logical Database in Abap Objects

    Hi to All
    I want do it a program report using a Logical Database.
    Is this possible ??? But when I make a GET <node>, occurs the following error:
             "" Statement "ENDMETHOD" missing.  ""
    I'm doing the following:
    CLASS MONFIN IMPLEMENTATION.
           METHOD TRAER_DATOS.
                   GET VBRK.
           ENDMETHOD.
    ENDCLASS.
    Please, somebody tell me how I use the logical database in Abap Objects.
    Thank you very much
    Regards
    Dario R.

    Hi there
    Logical databases whilst of "some use" are not really part of OO.
    If you want to use a logical database in an abap OO program I would create a special class which just does the get data from your DB and pass this either at record or table level.
    Techniques such as GET XXXX LATE aren't really part of any OO type of application since at Object Instantiation time you should be able to access ALL the attributes of that object.
    As far as OO is concerned Logical databases are a throwback to "Dinosaur Technology".
    Since however modules such as SD and FI are still heavily reliant on relational structures (i.e linked tables etc)  then there is still some limited life in this stuff but for OO try and solve it by another method.
    If you really must use this stuff in OO then do it via a FMOD call and save the data in a table which your method will pass back to your application program.
    You can't issue a GET command directly in a method.
    Cheers
    Jimbo

  • Logical Database in Webdynpro

    Hello,
    I have a program in R/3 that is based on a logical database. I don't want to have to write the program all over again in Webdynpro.
    Is there a way to use the logical database in Webdynpro for ABAP.

    Basically WDA calls a FM and then the following help is a good starting point:
    "Calling a Logical Database Using a Function Module"
    http://help.sap.com/saphelp_nw04/helpdata/en/64/237f8cd43711d1950b0000e8353423/content.htm
    Kindly close the thread and award appropriate a points to the answer given.
    Sergio

  • Logical database in adhoc query

    Hello All,
    Can anyone tell me what is the logical database in adhoc query?

    Hi
    When you create a query , you have to select an infoset. Infoset can be considered as a source from which data is populated in the Query Fields.
    Infosets are created from Transaction SQ02.
    There can be four methods through which an Infoset can become a source of data:
    1.  Table join ( By joining two or more tables from Data dictionary)
         example: Joining tables PA0001 and PA0006 on Pernr to get a one resultant dataset
    2. Direct read of Basis Table ( Like PA0001 as a source for data in Infoset )
    3. Logical Database ( A Pre-written Program by SAP that extract data from clusters, tables taking care of authorizations and validity periods)
    Example : Logical database PNP, PNPCE (Concurrent Employement),PCH ( LDB for Personnel Development Data)
    Custom Logical DBs can be created in T_Code SE-36.
    4. Data Retrieval by a Program ( Custom code written by ABAP developers which will collect and process data) . This program has a corresponding Structure in data dictionary and the fields of this structure will be used in query)
    Reward Points, if helpful.
    Regards
    Waseem Imran

  • 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 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.

  • 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

  • Logical database access in abap HR

    Dear all,
                 i am working on HR Master Report. is there any way to access logical database PNP without standard input screen.
    means due to requirement my input screen is totally different so i don't want to use standard input screen. but i want to access
    pernr table by get pernr or other functioality of PNP logical database.
    any valuable suggesstion will be much apprecaited.
    Thanks and Regards
    vijay dwivedi

    Yes, there is, by means of FM [LDB_PROCESS|http://help.sap.com/saphelp_47x200/helpdata/en/64/237f8cd43711d1950b0000e8353423/frameset.htm]
    Regards
    Marcin

  • How to use Logical database in function module?

    I will create a function module in HR.
    but how to use Logical database  in function module ?  Logical database PNP always show screen.in function (RFC) code , it is a matter.

    You cannot attach the LDB to the main program of the function group.
    - So you may [SUBMIT|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=submit&adv=false&sortby=cm_rnd_rankvalue] a report which use the LDB and get back the data (export/import), by default in the syntax of SUBMIT the selection-screen will not be displayed
    - Use [LDB_PROCESS|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=ldb_process&cat=sdn_all], fill a structured table for selection, and get data back in another table
    - Use [HR function modules to read Infotypes|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=hrfunctionmodulestoread+Infotypes&adv=false&sortby=cm_rnd_rankvalue].
    Regards

Maybe you are looking for