2009 Sep 08 3:19 PM
What does ALV button Call Up Report OK_CODE &EB9 do? I can find no documentation on it and I have no clue what it does. Any information on this would be great thank you
What does ALV button Call Up Report OK_CODE &EB9 do? I can find no documentation on it and I have no clue what it does. Any information on this would be great thank you
2009 Sep 08 5:14 PM
seems that the icon is ICON_TABLE_SETTINGS. dont think that has any relevance to its functionality
2023 Feb 25 3:47 PM
HI
The icon is part of the "BRST Report to report interface" functionality.
The use can be set by customizing and in some applications, for example SAP Query.
The basic tables are TRSTI/TRSTT
Allows you to run reports or transactions from within a report.
To load tables you can use:
FORM start_brst_tool .
*------------------------------------------------- -------------------*
* BRST Report to report interface
* Tab. TRSTI/TRSTT
* Creation of reports to Call
* Reports chosen with &EB9
*------------------------------------------------- -------------------*
DATA ls_report TYPE rstirec.
*------------------------------------------------- -------------------*
ls_report-rtool = 'RT'. "ABAP/4 reports
ls_report-ronam = sy-repid.
CALL FUNCTION 'RSTI_REPORT_ADD'
EXPORTING
e_fccls = '9'
e_report = ls_report
EXCEPTIONS
no_authority = 1
wrong_function_call = 2
foreign_lock = 3
OTHERS = 4.
IF sy-subrc <> 0.
ENDIF.
ENDFORM.
Then you can use "&EB9" as it is or in the "&IC1":
FORM user_command_ic1 USING ps_selfield TYPE slis_selfield
CHANGING f_ucomm TYPE syucomm.
DATA ls_alv TYPE ty_alv.
*------------------------------------------------- -------------------*
READ TABLE gt_alv INTO ls_alv INDEX ps_selfield-tabindex.
CASE ps_selfield-fieldname.
WHEN 'LIPS_VBELN'.
IF ls_alv-lips_vbeln IS NOT INITIAL.
SET PARAMETER ID 'VL' FIELD ls_alv-lips_vbeln.
CALL TRANSACTION 'VL03N' AND SKIP FIRST SCREEN.
ENDIF.
WHEN 'VBBE_VBELN'.
IF ls_alv-vbbe_vbeln IS NOT INITIAL.
f_ucomm = '&EB9'.
SET PARAMETER ID 'AUN' FIELD ls_alv-vbbe_vbeln.
SET PARAMETER ID 'VST' FIELD ls_alv-vbap_vstel.
ENDIF.
ENDCASE.
ENDFORM. " USER_COMMAND_IC1
You can * BRST Report to report interface| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |