Posted: Mon May 19, 2008 5:41 pm Post subject: CL_GUI_ALV_GRID->activate_reprep_interface
Всем привет. пришлось столкнуться с таким методом класса CL_GUI_ALV_GRID->activate_reprep_interface
EXPORTING
IS_REPREP = < structure of type LVC_S_RPRP>.
задача - по двойному клику в отчете выведенном через CL_GUI_ALV_GRID вызвать другой отчет, используя интерфэйс report/report.
подскажите, пожалуйста, что должно быть в структуре IS_REPREP. и
необходимо ли вносить записи соответсвия Sender/Receiver в табл. TRSTI?
Age: 170 Joined: 04 Oct 2007 Posts: 1218 Location: Санкт-Петербург
Posted: Tue May 20, 2008 8:05 pm Post subject:
Quote:
activate_reprep_interface
Use
Activate the report/report interface. Using parameter IS_REPREP, you specify the sender of the
report. If table TRSTI contains an assignment of the sender report to receiver reports, function
code BEBx becomes active (x = function code class).
If a receiver assignment to report writer report group 7KOI with function code class
'3' (SAP setting) exists for sender RKTFGS15, this receiver report group is called
through the report/report interface at function code BEB3. The selections passed to
the report/report interface are the report selections and the key information of the
selected row.
For more information on the report/report interface, see the documentation on function group
RSTI.
Prerequisites
Report RKKBRSTI must be active in the development system.
Features
CALL METHOD <ref. var. to CL_GUI_ALV_GRID>->activate_reprep_interface
EXPORTING
IS_REPREP = <structure of type LVC_S_RPRP>.
Parameter
Meaning
IS_REPREP Structure for identifying the sender
для события double_click я делаю Set_function_code '&BE9'. дебаггером отследил обработку - обрабатывает, данные гонят, а вот отчет не вызывается, а в чем дело не пойму - и catch exception тоже молчит.
все ли я сделал правильно?
в чем может быть дело, может есть где-то детальное и ясное описание технологии report/report interface? кроме как function group doc for RSTI
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.