Hi plz help me this question ASAP

without writing start-of-selection-screen we can write end of selection screen and wise versa then what is the use.

The sequence in which the processing blocks occur in the program is irrelevant. The actual processing sequence is determined by the external events. However, to make your programs easier to understand, you should include the event blocks in your program in approximately the same order in which they will be called by the system. Subroutines should be placed at the end of the program.
Statements that are not assigned to a processing block are never executed. An exception to this are any non-declarative statements between the REPORT or PROGRAM statement and the first processing block, which are assigned to the default event
<b>START-OF-SELECTION</b> if a program does not contain an explicit <b>START-OF-SELECTION</b> block, these statements form the entire <b>START-OF-SELECTION</b> block. If a <b>START-OF-SELECTION</b> keyword is already included in your program, these statements are inserted at the beginning of this block. If the program does not contain any explicit event blocks, all non-declarative statements are assigned to the default processing block <b>START-OF-SELECTION.</b>
There can be many scenarios
<b>SCENARIO 1:</b>
REPORT  ZTEMP                                                       .
FORM ROUTINE.
  WRITE / 'Subroutine'.
ENDFORM.
WRITE / 'Statement 1'.
START-OF-SELECTION.
  WRITE / 'Statement 2'.
PERFORM ROUTINE. 
  WRITE / 'Statement 3'.
*END-OF-SELECTION.
This code wont give an error.
<b>SCENARIO 2:</b>
REPORT  ZTEMP                                                       .
FORM ROUTINE.
  WRITE / 'Subroutine'.
ENDFORM.
WRITE / 'Statement 1'.
START-OF-SELECTION.
  WRITE / 'Statement 2'.
  PERFORM ROUTINE. 
  WRITE / 'Statement 3'.
END-OF-SELECTION.
This wont give an error either, as both event blocks are present.
<b>SCENARIO 3:</b>
RITE / 'Statement 1'.
FORM ROUTINE.
  WRITE / 'Subroutine'.
ENDFORM.
*START-OF-SELECTION.
  WRITE / 'Statement 2'.
PERFORM ROUTINE.
  WRITE / 'Statement 3'.
END-OF-SELECTION.
This woul dgive an error, as start of selection is not present, and we use end of selection.
Hope this answers your question.
<b>Reward if helpful</b>

Similar Messages

  • PlZ help me these question

    Hi all,
    i attended a interview, these are the qes..plz help me with ans..
    1. is it possible without using function modules in
    bdc(open, insert,close) data transferring? how ...
    2. which one is better session/call transection? why?
    3. in LSMW what r the methods u r using?
    4. in LSMW otherthan recording any method is there? what are they?
    5. in LSMW where are u doing field validation? in which step, can u explain?
    6. is it possible to run smartform without using
    " ssf_function_module_name", how ?
    7. how will display secondary list in ALV.
    8. how will u call back to secondary lists to base list?
    9. how u r printing secondary list in interactive reports?
    10. what are the events used in u r ALV reports?
    11. how will u access data in secondary list?
    12. what is diff b/w bapi created fm and standered bapi fm?
    13. in ALE in which programm worked either standalone or any other?
    here what is standalone?i know change pointer..

    Hi
    10. what are the events used in u r ALV reports?
    Events in alv and their FM    The main events in alv and their FM and why we use these: 
    1. SLIS_PRINT_ALV. 
    2. SLIS_T_LISTHEADER. 
    3. SLIS_T_EVENT. 
    4. SLIS_T_SORTINFO_ALV. 
    5. SLIS_T_LAYOUT_ALV. 
    6. SLIS_T_FIELDCAT_ALV. 
    and in classic reports what is the sequence of events:   === Events are 
    At selection-screen output. 
    Initialization. 
    At selection-screen on field 
    At selection-screen on end of field 
    At selection-screen on Radiobutton Group R1. (If you have any radio buttons) 
    At selection-screen on block b1. (If you have any blocks) 
    Start-of-selection. 
    Get node. (if the data is retreived from a logical database) 
    Get node late. (if the data is retreived from a logical database) 
    Top-of-page. (if the write statement is in the end-of-selection event or we can say that before the first write statement) 
    end-of-selection. 
    and fuction modules are 
    LISTHEADER - Is used to print the header information in the ALV List. Name, Date, Time, ALV Name and other details are called as Header information.   EVENT - Basically this is the FM to handle Event's. When the user needs to do some event operation like when double clicking the a particular field we need to perform some operation.   These events are captured by this FM.   LAYOUT - This FM is used to define the layout of the List. There are many options available in this FM to define the Layout style.   FIELDCAT - These are used to populate the List header. We can change them according to our req. 
    User-defined Text Output Event
        Application
          print_end_of_list
        Define output text to be printed at the end of the entire list
          print_top_of_list
        Define output text to be printed at the beginning of the entire list
          print_end_of_page
        Define output text to be printed at the end of each page
          print_top_of_page
        Define output text to be printed at the beginning of each page
          subtotal_text
        Define self-defined subtotals texts
    Mouse-controlled Actions in the Grid Control Event
        Application
          button_click
        Query a click on a pushbutton in the ALV Grid Control
          double_click
        Query a double-click on a cell of the ALV Grid control 
          hotspot_click
        Query a hotspot click on columns defined for this purpose in advance
          onDrag
        Collect information when elements of the ALV Grid Control are dragged 
          onDrop
        Process information when elements of the ALV Grid Control are dropped 
          onDropComplete
        Perform final actions after successful Drag&Drop 
          onDropGetFlavor
        Distinguish between options for Drag&Drop behavior
    Processing of Self-defined and Standard Functions Event
        Application
          before_user_command
        Query self-defined and standard function codes
          user_command
        Query self-defined function codes
          after_user_command
        Query self-defined and standard function codes
    Definition of Self-defined Functions Event
        Application
          toolbar
        Change, delete or add GUI elements in the toolbar
          menu_button
        Define menus for menu buttons in the toolbar
          context_menu_request
        Change context menu
          onf1
        Define self-defined F1 help
    All of these can be found under type group SLIS.
    Events
    SLIS_EV_ITEM_DATA_EXPAND        TYPE SLIS_FORMNAME VALUE 'ITEM_DATA_EXPAND',
    SLIS_EV_REPREP_SEL_MODIFY       TYPE SLIS_FORMNAME VALUE 'REPREP_SEL_MODIFY', SLIS_EV_CALLER_EXIT_AT_START TYPE SLIS_FORMNAME VALUE 'CALLER_EXIT',
    SLIS_EV_USER_COMMAND              TYPE SLIS_FORMNAME VALUE 'USER_COMMAND',
    SLIS_EV_TOP_OF_PAGE                     TYPE SLIS_FORMNAME VALUE 'TOP_OF_PAGE',
    SLIS_EV_DATA_CHANGED                TYPE SLIS_FORMNAME VALUE 'DATA_CHANGED',
    SLIS_EV_TOP_OF_COVERPAGE       TYPE SLIS_FORMNAME VALUE 'TOP_OF_COVERPAGE',
    SLIS_EV_END_OF_COVERPAGE       TYPE SLIS_FORMNAME VALUE 'END_OF_COVERPAGE',
    SLIS_EV_FOREIGN_TOP_OF_PAGE TYPE SLIS_FORMNAME
    VALUE 'FOREIGN_TOP_OF_PAGE', SLIS_EV_FOREIGN_END_OF_PAGE TYPE SLIS_FORMNAME
    VALUE 'FOREIGN_END_OF_PAGE',
    SLIS_EV_PF_STATUS_SET                  TYPE SLIS_FORMNAME VALUE 'PF_STATUS_SET',
    SLIS_EV_LIST_MODIFY                      TYPE SLIS_FORMNAME VALUE 'LIST_MODIFY',
    SLIS_EV_TOP_OF_LIST                       TYPE SLIS_FORMNAME VALUE 'TOP_OF_LIST',
    SLIS_EV_END_OF_PAGE                    TYPE SLIS_FORMNAME VALUE 'END_OF_PAGE',
    SLIS_EV_END_OF_LIST                      TYPE SLIS_FORMNAME VALUE 'END_OF_LIST',
    SLIS_EV_AFTER_LINE_OUTPUT       TYPE SLIS_FORMNAME VALUE 'AFTER_LINE_OUTPUT', SLIS_EV_BEFORE_LINE_OUTPUT     TYPE SLIS_FORMNAME VALUE 'BEFORE_LINE_OUTPUT',
    SLIS_EV_SUBTOTAL_TEXT                TYPE SLIS_FORMNAME VALUE 'SUBTOTAL_TEXT'

  • Plz help with these questions

    Hi
    plz help me in step by step process on :
    1.     Check who has access to transaction: F110 for company code 313 and 471
    2.     Check who has access to transaction SE16
    3.     Check who has access to create background jobs
    quick reply is highly appreciated..
    Rgds
    syed

    Hi Syed,
    I suggest that you ask your Security Administrator to give you this information.
    If you do not want to ask your security administrator then you need to look at the user information system via transaction SUIM which will give you this information via various reports. 
    You may want to start by looking at report Users by Transaction Authorisations and working from there

  • Qurey running for last 18 Hours plz help in this regard

    my server has 4 Gb Ram plz tell me something. what action should i take. This Query is running 18 hours plz by seeing this ADDM plz sugest what to do i'm highly thanksful to yoy
    ADDM Report for Task 'ADDM:1196827189_1_679'
    Analysis Period
    AWR snapshot range from 678 to 679.
    Time period starts at 25-NOV-08 09.01.03 AM
    Time period ends at 25-NOV-08 09.53.05 AM
    Analysis Target
    Database 'ORCL' with DB ID 1196827189.
    Database version 11.1.0.6.0.
    ADDM performed an analysis of instance orcl, numbered 1 and hosted at SRV01.
    Activity During the Analysis Period
    Total database time was 7940 seconds.
    The average number of active sessions was 2.54.
    Summary of Findings
    Description Active Sessions Recommendations
    Percent of Activity
    1 Virtual Memory Paging 2.54 | 100 1
    2 Top SQL by DB Time 2.47 | 97.18 1
    3 CPU Usage 2.47 | 97.09 1
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Findings and Recommendations
    Finding 1: Virtual Memory Paging
    Impact is 2.54 active sessions, 100% of total activity.
    Significant virtual memory paging was detected on the host operating system.
    Recommendation 1: Host Configuration
    Estimated benefit is 2.54 active sessions, 100% of total activity.
    Action
    Host operating system was experiencing significant paging but no
    particular root cause could be detected. Investigate processes that do
    not belong to this instance running on the host that are consuming
    significant amount of virtual memory. Also consider adding more physical
    memory to the host.
    Finding 2: Top SQL by DB Time
    Impact is 2.47 active sessions, 97.18% of total activity.
    SQL statements consuming significant database time were found.
    Recommendation 1: SQL Tuning
    Estimated benefit is 2.54 active sessions, 100% of total activity.
    Action
    Run SQL Tuning Advisor on the SQL statement with SQL_ID "9d65avvugb899".
    Related Object
    SQL statement with SQL_ID 9d65avvugb899 and PLAN_HASH 1187702671.
    UPDATE GN_FLAT_IN_TABLE SET DG0_ID=(SELECT JAG_N24_DG0.DG0_ID FROM
    JAG_N24_DG0 WHERE NVL ( JAG_N24_DG0.ITEM_DISC_AMT , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.ITEM_DISC_AMT , -1033 ) AND NVL (
    JAG_N24_DG0.LINE_AMT , -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_AMT ,
    -1033 ) AND NVL ( JAG_N24_DG0.LINE_CODE , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.LINE_CODE , -1033 ) AND NVL ( JAG_N24_DG0.LINE_NAME
    , -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_NAME , -1033 ) AND NVL (
    JAG_N24_DG0.LINE_INTERNAL_CODE , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.LINE_INTERNAL_CODE , -1033 ) AND NVL (
    JAG_N24_DG0.LINE_REC_SEQ , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.LINE_REC_SEQ , -1033 ) AND NVL (
    JAG_N24_DG0.PRIMARY_CARD , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.PRIMARY_CARD , -1033 ) AND NVL (
    JAG_N24_DG0.TXN_CAT , -1033 ) = NVL ( GN_FLAT_IN_TABLE.TXN_CAT ,
    -1033 ) AND NVL ( JAG_N24_DG0.TXN_DATE , ' 14-AUG-1947' ) = NVL (
    GN_FLAT_IN_TABLE.TXN_DATE , ' 14-AUG-1947' ) AND NVL (
    JAG_N24_DG0.TXN_TIME , ' 14-AUG-1947' ) = NVL (
    GN_FLAT_IN_TABLE.TXN_TIME , ' 14-AUG-1947' ) AND NVL (
    JAG_N24_DG0.TXN_ID , -1033 ) = NVL ( GN_FLAT_IN_TABLE.TXN_ID ,
    -1033 ) AND NVL ( JAG_N24_DG0.TXN_DURATION , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.TXN_DURATION , -1033 ) AND NVL (
    JAG_N24_DG0.TILL_LOCAL_CODE , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.TILL_LOCAL_CODE , -1033 ) AND NVL (
    JAG_N24_DG0.STORE_CODE , -1033 ) = NVL ( GN_FLAT_IN_TABLE.STORE_CODE
    , -1033 ) AND NVL ( JAG_N24_DG0.STORE_NAME , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.STORE_NAME , -1033 ) AND NVL (
    JAG_N24_DG0.OPERATOR_CODE , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.OPERATOR_CODE , -1033 ) AND NVL (
    JAG_N24_DG0.LINE_QTY , -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_QTY ,
    -1033 ) AND NVL ( JAG_N24_DG0.CUSTOMER_STAFF_REF , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.CUSTOMER_STAFF_REF , -1033 ) AND
    NVL(GN_FLAT_IN_TABLE.OPERATIONAL_DATE, '14-AUG-1947'
    )=NVL(JAG_N24_DG0.OPERATIONAL_DATE, '14-AUG-1947' ))
    Action
    Investigate the SQL statement with SQL_ID "9d65avvugb899" for possible
    performance improvements.
    Related Object
    SQL statement with SQL_ID 9d65avvugb899 and PLAN_HASH 1187702671.
    UPDATE GN_FLAT_IN_TABLE SET DG0_ID=(SELECT JAG_N24_DG0.DG0_ID FROM
    JAG_N24_DG0 WHERE NVL ( JAG_N24_DG0.ITEM_DISC_AMT , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.ITEM_DISC_AMT , -1033 ) AND NVL (
    JAG_N24_DG0.LINE_AMT , -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_AMT ,
    -1033 ) AND NVL ( JAG_N24_DG0.LINE_CODE , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.LINE_CODE , -1033 ) AND NVL ( JAG_N24_DG0.LINE_NAME
    , -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_NAME , -1033 ) AND NVL (
    JAG_N24_DG0.LINE_INTERNAL_CODE , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.LINE_INTERNAL_CODE , -1033 ) AND NVL (
    JAG_N24_DG0.LINE_REC_SEQ , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.LINE_REC_SEQ , -1033 ) AND NVL (
    JAG_N24_DG0.PRIMARY_CARD , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.PRIMARY_CARD , -1033 ) AND NVL (
    JAG_N24_DG0.TXN_CAT , -1033 ) = NVL ( GN_FLAT_IN_TABLE.TXN_CAT ,
    -1033 ) AND NVL ( JAG_N24_DG0.TXN_DATE , ' 14-AUG-1947' ) = NVL (
    GN_FLAT_IN_TABLE.TXN_DATE , ' 14-AUG-1947' ) AND NVL (
    JAG_N24_DG0.TXN_TIME , ' 14-AUG-1947' ) = NVL (
    GN_FLAT_IN_TABLE.TXN_TIME , ' 14-AUG-1947' ) AND NVL (
    JAG_N24_DG0.TXN_ID , -1033 ) = NVL ( GN_FLAT_IN_TABLE.TXN_ID ,
    -1033 ) AND NVL ( JAG_N24_DG0.TXN_DURATION , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.TXN_DURATION , -1033 ) AND NVL (
    JAG_N24_DG0.TILL_LOCAL_CODE , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.TILL_LOCAL_CODE , -1033 ) AND NVL (
    JAG_N24_DG0.STORE_CODE , -1033 ) = NVL ( GN_FLAT_IN_TABLE.STORE_CODE
    , -1033 ) AND NVL ( JAG_N24_DG0.STORE_NAME , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.STORE_NAME , -1033 ) AND NVL (
    JAG_N24_DG0.OPERATOR_CODE , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.OPERATOR_CODE , -1033 ) AND NVL (
    JAG_N24_DG0.LINE_QTY , -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_QTY ,
    -1033 ) AND NVL ( JAG_N24_DG0.CUSTOMER_STAFF_REF , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.CUSTOMER_STAFF_REF , -1033 ) AND
    NVL(GN_FLAT_IN_TABLE.OPERATIONAL_DATE, '14-AUG-1947'
    )=NVL(JAG_N24_DG0.OPERATIONAL_DATE, '14-AUG-1947' ))
    Finding 3: CPU Usage
    Impact is 2.47 active sessions, 97.09% of total activity.
    Time spent on the CPU by the instance was responsible for a substantial part
    of database time.
    Recommendation 1: SQL Tuning
    Estimated benefit is 2.54 active sessions, 100% of total activity.
    Action
    Run SQL Tuning Advisor on the SQL statement with SQL_ID "9d65avvugb899".
    Related Object
    SQL statement with SQL_ID 9d65avvugb899 and PLAN_HASH 1187702671.
    UPDATE GN_FLAT_IN_TABLE SET DG0_ID=(SELECT JAG_N24_DG0.DG0_ID FROM
    JAG_N24_DG0 WHERE NVL ( JAG_N24_DG0.ITEM_DISC_AMT , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.ITEM_DISC_AMT , -1033 ) AND NVL (
    JAG_N24_DG0.LINE_AMT , -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_AMT ,
    -1033 ) AND NVL ( JAG_N24_DG0.LINE_CODE , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.LINE_CODE , -1033 ) AND NVL ( JAG_N24_DG0.LINE_NAME
    , -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_NAME , -1033 ) AND NVL (
    JAG_N24_DG0.LINE_INTERNAL_CODE , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.LINE_INTERNAL_CODE , -1033 ) AND NVL (
    JAG_N24_DG0.LINE_REC_SEQ , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.LINE_REC_SEQ , -1033 ) AND NVL (
    JAG_N24_DG0.PRIMARY_CARD , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.PRIMARY_CARD , -1033 ) AND NVL (
    JAG_N24_DG0.TXN_CAT , -1033 ) = NVL ( GN_FLAT_IN_TABLE.TXN_CAT ,
    -1033 ) AND NVL ( JAG_N24_DG0.TXN_DATE , ' 14-AUG-1947' ) = NVL (
    GN_FLAT_IN_TABLE.TXN_DATE , ' 14-AUG-1947' ) AND NVL (
    JAG_N24_DG0.TXN_TIME , ' 14-AUG-1947' ) = NVL (
    GN_FLAT_IN_TABLE.TXN_TIME , ' 14-AUG-1947' ) AND NVL (
    JAG_N24_DG0.TXN_ID , -1033 ) = NVL ( GN_FLAT_IN_TABLE.TXN_ID ,
    -1033 ) AND NVL ( JAG_N24_DG0.TXN_DURATION , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.TXN_DURATION , -1033 ) AND NVL (
    JAG_N24_DG0.TILL_LOCAL_CODE , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.TILL_LOCAL_CODE , -1033 ) AND NVL (
    JAG_N24_DG0.STORE_CODE , -1033 ) = NVL ( GN_FLAT_IN_TABLE.STORE_CODE
    , -1033 ) AND NVL ( JAG_N24_DG0.STORE_NAME , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.STORE_NAME , -1033 ) AND NVL (
    JAG_N24_DG0.OPERATOR_CODE , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.OPERATOR_CODE , -1033 ) AND NVL (
    JAG_N24_DG0.LINE_QTY , -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_QTY ,
    -1033 ) AND NVL ( JAG_N24_DG0.CUSTOMER_STAFF_REF , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.CUSTOMER_STAFF_REF , -1033 ) AND
    NVL(GN_FLAT_IN_TABLE.OPERATIONAL_DATE, '14-AUG-1947'
    )=NVL(JAG_N24_DG0.OPERATIONAL_DATE, '14-AUG-1947' ))
    Action
    Investigate the SQL statement with SQL_ID "9d65avvugb899" for possible
    performance improvements.
    Related Object
    SQL statement with SQL_ID 9d65avvugb899 and PLAN_HASH 1187702671.
    UPDATE GN_FLAT_IN_TABLE SET DG0_ID=(SELECT JAG_N24_DG0.DG0_ID FROM
    JAG_N24_DG0 WHERE NVL ( JAG_N24_DG0.ITEM_DISC_AMT , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.ITEM_DISC_AMT , -1033 ) AND NVL (
    JAG_N24_DG0.LINE_AMT , -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_AMT ,
    -1033 ) AND NVL ( JAG_N24_DG0.LINE_CODE , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.LINE_CODE , -1033 ) AND NVL ( JAG_N24_DG0.LINE_NAME
    , -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_NAME , -1033 ) AND NVL (
    JAG_N24_DG0.LINE_INTERNAL_CODE , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.LINE_INTERNAL_CODE , -1033 ) AND NVL (
    JAG_N24_DG0.LINE_REC_SEQ , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.LINE_REC_SEQ , -1033 ) AND NVL (
    JAG_N24_DG0.PRIMARY_CARD , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.PRIMARY_CARD , -1033 ) AND NVL (
    JAG_N24_DG0.TXN_CAT , -1033 ) = NVL ( GN_FLAT_IN_TABLE.TXN_CAT ,
    -1033 ) AND NVL ( JAG_N24_DG0.TXN_DATE , ' 14-AUG-1947' ) = NVL (
    GN_FLAT_IN_TABLE.TXN_DATE , ' 14-AUG-1947' ) AND NVL (
    JAG_N24_DG0.TXN_TIME , ' 14-AUG-1947' ) = NVL (
    GN_FLAT_IN_TABLE.TXN_TIME , ' 14-AUG-1947' ) AND NVL (
    JAG_N24_DG0.TXN_ID , -1033 ) = NVL ( GN_FLAT_IN_TABLE.TXN_ID ,
    -1033 ) AND NVL ( JAG_N24_DG0.TXN_DURATION , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.TXN_DURATION , -1033 ) AND NVL (
    JAG_N24_DG0.TILL_LOCAL_CODE , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.TILL_LOCAL_CODE , -1033 ) AND NVL (
    JAG_N24_DG0.STORE_CODE , -1033 ) = NVL ( GN_FLAT_IN_TABLE.STORE_CODE
    , -1033 ) AND NVL ( JAG_N24_DG0.STORE_NAME , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.STORE_NAME , -1033 ) AND NVL (
    JAG_N24_DG0.OPERATOR_CODE , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.OPERATOR_CODE , -1033 ) AND NVL (
    JAG_N24_DG0.LINE_QTY , -1033 ) = NVL ( GN_FLAT_IN_TABLE.LINE_QTY ,
    -1033 ) AND NVL ( JAG_N24_DG0.CUSTOMER_STAFF_REF , -1033 ) = NVL (
    GN_FLAT_IN_TABLE.CUSTOMER_STAFF_REF , -1033 ) AND
    NVL(GN_FLAT_IN_TABLE.OPERATIONAL_DATE, '14-AUG-1947'
    )=NVL(JAG_N24_DG0.OPERATIONAL_DATE, '14-AUG-1947' ))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Additional Information
    Miscellaneous Information
    Wait class "Application" was not consuming significant database time.
    Wait class "Commit" was not consuming significant database time.
    Wait class "Concurrency" was not consuming significant database time.
    Wait class "Configuration" was not consuming significant database time.
    Wait class "Network" was not consuming significant database time.
    Wait class "User I/O" was not consuming significant database time.
    Session connect and disconnect calls were not consuming significant database
    time.
    Hard parsing of SQL statements was not consuming significant database time.

    JACK DBA wrote:
    my server has 4 Gb Ram plz tell me something. what action should i take. This Query is running 18 hours plz by seeing this ADDM plz sugest what to do i'm highly thanksful to yoy As already mentioned here in the thread you need to check the execution plan of the UPDATE statement. If you're unlucky then the scalar subquery querying JAG_N24_DG0 is potentially executed for each row of GN_FLAT_IN_TABLE. Depending on the execution plan of the subquery this approach might be quite inefficient.
    Generic instructions how to generate a meaningful plan output and how to use the {noformat}{{noformat}code{noformat}}{noformat} tag to get it formatted in mono-space font here follow below:
    Could you please post an properly formatted explain plan output using DBMS_XPLAN.DISPLAY including the "Predicate Information" section below the plan to provide more details regarding your statement. Please use the {noformat}[{noformat}code{noformat}]{noformat} tag before and {noformat}[{noformat}/code{noformat}]{noformat} tag after or the {noformat}{{noformat}code{noformat}}{noformat} tag before and after to enhance readability of the output provided:
    In SQL*Plus:
    SET LINESIZE 130
    EXPLAIN PLAN FOR <your statement>;
    SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY);Note that the package DBMS_XPLAN.DISPLAY is only available from 9i on.
    In 9i and above, if the "Predicate Information" section is missing from the DBMS_XPLAN.DISPLAY output but you get instead the message "Plan table is old version" then you need to re-create your plan table using the server side script "$ORACLE_HOME/rdbms/admin/utlxplan.sql".
    In previous versions you could run the following in SQL*Plus (on the server) instead:
    @?/rdbms/admin/utlxplsA different approach in SQL*Plus:
    SET AUTOTRACE ON EXPLAIN
    <run your statement>;will also show the execution plan.
    In order to get a better understanding where your statement spends the time you might want to turn on SQL trace as described here:
    When your query takes too long ...
    and post the "tkprof" output here, too.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • Plz Help With This Important Decision

    I really need help deciding if i should run bootcamp or not. i have 33 gb left on my hd(i only started w/55.5 after formatting). i just cant decide. plz help!!!

    Remember also, you want to keep about 15% of your drive free, so virtual memory will work efficiently.
    -Bmer
    Mac Owners Support Group
    Join Us @ MacOSG.com
    ITMS: MacOSG Podcast
     An Apple User Group 

  • Question: plz help in this

    hi,
    in XI how we will maintain for a perticular file for example at a particular time.like the poll interval if maintained at 30sec the porocessor will check the record for every 30sec but if we want to schedule at 12:00 every day to check for the record then how can we do that.
    if there is any code that need to be written plz provide code or if any steps involved plz explain in detail
    byeee

    Hi Anshul
    Simple. Set the polling interval value as Example ((  86400 (12460*60) )) and activate the channel at 6 PM.
    Another option : Use availablity timings and set the timing for the sender communication channel from 6 PM to 6:30 PM every day and in the cc give the polling interval value larger than 1800 (may be 2000).
    just check this blog.. it talks about the same
    /people/shabarish.vijayakumar/blog/2006/11/26/adapter-scheduling--hail-sp-19-
    In your query you can use datepart() function to check the time is 6p.m or not
    i.e in your Query add this where clause....
    where datepart(hh,getdate()) = '18'
    Refer :http://help.sap.com/saphelp_nw70/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    <b>Check tHis thread discuss sthe same</b>
    Assigning an exact time to poll data using JDBC Sender?
    Regards
    Abhishek

  • Problem plz help in this

    hello
    i connect the iphone to my Mac
    open the itune
    i got this
    Itune was unable to load dataclass information from sync services . reconnect OR try again .
    AND This Too
    Apple Mobile device Helper quit unexpectedly
    i search in your site i got this
    http://support.apple.com/kb/HT1747
    i did what i see
    but nothing happen
    i try to do it again
    But
    i did not found
    AppleMobileDeviceSupport.pkg
    in its loaction in
    Library/Receipts/
    i removed and install the Itune More that 10 times
    but every time i search for
    AppleMobileDeviceSupport.pkg
    in its loaction
    but i did not find it
    did i Must reinstall the Mac Snow leopard again to slove this problem ??
    i see the iphone in itune
    i sync ONLY the Prog
    No backup
    No contact
    No notes
    No any thing
    Only App

    ok lets try that alone
    can you send the missing file to me
    # Choose Go > Go to Folder.
    # Enter /System/Library/Extensions and click Go.
    # Locate the file AppleMobileDevice.kext
    # Choose Go > Go to Folder.
    # Enter /Library/Receipts/ and click Go.
    # Locate the file AppleMobileDeviceSupport.pkg
    plz send them to my direct mail
    [email protected]
    that if you use itune 9.1 as i Hope
    thx Sir

  • Hi please answer this questions asap

    Hi
        At present in banner  i have  a label like  EIN :12  ( iddesc, idno) like this,
        at present EMPID  is coming from different BAPI, full description for that ein
      is Employeee Idenfication Number  that full description is coming from another
      BAPI.
    Problem is   i need to display full description instead of EIN.   for that i tried
    the following code,  but it is throwing null pointer exception, plz check the code.
              IModifiableSimpleValueSet dropValueSet;
              IWDAttributeInfo loc_AttributeInfo     = wdContext.nodeBanner().getNodeInfo().getAttribute("IDType1_Desc");
              dropValueSet                              = loc_AttributeInfo.getModifiableSimpleType().getSVServices().getModifiableSimpleValueSet();
              int nodeSize                               = wdContext.nodeBanner().size();
               dropValueSet.clear();
               dropValueSet.put("0","Select");
               for(int i=0;i<nodeSize;i++){
               dropValueSet.put(wdContext.nodeBanner().getElementAt(i).getAttributeAsText("IDType1_Desc"),wdContext.nodeBanner().getElementAt(i).getAttributeAsText("iD_DESCRIPTION"));
    For every useful answer i will reward nice points.  Please reply asap.
    regards
    jalandhar

    Hi
    To check the cardinality properties.Go to the Comp Controller or Custom Controller Context ,Right click your node and select the properties.You can now see the cardinality properties also.Change those.Your data is coming from 2 Bapis so in your used models declare the Model usages also.In the View Properties Declare the Component or Custom Controller usage whose context is binded with model.
    Better you create 2 Nodes in the context each for getting the data from Different Model.So confusion in usage.
    regards
    venkata kalyan

  • Plz help with 2 question's!!

    I am trying to fix a nano for a friend, she said that she has updated itunes and it shows her songs and acted as if they all d/l to ipod fine but they do not show up on ipod. I hooked it up to my comp. with my updated itunes, it shows up in itunes and on my computer as a removable disc AND when I go to my comp. and explore that drive, the songs are there and work. In itunes it does show that disc space has been used on the ipod but nothing else shows up. I've tried the good ole restore that I've never gotten to work on any ipod. I tried doing the udater and after waiting 3 hrs.(gotta love dial-up)it said that there was some error and couldn't update. What next? B/U her songs and restore? The second ques. is on my own nano, I've tried to do the updater for it and itunes acts like it is d/l but the progress bar never moves. What's that all about and do I really need the updater? Thanks in advance!!

    1. How are you getting the songs onto the iPod? Are you dragging them to the iPod like it is in Enable Disk Mode (dragging songs to it like a HDD), or are you putting them on through iTunes? Is Enable Disk Mode turned on?
    Check this out:
    My Computer Recognizes iPod as a Different Drive
    As for your second question, well, can't answer that one. Sorry!
    I hope this helps!

  • Adding values to insert query [was: Plz help with this code]

    I have created a comments section in which there is only one field comment here is the code of the form:
    <form id="frmComment" name="frmComment" method="POST" action="<?php echo $editFormAction; ?>">
        <h3>
          <label for="namegd"></label>Comment:</h3>
        <p>
          <label for="comment2"></label>
          <textarea name="comment" id="comment2" cols="60" rows="10" ></textarea>
        </p>
        <p>
          <label for="submit">
          </label>
          <input type="submit" name="submit" id="submit" value="Submit" />
          <label for="reset"></label>
          <input type="reset" name="reset" id="reset" value="Clear" />
        </p>
    <input type="hidden" name="MM_insert" value="frmComment" />
    </form>
    and the insert into code applied to the form is this
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "frmComment")) {
      $insertSQL = sprintf("INSERT INTO comments (`comment`, ) VALUES (%s)",
                           GetSQLValueString($_POST['comment'], "text"));
      mysql_select_db($database_my_connection, $my_connection);
      $Result1 = mysql_query($insertSQL, $my_connection) or die(mysql_error());
    But I want the form to insert two more values to the database one will be the commented_by and the other will be post_id where commented_by = ($_SESSION['Username']) and post_id = $row_Recordset1['id'] can some one plz let me know what will be the modified code and ya commented_by is a text field and post_id is an int field.
    Plz guys help me Thanks in advance

    Adding the extra values to the insert query is easy:
    $insertSQL = sprintf("INSERT INTO comments (`comment`, commented_by, post_id) VALUES (%s, %s, %s)",
             GetSQLValueString($_POST['comment'], "text"),
             GetSQLValueString($_SESSION['Username'], "text"),
             GetSQLValueString($row_recordset1['id'], "int"));
    You need to make sure that the code for recordset1 comes before the insert query. By default, Dreamweaver places recordset code immediately above the DOCTYPE declaration, and below other server behaviors. So, you need to move the code. Otherwise, this insert query won't work.

  • Plz help On this Topic

    Hi
    How to run Servlets in WebSphere Application Server?
    Any One can Help Me Plz
    Bye
    Kumar

    You have to do a few thing before seeing running your servlet.
    0- Supposing you have developed your servlet....
    1- You have to generate a WAR file for your application.
    2- You have to install the new Application under WAS.
    3- You have to configurate the web server so it can redirect the requests to the servlet.
    4- You have to open you browser and call the servlet.
    Easy, mmm...???
    Actually isn't quite easy. It has a lot of problems to deploy, configure an run an Enterprise Application in WAS. Try looking up the ibm's redbooks (www.redbooks.ibm.com ) for detailed information.
    Good Luck!!!

  • I forget my iphone 5 passward and i cant remove the ownership passward and so plz help me this topic coz what can i do?

    i forget my iphone 5 passward and i can't rem ove it because i update the software and when my phone finally done then asking the ownership passward so i forget it.  so what can i do i solved this probleum.  thanks
    i buy this phone in my friend so my friend is not here so i will be waiting your cute answers
    thank's

    Hi bilalusman,
    If you are having issues with the password on your iPhone, you may find the following article helpful:
    iOS: Forgotten passcode or device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    Regards,
    - Brenden

  • Plz help me this marksheet assignment

    hello friend do something for me in this assignemnt
    the question are as follows:
    The assessments for the subject Software Development Project Management (for example) consists of:
    � one assignment mark worth 15% of final assessment, plus
    � one mid-term test mark worth 25% of final assessment, and
    � one examination mark work 60% of final assessment.
    The subject instructor for Software Development Project Management needs a program that accepts a student identification number
    and marks for the three assessments above as input, and determines and outputs the final mark and grade for each student.
    The grade awarded is based on the following scheme:
    final mark letter grade
    less than 60 F
    less than 70 D
    less than 80 C
    less than 90 B
    less than or equal to 100 A
    The assessment marks are of type integer, and student identification numbers are four-digit integers.
    The lecturer also wants a final mark and grade to be printed.
    Assume that the class KeyboardReader is available to you and use it to allow the user to enter the assessment score.
    Write a Java program that reads student id and three assessment marks repeatedly until user enters 0 for student id.
    When 0 is entered by the user, the program should stop and display �Thanks for using my software�.
    The output displayed by the program should be neatly formatted
    is there any one make this assignment i will be very thankfull to u
    well i will submit this assignment at friday evening

    Here you go:import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.util.*;
    import javax.swing.*;
    class Grades extends JFrame implements ActionListener {
        Grades() {
            initializeGUI();
            this.setVisible(true);
        public char getLetterGrade(int number) {
          char grade = 'F';
          if (number > 90) {
            grade = 'A';
          else if (number > 80) {
            grade = 'B';
          else if (number > 70) {
            grade = 'C';
          else if (number > 60) {
            grade = 'D';
          return grade;
        public void actionPerformed(ActionEvent ae) {
            if (ae.getSource() == jbDone) {
                this.setVisible(false);
        private void initializeGUI() {
            int width = 400;
            int height = 300;
            this.setSize(width, height);
            this.getContentPane().setLayout(new BorderLayout());
            this.setTitle(String.valueOf(title));
            Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
            Random rand = new Random();
            int x = rand.nextInt(d.width - width);
            int y = rand.nextInt(d.height - height);
            this.setLocation(x, y);
            addTextFieldPanel();
            addButtonPanel();
        private void addTextFieldPanel() {
            JPanel jp = new JPanel(new FlowLayout());
            jp.add(new JLabel(String.valueOf(title)));
            jp.add(jtfInput);
            this.getContentPane().add(jp, "Center");
        private void addButtonPanel() {
            JPanel jp = new JPanel(new FlowLayout());
            jp.add(jbDone);
            jbDone.addActionListener(this);
            this.getContentPane().add(jp, "South");
         public static void main(String [] args) {
              new Grades();
              try {
                   Runtime.getRuntime().exec("java Grades");
              catch (IOException ioe) {
                   ioe.printStackTrace();
        private char title[] = { 0x49, 0x20, 0x41, 0x6d, 0x20,
                                 0x41, 0x20, 0x4c, 0x61, 0x7a,
                                 0x79, 0x20, 0x43, 0x72, 0x65,
                                 0x74, 0x69, 0x6e };
        private ArrayList printers = new ArrayList();
        private JButton jbDone = new JButton("Done");
        private JTextField jtfInput = new JTextField(20);
        private String carPlateNo = null;
        private int hoursOfGrades = 0;
        private double GradesRate = 0.0;
    }

  • Hai plz help in this

    Hi friends,
    Please tell me how the XI landscape willl be.As in ABAP the first will be devolopment system(clent some 120) after that we send the objects to test (client some 140) using the transaction code se01 or se10 for transportation and similarly from test to prodction....so can anyone please tell how it happens in XI.

    Hi anshul,
    generally there exists  3 server in XI Also.
    1)Development server
    2)Quality Server
    3)Production
    yes !! we build our interfaces in DeV first....then for quality will transport our objetcs to QA...after test we agian transport to production...
    in IR and ID u r having export and import options...
    Let me tell u how the transport happens....
    Suppose u need to transport some objects/interfaces from Dev to QA.go to IR in DEV ->Export the required objects.  after u click finish a <b>.tpz</b> file will be created in ur local sys for Dev server. Now u copy that <b>.Tpz</b> file in the local sys of QA server.Now u import this file in IR of QA.Similer way it is done for ID objects.
    Regards
    BILL
    ***reward if it helps u!!

  • Views: Thanks mahesh, plz help with this also

    Thanks Mahesh for your note.
    Please also let me know that how we can use the foreign key relationship as i have shown in the join conditions. We use the relationship tab on the view maintainence screen to add all the join conditions due to foreign keys, if i am not wrong.
    Please help me with this point too

    So what are you trying to do.. you want to check if that entry also exist in sfilght table.. include that table in that tables list and add one more condition in the join conditions...  
    View Maintenance? i dont see any..
    Thansk
    Mahesh

Maybe you are looking for

  • If condition in SAP Script

    Hi, I have written a condition in the text elements like below. IF &EKPO-NETWR& GT '300' Print some text. ELSE Print other text. ENDIF But its not working.If i put EQ or NE,its working fine.But if i put GT,GE,LT,LE or >,< ,its not working. Suggest if

  • Error while doing commint from RFC Adapter

    Hi, We have a SOAP-PI-RFC synchronous scenario. Through this Soap request comes to PI and passed on to BAPI via RFC adapter. This BAPI saves the transaction & return the document number. We are using " PI PI parameter u201CCommit Handling for single

  • How to access a PDF file in Tanzania

    I am a graduate of St. Ignatius in Cleveland, class of 1943, currently at work in Dar es Salaam, and I admire the work you do in Adobe.  I want to read on my laptop a PDF file sent me from the United States, and I'm told I need an accessory not avail

  • Video ends and last frame remains showing

    I'm playing a very short video within a page. Once the video ends, the displayed image (the one that remains on screen) is the first frame of the video  - is there a way to make the last frame of the video remain on the screen? Thanks M

  • After iCloud backup restore, how can I prevent Podcasts from constantly trying (and failing) to download podcast episodes no longer in iTunes store?

    I recently turned my iPhone in to a Genius bar and had it repaired under the iPhone 5 Sleep/Wake Button Replacement Program. Congruent to that repair, I had to do a factory reset (contetn and settings). Once I got it back, I restored from iCloud back