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

Similar Messages

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

  • 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

  • Regarding user interface in subtotal line of ALV grid, ensure points

    Hi,
    I have 3 fields,
    A= vendor , B = freight , C = Cost PMT
    When the vendor get changed, My Grid is showing subtotal of B i.e freight.
    Now my requirement is, in the same subtotal line, I want average of C (Cost PMT) field.
    So how we can interact with the subtotal line of the ALV grid.
    Pleas reply!!!!   & have ur points.
    cheers

    Read the documentation of FM ICON_CREATE, the purpose of the Function module is entirely different from what you are using it for.
    To print Icons in ALV (Using FMs ) all you need to do is to send the Icon name in the field.
    Also parameters TEXT and INFO of FM ICON_CREATE seem to be flags, that are appended to the icon name so that when you set it on the screen the appropriate info or Text is shown.

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

  • 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

  • What do i do my ipod is a white screen when i try to turn it on and part of the image of my back ground pops up. I dont know what to do. Please comment if you have something that can help. Its a gen four.

    when i try to turn on my gen four ipod, a white screen appears. Parts of my back ground pop up.All this started to happen when i dropped my ipod when i took it out of the case. Please comment if you have something that can help me. thanks

    Try:                                               
    - iOS: Not responding or does not turn on           
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable                                                       
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar                                     

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

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

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

  • POH in module pool.....have ur points..

    Hi ALL,
    -I took a text box with name 'AGE' in layout of the screen.
    -Now i want to give F1 help to this filed.
    -I used PROCESS ON HELP-REQUEST.   field AGE with 'for user age'.
    now i m executing the transaction & pressing F! help there...but no help
    ples help me...
    <b>have ur points..</b>
    Regards,
    pradeep phogat

    Hi,
    <u><b>Calling Help Texts from Dialog Modules</b></u>
    If data element supplement documentation is insufficient for your requirements, or you want to display help for program fields that you have not copied from the ABAP Dictionary, you can call dialog modules in the POH event:
    PROCESS ON HELP-REQUEST.
    FIELD <f> MODULE <mod>.
    After the PROCESS ON HELP-REQUEST statement, you can only use the MODULE statement together with the FIELD statement. When the user chooses F1 for a field <f>, the system calls the module <mod> belonging to the FIELD <f> statement. If there is more than one FIELD statement for the same field <f>, only the first is executed. However, the contents of the screen field <f> are not available in the module <mod>, since it is not transported by the FIELD statement during the PROCESS ON HELP-REQUEST event. The field help should not be
    dependent on the user input.
    The module <mod> is defined in the ABAP program like a normal PAI module. The processing logic of the module must ensure that adequate help is displayed for the field in question. Instead of calling an extra screen with text fields, you should use one of the following function modules to display a suitable SAPscript document:
      HELP_OBJECT_SHOW_FOR_FIELD
    This function module displays the data element documentation for components of any structure or database table from the ABAP Dictionary. You pass the name of the component and structure or table to the import parameters FIELD and TABLE.
      HELP_OBJECT_SHOW
    Use this function module to display any SAPscript document. You must pass the
    document class (for example, TX for general texts, DE for data element documentation) and the name of the document to the import parameters DOKCLASS and DOKNAME. For technical reasons, you must also pass an empty internal table with the line type TLINE to the tables parameter of the function module.
    Ex.
    Field help on screens.
    REPORT DEMO_DYNPRO_F1_HELP.
    DATA: TEXT(30),
    VAR(4),
    INT TYPE I,
    LINKS TYPE TABLE OF TLINE,
    FIELD3, FIELD4.
    TABLES DEMOF1HELP.
    TEXT = TEXT-001.
    CALL SCREEN 100.
    MODULE CANCEL INPUT.
    LEAVE PROGRAM.
    ENDMODULE.
    MODULE F1_HELP_FIELD2 INPUT.
    INT = INT + 1.
    CASE INT.
    WHEN 1.
    VAR = '0100'.
    WHEN 2.
    VAR = '0200'.
    INT = 0.
    ENDCASE.
    ENDMODULE.
    MODULE F1_HELP_FIELD3 INPUT.
    CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD'
    EXPORTING
    DOKLANGU = SY-LANGU
    DOKTITLE = TEXT-002
    CALLED_FOR_TAB = 'DEMOF1HELP'
    CALLED_FOR_FIELD = 'FIELD1'.
    ENDMODULE.
    MODULE F1_HELP_FIELD4 INPUT.
    CALL FUNCTION 'HELP_OBJECT_SHOW'
    EXPORTING
    DOKCLASS = 'TX'
    DOKLANGU = SY-LANGU
    DOKNAME = 'DEMO_FOR_F1_HELP'
    DOKTITLE = TEXT-003
    TABLES
    LINKS = LINKS.
    ENDMODULE.
    Regards,
    Bhaskar

Maybe you are looking for

  • Why can't I print anymore after updating to 10.6.8?

    I can of course not be certain that the update caused the issues I am about to describe but I haven't done any other changes to the computer. It's not a toy where I experiment, it's just for work so that update is the only major change I've had done

  • Updating a Z-table

    Hi I want to INSERT a record in a Z-Table if a material belongs to a particular plant. My Code is:- IF plant is not initial and plant = say 'ABC'. INSERT ztable with material number ENDIF. Please corerct it if it is wrong at any place  Thank You

  • How to connect second computer to Deskjet 3520 e-All-in-O​ne

    How do I connect a second computer to my printer (see subject line) which is connected to my wireless network. First computer is a laptop and connects fine. Do I have to download drivers etc to the second computer? I have been to the drivers & softwa

  • Urgent!! Please Help! Security Question!

    I have forgotten the answers to my security questions (all three). As i made my Apple ID over 3 years ago, it did not ask me for a recovery e-mail adress. Is there any way i can reset the answers without the e-mail? Please Help!!

  • Is it possible to take a print from the Portal

    Hello All, Is it possible to take a print out from the Portal. Let me be  more clear about the case: We have designed some charts (Time Scatter) in our WebDynpro projects and displayed it in the Portal. Now, the Team is enquiring if the Print out of