How to Pass Selection-screen Information in SAP ABAP ALV Report
How to Pass Selection-screen Information in SAP ABAP ALV Report
In the previous post, we have discussed How to Define SAP ABAP ALV Report Output list description, SAP ABAP ALV Reports data declaration, Events Table, Selecting the optional Variants and Output Field Characteristics and their importance in the ALV report, from this post, we will learn about Pass Selection-screen Information in SAP ABAP ALV Report.
This step is required to get the selection screen information in the report output.
The prerequisite is to set the parameter LAYOUT-GET_SELINFOS of the IMPORTING structure.
The parameters to be passed in the IS_SEL_HIDE table are:
o mode: 'R' = only the entries are given in the internal table IS_SEL_HIDE-T_ENTRIES
Is output in the pop-up. Selection info, which the list tool read in the selection screen (when called by a report with a selection screen), is replaced by the values passed.
'S' = the selection info which the list tool read in the selection screen of the calling report is modified by the entries in the table IS_SEL_HIDE-T_ENTRIES.
v t_entries: Selection info table
v t_entries-mode: 'A' = output the selection info for the current table record in the info popup.
§ 'D' = do not output select option or SELNAME parameter selection info in the popup.
v t_entries-selname: (only used in t_entries-mode = 'D') : Name of the select option or parameter. The following table fields are only used in t_entries-mode = 'A'. They contain the selection information to be added.
- t_entries-field: DDIC field name of the field for which selection information is to be output.
- t_entries-table: DDIC table names of t_entries-field.
- t_entries-stext: Field name in info popup.
- If t_entries-field and t_entries-table have been entered, this text is taken from DDIC.
- t_entries-valuf: Selection condition 'from' value (external format)
- t_entries-valut: Selection condition 'to' value (external format)
- t_entries-sign0: (I)nclusive (E)xclusive
- t_entries-option: All values of the select options Option field allowed.
Pass Selection-screen Information in SAP ABAP ALV Report
How to Define SAP ABAP ALV Report Output list description
How to Create Events Table in SAP ABAP ALV Report
Defining Output Fields Characteristics of ALV Report in SAP ABAP
SAP ABAP ALV Reports Selecting the Optional variants
Comments
Post a Comment