-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kerem Kayacan
committed
Aug 11, 2018
1 parent
e288039
commit 2bebe82
Showing
9 changed files
with
59 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
REPORT yp_salv_mini. | ||
|
||
TABLES: bkpf. | ||
|
||
DATA o_salv TYPE REF TO cl_salv_table. | ||
DATA t_bkpf TYPE TABLE OF bkpf. | ||
|
||
SELECT-OPTIONS: s_budat FOR bkpf-budat. | ||
|
||
START-OF-SELECTION. | ||
|
||
SELECT * FROM bkpf INTO TABLE t_bkpf | ||
WHERE budat IN s_budat. | ||
|
||
END-OF-SELECTION. | ||
|
||
CALL METHOD cl_salv_table=>factory | ||
IMPORTING | ||
r_salv_table = o_salv | ||
CHANGING | ||
t_table = t_bkpf. | ||
|
||
o_salv->get_functions( )->set_all( abap_true ). | ||
o_salv->get_columns( )->set_optimize( abap_true ). | ||
o_salv->get_columns( )->set_key_fixation( value = abap_true ). | ||
o_salv->get_columns( )->set_column_position( columnname = 'BUDAT' | ||
position = 1 ). | ||
|
||
o_salv->display( ). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<abapGit version="v1.0.0" serializer="LCL_OBJECT_PROG" serializer_version="v1.0.0"> | ||
<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0"> | ||
<asx:values> | ||
<PROGDIR> | ||
<NAME>YP_SALV_MINI</NAME> | ||
<STATE>A</STATE> | ||
<VARCL>X</VARCL> | ||
<SUBC>1</SUBC> | ||
<RLOAD>T</RLOAD> | ||
<FIXPT>X</FIXPT> | ||
<UCCHECK>X</UCCHECK> | ||
</PROGDIR> | ||
<DYNPROS/> | ||
<TPOOL> | ||
<item> | ||
<ID>R</ID> | ||
<ENTRY>SALV mini template</ENTRY> | ||
<LENGTH>18</LENGTH> | ||
</item> | ||
</TPOOL> | ||
</asx:values> | ||
</asx:abap> | ||
</abapGit> |