Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix, SALV #22

Merged
merged 1 commit into from
Apr 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/salv/cl_salv_layout_service.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,21 @@ CLASS cl_salv_layout_service DEFINITION PUBLIC.
restrict TYPE any OPTIONAL
RETURNING
VALUE(value) TYPE salv_s_layout_info.


CLASS-METHODS get_layouts
IMPORTING
s_key TYPE any
RETURNING
VALUE(t_layout) TYPE salv_t_layout_info.
ENDCLASS.

CLASS cl_salv_layout_service IMPLEMENTATION.

METHOD get_layouts.
ASSERT 1 = 2.
ENDMETHOD.

METHOD f4_layouts.
ASSERT 1 = 2.
ENDMETHOD.
Expand Down
18 changes: 18 additions & 0 deletions src/salv/salv_t_layout_info.ttyp.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<abapGit version="v1.0.0" serializer="LCL_OBJECT_TTYP" serializer_version="v1.0.0">
<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
<asx:values>
<DD40V>
<TYPENAME>SALV_T_LAYOUT_INFO</TYPENAME>
<DDLANGUAGE>E</DDLANGUAGE>
<ROWTYPE>SALV_S_LAYOUT_INFO</ROWTYPE>
<ROWKIND>S</ROWKIND>
<DATATYPE>STRU</DATATYPE>
<ACCESSMODE>T</ACCESSMODE>
<KEYDEF>D</KEYDEF>
<KEYKIND>N</KEYKIND>
<DDTEXT>SALV_T_LAYOUT_INFO</DDTEXT>
</DD40V>
</asx:values>
</asx:abap>
</abapGit>