Grid in MB51.....have ur points....urgent

Hi,
In MB51 report, firsly i get Hiearchical grid, then ALV grid after clicking of Detail list button.
<b>Now when I search for 'Resue_alv_grid_display' in  RM07DOCS, i m not getting results.</b>
Actually i want to modify it, some req...
<b>Please let me know what i need to search, to navigate to the fieldcatalog of second grid</b>
Regards,
pradeep phogat

Hi,
Check this in the program RM07DOCS
Look for subroutine : DETAIL_LIST
FORM detail_list.
  DATA: variant_detail      LIKE disvariant.
  DATA: lt_base_list LIKE list[].                           "401421
* The detail ALV may modify the list (sorting). If returned to the
* base list, the original list needs to be restored.
  lt_base_list[] = list[].                                  "401421
  CLEAR variant_detail.
  variant_detail-report = alv_repid.
  variant_detail-handle = 'DETA'.
  detail = 'X'.
  CALL FUNCTION alv_detail_func
    EXPORTING
      i_callback_program       = alv_repid
      i_callback_pf_status_set = 'SET_STATUS'
      i_callback_user_command  = 'USER_COMMAND'
      is_layout                = alv_layout
      it_fieldcat              = fc_flat[]
      i_default                = 'X'
      i_save                   = 'A'
      is_variant               = variant_detail
      is_print                 = alv_print
    TABLES
      t_outtab                 = list[]
    EXCEPTIONS
      program_error            = 1
      OTHERS                   = 2.
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
  CLEAR detail.                                             "401421
  list[] = lt_base_list[].                                  "401421
ENDFORM.                    "detail_list
Hope this clarifies
Regards
Nishant

Similar Messages

  • Urgent...editable col...is not showing values....in grid...have ur points.

    Hi all,
    I m using an ALV grid with one column editable....but some cells of that columns are uneditable.
    Now I m putting values in the editable column....my grid is interactive..now when i click on some button...to display the value of grid in list screen.....the editable column shows no values.... pleas help me...
    <b>Have ur points.</b>
    some code..
    DATA it_fieldcat TYPE lvc_t_fcat.
    DATA wa_fieldcat TYPE lvc_s_fcat.
    DATA wa_celltab TYPE lvc_s_styl.
    DATA it_celltab TYPE lvc_t_styl.
    PERFORM display_grid.          note : - Till this it's working..
    form display grid.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
        EXPORTING
          i_callback_program = sy-repid
          i_callback_user_command = 'UCOMM'
          i_callback_pf_status_set = 'SET_PF_STATUS'
         i_grid_title       = 'GRID DISPLAY'
          is_layout_lvc      = wa_layout
          it_fieldcat_lvc    = it_fieldcat
          it_events          = it_event
        TABLES
          t_outtab           = itab
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
    Being an interactive grid..
    form <b>UCOMM</b> is called..
    i m setting breakpoints at UCOMM to see my itab...but itab is showing no values in the editable column..
    I wish u understand.

    this is the example for data_changed method.
    i think there is no need for the method get_selected_cell too. only data_chaned serves the purpose.
    **class definition and implementation
          CLASS LCL_EVENT_RECEIVER DEFINITION
    CLASS LCL_EVENT_RECEIVER DEFINITION.
      PUBLIC SECTION.
        METHODS HANDLE_DATA_CHANGED
        FOR EVENT DATA_CHANGED OF CL_GUI_ALV_GRID
        IMPORTING ER_DATA_CHANGED E_ONF4 E_UCOMM.
    ENDCLASS.                    "cl_event_receiver DEFINITION
          CLASS LCL_EVENT_RECEIVER IMPLEMENTATION
    CLASS LCL_EVENT_RECEIVER IMPLEMENTATION.
      METHOD HANDLE_DATA_CHANGED.
      IF OUTPUT_TYPE = DETAIL.
       PERFORM DATA_CHANGED USING ER_DATA_CHANGED  E_ONF4 E_UCOMM.
    ENDCLASS.
    <b>in PBO</b>
    **set handler to trigger the event
      SET HANDLER EVENT_RECEIVER->HANDLE_DATA_CHANGED FOR GO_GRID.
    **registering data_changed
      CALL METHOD GO_GRID->REGISTER_EDIT_EVENT
        EXPORTING
          I_EVENT_ID = cl_gui_alv_grid=>mc_evt_modified.
      CALL METHOD GO_GRID->REGISTER_EDIT_EVENT
        EXPORTING
          I_EVENT_ID = cl_gui_alv_grid=>mc_evt_enter.
    <b>IN pai</b>
    FORM DATA_CHANGED  USING P_ER_DATA_CHANGED TYPE REF TO
    CL_ALV_CHANGED_DATA_PROTOCOL P_ONF4 type C E_UCOMM TYPE SY-UCOMM.
      DATA: L_VALUE TYPE LVC_VALUE,
        ls_mod_cell type lvc_s_modi.
    **for getting f4 help
      IF P_ONF4 NE SPACE.
        PERFORM ONF4.
      ENDIF.
      LOOP AT P_ER_DATA_CHANGED->MT_MOD_CELLS INTO LS_MOD_CELL.
        CALL METHOD P_ER_DATA_CHANGED->GET_CELL_VALUE
          EXPORTING
            I_ROW_ID    = LS_MOD_CELL-row_id
            I_FIELDNAME = LS_MOD_CELL-fieldname
          IMPORTING
            E_VALUE     = L_VALUE.
        CLEAR: V_FNAME.
        V_FNAME = LS_MOD_CELL-FIELDNAME.
    ***now with the l_value u can update the internal table.
      ENDLOOP.

  • Urgent..getting default & changed values in ALV editable....have ur point.s

    Hi all,
    I m using interactive ALV grid with 1 column editable with some default values, When i m clicking on SAVE button, only the values which are changed by the user in that column are coming in the internal table, & the default values are automatically deleted by the following code....
    But my requirement is to save all the default & changed values of the ALV column....
    <b>Help me out & have ur points.</b>
    DATA ref1 TYPE REF TO cl_gui_alv_grid.
    CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
    importing
                   e_grid                           = ref1
    CALL METHOD ref1->check_changed_data
    IMPORTING
       e_valid   =
    CHANGING
       c_refresh = 'X'

    Pradeep,
    When ur doing the CHECK_CHANGED_DATA, u ll get the edited values inside this callback sub -routine only. so here u trap the values those are changed ( thats after editing).
    Once the control goes back to the original program ( calling prog ) , u ll end up with ur old data ( before editing).
    you ll have to handle that explictly in your code, or shift to OO alv grid like this -
    REPORT ZSKC_GRID.
    TABLES : EQUI.
    DATA   : BEGIN OF T_EQUI OCCURS 0,
              EQUNR TYPE EQUI-EQUNR,
              AENAM TYPE EQUI-AENAM,
             END   OF T_EQUI.
    DATA : T_FCAT  TYPE LVC_T_FCAT,
           G_FCODE TYPE SY-UCOMM.
    DATA : G_GRID TYPE REF TO CL_GUI_ALV_GRID.
    SELECT-OPTIONS: S_EQUNR FOR EQUI-EQUNR.
    START-OF-SELECTION.
    * get data.
      PERFORM SUB_GET_DATA.
    * Populate catalog.
      PERFORM SUB_BUILD_CATALOG CHANGING T_FCAT.
    * Display the grid.
      PERFORM SUB_SHOW_GRID.
      CALL SCREEN 9001.
    *&      Form  SUB_GET_DATA
    *       Get data
    FORM SUB_GET_DATA .
      SELECT EQUNR AENAM
      FROM   EQUI
      INTO   TABLE T_EQUI
      WHERE  EQUNR IN S_EQUNR.
      IF SY-SUBRC NE 0.
    *  Give some message if needed
      ENDIF.
    ENDFORM.                    " SUB_GET_DATA
    *&      Form  SUB_BUILD_CATALOG
    *       text
    *      <--P_T_FCAT  text
    FORM SUB_BUILD_CATALOG  CHANGING PT_FCAT TYPE LVC_T_FCAT.
      DATA : WA_CAT TYPE LVC_S_FCAT.
      CLEAR WA_CAT.
      WA_CAT-FIELDNAME = 'EQUNR'.
      WA_CAT-TABNAME   = 'T_EQUI'.
      WA_CAT-REF_FIELD = 'EQUNR'.
      WA_CAT-REF_TABLE = 'EQUI'.
      APPEND WA_CAT TO PT_FCAT.
      CLEAR WA_CAT.
      WA_CAT-FIELDNAME = 'AENAM'.
      WA_CAT-TABNAME   = 'T_EQUI'.
      WA_CAT-REF_FIELD = 'AENAM'.
      WA_CAT-REF_TABLE = 'EQUI'.
      WA_CAT-EDIT      = 'X'.
      APPEND WA_CAT TO PT_FCAT.
    ENDFORM.                    " SUB_BUILD_CATALOG
    *&      Form  SUB_SHOW_GRID
    *       Show grid
    FORM SUB_SHOW_GRID .
    * create the Grid Object.
      CREATE OBJECT G_GRID
        EXPORTING
           I_PARENT          = CL_GUI_CONTAINER=>SCREEN0
        EXCEPTIONS
          ERROR_CNTL_CREATE = 1
          ERROR_CNTL_INIT   = 2
          ERROR_CNTL_LINK   = 3
          ERROR_DP_CREATE   = 4
          OTHERS            = 5.
      CHECK SY-SUBRC EQ 0.
    * Display contents,
      CALL METHOD G_GRID->SET_TABLE_FOR_FIRST_DISPLAY
        CHANGING
          IT_OUTTAB                     = t_equi[]
          IT_FIELDCATALOG               = t_fcat
        EXCEPTIONS
          INVALID_PARAMETER_COMBINATION = 1
          PROGRAM_ERROR                 = 2
          TOO_MANY_LINES                = 3
          others                        = 4.
    ENDFORM.                    " SUB_SHOW_GRID
    *&      Module  STATUS_9001  OUTPUT
    *       text
    MODULE STATUS_9001 OUTPUT.
       SET PF-STATUS 'PF_9001'.
       SET TITLEBAR 'TITLE_9001'.
    ENDMODULE.                 " STATUS_9001  OUTPUT
    *&      Module  USER_COMMAND_9001  INPUT
    *       text
    MODULE USER_COMMAND_9001 INPUT.
      CASE G_FCODE.
        WHEN 'BACK' OR 'CANC' OR 'EXIT'.
          LEAVE TO SCREEN 0.
        WHEN 'HAVE'.
    *    After editing everything user presses this button.
         PERFORM SUB_GET_EDITED_DATA.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_9001  INPUT
    *&      Form  SUB_GET_EDITED_DATA
    *       Read the ALV grid and get current internal table.
    FORM SUB_GET_EDITED_DATA .
    DATA : T_OLD_DATA LIKE T_EQUI OCCURS 0.
    * hold the old values if u need them.
      t_old_data[] = t_equi[].
    * This will update the global internal table.
      CALL METHOD G_GRID->CHECK_CHANGED_DATA.
    * Now t_equi have changed here. u have the old data in the T_OLD_DATA.
      BREAK-POINT.
    ENDFORM.                    " SUB_GET_EDITED_DATA
    Create a blank screen called 9001. and Pf-staus has a buton with fcode "HAVE". ( alongwith BACK canc exit).

  • Urgent !!! regarding mapping of  frequency to operation.....Have ur points.

    Hi all,
    In transactin IA05, we make tasklist master.
    I want to link (task group->group counter-><b>operation->frequency</b>) in my itab. Pleas suggest me the table in which i can link the operation with frequency.
    Very urgent....thanks in advance
    <b>Have your points.</b>
    Regards,

    Hi yaar..thanx for reply..
    yaar Here frequency means the frequncy of operation which we set after clicking on maintenance package.
    PLPO Is task-list operation/activity master, contains data regarding operations....there is no field by which i can link the operation with the frequency.
    We have some tables of maintence package master....that also don't have the linking field.
    following are the tables.
    T351P
    T351X
    T351
    T351T
    Pleas assist me....

  • Reg. lengh of header of alv grid.....have ur points.

    Hi all,
    -I want to show text on the right side of the header of ALV grid.
    -Secondly i have limit of around 60 characters in a line...i want to add more words in the same line.....
    <b>see the code...here..</b>
      wa_listheader-typ = 'S'.
      wa_listheader-info = 'THE FUNCTIONAL LOCATION WISE PERCENTAGE   IMPLEMENTAION'.
      APPEND wa_listheader TO it_listheader.
      CLEAR wa_listheader.
    <b>Thanx in advance..</b>
    Have ur points.
    Regards,
    pradeep phogat

    Try this
    WA_LINE-TYP = 'S'..----
    ><b>'H' to print in header</b>
    CONCATENATE 'THE FUNCTIONAL LOCATION WISE PERCENTAGE IMPLEMENTAION'.
    V_RYEAR INTO WA_LINE-INFO
       SEPARATED BY SPACE.
    APPEND WA_LINE TO IT_LIST_TOP_OF_PAGE.
    Thanks

  • Modifying MB51 report...help plea...have ur points.

    Hi all,
    I m adding MATKL field in the selection of MB51 report, when i took matkl in select option and write selection text in the text elements, it is not getting reflect in the output..
    eg.  select-options matkl for mara-matkl.
    text-element->selection-text-> 'Enter material group' -> activate.
    This message is not reflecting in the selection screen..
    Please help me & have ur  points.

    Hi all,
    When i log on to DE (geman), i m getting selection text.
    But when i log on to EN(english), i m getting MATKL.
    Pleas help me yaar..
    thanx in advance..
    reply

  • Urgent....work-center/cost center table...have ur point.s

    Hi all,
    I have work-center, I want to find the corresponding cost-center.
    But on screen i m getting structure CRKEYK.
    Please let me know the table...
    Urgent.
    <b>Help me ....n have ur points.</b>
    regards,

    Hi Pradeep,
    AFRV is the table which will have both work center & cost center.
    <b>Reward points if it helps,</b>
    Satish

  • Reg. operation & frequency in PM ...... Have ur points.

    Hi all,
    Which table link the operation and frequency related data in PM module.
    Note :- Here operation means .. which we write in IA05(TASK LIST).
              & Frequency means .. which we assign to that operation.
    Pleas assist me.
    <b>Have ur points.</b>
    Regards,
    pradeep phogat

    Hi yaar..thanx for reply....my requirement is not fullfilled.
    <u>pleas understand the req.</u>
    In transactin IA05, we make tasklist master.
    I want to link (task group->group counter->operation->frequency) in my itab. Pleas suggest me the table in which i can link the operation with frequency.
    Very urgent....thanks in advance
    yaar Here frequency means the frequncy of operation which we set after clicking on maintenance package.
    PLPO Is task-list operation/activity master, contains data regarding operations....there is no field by which i can link the operation with the frequency.
    We have some tables of maintence package master....that also don't have the linking field.
    following are the tables.
    T351P
    T351X
    T351
    T351T
    Pleas assist me....

  • Comments beneth ALV.....have ur points

    Hi all,
    Below the  alv grid....can we write some remaks or comments...in the bottom.
    If yes...pleas let me know the code for this....
    Thanx in advance.
    <b>Have ur points..</b>

    Hi pradeep,
                    check out the following code.
    *& Report  ZST_DRILL_DOWN
    REPORT  zst_drill_down.
    TYPE-POOLS: slis.
    TYPES: BEGIN OF ty_ekpo,
           ebeln    TYPE ekpo-ebeln,
           ebelp    TYPE ekpo-ebeln,
           menge    TYPE ekpo-menge,
           netwr    TYPE ekpo-netwr,
           END  OF ty_ekpo.
    DATA: lt_ekpo TYPE TABLE OF ty_ekpo,
          lw_ekpo TYPE ty_ekpo.
    DATA: events TYPE slis_t_event.
    DATA: event1 TYPE slis_alv_event.
    DATA: lt_fcat TYPE slis_t_fieldcat_alv,
          lw_fcat TYPE slis_fieldcat_alv.
    DATA: heading     TYPE  slis_t_listheader,
          hline       TYPE  slis_listheader,
    start-of-selection.
    SELECT * FROM ekpo INTO CORRESPONDING FIELDS OF TABLE lt_ekpo.
    CLEAR lw_fcat.
    lw_fcat-fieldname = 'EBELN'.
    lw_fcat-seltext_l = 'EBELN'.
    lw_fcat-hotspot   = 'X'.
    APPEND lw_fcat TO lt_fcat.
    CLEAR lw_fcat.
    lw_fcat-fieldname = 'EBELP'.
    lw_fcat-seltext_l = 'EBELP'.
    APPEND lw_fcat TO lt_fcat.
    CLEAR lw_fcat.
    lw_fcat-fieldname = 'MENGE'.
    lw_fcat-seltext_l = 'MENGE'.
    APPEND lw_fcat TO lt_fcat.
    CLEAR lw_fcat.
    lw_fcat-fieldname = 'NETWR'.
    lw_fcat-seltext_l = 'NETWR'.
    APPEND lw_fcat TO lt_fcat.
    DATA:gt_sort TYPE slis_t_sortinfo_alv.
    DATA: ls_sort TYPE slis_sortinfo_alv.
    ls_sort-fieldname = 'EBELN'.
    ls_sort-spos      = 1.
    ls_sort-up        = 'X'.
    ls_sort-subtot    = 'X'.
    append ls_sort to gt_sort.
    ls_sort-fieldname = 'EBELP'.
    ls_sort-spos      = 2.
    ls_sort-up        = 'X'.
    ls_sort-subtot    = 'X'.
    append ls_sort to gt_sort.
    <b>CLEAR: event1.
    event1-name = slis_ev_end_of_list.
    event1-form = 'END_OF_LIST'.
    APPEND event1 TO events.</b>
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
       i_callback_program                = sy-repid
      I_CALLBACK_PF_STATUS_SET          = ' '
       i_callback_user_command           = 'USER_COMMAND1'
      I_CALLBACK_TOP_OF_PAGE            = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      =
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         =
       it_fieldcat                       = lt_fcat[]
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
       it_sort                           = gt_sort[]
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         = 'X'
      I_SAVE                            = ' '
      IS_VARIANT                        =
    it_events                         = events[]
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      I_HTML_HEIGHT_TOP                 = 0
      I_HTML_HEIGHT_END                 = 0
      IT_ALV_GRAPHICS                   =
      IT_HYPERLINK                      =
      IT_ADD_FIELDCAT                   =
      IT_EXCEPT_QINFO                   =
      IR_SALV_FULLSCREEN_ADAPTER        =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
      TABLES
        t_outtab                          = lt_ekpo
    EXCEPTIONS
       program_error                     = 1
       OTHERS                            = 2
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    *&      Form  USER_COMMAND1
          text
         -->R_UCOMM         text
         -->SELECTED_FIELD  text
    FORM user_command1 USING r_ucomm TYPE sy-ucomm
         selected_field TYPE slis_selfield.
      IF r_ucomm = '&IC1'.
        MESSAGE e000(8i) WITH 'Error message'.
       submit ZST_DRILL_DOWN and return.
      ENDIF.
    ENDFORM.                    "USER_COMMAND
    *&      Form  end_of_list
          text
    FORM end_of_list.
    <b>  CLEAR hline.
      hline-typ  = 'H'.
      hline-info = 'WRite anything'.
      APPEND hline TO heading.
      <b><b>CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
      EXPORTING
        it_list_commentary       = heading[]
          I_LOGO                   =
          I_END_OF_LIST_GRID       =
          I_ALV_FORM               =
              .</b></b></b>ENDFORM.                    "end_of_list
    regards,
    Santosh

  • Most of my music won't play, and the songs have exclamation points.

    I upgraded my itunes, and now most of the music won't play, and they have exclamation points next to them. When I click on a song, it says "original file cannot be found" I clicked on locate, but I couldn't find it anywhere. Any suggestions?

    Hello, I too had this same problem. I was very lazy about going through EACH song trying to select & fish for it in a folder (I have a lot of folders total of 1,979 songs). I called Apple & they told me to go to my iTunes go to FILE scroll down then ADD FOLDER.. Since everything was just out of place & didn't know where to even begin I basically deleted ALL songs from my LIBRARY & then added each folder. It literally took me less than 20 minutes. Dont worry if you have your songs labeled a certain way (Artist, name of song, genre in iTunes) everything will go back to normal. Hope this helps as it helped me! I put it aside for 2-3 years! Good luck!

  • Field symbols in ...........in SE24....have ur points..pleas

    Hi all,
    I want to declare a field symbol <fs> in a class, & to use it in different methods of the same class.
    But in attributes of the class, how i declare field symbol in a class.
    I m not able to do this...
    <b>Pleas assist me..& have ur points.</b>
    Regards,
    pradeep phogat

    Pradeep,
    See this thread. It gives details about field symbol used in a standard class. This should give you some idea.
    Re: Field Symbol
    ashish

  • I have 2 point security for AppleID. My iPhone 4S is listed as my trusted phone to text. No tel. no. is given. I am updating to iPhone 6Plus with same tel. no. Do I need to change anything for the sign in verification?

    I have 2 point security for AppleID. My iPhone 4S is listed as my trusted phone to text. No tel. no. is given. I am updating to iPhone 6Plus with same tel. no. Do I need to change anything for the sign in verification?

    Of course You can also add your iPhone telephone # as a trusted device.
    This way when you insert your SIM card into any phone, Apple will automatically recognize your cell phone # as a
    trusted device (may be handy if iphone breaks but you insert SIM card into another phone).
    HOWEVER:
    Having also your iPhone as a trusted device, is convenient if you travel and use a different SIM card
    at destination. This way you can still use the iphone for verification, even though you are using a different
    phone #.
    Regards

  • HT1751 All of my songs have exclamation points (!) next to them but when I go to my iTunes media folder to find the files, there is nothing in the folders.  Any idea what happened and how I can get my music back?

    All of my songs have exclamation points next to them but when I go to my iTunes media folder to find the files, there is nothing in the folders.  Any idea what happened and how I can get my music back?

    I wish I could help. There are numerous threads about missing music but last I looked, no solution. You might want to read through them anyway.

  • Problem in smartform...quantity field....have ur points..

    HI ALL,
    I m transferring my itab from main program to SMARTFORMS...itab has a quantity type field.
    When i execute my program, i get error message "Reference field WA-CR is unknown in form".
    <b>Have ur points..</b>
    Regards,

    Every quantity field has a reference field.
    Check the reference field in the table through SE11 transaction & click on REFERENCE tab. Trace your quantity field & corresponding reference field.
    In the Smartform mention the same reference field against the quantity field declaration & activate it.

  • Reg. cursor-selection in module pool....have ur points.

    Hi all,
    Pleas. help me with  a simple example of at cursor-selection in module pool programming.
    with simple code & steps
    <b>Have ur points.</b>
    Regards,
    [email protected]

    Hi Pradeep,
    The Best explanation with example comes from our help.sap.com....
    <i><b>http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbabbd35c111d1829f0000e829fbfe/content.htm</b></i>
    Also this might help...
    <b>MODULE mod [ AT {EXIT-COMMAND|CURSOR-SELECTION} ]
    [ ON {CHAIN-INPUT|CHAIN-REQUEST} ]
    [ SWITCH switch ].
    ... AT CURSOR-SELECTION</b>
    The AT CURSOR-SELECTION addition at the event PAI causes the module mod to be called only if
    The function used to trigger event PAI has function code "CS" and function type "S"
    The cursor is placed on a single input or output field of the screen at the moment of the user action
    The call occurs within the usual PAI processing, meaning that the automatic input checks defined in the system or in the ABAP Dictionary are executed and the MODULE statement is called according to its position in the event block. You can use the addition in connection with the FIELD statement.
    If the PAI event is triggered under the above circumstances, the function code is not passed to sy-ucomm and the OK field. They keep their previous values.
    <b>Note</b>
    The function type and function code of a function are determined in the Screen Painter or in the Menu Painter. We recommend to assign function code "CS" in the Menu Painter to function key F2 in order to simultaneously assign the double-click function of the mouse to it. This allows you to assign dialog modules to the selection of input or output fields.
    <b><u>Refer thread:</u></b> <i><b>Re: MODULE REQUEST
    Hope that helps!!
    <i><b>*Reward useful answers*</b></i>
    Regards,
    Naveenan.

  • Reg. POV in module pool---have ur points...

    Hi all,
    I m trying to use POV event in module pool, I wrote
    PROCESS ON VALUE-REQUEST.
    FIELD ZPHOGAT-ROLLNO MODULE ABC.
    Here in module ABC is wrote 'break-point'. when i click on F4 help of that field i my break-point is not getting executed.
    Pleas help me out...
    Have ur point.s
    regards,

    First make sure everything is compiled, then try an extended check on the main program to make sure you have your variable names, module pool name etc etc synchonised (in case you have a typo in the module or variable name)... then try changing your break-point for "message s398(00) with 'This is my POV' space space space." or something similar.

Maybe you are looking for

  • Premiere (and After Effects) CS6 won't open anymore!

         Hi everyone, Recently, I've been working on a project which required a dynamic link between After Effects and Premiere CS6 on my MacBook Pro, which runs OSX Mountain Lion. Everything worked great until yesterday, when I got an error message that

  • Java-Hierarchylevel - Error

    Hallo, i try to describe my problem in the english language: I wrote the following code: public IDoc.Document createOrderIdoc(SalesOrder order,IDoc.Document doc) IDoc.Segment root, segment; root = doc.getRootSegment(); System.out.println(0. LEVEL "+

  • How to determine current state of resource group?

    Good morning! I'm in the process of creating a monitoring policy which would alert if a specific resource group is in a state other than "online". Is there a command line executable available that I could utilize which would return the current status

  • Connection string without username and password

    Hi, I need to use DriverManager.getConnection() to connect to sql2000 use only dsn name; no user name and password allowed. how do I do it?

  • Why won't MS Word '98 open?

    Hello to everyone.. My problem is this ... every time I go near Word, the screen freezes with the opening logo ie. "Word '98 for Macintosh" .. the watch icon comes up as if it's going to open it and can still be moved over the screen, but cannot be c