Skip to Content
avatar image
Former Member

r_parm in interface event

Hello experts,

How to declare r_parm in event handler method for the interface event ON_DATA_CHECK

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 29, 2011 at 07:46 AM

    Hi,

    The R_PARAM parameter will be generated for the event handler, ON_DATA_CHECK, with a type of IF_SALV_WD_TABLE_DATA_CHECK.

    SAP Help - http://help.sap.com/saphelp_sm40/helpdata/en/c8/6c80dbedfe42d1a93f8e6df1d7244a/content.htm

    refer coding in

    http://wiki.sdn.sap.com/wiki/display/Snippets/WebDynproABAP-ALVControllingStandard+Buttons and http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80a3de18-ee00-2d10-bfb3-946d7e00fd91?QuickLink=index&overridelayout=true

    Thanks,

    Chandra

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 29, 2011 at 07:47 AM

    Hi,

    Create an import parameter R_PARAM TYPE REF TO IF_SALV_WD_TABLE_DATA_CHECK for the event handler of ON_DATA_CHECK event. The same way we add parameters to the methods, add that import parameter.

    Hope this helps!

    Best Regards,

    Srilatha

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi srilatha,

      I forget to declare event handler method on_data_check thats why my r_param importing parameter was not declared.Anyways thanks for your suggestion