Skip to content

Commit

Permalink
event
Browse files Browse the repository at this point in the history
  • Loading branch information
larshp committed Mar 18, 2024
1 parent 3e5e5c0 commit 2aa5056
Show file tree
Hide file tree
Showing 4 changed files with 108 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/cl_gui_alv_grid.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ CLASS cl_gui_alv_grid DEFINITION PUBLIC.
EXPORTING
VALUE(e_ucomm) TYPE sy-ucomm OPTIONAL.

EVENTS hotspot_click
EXPORTING
VALUE(e_row_id) TYPE lvc_s_row OPTIONAL
VALUE(e_column_id) TYPE lvc_s_col OPTIONAL
VALUE(es_row_no) TYPE lvc_s_roid OPTIONAL.

EVENTS toolbar
EXPORTING
VALUE(e_object) TYPE REF TO cl_alv_event_toolbar_set OPTIONAL
Expand Down
34 changes: 34 additions & 0 deletions src/ddic/lvc_s_col.tabl.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<abapGit version="v1.0.0" serializer="LCL_OBJECT_TABL" serializer_version="v1.0.0">
<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
<asx:values>
<DD02V>
<TABNAME>LVC_S_COL</TABNAME>
<DDLANGUAGE>E</DDLANGUAGE>
<TABCLASS>INTTAB</TABCLASS>
<DDTEXT>LVC_S_COL</DDTEXT>
<EXCLASS>1</EXCLASS>
</DD02V>
<DD03P_TABLE>
<DD03P>
<FIELDNAME>FIELDNAME</FIELDNAME>
<ADMINFIELD>0</ADMINFIELD>
<INTTYPE>C</INTTYPE>
<INTLEN>000060</INTLEN>
<DATATYPE>CHAR</DATATYPE>
<LENG>000030</LENG>
<MASK> CHAR</MASK>
</DD03P>
<DD03P>
<FIELDNAME>HIERLEVEL</FIELDNAME>
<ADMINFIELD>0</ADMINFIELD>
<INTTYPE>C</INTTYPE>
<INTLEN>000006</INTLEN>
<DATATYPE>CHAR</DATATYPE>
<LENG>000003</LENG>
<MASK> CHAR</MASK>
</DD03P>
</DD03P_TABLE>
</asx:values>
</asx:abap>
</abapGit>
34 changes: 34 additions & 0 deletions src/ddic/lvc_s_roid.tabl.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<abapGit version="v1.0.0" serializer="LCL_OBJECT_TABL" serializer_version="v1.0.0">
<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
<asx:values>
<DD02V>
<TABNAME>LVC_S_ROID</TABNAME>
<DDLANGUAGE>E</DDLANGUAGE>
<TABCLASS>INTTAB</TABCLASS>
<DDTEXT>LVC_S_ROID</DDTEXT>
<EXCLASS>1</EXCLASS>
</DD02V>
<DD03P_TABLE>
<DD03P>
<FIELDNAME>ROW_ID</FIELDNAME>
<ADMINFIELD>0</ADMINFIELD>
<INTTYPE>X</INTTYPE>
<INTLEN>000004</INTLEN>
<DATATYPE>INT4</DATATYPE>
<LENG>000010</LENG>
<MASK> INT4</MASK>
</DD03P>
<DD03P>
<FIELDNAME>SUB_ROW_ID</FIELDNAME>
<ADMINFIELD>0</ADMINFIELD>
<INTTYPE>X</INTTYPE>
<INTLEN>000004</INTLEN>
<DATATYPE>INT4</DATATYPE>
<LENG>000010</LENG>
<MASK> INT4</MASK>
</DD03P>
</DD03P_TABLE>
</asx:values>
</asx:abap>
</abapGit>
34 changes: 34 additions & 0 deletions src/ddic/lvc_s_row.tabl.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<abapGit version="v1.0.0" serializer="LCL_OBJECT_TABL" serializer_version="v1.0.0">
<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
<asx:values>
<DD02V>
<TABNAME>LVC_S_ROW</TABNAME>
<DDLANGUAGE>E</DDLANGUAGE>
<TABCLASS>INTTAB</TABCLASS>
<DDTEXT>LVC_S_ROW</DDTEXT>
<EXCLASS>1</EXCLASS>
</DD02V>
<DD03P_TABLE>
<DD03P>
<FIELDNAME>ROWTYPE</FIELDNAME>
<ADMINFIELD>0</ADMINFIELD>
<INTTYPE>C</INTTYPE>
<INTLEN>000046</INTLEN>
<DATATYPE>CHAR</DATATYPE>
<LENG>000023</LENG>
<MASK> CHAR</MASK>
</DD03P>
<DD03P>
<FIELDNAME>INDEX</FIELDNAME>
<ADMINFIELD>0</ADMINFIELD>
<INTTYPE>N</INTTYPE>
<INTLEN>000020</INTLEN>
<DATATYPE>NUMC</DATATYPE>
<LENG>000010</LENG>
<MASK> NUMC</MASK>
</DD03P>
</DD03P_TABLE>
</asx:values>
</asx:abap>
</abapGit>

0 comments on commit 2aa5056

Please sign in to comment.