Radio Button problem when using Logical Databases.

Hi,
I have a report that uses logical database PCH.  I'd like to default the reporting period radio button so that when the report is run it is defaulted to today.
The name of the screenfield is PCHZTR_D so I set
PCHZTR_D = 'X'. 
in the initialisation event but this doesn't work.
Any suggestions how I can get the reporting period to default to 'today' programmatically.
I don't want to use a variant.
Thanks,
Paul

Try doing it in the AT SELECTION-SCREEN output Event.
report zrich_0001.
nodes: objec.
<b>at selection-screen output.
PCHZTR_A = space.
PCHZTR_D = 'X'.</b>
REgards,
Rich HEilman

Similar Messages

  • How to inactivate the 'Complex Search' button when using Logical Database

    Hy experts
    I m using Logical Database for a select and you know that for an GET event by default in selection screen it appears some selection fields for every GET event..I manage to hide the ones that don't interest me but I have a little problem: I have a button that's called 'Complex Search' and I don't know how to get rid of this button..
    Here is some code:
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
    IF screen-name CP '%BT02010_BLOCK_1000'.
          screen-input = '0'.
          screen-active = 0.
          screen-invisible = 1.
          MODIFY SCREEN.
        ENDIF.
        IF screen-name CP 'QL_REFIL'.
          screen-input = '0'.
          screen-active = 0.
          screen-invisible = 1.
          MODIFY SCREEN.
        ENDIF.
    I do this for every screen-name in the program that doesn t interes me..but it seams that even if I comment all the button with 'Complex Search' remains..I mention that is a disperate solution to inactivate every screen element but I could not do other way..My bigest pb is the 'Complex Seach' button..can anyone help me?? pls.. <REMOVED BY MODERATOR> ..thx..
    Edited by: Alvaro Tejada Galindo on Feb 12, 2008 12:45 PM

    Thank you Thomas,
    I need some more from you...
    If I have 8 tables for 8 columns, then how do i proceed?
    Also could u tell me some query optimization techniques while working with intermedia text.
    Thanks you once again,
    waiting...
    Khaleel Hi Khaleel,
    I think this depends on your data model (relationship between the tables) and how you like to search later.
    The optimization begins also with the create index statement (memory clause and storage clause).
    If you like me to help I need more information about your hardware, os, datamodel and what kind of searches you will have later.
    Cheers,
    Thomas

  • 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

  • How to hide selection fields when using logical database PNP

    hi.
    i m using a logical database PNP and report catagory 1PY_DEF in my program.
    but when i execute it , it shows to selection box. one name is period and second is selections.
    but i just want to show only period box selection fields , not the selection box fields.
    how it iz possible.

    HI,
    In my case i haved used the PNP logical database..in the selection box i don't wnat to display Contorling area,Cost Center & Organizational Unit. i have written this code to hide those fields..
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-name CS 'PNPKOKRS' OR
           screen-name CS 'PNPKOSTL' OR
           screen-name CS 'PNPORGEH'.
          screen-active = '0'.
          screen-invisible = '1'.
          MODIFY SCREEN.
          CLEAR screen.
        ENDIF.
      ENDLOOP.
    Try modify hide the total block instead of individual fields in that block.

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

  • Restrict selection screen when using logical Database(HR ABAP)

    Hi,
          I'm using <b>PNP</b> logical Database in my  
          report program. I want to restrict the deafult
          selection screen.
          Pls suggest me if knows.
    Kind regards,
    - Selva

    if you don't use the NODE or TABLE statement pnp selection screen will not come.
    other wise use screen number 900 which have fever fields and you can make the invisible using
    loop at screen.
    endloop.
    Regards,
    Wasim Ahmed

  • Primary Archivelog Management When Using Logical Standby

    I was wondering if anyone has seen or created a script to do archivelog management when using standby databases. We recently had an experience where our standby database and primary database got out of sync and we had to recreate the standby....I had hope to advoid this but it was easier than trying to recall tapes to retrieve the backups of the archivelogs from the primary.
    Management on the logical side is fine. I know of the ability to delete log files on the logcial standby after they have been applied to the database. However, this does not address the issue of the management of archivelogs on the primary site. Does anyone have a script that only deletes the archivelogs from the primary site after they have been applied to the logical standby? Now this is a LOGICAL standby not a physical standby....RMAN has the capability of doing this for a physical standby but I don't know of any commands ro setup to allow it to do it for a logical standby.
    Regards
    Tim

    Even with 1 TB of space I only have room enough for about 3 days worth of archivelogs. Working in the environment that I do, there is another group in charge of the ESAN which serves many different systems. They were wanting detail reasoning and justification why I needed 3 days worth of space when I requested it.
    It is not truly a problem, there are always work arounds. I can restore from the backups, I can put in scripts to send out email notification when the standby falls to far behind the OE. However even with all that, I wanted to write a script that someone could run without having to check the system to delete the archivelogs if space becomes an issue on the production side.
    I was just hoping to see if anyone had a script to do it already.
    Thanks for all the input.
    Regards
    Tim

  • ORA-01403: no data found Problem when using AUTOMATIC ROW FETCH to populate

    ORA-01403: no data found Problem when using AUTOMATIC ROW FETCH to populate a form.
    1) Created a FORM on EMP using the wizards. This creates an AUTOMATIC ROW FETCH
    TABLE NAME - EMP
    Item Containing PRIMARY KEY - P2099_EMPNO
    Primary key column - EMPNO
    By default the automatic fetch has a ‘Process Error Message’ of ‘Unable to fetch row.’
    2) Created a HTML region. Within this region add
    text item P2099_FIND_EMPNO
    Button GET_EMP to submit
    Branch Modified the conditional branch created during button creation to set P2099_EMPNO with &P2099_FIND_EMPNO.
    If I then run the page, enter an existing employee number into P2099_EMPNO and press the GET_EMP button the form is populated correctly. But if I enter an employee that does not exist then I get the oracle error ORA-01403: no data found and no form displayed but a message at the top of the page ‘Action Processed’.I was expecting a blank form to be displayed with the message ‘Unable to fetch row.’
    I can work around this by making the automated fetch conditional so that it checks the row exists first. Modify the Fetch row from EMP automated fetch so that it is conditional
    EXIST (SQL query returns at least one row)
    select 'x'
    from EMP
    where EMPNO = :P2099_EMPNO
    But this means that when the employee exists I must be fetching from the DB twice, once for the condition and then again for the actual row fetch.
    Rather than the above work around is there something I can change so I don’t get the Oracle error? I’m now wondering if the automatic row fetch is only supposed to be used when linking a report to a form and that I should be writing the fetch process manually. The reason I haven’t at the moment is I’m trying to stick with the automatic wizard generation as much as I can.
    Any ideas?
    Thanks Pete

    Hi Mike,
    I've tried doing that but it doesn't seem to make any difference. If I turn debug on it shows below.
    0.05: Computation point: AFTER_HEADER
    0.05: Processing point: AFTER_HEADER
    0.05: ...Process "Fetch Row from EMP": DML_FETCH_ROW (AFTER_HEADER) F|#OWNER#:EMP:P2099_EMPNO:EMPNO
    0.05: Show ERROR page...
    0.05: Performing rollback...
    0.05: Processing point: AFTER_ERROR_HEADER
    I don't really wan't the error page, either nothing with the form not being populated or a message at the top of the page.
    Thanks Pete

  • HR Reporing Payroll using Logical Database PNPCE

    Hi ALL
    Can any body explain me how can we do HR Payroll reporing using logical database PNPCE.
    In the program attibutes as mentioned we need to scee 900 for payroll reporting, but when I use PNPCE I cant see that screen in the Dropdown.
    can any body help me with this.
    regards
    AJ

    check this program..
    REPORT    ZHR_PAYROLL_EX1
               MESSAGE-ID ZZ
               LINE-SIZE 132
               LINE-COUNT 64(2)
               NO STANDARD PAGE HEADING .
                  T A B L E S                                            *
    TABLES    : PA0001 ,        "Infotype 0001
                 PCL1,           "HR Cluster 1
                 PCL2,           "HR Cluster 2
                 T549A,          "Payroll Accounting Areas
                 T549Q.          "Payroll Periods
                  I N C L U D E S                                        *
    *--Standard Include for US Payroll
    INCLUDE RPC2RUU0.            "Cluster RD data definition
    INCLUDE RPC2CD00.            "Cluster CD Data-Definition
    INCLUDE RPC2CA00.            "Cluster CA Data-Definition
    INCLUDE RPC2RX00.            "Cluster RF data definition internat. part
    INCLUDE RPPPXD00.            "Data definition buffer PCL1/PCL2
    INCLUDE RPPPXD10.            "Common part buffer PCL1/PCL2
    INCLUDE RPPPXM00.            "Buffer handling routine
                    INTERNAL TABLES
    *Internal Table to Hold data from PA0001
    DATA : BEGIN OF I_0001 OCCURS 0,
              PERNR LIKE PA0001-PERNR,  "Personnel Number
            END OF I_0001.
    *Internal Table to Hold data from PA0001
    DATA : BEGIN OF I_FINAL OCCURS 0,
              PERNR LIKE PA0001-PERNR, "Personnel Number
              GAMNT LIKE PC207-BETRG,  "Gross Amount
              NTAMT LIKE PC207-BETRG,  "Net Amount
              PAYDT LIKE PC261-PAYDT,  "Pay Date
              RUNDT LIKE PC261-RUNDT,  "Run Date
              VORNA LIKE PA0002-VORNA,  "First Name
              NACHN LIKE PA0002-NACHN,  "Last Name
            END OF I_FINAL.
    *Internal Table to Hold data from PA0002
    DATA : BEGIN OF I_0002 OCCURS 0,
              PERNR LIKE PA0002-PERNR,  "Personnel Number
              VORNA LIKE PA0002-VORNA,  "First Name
              NACHN LIKE PA0002-NACHN,  "Last Name
            END OF I_0002.
    Control record type
    TYPES     : BEGIN OF T_T569V,
                   ABKRS    LIKE T569V-ABKRS, "Personnel Area
                   PABRJ    LIKE T569V-PABRJ, "Accounting year
                   PABRP    LIKE T569V-PABRP, "Accounting period
                   STATE    LIKE T569V-STATE, "Status of Control Record
                   ADRUN    LIKE T569V-ADRUN, "HR: Special payroll run
                 END   OF T_T569V.
                      STRUCTURES
    DATA : WA_T569V TYPE T_T569V.    " Work area for t569v
                     DATA
    DATA : V_PABRJ  LIKE T569V-PABRJ,  "Accounting year
            V_PABRP  LIKE T569V-PABRP,  "Accounting period
            V_BEGDA  LIKE SY-DATUM,     "Begin Date
            V_ENDDA  LIKE SY-DATUM,     "End Date
            V_FPPER(6) TYPE C,          "For Period
            V_SEQNR  LIKE PC261-SEQNR.  "Sequence Number
       SELECTION SCREEN
    Selectio Screen Block for Employee Selection.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS : S_PERNR FOR PA0001-PERNR, "Pernr
                      S_DATE  FOR SY-DATUM.     "Date
    SELECTION-SCREEN END OF BLOCK B1.
       START-OF-SELECTION
    START-OF-SELECTION.
    *Get Data from pa0001
       PERFORM GET_DATA_FROM_0001.
    *Get Data from pa0001
       PERFORM GET_DATA_FROM_0002.
    *Get CHAD Details
       PERFORM GET_PAYDATA.
       END-OF-SELECTION
    END-OF-SELECTION.
       IF NOT I_FINAL[] IS INITIAL.
    *Print the Final Report.
         PERFORM PRINT_REPORT.
       ENDIF.
                    T O P  O F  P A G E
    TOP-OF-PAGE.
    Display Header
       PERFORM DISPLAY_HEADER.
                    S U B - R O U T I N E S
    *&      Form  get_data_from_0001
          Get Data from 0001
    FORM GET_DATA_FROM_0001.
       SELECT PERNR                     "Personnel Number
              FROM PA0001
              INTO TABLE I_0001
              WHERE PERNR IN S_PERNR AND
                    ENDDA >= S_DATE-LOW AND
                    BEGDA <= S_DATE-HIGH .
       IF SY-SUBRC = 0.
         SORT I_0001 BY PERNR.
       ENDIF.
    ENDFORM.                    " get_data_from_0001
    *&      Form  get_data_from_0002
          Get Data from 0002
    FORM GET_DATA_FROM_0002.
       SELECT PERNR                     "Personnel Number
              VORNA
              NACHN
              FROM PA0002
              INTO TABLE I_0002
              WHERE PERNR IN S_PERNR AND
                    ENDDA >= S_DATE-LOW AND
                    BEGDA <= S_DATE-HIGH .
       IF SY-SUBRC = 0.
         SORT I_0002 BY PERNR.
       ENDIF.
    ENDFORM.                    " get_data_from_0002
    *&      Form  populate_chad_coinage_table
          text
    FORM GET_PAYDATA.
       LOOP AT I_0001.
         READ TABLE I_0002 WITH KEY PERNR = I_0001-PERNR BINARY SEARCH.
         IF SY-SUBRC = 0.
           I_FINAL-VORNA = I_0002-VORNA.
           I_FINAL-NACHN = I_0002-NACHN.
         ENDIF.
    Read Result Directory for Payroll Results for a Employee.
         PERFORM CU_READ_RGDIR.
    Get Sequence Number & Associated Payroll Results.
         PERFORM GET_PAYROLL_RESULTS.
       ENDLOOP.
    ENDFORM.                    " get_paydata
    *&      Form  cu_read_rgdir
          Reag rgdir to get the results with conty grouping 'TD'
    FORM CU_READ_RGDIR.
       DATA : V_MOLGA  LIKE T500L-MOLGA ."Country Grouping
    *Call function module to get Results
       CALL FUNCTION 'CU_READ_RGDIR'
         EXPORTING
           PERSNR          = I_0001-PERNR
         IMPORTING
           MOLGA           = V_MOLGA
         TABLES
           IN_RGDIR        = RGDIR
         EXCEPTIONS
           NO_RECORD_FOUND = 1
           OTHERS          = 2.
       SORT RGDIR BY SEQNR.
    ENDFORM.                    " cu_read_rgdir
    *&      Form  get_payroll_results
          Get Sequence number
    FORM GET_PAYROLL_RESULTS.
       LOOP AT RGDIR WHERE   SRTZA = 'A' AND
                         VOID IS INITIAL AND
                         REVERSAL IS INITIAL AND
                         OUTOFSEQ IS INITIAL AND
                         PAYDT    IN S_DATE.
         V_SEQNR = RGDIR-SEQNR.
    *-- Macro Call for Germany
         RP-INIT-BUFFER.
         RX-KEY-PERNR = I_0001-PERNR.
         RX-KEY-SEQNO = V_SEQNR.
         RP-IMP-C2-RU.
         LOOP AT RT WHERE LGART = '/559'.
           I_FINAL-PERNR = I_0001-PERNR.
           I_FINAL-GAMNT = RT-BETRG.
           I_FINAL-PAYDT = RGDIR-PAYDT.
           I_FINAL-RUNDT = RGDIR-RUNDT.
           APPEND I_FINAL.
           CLEAR  I_FINAL.
         ENDLOOP.
       ENDLOOP.
    ENDFORM.                    "get_payroll_results
    *&      Form  display_header
          Display Header
    FORM DISPLAY_HEADER .
       FORMAT COLOR 1.
       ULINE.
       WRITE:/1 SY-VLINE,
             (15) 'Empl Number',
             SY-VLINE,
             (20) 'First Name',
             SY-VLINE,
             (20) 'Last Name',
             SY-VLINE,
             (15) 'Pay Date',
             SY-VLINE,
             (15) 'Run Date',
             SY-VLINE,
             (25) 'Gross Amount',
             132 SY-VLINE.
       ULINE.
       FORMAT COLOR OFF.
    ENDFORM.                    " display_header
    *&      Form  print_report
          Display Report
    FORM PRINT_REPORT .
       LOOP AT I_FINAL.
         WRITE:/1 SY-VLINE,
               (15) I_FINAL-PERNR,
               SY-VLINE,
               (20) I_FINAL-VORNA,
               SY-VLINE,
               (20) I_FINAL-NACHN,
               SY-VLINE,
               (15) I_FINAL-PAYDT,
               SY-VLINE,
               (15) I_FINAL-RUNDT,
               SY-VLINE,
               (25) I_FINAL-GAMNT,
               132 SY-VLINE.
         ULINE.
       ENDLOOP.
       SKIP 2.
       WRITE:/1 'Period Begin Date:',(25) V_BEGDA.
       WRITE:/1 'Period End   Date:',(25) V_ENDDA.
    ENDFORM.                    " print_report

  • Using logical database to fetch data in Module Pool programming

    I am unable to use logical database to fetch data in case of Module pool programming. Has anyone ever faced problems with it...?

    use f.m LDB_PROCESS....
    refer demo program DEMO_LOGICAL_DATABASE

  • NLS support problems when using AL32UTF8 in dads.conf

    Hello,
    Following a post by Joel Kallman, in one of the forum threads, about the mandatory use of AL32UTF8 in dads.conf, when running HTML DB v2.0, I changed my PlsqlNLSLanguage parameter accordingly.
    Prior to the change, I experienced some problems when using non-English characters – some application items appeared as gibberish when contained non-English characters, and the LIKE operator didn't perform as expected. After the change, it all seems to work OK, but now I have a different problem.
    All the non-English characters in my HTML page source code appears as gibberish. On screen, at run time, everything display correctly, but the source code seems to be corrupted. It is very difficult, and very annoying to debug the pages that way. Is there a way to enjoy both worlds – Using AL32UTF8 in the dads.conf, as required, and still getting a coherent HTML source code, containing non-English characters?
    Thanks,
    Arie.

    Joel,
    I use the following settings and they work fine for me:
    Operating system:
    LANG=de_DE
    LANGVAR=de_DE.UTF-8
    NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
    daust:oracle[o1020]> uname -a
    Linux daust.opal-consulting.de 2.4.21-37.EL #1 Wed Sep 7 13:35:21 EDT 2005 i686 i686 i386 GNU/Linux
    daust:oracle[o1020]> cat /etc/redhat-release
    Red Hat Enterprise Linux ES release 3 (Taroon Update 6)
    daust:oracle[o1020]>
    marvel.conf:
    <Location /pls/htmldb>
        Order deny,allow
        PlsqlDocumentPath docs
        AllowOverride None
        PlsqlDocumentProcedure wwv_flow_file_manager.process_download
        PlsqlDatabaseConnectString localhost:1521:o1020
        PlsqlNLSLanguage AMERICAN_AMERICA.WE8ISO8859P1
        PlsqlAuthenticationMode Basic
        SetHandler pls_handler
        PlsqlDocumentTablename wwv_flow_file_objects$
        PlsqlDatabaseUsername HTMLDB_PUBLIC_USER
        PlsqlDefaultPage htmldb
        PlsqlDatabasePassword @BZvJYqadreElOqj5poCB5gE=
        Allow from all
    </Location>
    Database:
    daust:oracle[o1020]> sqlplus "/ as sysdba"
    SQL> select * from nls_database_parameters;
    PARAMETER                      VALUE
    NLS_LANGUAGE                   AMERICAN
    NLS_TERRITORY                  AMERICA
    NLS_CURRENCY                   $
    NLS_ISO_CURRENCY               AMERICA
    NLS_NUMERIC_CHARACTERS         .,
    NLS_CHARACTERSET               WE8ISO8859P1
    NLS_CALENDAR                   GREGORIAN
    NLS_DATE_FORMAT                DD-MON-RR
    NLS_DATE_LANGUAGE              AMERICAN
    NLS_SORT                       BINARY
    NLS_TIME_FORMAT                HH.MI.SSXFF AM
    PARAMETER                      VALUE
    NLS_TIMESTAMP_FORMAT           DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT             HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT        DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY              $
    NLS_COMP                       BINARY
    NLS_LENGTH_SEMANTICS           BYTE
    NLS_NCHAR_CONV_EXCP            FALSE
    NLS_NCHAR_CHARACTERSET         AL16UTF16
    NLS_RDBMS_VERSION              10.2.0.1.0####################
    Using AL32UTF8 resulted in the same problem as described ( and fixed ) here: Re: Strange - HTML not written correctly
    So, what is the proper configuration of the DAD, perhaps there are different ones for Unicode instances and non-Unicode instances.
    ~Dietmar.

  • Duplicated entries in BSIK using Logical Database KDF

    Hello everyone,
    I'm using Logical Database KDF to retrieve some data, but i'm getting duplicated entries when getting to BSIK. Can anyone point out in my program what could i be doing wrong?
    If i put a breakpoint in the line immediatly below GET bsik, i can watch several entries being duplicated.
                                         Thanks in advance to everyone,
                                                       Nuno
    START-OF-SELECTION.
    GET lfa1.
      MOVE-CORRESPONDING lfa1 TO t_alv.
    GET lfb1.
    GET bsik.
      MOVE-CORRESPONDING bsik TO t_alv.
      CLEAR bkpf.
      SELECT SINGLE * FROM  bkpf CLIENT SPECIFIED
             WHERE  mandt  = syst-mandt
             AND    bukrs  =  bsik-bukrs
             AND    belnr  = bsik-belnr
             AND    gjahr  = bsik-gjahr.
      t_alv-xblnr = bkpf-xblnr.
      SELECT        * FROM  bset CLIENT SPECIFIED
             WHERE  mandt  = syst-mandt
             AND    bukrs  = bsik-bukrs
             AND    belnr  = bsik-belnr
             AND    gjahr  = bsik-gjahr.
         t_alv-mwskz = bset-mwskz.
          t_alv-hwbas = bset-hwbas.
          t_alv-hwste = bset-hwste.
          t_alv-dmbtr = bset-hwbas + bset-hwste.
          t_alv-stceg = lfa1-stceg.
        APPEND t_alv.
      ENDSELECT.

    Hello Nuno Centeio ,
                                      According to the table definition there can be more than one entries for a vendor based on the table key definition.
    Thanks,
    Greetson

  • Why u  use logical databases

    how u used logical database?how is data transferrd to program?corresponding statement in LDB?

    Hi,
    Logical databases are programs that does useful tasks like data fetch, Authorization check on behalf of thep program to which you attach them.
    Some of the Tasks of LDB's.
    <b>Reading the same data for several programs.</b>
    The individual programs do not then need to know the exact structure of the relevant database tables (and especially not their foreign key relationships). Instead, they can rely on the logical database to read the database entries in the right order during the GET event.
    <b>Defining the same user interface for several programs.</b>
    Logical databases have a built-in selection screen. Therefore, all of the programs that use the logical database have the same user interface.
    <b>Central authorization checks</b>
    Authorization checks for central and sensitive data can be programmed centrally in the database to prevent them from being bypassed by simple application programs.
    <b>Improving Performance</b>
    If you want to improve response times, logical databases permit you to take a number of measures to achieve this (for example, using joins instead of nested SELECT statements). These become immediately effective in all of the application programs concerned and save you from having to modify their source code.
    The data fetch happend with the PUT_XXXX subrotuines in the Logical database programs.
    Example:
    DATABASE PROGRAM OF THE LOGICAL DATABASE TEST_LDB
    PROGRAM sapdbtest_ldb DEFINING DATABASE test_ldb.
    TABLES: lfa1,
            lfb1,
            lfc1,
            bkpf.
    Initialize selection screen (process before PBO)
    FORM init.
    ENDFORM.                                "INIT
    PBO of selection screen (always before selection
    screen
    FORM pbo.
    ENDFORM.                                "PBO
    PAI of selection screen (process always after ENTER)
    FORM pai USING fname mark.
      CASE fname.
        WHEN 'SLIFNR'.
        WHEN 'SBUKRS'.
        WHEN 'SGJAHR'.
        WHEN 'SBELNR'.
      ENDCASE.
    ENDFORM.                                "PAI
    Call event GET LFA1
    FORM put_lfa1.
      SELECT * FROM lfa1
               WHERE lifnr      IN slifnr.
        PUT lfa1.
      ENDSELECT.
    ENDFORM.                                "PUT_LFA1
    Call event GET LFB1
    FORM put_lfb1.
      SELECT * FROM lfb1
               WHERE lifnr      =  lfa1-lifnr
                 AND bukrs      IN sbulrs.
        PUT lfb1.
      ENDSELECT.
    ENDFORM.                                "PUT_LFB1
    Call event GET LFC1
    FORM put_lfc1.
      SELECT * FROM lfc1
               WHERE lifnr      =  lfa1-lifnr
                 AND bukrs      =  lfb1-bukrs
                 AND gjahr      IN sgjahr.
        PUT lfc1.
      ENDSELECT.
    ENDFORM.                                "PUT_LFC1
    Call event GET BKPF
    FORM put_bkpf.
      SELECT * FROM bkpf
               WHERE bukrs      =  lfb1-bukrs
                 AND belnr      IN sbelnr
                 AND gjahr      IN sgjahr.
        PUT bkpf.
      ENDSELECT.
    ENDFORM.                                "PUT_BKPF 
    Regards,
    Sesh

  • Performance problem when using CAPS LOCK piano input

    Dear reader,
    I'm very new to Logic and am running into a performance problem when using the CAPS LOCK-piano-keyboard for input of an instrument: when I'm not recording everything is fine and the program instantly responds on my keystrokes, but as soon as I go into record-mode there is sometimes a delay in the response-time (so I press a key and it takes up to half a second longer before the note is actually played).
    Is there anything to do about this to improve performance (for example turning of certain features of the application), or should I never use the CAPS LOCK keyboard anyway and go straight for an external MIDI-keyboard?
    Thanks and regards,
    Tim Metz

    Does your project have Audio tracks and just how heavy it is, how many tracks? Also, what kind of Software Instrument do you use?

  • Orange mail software problem when using distribution lists : some lists cannot be used for writing e-mails. The problem does not exist when using Internet Explo

    When writing an e-mail directly on the Orange e-mail service (not on Thunderbird) I am facing the following problem : some distribution lists cannot be used to complete the adressees. The same lists can be used without difficulty if I use Internet Explorer instead of Firefox. The Orange hotline told me that probably my Firefox version was not updated. Unfortunately I checked that, and apparently the automatic updating works. I have also updated the plug ins, without any result.

    Please could you specify which webpage you mean ?
    The process with Orange is the following :
    - 1. click on "Write an e-mail" on the mail webpage
    - 2. click on "To" to reach the Contacts which opens a new window
    - 3. click on "Distribution lists"
    - 4. click on the selected list then click on "add". The list appears ot the box corresponding to the addresses .
    UNTIL THEN EVERYTHING WORKS WELL
    - 5. click on the button "validate", which closes the window previously opened and normally
    - 6. reloads the initial page with the complete list on the line "To". Instead of that I get the last e-mail address I previously used .
    Question : at which step of this process should I try your suggestions ? I tried when the initial page was reloaded with the wrong address, but it did not work to get back the rignt distribution list;
    Note that the whole process functions with OTHER Distribution lists. The only difference is that the problematic one has a larger number of adresses (62) however inferior to the maximum indicated by Orange (100).
    I also remind that there is no problem when using Internet Explorer instead of Firefox.
    Thanks for your help !

Maybe you are looking for

  • Problem with a Recently Bought Movie

    So yesterday I decided to buy a movie on iTunes. It was running smoothly until it was about 90% done... My computer froze, and I'm not sure if the movie finished or not. Either way, it doesn't show up anywhere besides my 'Latest Purchase' in my accou

  • Mapping measures in a cube vs Calculated Measure

    I have a fact table as Fact_Table_ Sales Product_ID Special_Product_Flag Special_Product_Flag is a y/n flag and a Dimension_ table as Product_ID Product_Name I want to have 2 measures in the cube 1. Product_Sales In the cube I specify the mapping for

  • Performance of large v. small compositions containing only vector files

    Hey all, do the two of these approaches have different impacts on performance in AE? Situation 1: A composition is 19,200 x 10,800 pixels in AE (that may be larger than the possible size, but for sake of discussion, it's a large-sized comp). It conta

  • Quicktime wont run

    I get this error: Quicktime Player has encountered a problem and needs to close. We are sorry the the inconvenience. EventType : BEX P1 : QuickTimePlayer.exe P2 : 7.65.17.80 P3 : 4afa5828 P4 : QuickTimePlayer.dll P5 : 7.65.17.80 P6 : 4afa5820 P7 : 00

  • How use Esc or F1,F2 in my form

    hi master Sir my user want when he press Esc or F2 or F3 then clear_form(no_validate) and record move to next record such as clear_form(no_validate); next_record; go_item(‘sid’); please sir give me idea how I use Esc button in my form thanking you aa