Problem in logical database.

Hi experts,
I'm creating a logical database. It is populating only at the end and its not updating for the earlier records at all. Only the last record gets printed and not the previous records at all. WHAT MIGHT BE THE REASON. help me pl.

Hi Vishwa,
Check whether you have called your last secondary node with LATE command in your driver program.
Regards
Vinodh

Similar Messages

  • Problem with Logical Database DDF

    Hey All,
    I have a problem with Logical Database DDF.
    In my program I am typing this
    GET KNA1 based on selection screen. It is bringing back everything I want except BRAN1 whereby the field is ''. However in SE16 for KNA1 and for the same KUNNR, the field is populated with 'T180'
    I am not understanding this?! I thought LDB where menat to make things easy!!

    I think it's not used by DDF.
    so you must check it with:
    check kna1-bran1 in s_bran1.
    A.

  • Problem with logical database DDF in ABAP query

    Hi All,
          I have created an ABAP query via the transaction SQ01 using the logical database DDF to retrieve customer master data from tables KNA1 & KNB1. The selection screen used is the screen 903 of the logical database DDF. But now the problem is that when I execute the query, I am getting a blank value in the tax code4(KNA1-STCD4) field though there is value in the KNA1 table for this particular field. This field was added to the table by means of a customizing include. Can anyone suggest a way to get around this problem so that I can view the content of the field STCD4 in the query.
    Thanks and regards,
    Sarath.

    I think it's not used by DDF.
    so you must check it with:
    check kna1-bran1 in s_bran1.
    A.

  • Problem with logical database ADA

    I am trying to create query with asset values and master data fields but when trying to use logical database ADA I am getting error  No component exists with the name "VALUE0". .InfoSet Cannot be Used for InfoSet Query.
    Does anyone have an idea about such problem?

    Hi,
    The message "No component exists with the name "VALUE0"" created when  you omit to edit the field group only happens if no field is assigned to  a fieldgroup, it should not appear if you add at least one field to a  field group.                                        
    regards Bernhard

  • Problem about logical database programming

    Dear all,
    I have a logical database PRPS_R which contail PRPS and some additional fields.
    In my abap report, I call this logical database by "GET PRPS_R". Can I ask how to perform sorting to the  logical database in ABAP report?
    Thanks
    Sunny

    PRPS_R is a structure of logical database PSJ
    there is a user-exit available EXIT_FDBPS000_001

  • Problem with logical Database PRHI

    Hello all,
    which table contains the internal structure RPSCO_X ??
    Logical database PRHI
    Profil TPIK3
    I need to display the application of funds. (cokp1 ?)
    Thanks for your help.

    Solved

  • Problem with logical database

    Hello experts,
    i want to mix the data of the two transactions CjI3 CjI5 into one table. Both Transactions or programs use LDB psj. So i want to use one perform for each LDB call. I want to call the LDB with the FM LDB_PROCESS.
    I want to get the data of the actual project costs with the code below.
    DATA: lt_callback TYPE TABLE OF ldbcb,
            ls_callback LIKE LINE OF lt_callback.
      DATA: lt_seltab TYPE TABLE OF rsparams,
            ls_seltab LIKE LINE OF lt_seltab.
      DATA: lt_select_fields   TYPE rsfs_fields.
    CALL FUNCTION 'CJDB_FREE_MEMORY_LDB_PSJ'.
    gd_kokrs = 'URNC'.
    * init event
      SET PARAMETER ID 'CAC' FIELD 'URNC'.
    * define nodes for ldb call
      ls_callback-ldbnode     = 'PROJ'.
      ls_callback-get         = 'X'.
    *  ls_callback-get_late    = 'X'.
      ls_callback-cb_prog     = sy-repid.
      ls_callback-cb_form     = 'CALLBACK_PROJ_ACT'.
      append ls_callback to lt_callback.
      clear ls_callback.
      ls_callback-ldbnode     = 'VBAP'.
      ls_callback-get         = 'X'.
    *  ls_callback-get_late    = 'X'.
      ls_callback-cb_prog     = sy-repid.
      ls_callback-cb_form     = 'CALLBACK_VBAP_ACT'.
      append ls_callback to lt_callback.
    ...defining the other callback forms
    * set selcrit
    CLEAR ls_seltab.
    ls_seltab-SELNAME = 'CN_AKTDT'.
    ls_seltab-KIND = 'P'.
    ls_seltab-LOW = 'X'.
    APPEND ls_seltab to lt_seltab.
      CLEAR ls_seltab.
    ls_seltab-SELNAME = 'CN_AMODI'.
    ls_seltab-KIND = 'P'.
    ls_seltab-LOW = 'X'.
    APPEND ls_seltab to lt_seltab.
    * other selcrits
    * fill table for field selection
      PERFORM f01_fill_select_fields TABLES lt_select_fields.
    flg_no_stop_info = con_on.
    *  flg_psj_no_gen = con_on.
    *  cn_corep = con_on.
      psj_handle_tcndb = 3000.
    * set tcode (direct for batch processing)
      gd_tcode = 'CJI3'.
    * save repid for selection
      gd_repid_save = sy-repid.
    * set tcode (direct for batch processing)
      gd_tcode = 'CJI3'.
    * flag aus start of selection
    *   flg_no_database = con_on.
    * For DB Profiles
    DATA: ls_tcndb TYPE tcndb,
          ls_tcnds TYPE tcnds.
    Select SINGLE * from tcndb
      into ls_tcndb
      WHERE PROFID = 'URENCO_PS001'.
    IF sy-subrc = 0.
       EXPORT CN_TCNDB FROM LS_TCNDB
          TO MEMORY ID 'SAPDBPSJ_CN_TCNDB'.
       TCNDB = LS_TCNDB.
    ENDIF.
    Select SINGLE * from tcnds
      into ls_tcnds
      WHERE DB_VIEW = '000000000001'.
    IF sy-subrc = 0.
       EXPORT CN_TCNDS FROM LS_TCNDS
          TO MEMORY ID 'SAPDBPSJ_CN_TCNDB'.
       TCNDS = LS_TCNDS.
    ENDIF.
    psj_caller = sy-repid.
      CALL FUNCTION 'LDB_PROCESS'
        EXPORTING
          LDBNAME                           = 'PSJ'
    *     VARIANT                           =
    *     EXPRESSIONS                       =
        FIELD_SELECTION                   = lt_select_fields
    *     DYN_NODE_TYPES                    =
        TABLES
          CALLBACK                          = lt_callback
         SELECTIONS                        = lt_seltab
       EXCEPTIONS
         LDB_NOT_REENTRANT                 = 1
    But only the project table is filled. But i also need the nodes
    proj      
    vbap      
    PRPS_R    
    AUFK      
    ACT01     
    PSMERK    
    PSMERK_PRPS
    PSMERK_ACT
    But i didnt get some data in it. I don know why.
    The table gt_proj is filled in the call back form. But not the other tables???
    Can anybody help.
    If you need more information say it.
    Edited by: christopher Pollok on Jun 20, 2011 4:20 PM

    Solved

  • Problem with Logical Database - Get stmt

    Hi,
       There is a standard LDB which is used in custom developed report.
    GET A
    GET B
    When there is no record fetched from B table, it moves to end-of-selection and finishes the report execution. But in some cases I dont want this to happen. Only GET A needs to be executed. It need not do a GET B statement, since there is no corresponding record in B table.
    If some condition.
        GET A.
    else.
        GET A.
        GET B.
    endif,
    But this is not posiible., since it cant be binded by If stmts.
    Please let me know how can this be achieved.
    Thanks

    Thats fine. But I dont want the GET B to get executed. Since there is no record in tht table for tht condition.
    Get B  -> Fetch wil return no record. So it goes to end-of-selection and completed report processing. But in my case it shouldnt happen. It should proceed further down in processing the report. So only i thought
    If some condition.
      Get B
    endif.
    So when there is no record case, Get B will not be executed. Binding by if is not possible.
    So please let me know how to proceed

  • Logical database AAV

    Hi all friend !
    I have problem belong Logical database, I used Logical database AAV but when I run report, i receive a message " VBAK is not specified for field selection".
    report test_logicaldatabase.
    nodes: vbak.
    get vbak fields vbeln.
    write: / vbak-vbeln.
    help me ?
    Thank very much !

    Hi Van, I think what u wrote is correct. But I wonder y its not working for u. try once again with the same code in another report program.
    Here is a simple Program on Logical database.
    Here is the code.
    NODES: spfli,sflight.
    START-OF-SELECTION.
    WRITE 'Test Program for GET'.
    *Fetching SPFLI table
    GET spfli.
    WRITE: / 'Carrid:', spfli-carrid,
    'Connid:', spfli-connid.
    *Fetching SFLIGHT table
    GET sflight.
    SKIP 5.
    WRITE: / 'Carrid:', sflight-carrid,
    'Connid:', sflight-connid.
    Hope,it is useful for you.
    kindly reward if found helpful.
    cheers,
    Hema.

  • Problem with using Logical Database PNP

    Hello everybody!
    When I use the logical database PNP in my program,a warning message appeared during the syntax check with Unicode checks actived.The message looks like below:
    <b>Include DBPNPCOM.
    In Unicode programs,the "-" character cannot appear in names,as it does here in the name "PNP-SW-FOUND".
    Include DBPNPCOM.
    In Unicode programs,the "-" character cannot appear in names,as it does here in the name "PNP-SY-TABIX".</b>
    Anybody know how to deal with this problem?
    Regards
    Brian Liu

    Hi,
    You can either ignore the warnings or uncheck the 'Unicode checks Active' checkbox in the program attributes. In fact you get the same warnings off most standard SAP HR Reports.
    Good luck,
    Suresh Datti

  • Logical database: S1L, problem?

    Hi all,
    We have standard logical database: S1L and we have warehouse number on selection screen as a parameter.
    If i enter '**' on selection screen, then it should pick all the warehouse numbers from T300 table, but when i enter '*', then it is giving error as '**' is not valid entry in T300.
    Can you help me in this regard.
    Thanks in advance.

    Click on the 'Dynamic selections' button, and there you'll be able to specify multiple individual values for the warehouse number. If you want everything, you'll have to put all the existing warehouse numbers into the dynamic selection. Then save it as a variant, so that you don't have to type them in every time
    <i>Edit: </i>Wait, that still might not work because it appears to be tied to the other selection fields... so the one single warehouse number will still probably restrict your selection. If that's the case, then the standard logical database won't work for your purpose, you'll have to copy and adapt it to your needs.
    Message was edited by:
            Tamas Hoznek

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

  • Problem in KDF Logical Database !!

    Hii Friends,
    We need to modify Tcode F.42 and add a field Business Place(BUPLA) on Selection Screen. This is the main requirement.
    So i make a copy of this program and KDF logical database.
    I am adding a field BUPLA in ZKDF custom logical database. But this Business Place is not working, if i need to debug this logical database, I am unable to debug the logical database.
    Please suggest your suggestions..
    Nitin Garg

    Hi Ramesh,
    These are the type of error messages in exetnded syntax check:
    The current ABAP command is obsolete
    In the OO context either an INTO or an ASSIGNING specification or the addition
    "TRANSPORTING NO FIELDS" must be used . be used. be used. be used. be used. be
    used.
    Internal Message Code: READ 018
    (The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET
    EXTENDED CHECK OFF/ON)
          Program:  Z_INT_I_PY_BONUSPAYMENT  Include:  Z_PY_F01_BONUSPAYMENT  Row:    279
    The current ABAP command is obsolete
    At "LOOP AT itab" one of the additions "INTO", "ASSIGNING" or "TRANSPORTING NO
    FIELDS" is required in the OO context . .
    Internal Message Code: LOOP 012
    (The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET
    EXTENDED CHECK OFF/ON)
          Program:  Z_INT_I_PY_BONUSPAYMENT  Include:  Z_PY_F01_BONUSPAYMENT  Row:    282
    The current ABAP command is obsolete
    In the OO context either an INTO or an ASSIGNING specification or the addition
    "TRANSPORTING NO FIELDS" must be used . be used. be used. be used. be used. be
    used.
    Internal Message Code: READ 018
    (The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET
    EXTENDED CHECK OFF/ON)
          Program:  Z_INT_I_PY_BONUSPAYMENT  Include:  Z_PY_F01_BONUSPAYMENT  Row:    282
    The current ABAP command is obsolete
    At "LOOP AT itab" one of the additions "INTO", "ASSIGNING" or "TRANSPORTING NO
    FIELDS" is required in the OO context . .
    Internal Message Code: LOOP 012
    (The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET
    EXTENDED CHECK OFF/ON)
    Please suggest me some way to clear these if it is possible.

  • Problem in Using Logical Database PNP

    Hi Guru's,
    I am using PNP logical database and rp_provide_from_last 
    macros statements to fetch data from PA Tables.
    When i am doing extended syntax check it is showing more
    than 60 error's in ECC 6.0 for below statements:
          1)  Tables:  Pernr
          2)  Infotypes: 0001,0002. and
          3)  RP_PROVIDE_FROM_LAST statements.
    Could any please provide soloution how to clear all these.
    Its very urgent.
    Thanks in advance.
    Regards,
    Sunil

    Hi Ramesh,
    These are the type of error messages in exetnded syntax check:
    The current ABAP command is obsolete
    In the OO context either an INTO or an ASSIGNING specification or the addition
    "TRANSPORTING NO FIELDS" must be used . be used. be used. be used. be used. be
    used.
    Internal Message Code: READ 018
    (The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET
    EXTENDED CHECK OFF/ON)
          Program:  Z_INT_I_PY_BONUSPAYMENT  Include:  Z_PY_F01_BONUSPAYMENT  Row:    279
    The current ABAP command is obsolete
    At "LOOP AT itab" one of the additions "INTO", "ASSIGNING" or "TRANSPORTING NO
    FIELDS" is required in the OO context . .
    Internal Message Code: LOOP 012
    (The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET
    EXTENDED CHECK OFF/ON)
          Program:  Z_INT_I_PY_BONUSPAYMENT  Include:  Z_PY_F01_BONUSPAYMENT  Row:    282
    The current ABAP command is obsolete
    In the OO context either an INTO or an ASSIGNING specification or the addition
    "TRANSPORTING NO FIELDS" must be used . be used. be used. be used. be used. be
    used.
    Internal Message Code: READ 018
    (The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET
    EXTENDED CHECK OFF/ON)
          Program:  Z_INT_I_PY_BONUSPAYMENT  Include:  Z_PY_F01_BONUSPAYMENT  Row:    282
    The current ABAP command is obsolete
    At "LOOP AT itab" one of the additions "INTO", "ASSIGNING" or "TRANSPORTING NO
    FIELDS" is required in the OO context . .
    Internal Message Code: LOOP 012
    (The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET
    EXTENDED CHECK OFF/ON)
    Please suggest me some way to clear these if it is possible.

  • Plz helpme experts logical database problem

    hi experts
    plz help
    i am working in a upgrade project
    and in one report i am using logical database eqi(check selection of DIEQI)
    in which
    in selection criteria
    in 4.6 it have a checkbox icon
    and
    in 6.0 it is written ad_icon
    i am not able to know what is this ad_icon
    due to this icon i am getting a cross icon in my output
    but i want a checkbox
    expert plz help and tell me how i am getting this cross icon and how i can get the checkbox icon
    THANX IN ADVANCE
    FYI :IN 6.0
    PARAMETERS  dy_adrfl NO-DISPLAY FOR TABLE diequi.
    SELECTION-SCREEN COMMENT 71(30) ad_icon FOR TABLE diequi.
    IN 4.6
    parameters  dy_adrfl for table diequi as checkbox modif id ad1.
    anit gautam

    HI,
    Can you show us the code of your SELECTION-SCREEN.
    Also code from the INITIALIZATION and
    AT SELECTION-SCREEN OUTPUT.
    Regards,
    Sesh

Maybe you are looking for

  • Dock magnification, menu bar and scrolling problems

    I'm running 10.6.4 and have suddenly noticed that for no apparent reason, dock magnification, roll over menus and screen scrolling in Zoom mode have stopped working. I've checked all the settings and they are set properly. If I shut down and restart,

  • WRITE ( f ) TO g .

    In the WRITE TO statement, WRITE (<f>) TO <g>. code-> <b>DATA: name(10)   TYPE c VALUE 'SOURCE_s',       source_s(10) TYPE c VALUE 'XYZ ',       target(10) TYPE c. WRITE (name) TO target. WRITE / target. <i>Output->XYZ ( value of source_s)</i></b> wi

  • When capturing FCP makes new clips

    When I am capturing from a tape, FCP creates a new clip every time I pressed stop and then start again on the camera to change my shot. There are no time code breaks in the tape but I don't know how FCP is creating a new clip every time I change my a

  • SQLException Instance not found

    I have a web application (JRun) that uses JDBC to connect to a SQL Server 2000 database. During times of heavy volume I get a SQL Exception* stating that the instance on the server is not found. The instance does exist and on a normal day it connects

  • Can Creative Cloud members pass on or sell old versions of CS?

    As I am now a Creative Cloud subscriber, can I pass on or sell old versions of Ceative Suite (CS4) on CD?